GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

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 Go to previous messageGo to previous message
Anastasia Karavdina is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simpleEvtGen doesn't know deuteron target
Next Topic: Problems with PARTWAVE Model of EvtGen
Goto Forum:
  


Current Time: Sat Oct 05 02:18:08 CEST 2024

Total time taken to generate the page: 0.00776 seconds