BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTrackingAction Class Reference

#include <BesTrackingAction.hh>

+ Inheritance diagram for BesTrackingAction:

Public Member Functions

 BesTrackingAction (BesRunAction *)
 
 ~BesTrackingAction ()
 
void PreUserTrackingAction (const G4Track *track)
 
void PostUserTrackingAction (const G4Track *track)
 
 BesTrackingAction (BesRunAction *)
 
 ~BesTrackingAction ()
 
void PreUserTrackingAction (const G4Track *track)
 
void PostUserTrackingAction (const G4Track *track)
 

Detailed Description

Constructor & Destructor Documentation

◆ BesTrackingAction() [1/2]

BesTrackingAction::BesTrackingAction ( BesRunAction runAction)

Definition at line 21 of file BesTrackingAction.cc.

22:m_runAction(runAction)
23{;}

◆ ~BesTrackingAction() [1/2]

BesTrackingAction::~BesTrackingAction ( )

Definition at line 25 of file BesTrackingAction.cc.

26{;}

◆ BesTrackingAction() [2/2]

BesTrackingAction::BesTrackingAction ( BesRunAction )

◆ ~BesTrackingAction() [2/2]

BesTrackingAction::~BesTrackingAction ( )

Member Function Documentation

◆ PostUserTrackingAction() [1/2]

void BesTrackingAction::PostUserTrackingAction ( const G4Track *  track)

Definition at line 37 of file BesTrackingAction.cc.

38{
39 if(m_runAction->GetMCTruthFlag()!=0)
40 {
42 sensitiveManager->EndOfTrack(track, fpTrackingManager);
43 }
44}
void EndOfTrack(const G4Track *track, G4TrackingManager *)

◆ PostUserTrackingAction() [2/2]

void BesTrackingAction::PostUserTrackingAction ( const G4Track *  track)

◆ PreUserTrackingAction() [1/2]

void BesTrackingAction::PreUserTrackingAction ( const G4Track *  track)

Definition at line 28 of file BesTrackingAction.cc.

29{
30 if(m_runAction->GetMCTruthFlag()!=0)
31 {
33 sensitiveManager->BeginOfTrack(track);
34 }
35}
void BeginOfTrack(const G4Track *track)

◆ PreUserTrackingAction() [2/2]

void BesTrackingAction::PreUserTrackingAction ( const G4Track *  track)

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