|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
User simulation plugin. More...
#include <UserActionPlugin.hh>
Public Member Functions | |
| virtual | ~UserActionPlugin () |
| virtual void | beginEvent (const G4Event *) |
| virtual void | beginRun (const G4Run *) |
| virtual void | endEvent (const G4Event *) |
| virtual void | endRun (const G4Run *) |
| virtual void | generatePrimary (G4Event *) |
| virtual std::string | getName ()=0 |
| int | getVerboseLevel () |
| virtual bool | hasEventAction () |
| virtual bool | hasPrimaryGeneratorAction () |
| virtual bool | hasRunAction () |
| virtual bool | hasStackingAction () |
| virtual bool | hasSteppingAction () |
| virtual bool | hasTrackingAction () |
| virtual void | postTracking (const G4Track *) |
| virtual void | preTracking (const G4Track *) |
| void | setVerboseLevel (int verbose) |
| virtual G4ClassificationOfNewTrack | stackingClassifyNewTrack (const G4Track *, const G4ClassificationOfNewTrack ¤tTrackClass) |
| virtual void | stackingNewStage () |
| virtual void | stackingPrepareNewEvent () |
| virtual void | stepping (const G4Step *) |
Protected Attributes | |
| int | verbose_ { 1 } |
User simulation plugin.
Definition at line 44 of file UserActionPlugin.hh.
|
inlinevirtual |
Class destructor.
Definition at line 51 of file UserActionPlugin.hh.
|
inlinevirtual |
Begin of event action.
Reimplemented in DummySimPlugin.
Definition at line 163 of file UserActionPlugin.hh.
|
inlinevirtual |
Begin of run action.
Reimplemented in DummySimPlugin.
Definition at line 133 of file UserActionPlugin.hh.
|
inlinevirtual |
End of event action.
Reimplemented in DummySimPlugin, and PairConvFilter.
Definition at line 169 of file UserActionPlugin.hh.
|
inlinevirtual |
End of run action.
Reimplemented in PairConvFilter, and DummySimPlugin.
Definition at line 139 of file UserActionPlugin.hh.
|
inlinevirtual |
Generate primary action.
Reimplemented in DummySimPlugin.
Definition at line 175 of file UserActionPlugin.hh.
|
pure virtual |
Get the name of the plugin. The user must override this function.
Implemented in DummySimPlugin, StepPrinter, and PairConvFilter.
Referenced by UserActionPluginMessenger::UserActionPluginMessenger(), PluginLoader::destroy(), and UserActionPluginMessenger::SetNewValue().
|
inline |
Get the current verbose level.
Definition at line 78 of file UserActionPlugin.hh.
References UserActionPlugin::verbose_.
Referenced by UserActionPluginMessenger::SetNewValue().
|
inlinevirtual |
Get whether this plugin implements the event action.
Reimplemented in PairConvFilter, and DummySimPlugin.
Definition at line 110 of file UserActionPlugin.hh.
|
inlinevirtual |
Get whether this plugin implements the primary generator action.
Reimplemented in DummySimPlugin.
Definition at line 126 of file UserActionPlugin.hh.
|
inlinevirtual |
Get whether this plugin implements the run action.
Reimplemented in PairConvFilter, and DummySimPlugin.
Definition at line 86 of file UserActionPlugin.hh.
|
inlinevirtual |
Get whether this plugin implements the stacking action.
Reimplemented in PairConvFilter, and DummySimPlugin.
Definition at line 118 of file UserActionPlugin.hh.
|
inlinevirtual |
Get whether this plugin implements the stepping action.
Reimplemented in PairConvFilter, DummySimPlugin, and StepPrinter.
Definition at line 94 of file UserActionPlugin.hh.
|
inlinevirtual |
Get whether this plugin implements the tracking action.
Reimplemented in DummySimPlugin.
Definition at line 102 of file UserActionPlugin.hh.
|
inlinevirtual |
Post-tracking action.
Reimplemented in DummySimPlugin.
Definition at line 157 of file UserActionPlugin.hh.
|
inlinevirtual |
Pre-tracking action.
Reimplemented in DummySimPlugin.
Definition at line 151 of file UserActionPlugin.hh.
|
inline |
Set the verbose level of the plugin (1-4).
| verbose | The verbose level of the plugin. |
Definition at line 65 of file UserActionPlugin.hh.
References LOG::verbose, and UserActionPlugin::verbose_.
Referenced by UserActionPluginMessenger::SetNewValue().
|
inlinevirtual |
Classify a new track.
| currentTrackClass | The current track classification. |
Reimplemented in DummySimPlugin, and PairConvFilter.
Definition at line 183 of file UserActionPlugin.hh.
|
inlinevirtual |
New stacking stage action.
Reimplemented in DummySimPlugin.
Definition at line 190 of file UserActionPlugin.hh.
|
inlinevirtual |
New event stacking action.
Reimplemented in DummySimPlugin.
Definition at line 196 of file UserActionPlugin.hh.
|
inlinevirtual |
Stepping action.
Reimplemented in StepPrinter, PairConvFilter, and DummySimPlugin.
Definition at line 145 of file UserActionPlugin.hh.
|
protected |
Protected access to verbose level for convenience of sub-classes.
Definition at line 202 of file UserActionPlugin.hh.
Referenced by UserActionPlugin::getVerboseLevel(), and UserActionPlugin::setVerboseLevel().