Home » PANDA » PandaRoot » Bugs, Fixes, Releases » EvtGen - time information lost
EvtGen - time information lost [message #20435] |
Wed, 01 March 2017 10:04 |
Dominik Steinschaden
Messages: 28 Registered: April 2015
|
continuous participant |
From: *physics.uu.se
|
|
Hi all,
I'm currently working on some algorithms for Pandaroot, which make use of the TOF counters (BTof/ScTil and FTof).
To test them under certain conditions I want to use the EvtGen generator to produce specific hyperon events.
now I realized that for such events the timing information of the tracks is wrong. It seems that the decay described in my decay file is handled by the evtGen till the final state particles are reached. and then all resulting tracks are simulated with the same start time which is equivalent to the event start time. Therefore the time information in the detectors is not correct any more. this effect can be very large for example for hyperons with a strong forward boost and therefore a large displaced vertex.
I attached a file, showing the time stamp distribution in the FTof detector for pbar p -> lambda lambda bar for 15 GeV primary momentum. Just to remind, the FTof is located around 7.8 meters in forward direction. a particle moving with speed of light should take around 26 ns to reach this detector. As shown there are signals in the detector after a few ns. Therefore for example TOF based Pid algorithms breaks down completely.
is there a possible work around to get the evtGen to also pass the correct time information to Geant3/4. or maybe geant3/4 can handle the decay of the lambdas instead of the evtGen.
LG Dominik
|
|
|
|
|
|
Re: EvtGen - time information lost [message #20462 is a reply to message #20443] |
Wed, 01 March 2017 17:09 |
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.
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Oct 14 03:27:21 CEST 2024
Total time taken to generate the page: 0.00958 seconds
|