|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
71 const std::string& propertyDescription)
72 :
asg::AsgMessagingForward (owner)
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 to forward messages to another class
bool m_isInitialized
whether we have been initialized
Select isolated Photons, Electrons and Muons.
unsigned m_action
the action to take
@ ABORT
print an error message and return a failure status code (triggering an abort)
::StatusCode StatusCode
StatusCode definition for legacy code.
::StatusCode check(const CP::CorrectionCode &code, const char *context) const
check the correction code and do the proper thing
::StatusCode initialize()
standard initialize
a helper to translate a CP::CorrectionCode into a ::StatusCode
OutOfValidityEventHelper(T *owner, const std::string &propertyName="outOfValidity", const std::string &propertyDescription="how to handle out of validity results")
standard constructor
Return value from object correction CP tools.
Base class for elements of a container that can have aux data.