![]() |
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 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_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 | doPunchThrough, | ||
FastCaloSimTool * | FastCaloSimTool | ||
) |
Definition at line 35 of file FastCaloSim.cxx.
|
inline |
Definition at line 50 of file FastCaloSim.h.
|
finaloverride |
Definition at line 181 of file FastCaloSim.cxx.
void FastCaloSim::EndOfAthenaEvent | ( | const EventContext & | ctx | ) |
Definition at line 71 of file FastCaloSim.cxx.
CaloCellContainerSD * FastCaloSim::getCaloCellContainerSD | ( | ) |
Retrieves the associated sensitive detector responsible for writing out the CaloCellContainer.
Definition at line 289 of file FastCaloSim.cxx.
|
finaloverride |
Definition at line 77 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 99 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 309 of file FastCaloSim.cxx.
void FastCaloSim::StartOfAthenaEvent | ( | const EventContext & | ctx | ) |
Definition at line 63 of file FastCaloSim.cxx.
|
private |
Definition at line 87 of file FastCaloSim.h.
|
private |
Definition at line 89 of file FastCaloSim.h.
|
private |
Definition at line 92 of file FastCaloSim.h.
|
private |
Definition at line 78 of file FastCaloSim.h.
|
private |
Definition at line 76 of file FastCaloSim.h.
|
private |
Definition at line 85 of file FastCaloSim.h.
|
private |
Definition at line 95 of file FastCaloSim.h.
|
private |
Definition at line 80 of file FastCaloSim.h.
|
private |
Definition at line 82 of file FastCaloSim.h.
|
private |
Definition at line 72 of file FastCaloSim.h.
|
private |
Definition at line 71 of file FastCaloSim.h.
|
private |
Definition at line 73 of file FastCaloSim.h.