FairShip
Loading...
Searching...
No Matches
ShipSteppingAction Class Reference

#include <ShipRunConfiguration.h>

Inheritance diagram for ShipSteppingAction:
[legend]
Collaboration diagram for ShipSteppingAction:
[legend]

Public Member Functions

void SteppingAction (const G4Step *step) override

Detailed Description

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.

Member Function Documentation

◆ SteppingAction()

void ShipSteppingAction::SteppingAction ( const G4Step * step)
override

Definition at line 9 of file ShipRunConfiguration.cxx.

9 {
11}
static void SplitStepHook(const G4Step *step)

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