GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Prolem reading UrQMD files
icon5.gif  Prolem reading UrQMD files [message #5030] Fri, 07 September 2007 17:15 Go to previous message
Jens Sören Lange is currently offline  Jens Sören Lange
Messages: 193
Registered: June 2005
first-grade participant
From: *physik.uni-giessen.de
Hi all,

I am trying to read UrQMD event generator files from /d/panda02/urqmd_smm (generated by Aida) and run with run_sim.C.

---

CbmPrimaryGenerator* primGen = new CbmPrimaryGenerator();
fRun->SetGenerator(primGen);

CbmUrqmdGenerator* urqmdGen = new CbmUrqmdGenerator("./pbarC_3_GeV.root");
primGen->AddGenerator(urqmdGen);

---

but I get

**** GTRIGI: IEVENT= 1 IDEVT= 1 Random Seeds = 4357 0
-E CbmUrqmdGenerator: Wrong event header
-E CbmPrimaryGenerator: ReadEvent failed for generator
StopRun() exiting not safetly oopps !!!@@@!!!

---

Additional observations:

a.) I also tried with other files (e.g. pbarAu_4_05_GeV_1.root), same effect.

b.) I can open the files with root and TBrowser and see that everything seems to be fine inside (except obviously the event header).

c.) filename is definitely correct (if I give the wrong filename, then I get a message "file not found"). So it means, the file is definitely opened.

Any idea?

Soeren


 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: Problem with a symbol lookup
Next Topic: stt not compiling
Goto Forum:
  


Current Time: Tue Nov 26 00:51:18 CET 2024

Total time taken to generate the page: 0.00749 seconds