LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 43 of file pyG4UserStackingAction.cc.

Member Function Documentation

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

Definition at line 47 of file pyG4UserStackingAction.cc.

References f.

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

Definition at line 55 of file pyG4UserStackingAction.cc.

References f.

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

Definition at line 63 of file pyG4UserStackingAction.cc.

References f.

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

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