remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGSteppingAction Class Reference

Stepping action driving output schemes and optional kill heuristics. More...

#include <RMGSteppingAction.hh>

Inheritance diagram for RMGSteppingAction:
Collaboration diagram for RMGSteppingAction:

Public Member Functions

 RMGSteppingAction (RMGRunAction *)
 
 RMGSteppingAction (RMGSteppingAction const &)=delete
 
RMGSteppingActionoperator= (RMGSteppingAction const &)=delete
 
 RMGSteppingAction (RMGSteppingAction &&)=delete
 
RMGSteppingActionoperator= (RMGSteppingAction &&)=delete
 
void UserSteppingAction (const G4Step *) override
 Forward the step to all output schemes and apply tracking-control of long-lived isotopes.
 
void SetDaughterKillLifetime (double max_lifetime)
 Kill daughter nuclei whose PDG lifetime exceeds max_lifetime.
 

Detailed Description

Stepping action driving output schemes and optional kill heuristics.

In addition to forwarding each step to the registered output schemes, this action can be configured to drop secondary tracks and to kill long-lived daughter nuclei (see SetDaughterKillLifetime) — useful e.g. to truncate decay chains that would otherwise extend over long timescales.

Member Function Documentation

◆ SetDaughterKillLifetime()

void RMGSteppingAction::SetDaughterKillLifetime ( double max_lifetime)

Kill daughter nuclei whose PDG lifetime exceeds max_lifetime.

Applies to ground-state nuclei produced as secondaries; the cut is on the tabulated half-life of the species, not on the sampled decay time. Set to a non-positive value to disable.

Parameters
max_lifetimeMaximum allowed lifetime, in Geant4 units of time.

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