ATLAS Offline Software
|
Debug version of the AthenaStackingAction used for validation of Russian Roulette algorimts. It can ensure that there is no randomization in simulation caused by turning the Russian Roulette on or off. More...
#include <AthenaDebugStackingAction.h>
Public Member Functions | |
AthenaDebugStackingAction (const Config &config) | |
Constructor with configuration. More... | |
virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *track) override final |
Classify a new track. More... | |
Protected Member Functions | |
bool | isNeutrino (const G4Track *) const |
Identify track as a neutrino. More... | |
bool | isGamma (const G4Track *) const |
Identify track as a photon. More... | |
bool | isNeutron (const G4Track *) const |
Identify track as a neutron. More... | |
PrimaryParticleInformation * | getPrimaryParticleInformation (const G4Track *track) const |
obtain the PrimaryParticleInformation from the current G4Track More... | |
Protected Attributes | |
Config | m_config |
Configuration options. More... | |
double | m_oneOverWeightNeutron |
double | m_oneOverWeightPhoton |
Debug version of the AthenaStackingAction used for validation of Russian Roulette algorimts. It can ensure that there is no randomization in simulation caused by turning the Russian Roulette on or off.
Definition at line 24 of file AthenaDebugStackingAction.h.
|
finaloverridevirtual |
Classify a new track.
Result can be fUrgent, fWaiting, fPostpone, or fKill.
Pass ownership to track. The G4VUserTrackInformation* fpUserInformation member variable set by this method is mutable. G4Tracks are thread-local.
Pass ownership to track. The G4VUserTrackInformation* fpUserInformation member variable set by this method is mutable. G4Tracks are thread-local.
Reimplemented from G4UA::AthenaStackingAction.
Definition at line 39 of file AthenaDebugStackingAction.cxx.
|
protectedinherited |
obtain the PrimaryParticleInformation from the current G4Track
Definition at line 155 of file AthenaStackingAction.cxx.
|
protectedinherited |
Identify track as a photon.
Definition at line 185 of file AthenaStackingAction.cxx.
|
protectedinherited |
Identify track as a neutrino.
It might be useful to move this kind of functionality into some standalong helper function(s).
Definition at line 173 of file AthenaStackingAction.cxx.
|
protectedinherited |
Identify track as a neutron.
Definition at line 191 of file AthenaStackingAction.cxx.
|
protectedinherited |
Configuration options.
Definition at line 61 of file AthenaStackingAction.h.
|
protectedinherited |
Definition at line 78 of file AthenaStackingAction.h.
|
protectedinherited |
Definition at line 81 of file AthenaStackingAction.h.