Home » PANDA » PandaRoot » Event Generators » new FTF generator in pandaroot
Re: new FTF generator in pandaroot [message #17308 is a reply to message #17297] |
Wed, 17 September 2014 18:13 |
Aida Galoyan
Messages: 79 Registered: May 2007 Location: Dubna
|
continuous participant |
From: *jinr.ru
|
|
Hello Anastasia,
>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.
It is not possible, because for FTF generator in PandaRoot, I apply to
Geant4 lib and can not change compilled sourse files of FTF.
But, you can obtain only inelastic events using FtfEvtGen/main.cc .
For this, you need to add in the main.cc after line
----------------------------------------------
if(std::abs(pd->GetBaryonNumber()) < 2)
----------------------------------------------
line
---------------------------------------------
if( (n>2) || ((abs(id)!=2212)&&(n==2)) ) {
------------------------------------------------
and after line
----------------------------------------------
new((*fEvt)[cnt++]) TParticle(fparticle);
----------------------------------------------
to add
--------------------
}
--------------------
After this, it is needed to compile FTF.
About "MeV" or "GeV", thank you, I didn't draw attention to it.
Just now, I have changed and commited main.cc .
Output particles are stored in GeV.
Good luck
Aida
|
|
|
Goto Forum:
Current Time: Mon Nov 25 04:09:24 CET 2024
Total time taken to generate the page: 0.00894 seconds
|