CGEM BOSS 6.6.5.h
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)
 

Detailed Description

Definition at line 19 of file BesTrackingAction.hh.

Constructor & Destructor Documentation

◆ BesTrackingAction()

BesTrackingAction::BesTrackingAction ( BesRunAction * runAction)

Definition at line 21 of file BesTrackingAction.cc.

22:m_runAction(runAction)
23{;}

◆ ~BesTrackingAction()

BesTrackingAction::~BesTrackingAction ( )

Definition at line 25 of file BesTrackingAction.cc.

26{;}

Member Function Documentation

◆ PostUserTrackingAction()

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}
G4int GetMCTruthFlag()
void EndOfTrack(const G4Track *track, G4TrackingManager *)
static BesSensitiveManager * GetSensitiveManager()

◆ PreUserTrackingAction()

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)

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