8#ifndef SELECTION_HELPERS__OUT_OF_VALIDITY_EVENT_HELPER_H
9#define SELECTION_HELPERS__OUT_OF_VALIDITY_EVENT_HELPER_H
40 const std::string& propertyDescription =
"how to handle out of validity results");
50 const char *context)
const;
68 template<
typename T> OutOfValidityEventHelper ::
69 OutOfValidityEventHelper (T *owner,
const std::string& propertyName,
70 const std::string& propertyDescription)
73 owner->declareProperty (propertyName,
m_action,
79#define ANA_CHECK_CORRECTION_EVENT(helper,expr) \
80 { if (ATH_UNLIKELY((helper).check ((expr), #expr).isFailure())) \
81 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)
::StatusCode StatusCode
StatusCode definition for legacy code.