![]() |
ATLAS Offline Software
|
#include <DigitEffiData.h>
Public Member Functions | |
| DigitEffiData (const Muon::IMuonIdHelperSvc *idHelperSvc, double defaultEffi) | |
| Constructor taking the pointer to the IdHelperSvc & defining a default efficiency for cases wher the map doesn't know about the channel. | |
| double | getEfficiency (const Identifier &channelId, bool isInnerQ1=false) const |
| Returns the signal generation efficiency of the sTgc channel. | |
| StatusCode | setEfficiency (const Identifier §ionId, const double effi, bool isInnerQ1=false) |
| Sets the efficiency for a given minimal section of the dector. | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Types | |
| using | EffiMap = std::unordered_map<Identifier, double> |
Private Member Functions | |
| Identifier | getLookUpId (const Identifier &channelId, bool isInnerQ1=false) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| const Muon::IMuonIdHelperSvc * | m_idHelperSvc {nullptr} |
| EffiMap | m_effiData {} |
| double | m_defaultEffi {1.} |
| 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 23 of file DigitEffiData.h.
|
private |
Definition at line 35 of file DigitEffiData.h.
| Muon::DigitEffiData::DigitEffiData | ( | const Muon::IMuonIdHelperSvc * | idHelperSvc, |
| double | defaultEffi ) |
Constructor taking the pointer to the IdHelperSvc & defining a default efficiency for cases wher the map doesn't know about the channel.
Definition at line 8 of file DigitEffiData.cxx.
| double Muon::DigitEffiData::getEfficiency | ( | const Identifier & | channelId, |
| bool | isInnerQ1 = false ) const |
Returns the signal generation efficiency of the sTgc channel.
Definition at line 38 of file DigitEffiData.cxx.
|
private |
Definition at line 13 of file DigitEffiData.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
| StatusCode Muon::DigitEffiData::setEfficiency | ( | const Identifier & | sectionId, |
| const double | effi, | ||
| bool | isInnerQ1 = false ) |
Sets the efficiency for a given minimal section of the dector.
Definition at line 48 of file DigitEffiData.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 37 of file DigitEffiData.h.
|
private |
Definition at line 36 of file DigitEffiData.h.
|
private |
Definition at line 34 of file DigitEffiData.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.