|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #include "G4EventManager.hh"
38 G4ClassificationOfNewTrack
47 const double safeCut = 0.00005;
48 double totalE =
track->GetTotalEnergy();
54 G4Event*
ev = G4EventManager::GetEventManager()->GetNonconstCurrentEvent();
59 bool rouletted =
false;
88 track->GetOriginTouchable()->GetVolume()->GetName().substr(0, 3) ==
"LAr" &&
113 if(
track->GetParentID() == 0) {
117 if(primaryPartInfo) {
123 std::unique_ptr<TrackInformation> ti = std::make_unique<TrackInformation>(
part);
130 track->SetUserInformation(ti.release());
139 track->SetUserInformation(bi.release());
Config m_config
Configuration options.
bool isISFJob
Is this an ISF job.
double photonEnergyCut
Photon energy cut.
This class is attached to G4Event objects as UserInformation. It holds a pointer to the HepMC::GenEve...
double russianRouletteNeutronThreshold
Energy threshold for the Neutron Russian Roulette.
double m_oneOverWeightNeutron
double russianRoulettePhotonThreshold
Energy threshold for the Photon Russian Roulette.
bool isNeutron(const G4Track *) const
Identify track as a neutron.
bool killAllNeutrinos
Flag to toggle killing neutrinos at tracking stage.
AthenaDebugStackingAction(const Config &config)
Constructor with configuration.
int GetParticleBarcode() const
Configuration option struct for AthenaStackingAction.
bool applyPRR
Apply the Photon Russian Roulette.
bool isGamma(const G4Track *) const
Identify track as a photon.
double russianRoulettePhotonWeight
Weight for the Photon Russian Roulette.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *track) override final
Classify a new track.
Standard ATLAS stacking action functionality. Mostly taken from the old AthenaStackingAction implemen...
PrimaryParticleInformation * getPrimaryParticleInformation(const G4Track *track) const
obtain the PrimaryParticleInformation from the current G4Track
HepMC::ConstGenParticlePtr GetHepMCParticle() const
return a pointer to the GenParticle used to create the G4PrimaryParticle
This class is attached to G4PrimaryParticle objects as UserInformation. The member variable m_thePart...
__attribute__((always_inline)) inline uint16_t TileCalibDrawerBase
double m_oneOverWeightPhoton
double russianRouletteNeutronWeight
Weight for the Neutron Russian Roulette.
bool isNeutrino(const G4Track *) const
Identify track as a neutrino.
#define ATLAS_THREAD_SAFE
Define macros for attributes used to control the static checker.
int GetParticleUniqueID() const
bool applyNRR
Apply the Neutron Russian Roulette.