Geant4  10.00.p02
MCTruthTrackingAction Class Reference

#include <MCTruthTrackingAction.hh>

+ Inheritance diagram for MCTruthTrackingAction:
+ Collaboration diagram for MCTruthTrackingAction:

Public Member Functions

 MCTruthTrackingAction ()
 
virtual ~MCTruthTrackingAction ()
 
void PreUserTrackingAction (const G4Track *)
 
void PostUserTrackingAction (const G4Track *)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
void SetTrackingManagerPointer (G4TrackingManager *pValue)
 

Private Member Functions

G4bool trackToBeStored (const G4Track *)
 

Private Attributes

G4LorentzVector fmom
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 47 of file MCTruthTrackingAction.hh.

Constructor & Destructor Documentation

MCTruthTrackingAction::MCTruthTrackingAction ( )

Definition at line 49 of file MCTruthTrackingAction.cc.

MCTruthTrackingAction::~MCTruthTrackingAction ( )
virtual

Definition at line 52 of file MCTruthTrackingAction.cc.

Member Function Documentation

void MCTruthTrackingAction::PreUserTrackingAction ( const G4Track track)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 55 of file MCTruthTrackingAction.cc.

References fmom, G4UserTrackingAction::fpTrackingManager, G4Track::GetMomentum(), G4Track::GetTotalEnergy(), G4Track::GetUserInformation(), and G4TrackingManager::SetUserTrackInformation().

+ Here is the call graph for this function:

G4bool MCTruthTrackingAction::trackToBeStored ( const G4Track track)
private

Definition at line 110 of file MCTruthTrackingAction.cc.

References fmom, MCTruthManager::GetConfig(), G4Track::GetDefinition(), MCTruthManager::GetInstance(), MCTruthConfig::GetMinE(), MCTruthConfig::GetParticleTypes(), and G4ParticleDefinition::GetPDGEncoding().

Referenced by PostUserTrackingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4LorentzVector MCTruthTrackingAction::fmom
private

The documentation for this class was generated from the following files: