Home » PANDA » PandaRoot » Event Generators » new FTF generator in pandaroot
Re: new FTF generator in pandaroot [message #17297 is a reply to message #17291] |
Tue, 16 September 2014 14:33 |
Anastasia Karavdina
Messages: 76 Registered: May 2010 Location: Mainz, Germany
|
continuous participant |
From: *kph.uni-mainz.de
|
|
Dear Aida,
I had a look at main.cc file in pgenerators/FtfEvtGen and came to conclusion that elastic scattering is included, but only hadronic part of it.
Is it right?
It would be nice to have option to switch off elastic part and use only inelastic mode, as it was before in DPM.
Also I notice, that energy of final particles is stored in MeV, while pandaroot deals with GeV. I suspect due to this reason particles are treated as particles with high energy and propagation with GEANT4 (within pandaroot) is extremely slow.
I introduced conversion to GeV by changing one line in main.cc:
from
Mom.SetPxPyPzE(px,py,pz,e);
to
Mom.SetPxPyPzE(px/GeV,py/GeV,pz/GeV,e/GeV);
But I am not sure if it is correct place to do this conversion. What do you think?
Best regards,
Anastasia
|
|
|
Goto Forum:
Current Time: Sat Oct 05 02:18:08 CEST 2024
Total time taken to generate the page: 0.00776 seconds
|