 |
Belle II Software
release-05-02-19
|
11 #ifndef STACKINGACTION_H_
12 #define STACKINGACTION_H_
15 #include <G4UserStackingAction.hh>
23 namespace Simulation {
28 class StackingAction :
public G4UserStackingAction {
void setPropagatedPhotonFraction(double fraction)
Set fraction of Cerenkov photons that are actually propagated.
virtual void NewStage()
Function that is called at each event when "urgent" stack is empty.
double m_photonFraction
The fraction of Cerenkov photons which will be kept and propagated.
Abstract base class for different kinds of events.
StackingAction()
The StackingAction constructor.
virtual void PrepareNewEvent()
Function called at begining of event.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
Function that classifies new tracks.
~StackingAction()
The StackingAction destructor.