#include <IsolationCondition.h>
|
| void | initMessaging () const |
| | Initialize our message level and MessageSvc.
|
Definition at line 30 of file IsolationCondition.h.
◆ IsolationCondition() [1/5]
| CP::IsolationCondition::IsolationCondition |
( |
const std::string & | name, |
|
|
xAOD::Iso::IsolationType | isoType, |
|
|
const std::string & | isoDecSuffix = "" ) |
Definition at line 36 of file IsolationCondition.cxx.
36 :
IsolationCondition(const std::string &name, xAOD::Iso::IsolationType isoType, const std::string &isoDecSuffix="")
const std::string & name() const
◆ IsolationCondition() [2/5]
| CP::IsolationCondition::IsolationCondition |
( |
const std::string & | name, |
|
|
const std::vector< xAOD::Iso::IsolationType > & | isoTypes, |
|
|
const std::string & | isoDecSuffix = "" ) |
Definition at line 11 of file IsolationCondition.cxx.
13 :
14 asg::AsgMessaging{
"IsolationCondition_"+
name},
17 std::string accName = std::string(
toCString(iso_type)) + (isoDecSuffix.empty() ?
"" :
"_") + isoDecSuffix;
18 m_acc.emplace_back(accName);
19
20 std::string accName_noCloseBy = std::string(
toCString(iso_type));
22 }
23 }
std::vector< FloatAccessor > m_acc
std::vector< FloatAccessor > m_acc_noCloseBy
std::string m_isoDecSuffix
std::vector< xAOD::Iso::IsolationType > m_isolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
static const char * toCString(IsolationConeSize conesize)
◆ IsolationCondition() [3/5]
| CP::IsolationCondition::IsolationCondition |
( |
const std::string & | name, |
|
|
const std::string & | isoType, |
|
|
const std::string & | isoDecSuffix = "" ) |
◆ IsolationCondition() [4/5]
| CP::IsolationCondition::IsolationCondition |
( |
const std::string & | name, |
|
|
const std::vector< std::string > & | isoTypes, |
|
|
const std::string & | isoDecSuffix = "" ) |
Definition at line 24 of file IsolationCondition.cxx.
24 :
25 asg::AsgMessaging{
"IsolationCondition_"+
name},
27 for (const std::string& iso_type : isoTypes) {
29 std::string accName = iso_type + (isoDecSuffix.empty() ? "" : "_") + isoDecSuffix;
30 m_acc.emplace_back(accName);
31
32 std::string accName_noCloseBy = iso_type;
34 }
35 }
◆ IsolationCondition() [5/5]
◆ ~IsolationCondition()
| virtual CP::IsolationCondition::~IsolationCondition |
( |
| ) |
|
|
virtualdefault |
◆ accept() [1/2]
| virtual bool CP::IsolationCondition::accept |
( |
const strObj & | x | ) |
const |
|
pure virtual |
◆ accept() [2/2]
◆ accessor()
◆ accessor_noCloseBy()
◆ 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.
40{
42
43 if (
m_lvl == MSG::NIL) {
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)
◆ 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.
49 {
50#ifndef XAOD_STANDALONE
51 return ::AthMessaging::msg();
52#else
53 return m_msg;
54#endif
55 }
◆ 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.
57 {
58#ifndef XAOD_STANDALONE
59 return ::AthMessaging::msg( lvl );
60#else
61 m_msg << lvl;
62 return m_msg;
63#endif
64 }
◆ 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.
41 {
42#ifndef XAOD_STANDALONE
43 return ::AthMessaging::msgLvl( lvl );
44#else
45 return m_msg.msgLevel( lvl );
46#endif
47 }
◆ name()
| const std::string & CP::IsolationCondition::name |
( |
| ) |
const |
◆ num_types()
| unsigned int CP::IsolationCondition::num_types |
( |
| ) |
const |
◆ operator=()
◆ 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_acc_noCloseBy
| std::vector<FloatAccessor> CP::IsolationCondition::m_acc_noCloseBy |
|
private |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_isoDecSuffix
| std::string CP::IsolationCondition::m_isoDecSuffix {} |
|
protected |
◆ 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 |
|
private |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files: