Geant4 VMC Version 6.6
|
Defines a special stacking mechanism. More...
#include <TG4SpecialStackingAction.h>
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. | |
TG4SpecialStackingAction & | operator= (const TG4SpecialStackingAction &right) |
Not implemented. | |
Private Attributes | |
TG4SpecialStackingActionMessenger | fMessenger |
G4int | fStage |
Stage number. | |
G4bool | fSkipNeutrino |
Option to skip tracking of all neutrina. | |
G4bool | fWaitPrimary |
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).
Definition at line 40 of file TG4SpecialStackingAction.h.
TG4SpecialStackingAction::TG4SpecialStackingAction | ( | ) |
Default constructor
Definition at line 26 of file TG4SpecialStackingAction.cxx.
|
virtual |
Destructor
Definition at line 40 of file TG4SpecialStackingAction.cxx.
|
private |
Not implemented.
G4ClassificationOfNewTrack TG4SpecialStackingAction::ClassifyNewTrack | ( | const G4Track * | track | ) |
Classify the new track.
Definition at line 50 of file TG4SpecialStackingAction.cxx.
void TG4SpecialStackingAction::NewStage | ( | ) |
Called by G4 kernel at the new stage of stacking.
Definition at line 73 of file TG4SpecialStackingAction.cxx.
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.
|
inline |
Set the option for skipping neutrino.
Definition at line 79 of file TG4SpecialStackingAction.h.
Referenced by TG4ActionInitialization::Build(), and TG4SpecialStackingActionMessenger::SetNewValue().
|
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().
|
inline |
Return the option for skipping neutrino.
Definition at line 92 of file TG4SpecialStackingAction.h.
Referenced by TG4ActionInitialization::Build().
|
inline |
Return the option for skipping neutrino.
Definition at line 98 of file TG4SpecialStackingAction.h.
|
private |
Not implemented.
|
private |
messenger
Definition at line 66 of file TG4SpecialStackingAction.h.
|
private |
Stage number.
Definition at line 68 of file TG4SpecialStackingAction.h.
Referenced by ClassifyNewTrack(), NewStage(), and PrepareNewEvent().
|
private |
Option to skip tracking of all neutrina.
Definition at line 70 of file TG4SpecialStackingAction.h.
Referenced by ClassifyNewTrack(), GetSkipNeutrino(), and SetSkipNeutrino().
|
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().