|
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;
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.