![]() |
ATLAS Offline Software
|
#include <CheckConfig.h>
Public Member Functions | |
| CheckConfig (TrigGlobalEfficiencyCorrectionTool &parent) | |
| bool | basicConfigChecks () |
| bool | advancedConfigChecks () |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Static Private Member Functions | |
| template<class CPTool> | |
| static ToolHandle< CPTool > * | findToolByName (ToolHandleArray< CPTool > &suppliedTools, const std::string &name) |
Private Attributes | |
| TrigGlobalEfficiencyCorrectionTool & | m_parent |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 18 of file CheckConfig.h.
| CheckConfig::CheckConfig | ( | TrigGlobalEfficiencyCorrectionTool & | parent | ) |
Definition at line 21 of file CheckConfig.cxx.
| bool CheckConfig::advancedConfigChecks | ( | ) |
This method requires all (most) of TrigGlobalEfficiencyCorrectionTool internal variables to have been properly initialized already -> to be called as the last step of TrigGlobalEfficiencyCorrectionTool::initialize()
Check that for each electron/photon efficiency tool there is an associated scale factor tool with the same associated legs and tags. And vice versa.
A suitable CP tool must be available for each entry of 'ListOfLegsPerTag'
Periods don't overlap
Definition at line 244 of file CheckConfig.cxx.
| bool CheckConfig::basicConfigChecks | ( | ) |
All tools mentioned in 'ListOfLegsPerTool' must be in 'ElectronEfficiencyTools' or 'ElectronScaleFactorTools' (or equivalent photon tools)
All electron/photon tools must be associated to trigger legs (except when there's only one tool)
Additional checks when tags are used
All tools mentioned in 'ListOfTagsPerTool' must be known
Either all muon tools are associated to tags, either none
Either all electron tools are associated to tags, either none
Either all photon tools are associated to tags, either none
Definition at line 39 of file CheckConfig.cxx.
|
staticprivate |
Definition at line 27 of file CheckConfig.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.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.
|
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.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
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 |
Definition at line 26 of file CheckConfig.h.