![]() |
ATLAS Offline Software
|
#include <FastCaloSim.h>
Public Member Functions | |
FastCaloSim (const std::string &name, G4Region *region, const ServiceHandle< IAthRNGSvc > &rndmGenSvc, const std::string &randomEngineName, const PublicToolHandle< IFastCaloSimCaloTransportation > &FastCaloSimCaloTransportation, const PublicToolHandle< IFastCaloSimCaloExtrapolation > &FastCaloSimCaloExtrapolation, const PublicToolHandle< IG4CaloTransportTool > &G4CaloTransportTool, const PublicToolHandle< IPunchThroughSimWrapper > &PunchThroughSimWrapper, const ServiceHandle< ISF::IFastCaloSimParamSvc > &FastCaloSimSvc, const std::string &CaloCellContainerSDName, bool doG4Transport, bool doPhotons, bool doElectrons, bool doHadrons, float AbsEtaMin, float AbsEtaMax, float EkinMinPhotons, float EkinMaxPhotons, float EkinMinElectrons, float EkinMaxElectrons, bool doPunchThrough, FastCaloSimTool *FastCaloSimTool) | |
~FastCaloSim () | |
G4bool | IsApplicable (const G4ParticleDefinition &) override final |
void | DoIt (const G4FastTrack &, G4FastStep &) override final |
void | StartOfAthenaEvent (const EventContext &ctx) |
void | EndOfAthenaEvent (const EventContext &ctx) |
G4bool | ModelTrigger (const G4FastTrack &) override final |
Determines the applicability of the fast sim model to this particular track. More... | |
CaloCellContainerSD * | getCaloCellContainerSD () |
Retrieves the associated sensitive detector responsible for writing out the CaloCellContainer. More... | |
G4bool | passedIDCaloBoundary (const G4FastTrack &fastTrack) |
Check if the particle is located at the proper ID-Calo parametrization boundary and is travelling outwards from the ID to the CALO. More... | |
Private Attributes | |
ServiceHandle< IAthRNGSvc > | m_rndmGenSvc |
std::string | m_randomEngineName |
ATHRNG::RNGWrapper * | m_rngWrapper {} |
PublicToolHandle< IFastCaloSimCaloTransportation > | m_FastCaloSimCaloTransportation |
PublicToolHandle< IFastCaloSimCaloExtrapolation > | m_FastCaloSimCaloExtrapolation |
PublicToolHandle< IG4CaloTransportTool > | m_G4CaloTransportTool |
PublicToolHandle< IPunchThroughSimWrapper > | m_PunchThroughSimWrapper |
ServiceHandle< ISF::IFastCaloSimParamSvc > | m_FastCaloSimSvc |
std::string | m_CaloCellContainerSDName |
bool | m_doG4Transport |
bool | m_doPhotons |
bool | m_doElectrons |
bool | m_doHadrons |
float | m_AbsEtaMin |
float | m_AbsEtaMax |
float | m_EkinMinPhotons |
float | m_EkinMaxPhotons |
float | m_EkinMinElectrons |
float | m_EkinMaxElectrons |
bool | m_doPunchThrough |
FastCaloSimTool * | m_FastCaloSimTool |
Definition at line 33 of file FastCaloSim.h.
FastCaloSim::FastCaloSim | ( | const std::string & | name, |
G4Region * | region, | ||
const ServiceHandle< IAthRNGSvc > & | rndmGenSvc, | ||
const std::string & | randomEngineName, | ||
const PublicToolHandle< IFastCaloSimCaloTransportation > & | FastCaloSimCaloTransportation, | ||
const PublicToolHandle< IFastCaloSimCaloExtrapolation > & | FastCaloSimCaloExtrapolation, | ||
const PublicToolHandle< IG4CaloTransportTool > & | G4CaloTransportTool, | ||
const PublicToolHandle< IPunchThroughSimWrapper > & | PunchThroughSimWrapper, | ||
const ServiceHandle< ISF::IFastCaloSimParamSvc > & | FastCaloSimSvc, | ||
const std::string & | CaloCellContainerSDName, | ||
bool | doG4Transport, | ||
bool | doPhotons, | ||
bool | doElectrons, | ||
bool | doHadrons, | ||
float | AbsEtaMin, | ||
float | AbsEtaMax, | ||
float | EkinMinPhotons, | ||
float | EkinMaxPhotons, | ||
float | EkinMinElectrons, | ||
float | EkinMaxElectrons, | ||
bool | doPunchThrough, | ||
FastCaloSimTool * | FastCaloSimTool | ||
) |
Definition at line 38 of file FastCaloSim.cxx.
|
inline |
Definition at line 59 of file FastCaloSim.h.
|
finaloverride |
Definition at line 218 of file FastCaloSim.cxx.
void FastCaloSim::EndOfAthenaEvent | ( | const EventContext & | ctx | ) |
Definition at line 93 of file FastCaloSim.cxx.
CaloCellContainerSD * FastCaloSim::getCaloCellContainerSD | ( | ) |
Retrieves the associated sensitive detector responsible for writing out the CaloCellContainer.
Definition at line 326 of file FastCaloSim.cxx.
|
finaloverride |
Definition at line 99 of file FastCaloSim.cxx.
|
finaloverride |
Determines the applicability of the fast sim model to this particular track.
Checks that geometric location, energy, and particle type are within bounds. Also checks for containment of the particle's shower within a specific detector region.
Definition at line 121 of file FastCaloSim.cxx.
G4bool FastCaloSim::passedIDCaloBoundary | ( | const G4FastTrack & | fastTrack | ) |
Check if the particle is located at the proper ID-Calo parametrization boundary and is travelling outwards from the ID to the CALO.
Definition at line 346 of file FastCaloSim.cxx.
void FastCaloSim::StartOfAthenaEvent | ( | const EventContext & | ctx | ) |
Definition at line 85 of file FastCaloSim.cxx.
|
private |
Definition at line 105 of file FastCaloSim.h.
|
private |
Definition at line 104 of file FastCaloSim.h.
|
private |
Definition at line 96 of file FastCaloSim.h.
|
private |
Definition at line 102 of file FastCaloSim.h.
|
private |
Definition at line 98 of file FastCaloSim.h.
|
private |
Definition at line 103 of file FastCaloSim.h.
|
private |
Definition at line 101 of file FastCaloSim.h.
|
private |
Definition at line 112 of file FastCaloSim.h.
|
private |
Definition at line 109 of file FastCaloSim.h.
|
private |
Definition at line 107 of file FastCaloSim.h.
|
private |
Definition at line 108 of file FastCaloSim.h.
|
private |
Definition at line 106 of file FastCaloSim.h.
|
private |
Definition at line 87 of file FastCaloSim.h.
|
private |
Definition at line 85 of file FastCaloSim.h.
|
private |
Definition at line 94 of file FastCaloSim.h.
|
private |
Definition at line 115 of file FastCaloSim.h.
|
private |
Definition at line 89 of file FastCaloSim.h.
|
private |
Definition at line 91 of file FastCaloSim.h.
|
private |
Definition at line 81 of file FastCaloSim.h.
|
private |
Definition at line 80 of file FastCaloSim.h.
|
private |
Definition at line 82 of file FastCaloSim.h.