19 return StatusCode::SUCCESS;
26 ATH_MSG_ERROR(
"actualInteractionsPerCrossing.isPresent check fails");
27 return StatusCode::FAILURE;
35 ATH_MSG_ERROR(
"averageInteractionsPerCrossing.isPresent check fails");
36 return StatusCode::FAILURE;
42 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for adding a decoration to an object.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override final
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
NoPileUpMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override final
Handle class for adding a decoration to an object.
bool isAvailable()
Test to see if this variable exists in the store, for the referenced object.
bool isPresent() const
Is the referenced container present in SG?