ATLAS Offline Software
Loading...
Searching...
No Matches
OutOfValidityHelper.h File Reference
Include dependency graph for OutOfValidityHelper.h:

Go to the source code of this file.

Classes

class  CP::OutOfValidityHelper
 a helper to translate a CP::CorrectionCode into a ::StatusCode More...

Namespaces

namespace  CP
 Select isolated Photons, Electrons and Muons.

Macros

#define ANA_CHECK_CORRECTION(helper, object, expr)
 a helper check macro to work with OutOfValidityHelper

Enumerations

enum class  CP::OutOfValidityAction { CP::ABORT , CP::WARNING , CP::SILENT }
 the action to perform on encountering an OutOfValidityRange in OutOfValidityHelper More...

Macro Definition Documentation

◆ ANA_CHECK_CORRECTION

#define ANA_CHECK_CORRECTION ( helper,
object,
expr )
Value:
{ if (ATH_UNLIKELY((helper).check ((object), (expr), #expr).isFailure())) \
return StatusCode::FAILURE; }
#define ATH_UNLIKELY(x)

a helper check macro to work with OutOfValidityHelper

Definition at line 132 of file OutOfValidityHelper.h.

132#define ANA_CHECK_CORRECTION(helper,object,expr) \
133 { if (ATH_UNLIKELY((helper).check ((object), (expr), #expr).isFailure())) \
134 return StatusCode::FAILURE; }