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

Public Member Functions

void BeginOfEventAction (const G4Event *anEvent)
 
void EndOfEventAction (const G4Event *anEvent)
 

Detailed Description

Definition at line 40 of file pyG4UserEventAction.cc.

Member Function Documentation

void CB_G4UserEventAction::BeginOfEventAction ( const G4Event *  anEvent)
inline

Definition at line 43 of file pyG4UserEventAction.cc.

References f.

Referenced by export_G4UserEventAction().

43  {
44  if(const override& f= get_override("BeginOfEventAction")) {
45  f(boost::ref(anEvent));
46  } else
47  G4UserEventAction::BeginOfEventAction(anEvent);
48  }
TFile f
Definition: plotHisto.C:6
void CB_G4UserEventAction::EndOfEventAction ( const G4Event *  anEvent)
inline

Definition at line 51 of file pyG4UserEventAction.cc.

References f.

Referenced by export_G4UserEventAction().

51  {
52  if(const override& f= get_override("EndOfEventAction")) {
53  f(boost::ref(anEvent));
54  } else {
55  G4UserEventAction::EndOfEventAction(anEvent);
56  }
57  }
TFile f
Definition: plotHisto.C:6

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