Geant4  10.03
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 ()
 
virtual 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 53 of file MCTruthTrackingAction.cc.

MCTruthTrackingAction::~MCTruthTrackingAction ( )
virtual

Definition at line 58 of file MCTruthTrackingAction.cc.

Member Function Documentation

void MCTruthTrackingAction::PreUserTrackingAction ( const G4Track track)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 63 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 122 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: