9#ifndef STACKINGACTION_H_
10#define STACKINGACTION_H_
13#include <G4UserStackingAction.hh>
21 namespace Simulation {
The basf2 stacking action.
StackingAction()
The StackingAction constructor.
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.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
Function that classifies new tracks.
~StackingAction()
The StackingAction destructor.
virtual void PrepareNewEvent()
Function called at begining of event.
void setPropagatedPhotonFraction(double fraction)
Set fraction of Cerenkov photons that are actually propagated.
Abstract base class for different kinds of events.