24 ::StatusCode OutOfValidityEventHelper ::
28 return StatusCode::SUCCESS;
32 ::StatusCode OutOfValidityEventHelper ::
34 const char *context)
const
41 return StatusCode::SUCCESS;
43 return StatusCode::FAILURE;
49 return StatusCode::FAILURE;
52 return StatusCode::SUCCESS;
54 return StatusCode::SUCCESS;
57 ANA_MSG_ERROR (__FILE__ <<
":" << __LINE__ <<
": invalid enum value encountered " << code <<
" " <<
int (
m_action));
58 return StatusCode::FAILURE;
Return value from object correction CP tools.
@ Error
Some error happened during the object correction.
@ OutOfValidityRange
Input object is out of validity range.
@ Ok
The correction was done successfully.
unsigned m_action
the action to take
bool m_isInitialized
whether we have been initialized
Select isolated Photons, Electrons and Muons.
OutOfValidityAction
the action to perform on encountering an OutOfValidityRange in OutOfValidityHelper
@ WARNING
print a warning message and return a success status code.
@ SILENT
don't print anything and return success
@ ABORT
print an error message and return a failure status code (triggering an abort)