Message: Saving energy from primary particles Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Saving energy from primary particles 

Forum: Particles
Date: 10 Oct, 2016
From: dewasseige Gwenhael <dewasseige Gwenhael>


I am trying to save information related to the primary particles (for each eventID: energy + pdg code ) in order to compare my injected flux with the output flux.

I am currently saving this info in a tree from my PrimaryGeneratorAction but the energy of the particles is 1 (even though I inject a spectrum starting at 10^2 GeV).

What should I do to get the information I want ? Is there an easy way to get them ?

Thanks a lot in advance!


 Add Message Add Message
to: "Saving energy from primary particles"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]