ATLAS Offline Software
|
A container and helper class for overlap removal tools. More...
#include <ToolBox.h>
Public Types | |
using | parentType_t = INamedInterface |
Aliases. More... | |
using | MasterHandle_t = asg::AnaToolHandle< IOverlapRemovalTool > |
using | OverlapHandle_t = asg::AnaToolHandle< IOverlapTool > |
Public Member Functions | |
ToolBox (const std::string &name="ORToolBox", parentType_t *theParent=nullptr) | |
Basic constructor with name and parent. More... | |
StatusCode | initialize () |
Attach and initialize all tools. More... | |
std::vector< OverlapHandle_t * > | getOverlapTools () |
Get a list of all handles to loop over. More... | |
template<class T > | |
StatusCode | setGlobalProperty (const std::string &property, const T &value) |
Apply a global property to all tools. More... | |
parentType_t * | parent () |
Pointer to the parent component for the tool handles. More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Public Attributes | |
MasterHandle_t | masterTool |
Master overlap removal tool handle. More... | |
overlap tool handles | |
OverlapHandle_t | muPFJetORT |
OverlapHandle_t | eleEleORT |
OverlapHandle_t | eleMuORT |
OverlapHandle_t | eleJetORT |
OverlapHandle_t | muJetORT |
OverlapHandle_t | tauEleORT |
OverlapHandle_t | tauMuORT |
OverlapHandle_t | tauJetORT |
OverlapHandle_t | phoEleORT |
OverlapHandle_t | phoMuORT |
OverlapHandle_t | phoJetORT |
OverlapHandle_t | eleFatJetORT |
OverlapHandle_t | jetFatJetORT |
Private Member Functions | |
StatusCode | initTool (OverlapHandle_t &handle, const std::string &key) |
Initialize and attach one overlap tool. More... | |
StatusCode | initMaster () |
Initialize master tool. More... | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
parentType_t * | m_parent |
Pointer to the parent component for the tool handles. More... | |
std::string | m_nm |
Message source name. More... | |
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
MsgStream instance (a std::cout like with print-out levels) More... | |
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
MessageSvc pointer. More... | |
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
Current logging level. More... | |
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
Messaging initialized (initMessaging) More... | |
A container and helper class for overlap removal tools.
This implementation uses AnaToolHandles to setup, manage, and configure the overlap tools and a master overlap removal tool.
using ORUtils::ToolBox::parentType_t = INamedInterface |
ORUtils::ToolBox::ToolBox | ( | const std::string & | name = "ORToolBox" , |
parentType_t * | theParent = nullptr |
||
) |
std::vector< ToolBox::OverlapHandle_t * > ORUtils::ToolBox::getOverlapTools | ( | ) |
StatusCode ORUtils::ToolBox::initialize | ( | ) |
|
private |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
private |
Initialize and attach one overlap tool.
Definition at line 94 of file ToolBox.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
lvl | The message level to test against |
true
If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
|
inline |
StatusCode ORUtils::ToolBox::setGlobalProperty | ( | const std::string & | property, |
const T & | value | ||
) |
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
OverlapHandle_t ORUtils::ToolBox::eleEleORT |
OverlapHandle_t ORUtils::ToolBox::eleFatJetORT |
OverlapHandle_t ORUtils::ToolBox::eleJetORT |
OverlapHandle_t ORUtils::ToolBox::eleMuORT |
OverlapHandle_t ORUtils::ToolBox::jetFatJetORT |
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
MasterHandle_t ORUtils::ToolBox::masterTool |
OverlapHandle_t ORUtils::ToolBox::muJetORT |
OverlapHandle_t ORUtils::ToolBox::muPFJetORT |
OverlapHandle_t ORUtils::ToolBox::phoEleORT |
OverlapHandle_t ORUtils::ToolBox::phoJetORT |
OverlapHandle_t ORUtils::ToolBox::phoMuORT |
OverlapHandle_t ORUtils::ToolBox::tauEleORT |
OverlapHandle_t ORUtils::ToolBox::tauJetORT |
OverlapHandle_t ORUtils::ToolBox::tauMuORT |