10#ifndef SIMULATION_KERNEL_STEPTIMING_H
11#define SIMULATION_KERNEL_STEPTIMING_H
13#include <G4VSteppingVerbose.hh>
14#include <G4LogicalVolume.hh>
22 namespace Simulation {
37 typedef std::function<void (G4Track*, G4LogicalVolume*,
double)>
callbackType;
Class to perform more detailed timing studies of the Geant4 simulation.
virtual void AtRestDoItInvoked()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void PostStepDoItAllDone()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void AlongStepDoItOneByOne()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void DPSLAlongStep()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void DPSLStarted()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void VerboseParticleChange()
ignored, empty stub only implemented because it's pure virtual in base class
StepTiming(const callbackType &callback)
Constructor: create an instance with a given callback function.
double m_startTime
start time of the step
virtual void TrackingStarted()
ignored, empty stub only implemented because it's pure virtual in base class
std::function< void(G4Track *, G4LogicalVolume *, double)> callbackType
Signature of the callback function.
virtual void DPSLPostStep()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void NewStep()
Start timing a new step.
virtual void AlongStepDoItAllDone()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void PostStepDoItOneByOne()
ignored, empty stub only implemented because it's pure virtual in base class
virtual void StepInfo()
Step finished, call callback function.
virtual void VerboseTrack()
ignored, empty stub only implemented because it's pure virtual in base class
callbackType m_callback
callback function to call
virtual void DPSLUserLimit()
ignored, empty stub only implemented because it's pure virtual in base class
Abstract base class for different kinds of events.