Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4SpecialStackingAction Class Reference

Defines a special stacking mechanism. More...

#include <TG4SpecialStackingAction.h>

Inheritance diagram for TG4SpecialStackingAction:

Public Member Functions

 TG4SpecialStackingAction ()
 
virtual ~TG4SpecialStackingAction ()
 
G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *track)
 
void NewStage ()
 
void PrepareNewEvent ()
 
void SetSkipNeutrino (G4bool value)
 Set the option for skipping neutrino.
 
void SetWaitPrimary (G4bool value)
 
G4bool GetSkipNeutrino () const
 Return the option for skipping neutrino.
 
G4bool GetWaitPrimary () const
 Return the option for skipping neutrino.
 
- Public Member Functions inherited from TG4Verbose
 TG4Verbose (const G4String &cmdName)
 
 TG4Verbose (const G4String &cmdName, G4int verboseLevel)
 
virtual ~TG4Verbose ()
 
virtual void VerboseLevel (G4int level)
 
virtual G4int VerboseLevel () const
 

Private Member Functions

 TG4SpecialStackingAction (const TG4SpecialStackingAction &right)
 Not implemented.
 
TG4SpecialStackingActionoperator= (const TG4SpecialStackingAction &right)
 Not implemented.
 

Private Attributes

TG4SpecialStackingActionMessenger fMessenger
 
G4int fStage
 Stage number.
 
G4bool fSkipNeutrino
 Option to skip tracking of all neutrina.
 
G4bool fWaitPrimary
 

Detailed Description

Defines a special stacking mechanism.

Class that defines a special stacking mechanism, with which all secondaries produced by a primary particle and its daughters are tracked before starting a new primary (activated by default). The class is also used for skipping neutrina (not activated by default).

Author
I. Hrivnacova; IPN, Orsay

Definition at line 40 of file TG4SpecialStackingAction.h.

Constructor & Destructor Documentation

◆ TG4SpecialStackingAction() [1/2]

TG4SpecialStackingAction::TG4SpecialStackingAction ( )

Default constructor

Definition at line 26 of file TG4SpecialStackingAction.cxx.

◆ ~TG4SpecialStackingAction()

TG4SpecialStackingAction::~TG4SpecialStackingAction ( )
virtual

Destructor

Definition at line 40 of file TG4SpecialStackingAction.cxx.

◆ TG4SpecialStackingAction() [2/2]

TG4SpecialStackingAction::TG4SpecialStackingAction ( const TG4SpecialStackingAction & right)
private

Not implemented.

Member Function Documentation

◆ ClassifyNewTrack()

G4ClassificationOfNewTrack TG4SpecialStackingAction::ClassifyNewTrack ( const G4Track * track)

Classify the new track.

Definition at line 50 of file TG4SpecialStackingAction.cxx.

◆ NewStage()

void TG4SpecialStackingAction::NewStage ( )

Called by G4 kernel at the new stage of stacking.

Definition at line 73 of file TG4SpecialStackingAction.cxx.

◆ PrepareNewEvent()

void TG4SpecialStackingAction::PrepareNewEvent ( )

Since transition to G4SmartTrackStack in Geant4 9.6.x secondaries are not ordered even when the special stacking is activated.

Definition at line 92 of file TG4SpecialStackingAction.cxx.

◆ SetSkipNeutrino()

void TG4SpecialStackingAction::SetSkipNeutrino ( G4bool value)
inline

Set the option for skipping neutrino.

Definition at line 79 of file TG4SpecialStackingAction.h.

Referenced by TG4ActionInitialization::Build(), and TG4SpecialStackingActionMessenger::SetNewValue().

◆ SetWaitPrimary()

void TG4SpecialStackingAction::SetWaitPrimary ( G4bool value)
inline

Set the option to let the next primary wait until all secondaries of previous primary are tracked

Definition at line 86 of file TG4SpecialStackingAction.h.

Referenced by TG4SpecialStackingActionMessenger::SetNewValue().

◆ GetSkipNeutrino()

G4bool TG4SpecialStackingAction::GetSkipNeutrino ( ) const
inline

Return the option for skipping neutrino.

Definition at line 92 of file TG4SpecialStackingAction.h.

Referenced by TG4ActionInitialization::Build().

◆ GetWaitPrimary()

G4bool TG4SpecialStackingAction::GetWaitPrimary ( ) const
inline

Return the option for skipping neutrino.

Definition at line 98 of file TG4SpecialStackingAction.h.

◆ operator=()

TG4SpecialStackingAction & TG4SpecialStackingAction::operator= ( const TG4SpecialStackingAction & right)
private

Not implemented.

Member Data Documentation

◆ fMessenger

TG4SpecialStackingActionMessenger TG4SpecialStackingAction::fMessenger
private

messenger

Definition at line 66 of file TG4SpecialStackingAction.h.

◆ fStage

G4int TG4SpecialStackingAction::fStage
private

Stage number.

Definition at line 68 of file TG4SpecialStackingAction.h.

Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().

◆ fSkipNeutrino

G4bool TG4SpecialStackingAction::fSkipNeutrino
private

Option to skip tracking of all neutrina.

Definition at line 70 of file TG4SpecialStackingAction.h.

Referenced by ClassifyNewTrack(), GetSkipNeutrino(), and SetSkipNeutrino().

◆ fWaitPrimary

G4bool TG4SpecialStackingAction::fWaitPrimary
private

Option to let the next primary wait until all secondaries of previous primary are tracked

Definition at line 73 of file TG4SpecialStackingAction.h.

Referenced by ClassifyNewTrack(), GetWaitPrimary(), NewStage(), and SetWaitPrimary().


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