8#ifndef SELECTION_HELPERS__OUT_OF_VALIDITY_EVENT_HELPER_H
9#define SELECTION_HELPERS__OUT_OF_VALIDITY_EVENT_HELPER_H
41 const std::string& propertyDescription =
"how to handle out of validity results");
51 const char *context)
const;
69 template<
typename T> OutOfValidityEventHelper ::
70 OutOfValidityEventHelper (T *owner,
const std::string& propertyName,
71 const std::string& propertyDescription)
74 owner->declareProperty (propertyName,
m_action,
80#define ANA_CHECK_CORRECTION_EVENT(helper,expr) \
81 { if (ATH_UNLIKELY((helper).check ((expr), #expr).isFailure())) \
82 return StatusCode::FAILURE; }
Base class for elements of a container that can have aux data.
Return value from object correction CP tools.
OutOfValidityEventHelper(T *owner, const std::string &propertyName="outOfValidity", const std::string &propertyDescription="how to handle out of validity results")
standard constructor
::StatusCode initialize()
standard initialize
unsigned m_action
the action to take
::StatusCode check(const CP::CorrectionCode &code, const char *context) const
check the correction code and do the proper thing
bool m_isInitialized
whether we have been initialized
base class to forward messages to another class
AsgMessagingForward(T *owner)
forwarding constructor
Select isolated Photons, Electrons and Muons.
@ ABORT
print an error message and return a failure status code (triggering an abort)