SLIC  6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
Public Member Functions | List of all members
DummySimPlugin Class Reference

Dummy implementation of UserActionPlugin. More...

Inheritance diagram for DummySimPlugin:
UserActionPlugin

Public Member Functions

 DummySimPlugin ()
 
virtual ~DummySimPlugin ()
 
void beginEvent (const G4Event *event)
 
void beginRun (const G4Run *run)
 
void endEvent (const G4Event *event)
 
void endRun (const G4Run *run)
 
void generatePrimary (G4Event *event)
 
virtual std::string getName ()
 
bool hasEventAction ()
 
bool hasPrimaryGeneratorAction ()
 
bool hasRunAction ()
 
bool hasStackingAction ()
 
bool hasSteppingAction ()
 
bool hasTrackingAction ()
 
void postTracking (const G4Track *track)
 
void preTracking (const G4Track *track)
 
G4ClassificationOfNewTrack stackingClassifyNewTrack (const G4Track *aTrack, const G4ClassificationOfNewTrack &currentTrackClass)
 
void stackingNewStage ()
 
void stackingPrepareNewEvent ()
 
void stepping (const G4Step *step)
 
- Public Member Functions inherited from UserActionPlugin
virtual ~UserActionPlugin ()
 
int getVerboseLevel ()
 
void setVerboseLevel (int verbose)
 

Additional Inherited Members

- Protected Attributes inherited from UserActionPlugin
int verbose_ { 1 }
 

Detailed Description

Dummy implementation of UserActionPlugin.

Definition at line 16 of file DummySimPlugin.cc.

Constructor & Destructor Documentation

◆ DummySimPlugin()

DummySimPlugin ( )
inline

Definition at line 20 of file DummySimPlugin.cc.

References LOG::endl.

◆ ~DummySimPlugin()

virtual ~DummySimPlugin ( )
inlinevirtual

Definition at line 24 of file DummySimPlugin.cc.

References LOG::endl.

Member Function Documentation

◆ beginEvent()

void beginEvent ( const G4Event *  )
inlinevirtual

Begin of event action.

Reimplemented from UserActionPlugin.

Definition at line 82 of file DummySimPlugin.cc.

References LOG::endl.

◆ beginRun()

void beginRun ( const G4Run *  )
inlinevirtual

Begin of run action.

Reimplemented from UserActionPlugin.

Definition at line 56 of file DummySimPlugin.cc.

References LOG::endl.

◆ endEvent()

void endEvent ( const G4Event *  )
inlinevirtual

End of event action.

Reimplemented from UserActionPlugin.

Definition at line 86 of file DummySimPlugin.cc.

References LOG::endl.

◆ endRun()

void endRun ( const G4Run *  )
inlinevirtual

End of run action.

Reimplemented from UserActionPlugin.

Definition at line 60 of file DummySimPlugin.cc.

References LOG::endl.

◆ generatePrimary()

void generatePrimary ( G4Event *  )
inlinevirtual

Generate primary action.

Reimplemented from UserActionPlugin.

Definition at line 103 of file DummySimPlugin.cc.

References LOG::endl.

◆ getName()

virtual std::string getName ( )
inlinevirtual

Get the name of the plugin. The user must override this function.

Returns
The name of the plugin.

Implements UserActionPlugin.

Definition at line 28 of file DummySimPlugin.cc.

◆ hasEventAction()

bool hasEventAction ( )
inlinevirtual

Get whether this plugin implements the event action.

Returns
True if the plugin implements the event action.

Reimplemented from UserActionPlugin.

Definition at line 44 of file DummySimPlugin.cc.

◆ hasPrimaryGeneratorAction()

bool hasPrimaryGeneratorAction ( )
inlinevirtual

Get whether this plugin implements the primary generator action.

Returns
True if the plugin implements the primary generator action.

Reimplemented from UserActionPlugin.

Definition at line 52 of file DummySimPlugin.cc.

◆ hasRunAction()

bool hasRunAction ( )
inlinevirtual

Get whether this plugin implements the run action.

Returns
True if the plugin implements the run action.

Reimplemented from UserActionPlugin.

Definition at line 32 of file DummySimPlugin.cc.

◆ hasStackingAction()

bool hasStackingAction ( )
inlinevirtual

Get whether this plugin implements the stacking action.

Returns
True if the plugin implements the stacking action.

Reimplemented from UserActionPlugin.

Definition at line 48 of file DummySimPlugin.cc.

◆ hasSteppingAction()

bool hasSteppingAction ( )
inlinevirtual

Get whether this plugin implements the stepping action.

Returns
True if the plugin implements the stepping action.

Reimplemented from UserActionPlugin.

Definition at line 36 of file DummySimPlugin.cc.

◆ hasTrackingAction()

bool hasTrackingAction ( )
inlinevirtual

Get whether this plugin implements the tracking action.

Returns
True if the plugin implements the tracking action.

Reimplemented from UserActionPlugin.

Definition at line 40 of file DummySimPlugin.cc.

◆ postTracking()

void postTracking ( const G4Track *  )
inlinevirtual

Post-tracking action.

Reimplemented from UserActionPlugin.

Definition at line 78 of file DummySimPlugin.cc.

References LOG::endl.

◆ preTracking()

void preTracking ( const G4Track *  )
inlinevirtual

Pre-tracking action.

Reimplemented from UserActionPlugin.

Definition at line 74 of file DummySimPlugin.cc.

References LOG::endl.

◆ stackingClassifyNewTrack()

G4ClassificationOfNewTrack stackingClassifyNewTrack ( const G4Track *  ,
const G4ClassificationOfNewTrack &  currentTrackClass 
)
inlinevirtual

Classify a new track.

Parameters
currentTrackClassThe current track classification.
Returns
The current track classification returned by default.

Reimplemented from UserActionPlugin.

Definition at line 90 of file DummySimPlugin.cc.

References LOG::endl.

◆ stackingNewStage()

void stackingNewStage ( )
inlinevirtual

New stacking stage action.

Reimplemented from UserActionPlugin.

Definition at line 95 of file DummySimPlugin.cc.

References LOG::endl.

◆ stackingPrepareNewEvent()

void stackingPrepareNewEvent ( )
inlinevirtual

New event stacking action.

Reimplemented from UserActionPlugin.

Definition at line 99 of file DummySimPlugin.cc.

References LOG::endl.

◆ stepping()

void stepping ( const G4Step *  )
inlinevirtual

Stepping action.

Reimplemented from UserActionPlugin.

Definition at line 64 of file DummySimPlugin.cc.

References LOG::endl.


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