|
ATLAS Offline Software
|
Go to the documentation of this file.
34 return StatusCode::SUCCESS;
41 const char *context)
const
49 return StatusCode::SUCCESS;
51 return StatusCode::FAILURE;
58 return StatusCode::FAILURE;
61 return StatusCode::SUCCESS;
63 return StatusCode::SUCCESS;
67 return StatusCode::FAILURE;
std::unique_ptr< ISelectionWriteAccessor > m_write_accessor
the accessor if we apply one
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
@ SILENT
don't print anything and return success
StatusCode makeSelectionWriteAccessor(const std::string &name, std::unique_ptr< ISelectionWriteAccessor > &accessor, bool defaultToChar)
Produces a simple ISelectionWriteAccessor accessing the given decoration.
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
@ ABORT
print an error message and return a failure status code (triggering an abort)
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
unsigned m_action
the action to take
::StatusCode StatusCode
StatusCode definition for legacy code.
OutOfValidityAction
the action to perform on encountering an OutOfValidityRange in OutOfValidityHelper
bool get(const xAOD::IParticle &particle) const
retrieve the OutOfValidity decision, where true = particle passes validity check
std::unique_ptr< ISelectionReadAccessor > m_read_accessor
::StatusCode check(const xAOD::IParticle &particle, const CP::CorrectionCode &code, const char *context) const
check the correction code and do the proper thing
std::string m_decorationName
the decoration name we use (if we have one)
@ WARNING
print a warning message and return a success status code.
StatusCode makeSelectionReadAccessor(const std::string &expr, std::unique_ptr< ISelectionReadAccessor > &accessor, bool defaultToChar)
make the ISelectionReadAccessor for the given name
::StatusCode initialize()
standard initialize
@ Ok
The correction was done successfully.
Return value from object correction CP tools.
bool m_isInitialized
whether we have been initialized