Geant4  10.02.p02
TrackingAction Class Reference

#include <TrackingAction.hh>

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

Public Member Functions

 TrackingAction (DetectorConstruction *)
 
 ~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 (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
virtual ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *)
 
 ~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 ()
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
 ~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 (EventAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
virtual ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
 ~TrackingAction ()
 
void Initialize ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
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 (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (PrimaryGeneratorAction *)
 
 ~TrackingAction ()
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction (DetectorConstruction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
 TrackingAction ()
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void AddEdepCavity (G4double de)
 
 TrackingAction ()
 
 ~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 (EventAction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
void SetFullChain (G4bool flag)
 
 TrackingAction (DetectorConstruction *)
 
 ~TrackingAction ()
 
virtual void PreUserTrackingAction (const G4Track *)
 
virtual void PostUserTrackingAction (const G4Track *)
 
- Public Member Functions inherited from G4UserTrackingAction
 G4UserTrackingAction ()
 
virtual ~G4UserTrackingAction ()
 
void SetTrackingManagerPointer (G4TrackingManager *pValue)
 
- Public Member Functions inherited from RunInitObserver
 RunInitObserver ()
 
virtual ~RunInitObserver ()
 
 RunInitObserver ()
 
virtual ~RunInitObserver ()
 
 RunInitObserver ()
 
virtual ~RunInitObserver ()
 

Private Member Functions

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

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from G4UserTrackingAction
G4TrackingManagerfpTrackingManager
 

Detailed Description

Definition at line 41 of file TrackingAction.hh.

Constructor & Destructor Documentation

TrackingAction::TrackingAction ( DetectorConstruction det)

Definition at line 47 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 46 of file TrackingAction.hh.

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

Definition at line 47 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 ( PrimaryGeneratorAction )
TrackingAction::~TrackingAction ( )
inline

Definition at line 48 of file TrackingAction.hh.

TrackingAction::TrackingAction ( )

Definition at line 42 of file TrackingAction.cc.

virtual TrackingAction::~TrackingAction ( )
inlinevirtual

Definition at line 45 of file TrackingAction.hh.

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

Definition at line 48 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction DET,
EventAction EA 
)

Definition at line 49 of file TrackingAction.cc.

References fDirX, fPrimaryCharge, fXendAbs, and fXstartAbs.

TrackingAction::~TrackingAction ( )
inline

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( DetectorConstruction det,
RunAction run 
)

Definition at line 41 of file TrackingAction.cc.

virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( )
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( const TrackingAction )
private
TrackingAction::TrackingAction ( )
TrackingAction::~TrackingAction ( )
inline

Definition at line 47 of file TrackingAction.hh.

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

Definition at line 47 of file TrackingAction.hh.

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 ( EventAction event)

Definition at line 50 of file TrackingAction.cc.

TrackingAction::~TrackingAction ( )
inline

Definition at line 48 of file TrackingAction.hh.

TrackingAction::TrackingAction ( )
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( PrimaryGeneratorAction )
TrackingAction::~TrackingAction ( )
inline

Definition at line 48 of file TrackingAction.hh.

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

Definition at line 48 of file TrackingAction.hh.

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

Definition at line 48 of file TrackingAction.hh.

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

Definition at line 49 of file TrackingAction.hh.

TrackingAction::TrackingAction ( )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( )
virtual TrackingAction::~TrackingAction ( )
virtual
TrackingAction::TrackingAction ( const TrackingAction right)
private
TrackingAction::TrackingAction ( EventAction )
TrackingAction::~TrackingAction ( )
TrackingAction::TrackingAction ( DetectorConstruction )
TrackingAction::~TrackingAction ( )
inline

Definition at line 48 of file TrackingAction.hh.

Member Function Documentation

void TrackingAction::AddEdepCavity ( G4double  de)
inline

Definition at line 52 of file TrackingAction.hh.

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.

Referenced by RunAction::EndWorker().

+ Here is the caller graph for this function:

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

Definition at line 56 of file TrackingAction.hh.

References fNParticleInTarget.

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

Definition at line 58 of file TrackingAction.hh.

References fNParticleInWorld.

Referenced by RunAction::EndWorker().

+ Here is the caller graph for this function:

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

Definition at line 61 of file TrackingAction.hh.

References fNParticleInWorld.

void TrackingAction::Initialize ( )
virtual

Implements RunInitObserver.

Definition at line 114 of file TrackingAction.cc.

References fpTargetRegion, G4RegionStore::GetInstance(), and G4RegionStore::GetRegion().

+ Here is the call 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 58 of file TrackingAction.cc.

References Run::DetailedLeakage(), detector, DetectorConstruction::GetCalorThickness(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4RunManager::GetNonConstCurrentRun(), G4Track::GetPosition(), DetectorConstruction::GetPvolWorld(), G4RunManager::GetRunManager(), G4Track::GetVolume(), G4Positron::Positron(), and x.

+ 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.

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.

void TrackingAction::PreUserTrackingAction ( const G4Track track)
virtual

Reimplemented from G4UserTrackingAction.

Definition at line 53 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.

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.

virtual 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::SetFullChain ( G4bool  flag)
inline

Definition at line 55 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 52 of file TrackingAction.hh.

Referenced by PostUserTrackingAction(), and SetDetector().

G4double TrackingAction::fCharge
private

Definition at line 61 of file TrackingAction.hh.

DetectorConstruction * TrackingAction::fDetector
private

Definition at line 64 of file TrackingAction.hh.

Referenced by SetDetector().

G4double TrackingAction::fDirX
private

Definition at line 60 of file TrackingAction.hh.

Referenced by TrackingAction().

G4double TrackingAction::fEdepCavity
private

Definition at line 52 of file TrackingAction.hh.

Referenced by AddEdepCavity().

EventAction* TrackingAction::fEvent
private

Definition at line 55 of file TrackingAction.hh.

EventAction * TrackingAction::fEventAction
private

Definition at line 56 of file TrackingAction.hh.

G4bool TrackingAction::fFullChain
private

Definition at line 62 of file TrackingAction.hh.

Referenced by SetFullChain().

HistoManager* TrackingAction::fHisto
private

Definition at line 71 of file TrackingAction.hh.

Histo* TrackingAction::fHisto
private

Definition at line 71 of file TrackingAction.hh.

G4double TrackingAction::fMass
private

Definition at line 61 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 66 of file TrackingAction.hh.

Referenced by GetNParticlesCreatedInTarget().

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

Definition at line 67 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.

Referenced by TrackingAction().

G4Region* TrackingAction::fpTargetRegion
private

Definition at line 67 of file TrackingAction.hh.

Referenced by Initialize().

RunAction * TrackingAction::fRunAction
private

Definition at line 55 of file TrackingAction.hh.

G4Region* TrackingAction::fTargetRegion
private

Definition at line 65 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().

G4double TrackingAction::fTrackLength
private

Definition at line 56 of file TrackingAction.hh.

TrackingMessenger* TrackingAction::fTrackMessenger
private

Definition at line 59 of file TrackingAction.hh.

G4double TrackingAction::fXendAbs
private

Definition at line 58 of file TrackingAction.hh.

Referenced by TrackingAction().

G4double TrackingAction::fXstartAbs
private

Definition at line 58 of file TrackingAction.hh.

Referenced by TrackingAction().

G4double TrackingAction::fZend
private

Definition at line 57 of file TrackingAction.hh.


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