91 AddParticle(
fmom, prodpos, endpos,
103 for(
unsigned int index = 0 ; index < childrens->size() ; ++index )
105 G4Track* tr = (*childrens)[index] ;
132 if(std::find( types.begin(), types.end(),
134 != types.end())
return true;
const G4ThreeVector & GetVertexPosition() const
G4double GetLocalTime() const
virtual ~MCTruthTrackingAction()
G4TrackingManager * fpTrackingManager
G4bool TrackToBeStored(const G4Track *)
MCTruthConfig * GetConfig() const
G4ParticleDefinition * GetDefinition() const
G4TrackVector * GimmeSecondaries() const
G4ThreeVector GetMomentum() const
void PostUserTrackingAction(const G4Track *)
void SetUserTrackInformation(G4VUserTrackInformation *aValue)
G4double GetGlobalTime() const
const G4ThreeVector & GetPosition() const
Definition of the MCTruthTrackingAction class.
void SetParentID(const G4int aValue)
std::vector< G4Track * > G4TrackVector
G4int GetPDGEncoding() const
G4VUserTrackInformation * GetUserInformation() const
CLHEP::HepLorentzVector G4LorentzVector
std::vector< G4int > & GetParticleTypes()
static MCTruthManager * GetInstance()
void PreUserTrackingAction(const G4Track *)
void SetUserInformation(G4VUserTrackInformation *aValue) const
G4int GetParentID() const
G4double GetTotalEnergy() const