Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
18 const EventContext& ctx = Gaudi::Hive::currentContext();
21 ATH_MSG_ERROR (
"BeginOfAthenaEvent: FastSimModel was never created!");
22 return StatusCode::FAILURE;
26 if(!localFastSimModel){
27 ATH_MSG_ERROR (
"BeginOfAthenaEvent: Failed to cast m_FastSimModel into G4VFastSimulationModel.");
28 return StatusCode::FAILURE;
33 return StatusCode::SUCCESS;
39 const EventContext& ctx = Gaudi::Hive::currentContext();
42 ATH_MSG_ERROR (
"EndOfAthenaEvent: FastSimModel was never created!");
43 return StatusCode::FAILURE;
47 if(!localFastSimModel){
48 ATH_MSG_ERROR (
"EndOfAthenaEvent: Failed to cast m_FastSimModel into G4VFastSimulationModel.");
49 return StatusCode::FAILURE;
54 return StatusCode::SUCCESS;
63 return new FastCaloSim(
name(),
m_rndmGenSvc,
m_randomEngineName,
m_FastCaloSimCaloTransportation,
m_FastCaloSimCaloExtrapolation,
m_G4CaloTransportTool,
m_PunchThroughSimWrapper,
m_FastCaloSimSvc,
m_CaloCellContainerSDName,
m_doG4Transport,
m_doPhotons,
m_doElectrons,
m_doHadrons,
m_AbsEtaMin,
m_AbsEtaMax,
m_EkinMinPhotons,
m_EkinMaxPhotons,
m_EkinMinElectrons,
m_EkinMaxElectrons,
m_doEMECFCS,
m_doPunchThrough,
this);
void StartOfAthenaEvent(const EventContext &ctx)
::StatusCode StatusCode
StatusCode definition for legacy code.
void EndOfAthenaEvent(const EventContext &ctx)
G4VFastSimulationModel * getFastSimModel()
Retrieve the current Fast Simulation Model.