![]() |
FairShip
|
#include <ShipRunConfiguration.h>
Public Member Functions | |
| void | SteppingAction (const G4Step *step) override |
Stepping action that passes every Geant4 step to the per-step kaon/pion splitting of exitHadronAbsorber.
FairRoot only calls a detector's ProcessHits() for steps it attributes to one of the detector's sensitive volumes, and a step that ends on a volume boundary is attributed to the volume after it. Whether a step was seen therefore depended on how it ended: a decay inside a splitting volume was seen, the same step running into an unregistered volume was not. Per-step splitting is only unbiased if the decision to split a step does not depend on whether the particle decays in it, so it runs from here instead, for every step.
Definition at line 24 of file ShipRunConfiguration.h.
|
override |
Definition at line 9 of file ShipRunConfiguration.cxx.