LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CB_G4UserTrackingAction Struct Reference
Inheritance diagram for CB_G4UserTrackingAction:

Public Member Functions

void PreUserTrackingAction (const G4Track *atrack)
 
void PostUserTrackingAction (const G4Track *atrack)
 

Detailed Description

Definition at line 40 of file pyG4UserTrackingAction.cc.

Member Function Documentation

void CB_G4UserTrackingAction::PostUserTrackingAction ( const G4Track *  atrack)
inline

Definition at line 53 of file pyG4UserTrackingAction.cc.

References f.

Referenced by export_G4UserTrackingAction().

53  {
54  if(const override& f= get_override("PostUserTrackingAction")) {
55  f(boost::ref(atrack));
56  } else {
57  G4UserTrackingAction::PostUserTrackingAction(atrack);
58  }
59  }
TFile f
Definition: plotHisto.C:6
void CB_G4UserTrackingAction::PreUserTrackingAction ( const G4Track *  atrack)
inline

Definition at line 44 of file pyG4UserTrackingAction.cc.

References f.

Referenced by export_G4UserTrackingAction().

44  {
45  if(const override& f= get_override("PreUserTrackingAction")) {
46  f(boost::ref(atrack));
47  } else {
48  G4UserTrackingAction::PreUserTrackingAction(atrack);
49  }
50  }
TFile f
Definition: plotHisto.C:6

The documentation for this struct was generated from the following file: