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

Public Member Functions

G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *aTrack)
 
void NewStage ()
 
void PrepareNewEvent ()
 

Detailed Description

Definition at line 42 of file pyG4UserStackingAction.cc.

Member Function Documentation

G4ClassificationOfNewTrack pyG4UserStackingAction::CB_G4UserStackingAction::ClassifyNewTrack ( const G4Track *  aTrack)
inline

Definition at line 46 of file pyG4UserStackingAction.cc.

References f.

46  {
47  if(const override& f= get_override("ClassifyNewTrack")) {
48  return f(boost::ref(aTrack));
49  } else
50  return G4UserStackingAction::ClassifyNewTrack(aTrack);
51  }
TFile f
Definition: plotHisto.C:6
void pyG4UserStackingAction::CB_G4UserStackingAction::NewStage ( )
inline

Definition at line 54 of file pyG4UserStackingAction.cc.

References f.

54  {
55  if(const override& f= get_override("NewStage")) {
56  f();
57  } else
58  G4UserStackingAction::NewStage();
59  }
TFile f
Definition: plotHisto.C:6
void pyG4UserStackingAction::CB_G4UserStackingAction::PrepareNewEvent ( )
inline

Definition at line 62 of file pyG4UserStackingAction.cc.

References f.

62  {
63  if(const override& f= get_override("PrepareNewEvent")) {
64  f();
65  } else
66  G4UserStackingAction::PrepareNewEvent();
67  }
TFile f
Definition: plotHisto.C:6

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