GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » EvtGen - time information lost
Re: EvtGen - time information lost [message #20462 is a reply to message #20443] Wed, 01 March 2017 17:09 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
it seems that in the PndEvtGenDirect the time information is not correctly propagated.
You could try to edit the class (pgenerators/EvtGen/EvtGenDirect/PndEvtGenDirect.cxx), and modify line 247:

          primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ, evtstdhep.getFirstMother(i),(nFD==-1 && nLD==-1),fE);


into:

          primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ, evtstdhep.getFirstMother(i),(nFD==-1 && nLD==-1),fE,fT);


and line 249:

          primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ);// default -1, true


into:

          primGen->AddTrack(Id, Px, Py, Pz, fX, fY, fZ, -1, true, fE, fT);// default -1, true



recompile and tell me if it does work.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problems with Feb17 release
Next Topic: Compiler Warnings
Goto Forum:
  


Current Time: Tue Dec 03 08:41:59 CET 2024

Total time taken to generate the page: 0.00846 seconds