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 700 of file gears.cc.

Constructor & Destructor Documentation

◆ StackingAction()

StackingAction::StackingAction ( )
inline

created macro /grdm/setTimeWindow

Definition at line 706 of file gears.cc.

◆ ~StackingAction()

StackingAction::~StackingAction ( )
inline

Definition at line 718 of file gears.cc.

718 { 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 719 of file gears.cc.

◆ NewStage()

void StackingAction::NewStage ( )
inline

save and reset output before processing waiting tracks

Definition at line 727 of file gears.cc.

◆ SetNewValue()

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

Definition at line 734 of file gears.cc.

734  {
735  if (cmd != fCmdT)
736  return;
737  fTimeWindow = fCmdT->GetNewDoubleValue(value);
738  }

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