![]() |
ATLAS Offline Software
|
#include <ConfigHelper.h>
Public Member Functions | |
| ConfigHelper (const TString &confPrefix, const TString &MCtype, const float energyScaleVal) | |
| virtual StatusCode | initialize (TEnv &settings) |
| virtual | ~ConfigHelper () |
| bool | isCompGroup () const |
| bool | isComponent () const |
| bool | isGroup () const |
| const ComponentHelper * | getComponentInfo () const |
| const GroupHelper * | getGroupInfo () const |
| void | enforceGroupNamePrefix (const std::string &prefix) |
| void | enforceGroupNamePrefix (const TString &prefix) |
| void | setComponentJetDefSuffix (const std::string &suffix) |
| void | setComponentJetDefSuffix (const TString &suffix) |
| void | addValidityHistogram (const std::string &histName) |
| void | addValidityHistogram (const TString &histName) |
Private Member Functions | |
| ConfigHelper () | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
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 Attributes | |
| bool | m_isInit {} |
| const TString | m_confPrefix |
| const TString | m_MCtype |
| const float | m_energyScale {} |
| ComponentHelper * | m_cInfo {} |
| GroupHelper * | m_gInfo {} |
| 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 105 of file ConfigHelper.h.
| jet::ConfigHelper::ConfigHelper | ( | const TString & | confPrefix, |
| const TString & | MCtype, | ||
| const float | energyScaleVal ) |
Definition at line 172 of file ConfigHelper.cxx.
|
virtual |
Definition at line 182 of file ConfigHelper.cxx.
|
private |
Definition at line 160 of file ConfigHelper.cxx.
| void jet::ConfigHelper::addValidityHistogram | ( | const std::string & | histName | ) |
Definition at line 328 of file ConfigHelper.cxx.
| void jet::ConfigHelper::addValidityHistogram | ( | const TString & | histName | ) |
Definition at line 333 of file ConfigHelper.cxx.
| void jet::ConfigHelper::enforceGroupNamePrefix | ( | const std::string & | prefix | ) |
Definition at line 280 of file ConfigHelper.cxx.
| void jet::ConfigHelper::enforceGroupNamePrefix | ( | const TString & | prefix | ) |
Definition at line 285 of file ConfigHelper.cxx.
| const ComponentHelper * jet::ConfigHelper::getComponentInfo | ( | ) | const |
Definition at line 260 of file ConfigHelper.cxx.
| const GroupHelper * jet::ConfigHelper::getGroupInfo | ( | ) | const |
Definition at line 270 of file ConfigHelper.cxx.
|
virtual |
Definition at line 188 of file ConfigHelper.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| bool jet::ConfigHelper::isCompGroup | ( | ) | const |
Definition at line 214 of file ConfigHelper.cxx.
| bool jet::ConfigHelper::isComponent | ( | ) | const |
Definition at line 232 of file ConfigHelper.cxx.
| bool jet::ConfigHelper::isGroup | ( | ) | const |
Definition at line 246 of file ConfigHelper.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.
| void jet::ConfigHelper::setComponentJetDefSuffix | ( | const std::string & | suffix | ) |
Definition at line 304 of file ConfigHelper.cxx.
| void jet::ConfigHelper::setComponentJetDefSuffix | ( | const TString & | suffix | ) |
Definition at line 309 of file ConfigHelper.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.
|
private |
Definition at line 140 of file ConfigHelper.h.
|
private |
Definition at line 135 of file ConfigHelper.h.
|
private |
Definition at line 137 of file ConfigHelper.h.
|
private |
Definition at line 141 of file ConfigHelper.h.
|
mutableprivateinherited |
|
private |
Definition at line 132 of file ConfigHelper.h.
|
mutableprivateinherited |
|
private |
Definition at line 136 of file ConfigHelper.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.