GEARS
Geant4 Example Application with Rich features and Small footprints
Public Member Functions | List of all members
StackingAction Class Reference

Split a radioactive decay chain to different events based on a time window. More...

Inheritance diagram for StackingAction:
Inheritance graph
[legend]
Collaboration diagram for StackingAction:
Collaboration graph
[legend]

Public Member Functions

 StackingAction ()
 created macro /grdm/setTimeWindow More...
 
 ~StackingAction ()
 
G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *trk)
 send a daughter particle to waiting stack if it appears too late More...
 
void NewStage ()
 save and reset output before processing waiting tracks More...
 
void SetNewValue (G4UIcommand *cmd, G4String value)
 

Detailed Description

Split a radioactive decay chain to different events based on a time window.

Definition at line 563 of file gears.cc.

Constructor & Destructor Documentation

◆ StackingAction()

StackingAction::StackingAction ( )
inline

created macro /grdm/setTimeWindow

Definition at line 570 of file gears.cc.

◆ ~StackingAction()

StackingAction::~StackingAction ( )
inline

Definition at line 581 of file gears.cc.

581 { delete fCmdT; }

Member Function Documentation

◆ ClassifyNewTrack()

G4ClassificationOfNewTrack StackingAction::ClassifyNewTrack ( const G4Track *  trk)
inline

send a daughter particle to waiting stack if it appears too late

Definition at line 582 of file gears.cc.

◆ NewStage()

void StackingAction::NewStage ( )
inline

save and reset output before processing waiting tracks

Definition at line 587 of file gears.cc.

◆ SetNewValue()

void StackingAction::SetNewValue ( G4UIcommand *  cmd,
G4String  value 
)
inline

Definition at line 593 of file gears.cc.

594  { if (cmd!=fCmdT) return; fTimeWindow = fCmdT->GetNewDoubleValue(value); }

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