#include <IsolationConditionFormula.h>
Definition at line 17 of file IsolationConditionFormula.h.
◆ IsolationConditionFormula() [1/2]
CP::IsolationConditionFormula::IsolationConditionFormula |
( |
const std::string & |
name, |
|
|
xAOD::Iso::IsolationType |
isoType, |
|
|
const std::string & |
cutFunction, |
|
|
bool |
invertCut = false , |
|
|
const std::string & |
isoDecSuffix = "" |
|
) |
| |
◆ IsolationConditionFormula() [2/2]
CP::IsolationConditionFormula::IsolationConditionFormula |
( |
const std::string & |
name, |
|
|
const std::string & |
isoType, |
|
|
const std::string & |
cutFunction, |
|
|
bool |
invertCut = false , |
|
|
const std::string & |
isoDecSuffix = "" |
|
) |
| |
◆ ~IsolationConditionFormula()
virtual CP::IsolationConditionFormula::~IsolationConditionFormula |
( |
| ) |
|
|
virtualdefault |
◆ accept() [1/2]
bool CP::IsolationConditionFormula::accept |
( |
const strObj & |
x | ) |
const |
|
overridevirtual |
◆ accept() [2/2]
Implements CP::IsolationCondition.
Definition at line 29 of file IsolationConditionFormula.cxx.
32 if (!
acc.isAvailable(
x)) {
34 <<
" is not available. Expected when using primary AODs, post-p3793 derivations (only for *FixedRad or FixedCutPflow* for electrons), "
35 <<
" pre-p3517 derivations (only for FC*), or pre-p3830 derivations (for other electron WPs)");
36 if (!
m_isoDecSuffix.empty())
throw std::runtime_error (
"IsolationConditionCombined: IsolationSelectionTool property 'IsoDecSuffix' is set to " +
m_isoDecSuffix +
". Must run on derivation made with IsolationCloseByCorrection to create the isolation variables with this suffix, or remove 'IsoDecSuffix'. ");
40 return acc(
x) > cutVal;
◆ accessor()
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & asg::AsgMessaging::msg |
( |
| ) |
const |
|
inherited |
The standard message stream.
- Returns
- A reference to the default message stream of this object.
Definition at line 49 of file AsgMessaging.cxx.
50 #ifndef XAOD_STANDALONE
52 #else // not XAOD_STANDALONE
54 #endif // not XAOD_STANDALONE
◆ msg() [2/2]
MsgStream & asg::AsgMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
The standard message stream.
- Parameters
-
lvl | The message level to set the stream to |
- Returns
- A reference to the default message stream, set to level "lvl"
Definition at line 57 of file AsgMessaging.cxx.
58 #ifndef XAOD_STANDALONE
60 #else // not XAOD_STANDALONE
63 #endif // not XAOD_STANDALONE
◆ msgLvl()
bool asg::AsgMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inherited |
Test the output level of the object.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
-
true
If messages at level "lvl" will be printed
Definition at line 41 of file AsgMessaging.cxx.
42 #ifndef XAOD_STANDALONE
43 return ::AthMessaging::msgLvl( lvl );
44 #else // not XAOD_STANDALONE
45 return m_msg.msgLevel( lvl );
46 #endif // not XAOD_STANDALONE
◆ name()
const std::string & CP::IsolationCondition::name |
( |
| ) |
const |
|
inherited |
◆ num_types()
unsigned int CP::IsolationCondition::num_types |
( |
| ) |
const |
|
inherited |
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ type()
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_acc
◆ m_cutFunction
std::shared_ptr<TF1> CP::IsolationConditionFormula::m_cutFunction {nullptr} |
|
private |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_invertCut
bool CP::IsolationConditionFormula::m_invertCut {false} |
|
private |
◆ m_isoDecSuffix
std::string CP::IsolationCondition::m_isoDecSuffix {} |
|
protectedinherited |
◆ m_isolationType
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_name
std::string CP::IsolationCondition::m_name |
|
privateinherited |
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files: