 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4FASTSIMULATION_FASTCALOSIM_H
6 #define G4FASTSIMULATION_FASTCALOSIM_H
9 #include "GaudiKernel/ServiceHandle.h"
11 #include "G4VFastSimulationModel.hh"
40 const std::string& randomEngineName,
46 const std::string& CaloCellContainerSDName,
52 G4bool
IsApplicable(
const G4ParticleDefinition&)
override final;
53 void DoIt(
const G4FastTrack&, G4FastStep&)
override final;
98 #endif //G4FASTSIMULATION_FASTCALOSIM_H
void StartOfAthenaEvent(const EventContext &ctx)
FastCaloSimTool * m_FastCaloSimTool
ServiceHandle< ISF::IFastCaloSimParamSvc > m_FastCaloSimSvc
CaloCellContainerSD * getCaloCellContainerSD()
Retrieves the associated sensitive detector responsible for writing out the CaloCellContainer.
PublicToolHandle< IFastCaloSimCaloTransportation > m_FastCaloSimCaloTransportation
std::string m_randomEngineName
std::string m_CaloCellContainerSDName
void EndOfAthenaEvent(const EventContext &ctx)
PublicToolHandle< IPunchThroughSimWrapper > m_PunchThroughSimWrapper
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)
PublicToolHandle< IFastCaloSimCaloExtrapolation > m_FastCaloSimCaloExtrapolation
A wrapper class for event-slot-local random engines.
Class to wrap PunchThrough simulation inside FastCaloSim; Runs both PunchThroughG4Classifier and Punc...
G4bool ModelTrigger(const G4FastTrack &) override final
Determines the applicability of the fast sim model to this particular track.
ATHRNG::RNGWrapper * m_rngWrapper
void DoIt(const G4FastTrack &, G4FastStep &) override final
PublicToolHandle< IG4CaloTransportTool > m_G4CaloTransportTool
G4bool passedIDCaloBoundary(const G4FastTrack &fastTrack)
Check if the particle is located at the proper ID-Calo parametrization boundary and is travelling out...
G4bool IsApplicable(const G4ParticleDefinition &) override final
ServiceHandle< IAthRNGSvc > m_rndmGenSvc