27 ATH_MSG_ERROR(__func__<<
"() -- "<<__LINE__<<
": no particle given");
35 <<
" No isolation value was backuped thus far. "
36 <<
"Did you call the BackupIsolation before for "
49 else if (!originalParticle) {
50 ATH_MSG_DEBUG(__func__<<
"() -- "<<__LINE__<<
": No orignal object was found");
57 ATH_MSG_ERROR(__func__<<
"() -- "<<__LINE__<<
": Failed to retrieve isolation "<<
66 ATH_MSG_ERROR(__func__<<
"() -- "<<__LINE__<<
": no particle given");
81 ATH_MSG_ERROR(__func__<<
"() -- "<<__LINE__<<
": no particle given");
84 if (std::isnan(value) || std::isinf(value)) {
85 ATH_MSG_ERROR(__func__<<
"() -- "<<__LINE__<<
": the value is not a number");
#define ATH_MSG_WARNING(x)
static const Attributes_t empty
Define macros for attributes used to control the static checker.
std::atomic_flag m_initialized ATLAS_THREAD_SAFE
Messaging initialized (initMessaging)
Return value from object correction CP tools.
@ Error
Some error happened during the object correction.
@ Ok
The correction was done successfully.
FloatAccessor m_acc_iso_backup
CharDecorator m_dec_IsoIsBackup
IsoVariableHelper(IsoType type, const std::string &backupPreFix, const std::string &isoDecSuffix="")
CorrectionCode backupIsolation(const xAOD::IParticle *particle) const
FloatDecorator m_dec_iso_backup
CorrectionCode getIsolationFromOriginal(const xAOD::IParticle *particle, float &value) const
CharAccessor m_acc_IsoIsBackup
FloatAccessor m_acc_iso_variable
CorrectionCode getIsolation(const xAOD::IParticle *particle, float &value) const
void lockDecorations(const SG::AuxVectorData &parts) const
CorrectionCode setIsolation(const xAOD::IParticle *P, float value) const
CorrectionCode getOriginalIsolation(const xAOD::IParticle *particle, float &value) const
FloatDecorator m_dec_iso_variable
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Manage lookup of vectors of auxiliary data.
void lockDecoration(SG::auxid_t auxid)
Explicitly lock a decoration.
AsgMessaging(const std::string &name)
Constructor with a name.
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
xAOD::Iso::IsolationType IsoType
Namespace holding the IsolationType enumeration.
IsolationType
Overall enumeration for isolation types in xAOD files.
static const char * toCString(IsolationConeSize conesize)
std::string toString(const IsoType &iso)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const IParticle * getOriginalObject(const IParticle ©)
This function can be used to conveniently get a pointer back to the original object from which a copy...