Geant4  10.00.p02
TrackingAction Class Reference

#include <TrackingAction.hh>

+ Inheritance diagram for TrackingAction:
+ Collaboration diagram for TrackingAction:

Public Member Functions

 TrackingAction (DetectorConstruction *, RunAction *)
 
 ~TrackingAction ()
 
void PreUserTrackingAction (const G4Track *)
 
void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *detector=0)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
void SetDetector (DetectorConstruction *detector)
 
std::map< const
G4ParticleDefinition *, int > & 
GetNParticlesCreatedInTarget ()
 
std::map< const
G4ParticleDefinition *, int > & 
GetNParticlesCreatedInWorld ()
 
 TrackingAction (DetectorConstruction *detector=0)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
void SetDetector (DetectorConstruction *detector)
 
std::map< const
G4ParticleDefinition *, int > & 
GetNParticlesCreatedInTarget ()
 
std::map< const
G4ParticleDefinition *, int > & 
GetNParticlesCreatedInWorld ()
 
 TrackingAction (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (RunAction *, PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
virtual ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *, RunAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *, EventAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *, RunAction *)
 
virtual ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
virtual ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (RunAction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void UpdateTrackInfo (G4double, G4double, G4double)
 
 TrackingAction (DetectorConstruction *, RunAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (RunAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void AddEdepCavity (G4double de)
 
 TrackingAction (RunAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void AddEdepCavity (G4double de)
 
 TrackingAction ()
 
virtual ~TrackingAction ()
 
void PreUserTrackingAction (const G4Track *)
 
void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (RunAction *, EventAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void SetFullChain (G4bool flag)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
void SetTrackingManagerPointer (G4TrackingManager *pValue)
 

Private Member Functions

TrackingActionoperator= (const TrackingAction &right)
 
 TrackingAction (const TrackingAction &)
 
 TrackingAction (const TrackingAction &right)
 
const TrackingActionoperator= (const TrackingAction &right)
 

Private Attributes

DetectorConstructiondetector
 
RunActionrunAct
 
DetectorConstructionfDetector
 
G4RegionfTargetRegion
 
std::map< const
G4ParticleDefinition *, int > 
fNParticleInTarget
 
std::map< const
G4ParticleDefinition *, int > 
fNParticleInWorld
 
PrimaryGeneratorActionfPrimary
 
RunActionfRunAction
 
PrimaryGeneratorActionfKinematic
 
RunActionfRunAct
 
EventActionfEventAction
 
G4double fXstartAbs
 
G4double fXendAbs
 
G4double fPrimaryCharge
 
HistoManagerfHisto
 
G4ThreeVector fNewUz
 
G4double fDeltaR3
 
G4double fCosAlphaMin
 
G4double fCosAlphaMax
 
G4int fNbStep1
 
G4int fNbStep2
 
G4double fTrackLen1
 
G4double fTrackLen2
 
G4double fTime1
 
G4double fTime2
 
G4double fZend
 
G4double fEdepCavity
 
HistofHisto
 
RunActionfRun
 
EventActionfEvent
 
TrackingMessengerfTrackMessenger
 
G4double fCharge
 
G4double fMass
 
G4bool fFullChain
 

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 42 of file TrackingAction.hh.

Constructor & Destructor Documentation

TrackingAction::TrackingAction ( DetectorConstruction det,
RunAction run 
)

Definition at line 46 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 47 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction detector = 0)

Definition at line 43 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( DetectorConstruction detector = 0)
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( PrimaryGeneratorAction prim)

Definition at line 44 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 47 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction )
TrackingAction::~TrackingAction ( )
inline

Definition at line 48 of file TrackingAction.hh.

TrackingAction::TrackingAction ( RunAction run,
PrimaryGeneratorAction kin 
)

Definition at line 44 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( )

Definition at line 43 of file TrackingAction.cc.

virtual TrackingAction::~TrackingAction ( )
inlinevirtual

Definition at line 45 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction ,
RunAction  
)
TrackingAction::~TrackingAction ( )
inline

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction DET,
EventAction EA 
)

Definition at line 49 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction ,
RunAction  
)
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( )
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( const TrackingAction )
private
TrackingAction::TrackingAction ( PrimaryGeneratorAction )
TrackingAction::~TrackingAction ( )
inline

Definition at line 50 of file TrackingAction.hh.

TrackingAction::TrackingAction ( RunAction run)

Definition at line 40 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( )
TrackingAction::~TrackingAction ( )
inline

Definition at line 46 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction ,
RunAction  
)
TrackingAction::~TrackingAction ( )
inline

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( RunAction )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( RunAction )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( )
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( const TrackingAction right)
private
TrackingAction::TrackingAction ( RunAction RA,
EventAction EA 
)

Definition at line 48 of file TrackingAction.cc.

References fTrackMessenger.

TrackingAction::~TrackingAction ( )

Member Function Documentation

void TrackingAction::AddEdepCavity ( G4double  de)
inline

Definition at line 53 of file TrackingAction.hh.

References fEdepCavity.

void TrackingAction::AddEdepCavity ( G4double  de)
inline

Definition at line 53 of file TrackingAction.hh.

References fEdepCavity.

std::map<const G4ParticleDefinition*, int>& TrackingAction::GetNParticlesCreatedInTarget ( )
inline

Definition at line 53 of file TrackingAction.hh.

References fNParticleInTarget.

std::map<const G4ParticleDefinition*, int>& TrackingAction::GetNParticlesCreatedInTarget ( )
inline

Definition at line 56 of file TrackingAction.hh.

References fNParticleInTarget.

Referenced by RunAction::EndWorker().

+ Here is the caller graph for this function:

std::map<const G4ParticleDefinition*, int>& TrackingAction::GetNParticlesCreatedInWorld ( )
inline

Definition at line 58 of file TrackingAction.hh.

References fNParticleInWorld.

std::map<const G4ParticleDefinition*, int>& TrackingAction::GetNParticlesCreatedInWorld ( )
inline

Definition at line 61 of file TrackingAction.hh.

References fNParticleInWorld.

Referenced by RunAction::EndWorker().

+ Here is the caller graph for this function:

TrackingAction& TrackingAction::operator= ( const TrackingAction right)
private
const TrackingAction& TrackingAction::operator= ( const TrackingAction right)
private
virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

void TrackingAction::PostUserTrackingAction ( const G4Track track)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 57 of file TrackingAction.cc.

References detector, RunAction::fillDetailedLeakage(), DetectorConstruction::GetCalorThickness(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4Track::GetPosition(), DetectorConstruction::GetPvolWorld(), G4Track::GetVolume(), G4Positron::Positron(), and runAct.

+ Here is the call graph for this function:

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PostUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

void TrackingAction::PreUserTrackingAction ( const G4Track track)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 52 of file TrackingAction.cc.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

virtual void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

void TrackingAction::PreUserTrackingAction ( const G4Track )
virtual

Reimplemented from G4UserTrackingAction.

void TrackingAction::SetDetector ( DetectorConstruction detector)
inline

Definition at line 48 of file TrackingAction.hh.

References detector, and fDetector.

void TrackingAction::SetDetector ( DetectorConstruction detector)
inline

Definition at line 51 of file TrackingAction.hh.

References detector, and fDetector.

void TrackingAction::SetFullChain ( G4bool  flag)
inline

Definition at line 56 of file TrackingAction.hh.

References fFullChain.

Referenced by TrackingMessenger::SetNewValue().

+ Here is the caller graph for this function:

void TrackingAction::UpdateTrackInfo ( G4double  ekin,
G4double  trackl,
G4double  time 
)

Definition at line 61 of file TrackingAction.cc.

References eV, fNbStep1, fNbStep2, fTime1, fTime2, fTrackLen1, and fTrackLen2.

Member Data Documentation

DetectorConstruction* TrackingAction::detector
private

Definition at line 53 of file TrackingAction.hh.

Referenced by PostUserTrackingAction(), and SetDetector().

G4double TrackingAction::fCharge
private

Definition at line 63 of file TrackingAction.hh.

G4double TrackingAction::fCosAlphaMax
private

Definition at line 64 of file TrackingAction.hh.

G4double TrackingAction::fCosAlphaMin
private

Definition at line 63 of file TrackingAction.hh.

G4double TrackingAction::fDeltaR3
private

Definition at line 62 of file TrackingAction.hh.

DetectorConstruction * TrackingAction::fDetector
private

Definition at line 67 of file TrackingAction.hh.

Referenced by SetDetector().

G4double TrackingAction::fEdepCavity
private

Definition at line 57 of file TrackingAction.hh.

Referenced by AddEdepCavity().

EventAction* TrackingAction::fEvent
private

Definition at line 60 of file TrackingAction.hh.

EventAction* TrackingAction::fEventAction
private

Definition at line 56 of file TrackingAction.hh.

G4bool TrackingAction::fFullChain
private

Definition at line 64 of file TrackingAction.hh.

Referenced by SetFullChain().

Histo* TrackingAction::fHisto
private

Definition at line 71 of file TrackingAction.hh.

HistoManager* TrackingAction::fHisto
private

Definition at line 71 of file TrackingAction.hh.

PrimaryGeneratorAction* TrackingAction::fKinematic
private

Definition at line 55 of file TrackingAction.hh.

G4double TrackingAction::fMass
private

Definition at line 63 of file TrackingAction.hh.

G4int TrackingAction::fNbStep1
private

Definition at line 54 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

G4int TrackingAction::fNbStep2
private

Definition at line 54 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

G4ThreeVector TrackingAction::fNewUz
private

Definition at line 59 of file TrackingAction.hh.

std::map< const G4ParticleDefinition *, int > TrackingAction::fNParticleInTarget
private

Definition at line 69 of file TrackingAction.hh.

Referenced by GetNParticlesCreatedInTarget().

std::map< const G4ParticleDefinition *, int > TrackingAction::fNParticleInWorld
private

Definition at line 70 of file TrackingAction.hh.

Referenced by GetNParticlesCreatedInWorld().

PrimaryGeneratorAction * TrackingAction::fPrimary
private

Definition at line 53 of file TrackingAction.hh.

G4double TrackingAction::fPrimaryCharge
private

Definition at line 59 of file TrackingAction.hh.

RunAction* TrackingAction::fRun
private

Definition at line 56 of file TrackingAction.hh.

RunAction* TrackingAction::fRunAct
private

Definition at line 56 of file TrackingAction.hh.

RunAction * TrackingAction::fRunAction
private

Definition at line 54 of file TrackingAction.hh.

G4Region * TrackingAction::fTargetRegion
private

Definition at line 68 of file TrackingAction.hh.

G4double TrackingAction::fTime1
private

Definition at line 56 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

G4double TrackingAction::fTime2
private

Definition at line 56 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

G4double TrackingAction::fTrackLen1
private

Definition at line 55 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

G4double TrackingAction::fTrackLen2
private

Definition at line 55 of file TrackingAction.hh.

Referenced by UpdateTrackInfo().

TrackingMessenger* TrackingAction::fTrackMessenger
private

Definition at line 61 of file TrackingAction.hh.

Referenced by TrackingAction().

G4double TrackingAction::fXendAbs
private

Definition at line 58 of file TrackingAction.hh.

G4double TrackingAction::fXstartAbs
private

Definition at line 58 of file TrackingAction.hh.

G4double TrackingAction::fZend
private

Definition at line 58 of file TrackingAction.hh.

RunAction* TrackingAction::runAct
private

Definition at line 54 of file TrackingAction.hh.

Referenced by PostUserTrackingAction().


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