GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » How to get step by step information with TGeant4.
How to get step by step information with TGeant4. [message #10453] Mon, 22 March 2010 13:37 Go to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi,
is there a way to get all the info on a particle, step by step at simulation time, when using TGeant4? I need to follow the particle, with process, position, energy loss. I managed to get them with TGeant3 (with the function Gpcxyz()), and I got these lines:
 **** GTRIGI: IEVENT=      1 IDEVT=      1 Random Seeds =       4357           0
 =====> TRACK    1 STACK NR   0 NTMULT=         1     MUON -                   TOFG =     0.000 NS
       X          Y          Z          R     NAME  NUMBER   SLENG      STEP      DESTEP     GEKIN   MECHANISMS
      0.0000     0.0000     0.0000     0.0000 cave    1     0.0000    0.0000    0.0  eV  899.908 MeV NULL
     14.9764     0.7241     7.2417    14.9939 cave    1    16.6567   16.6567   35.7 keV  899.872 MeV FIEL LOSS STRA MULS
     14.9826     0.7247     7.2448    15.0001 cave    1    16.6636    0.0069    0.1  eV  899.872 MeV FIEL NEXT LOSS STRA MULS
     14.9826     0.7247     7.2448    15.0001 stt0    1    16.6636    0.0000    0.0  eV  899.872 MeV NULL
     15.2118     0.7476     7.3560    15.2302 stt0    1    16.9195    0.2559  761.2 keV  897.373 MeV FIEL LOSS MULS DRAY
     15.9786     0.8267     7.7298    16.0000 stt0    1    17.7762    0.8567    2.7 MeV  894.707 MeV FIEL LOSS MULS
     15.9787     0.8268     7.7298    16.0001 stt0    1    17.7763    0.0001  167.6  eV  894.706 MeV FIEL NEXT LOSS STRA MULS
     15.9787     0.8268     7.7298    16.0001 cave    1    17.7763    0.0000    0.0  eV  894.706 MeV NULL

That' s what I need, but I don' t know how to do it with TGeant4. Maybe there is some function in VMC, but I couldn' t find it.
Does anyone know how can I do?
Thank you in advance!
Lia.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FLUKA VMC officially discontinued
Next Topic: Bremsstrahlung and geant
Goto Forum:
  


Current Time: Sat Nov 30 00:27:06 CET 2024

Total time taken to generate the page: 0.00743 seconds