#include <LArDSPThresholdsFlat.h>
|
| unsigned | m_nChannels |
| const float * | m_ptQThr |
| const float * | m_psamplesThr |
| const float * | m_ptrigSumThr |
| 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 17 of file LArDSPThresholdsFlat.h.
◆ LArDSPThresholdsFlat() [1/2]
| LArDSPThresholdsFlat::LArDSPThresholdsFlat |
( |
| ) |
|
|
private |
Definition at line 11 of file LArDSPThresholdsFlat.cxx.
11 :
17
18{}
LArCondFlatBase(const std::string &name)
const float * m_psamplesThr
const float * m_ptrigSumThr
◆ LArDSPThresholdsFlat() [2/2]
Definition at line 20 of file LArDSPThresholdsFlat.cxx.
20 :
26{
29 return;
30}
StatusCode initializeBase()
void readBlob(const AthenaAttributeList *attr)
◆ good()
| bool LArDSPThresholdsFlat::good |
( |
| ) |
const |
|
inline |
◆ initializeBase()
| StatusCode LArCondFlatBase::initializeBase |
( |
| ) |
|
|
inherited |
Definition at line 26 of file LArCondFlatBase.cxx.
26 {
27
29
32 return (StatusCode::SUCCESS);
33 }
34
35 SmartIF<StoreGateSvc>
detStore{Gaudi::svcLocator()->service(
"DetectorStore")};
38
41 return (StatusCode::SUCCESS);
42}
#define ATH_CHECK_WITH_CONTEXT
Evaluate an expression and check for errors, with an explicitly specified context name.
const LArOnlineID * m_onlineHelper
◆ 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 & AthMessaging::msg |
( |
| ) |
const |
|
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 163 of file AthMessaging.h.
164{
166 if (!ms) {
170 }
171
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.
◆ msg() [2/2]
| MsgStream & AthMessaging::msg |
( |
const MSG::Level | lvl | ) |
const |
|
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 178 of file AthMessaging.h.
179{
return msg() << lvl; }
MsgStream & msg() const
The standard message stream.
◆ msgLvl()
| bool AthMessaging::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
152{
155 return true;
156 } else {
157 return false;
158 }
159}
◆ readBlob()
Definition at line 71 of file LArDSPThresholdsFlat.cxx.
71 {
73
74
75 if (!attrList) return;
76
77
78
79
80
81 const coral::Blob& tQThrBlob = (*attrList)["tQThr"].data<coral::Blob>();
82 const coral::Blob& samplesThrBlob = (*attrList)["samplesThr"].data<coral::Blob>();
83 const coral::Blob& trigSumThrBlob = (*attrList)["trigSumThr"].data<coral::Blob>();
84
85
86
87
88 if (!(tQThrBlob.size()==samplesThrBlob.size() && samplesThrBlob.size()==trigSumThrBlob.size())) {
89 ATH_MSG_ERROR(
"Unequal blob size tQThr/samplesThr/trigSumThr = "
90 << tQThrBlob.size() << "/" << samplesThrBlob.size() << "/" << trigSumThrBlob.size() );
91 return;
92 }
93
95
96
99 }
100
102 m_ptQThr=
static_cast<const float*
>(tQThrBlob.startingAddress());
103 m_psamplesThr=
static_cast<const float*
>(samplesThrBlob.startingAddress());
104 m_ptrigSumThr=
static_cast<const float*
>(trigSumThrBlob.startingAddress());
105
106
107 return;
108}
#define ATH_MSG_WARNING(x)
◆ samplesThr()
| float LArDSPThresholdsFlat::samplesThr |
( |
const HWIdentifier & | CellID | ) |
const |
◆ samplesThrByHash()
| float LArDSPThresholdsFlat::samplesThrByHash |
( |
const IdentifierHash & | h | ) |
const |
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ tQThr()
| float LArDSPThresholdsFlat::tQThr |
( |
const HWIdentifier & | CellID | ) |
const |
◆ tQThrByHash()
| float LArDSPThresholdsFlat::tQThrByHash |
( |
const IdentifierHash & | h | ) |
const |
◆ trigSumThr()
| float LArDSPThresholdsFlat::trigSumThr |
( |
const HWIdentifier & | CellID | ) |
const |
◆ trigSumThrByHash()
| float LArDSPThresholdsFlat::trigSumThrByHash |
( |
const IdentifierHash & | h | ) |
const |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_isInitialized
| bool LArCondFlatBase::m_isInitialized |
|
protectedinherited |
◆ 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_nChannels
| unsigned LArDSPThresholdsFlat::m_nChannels |
|
private |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_onlineHelper
◆ m_psamplesThr
| const float* LArDSPThresholdsFlat::m_psamplesThr |
|
private |
◆ m_ptQThr
| const float* LArDSPThresholdsFlat::m_ptQThr |
|
private |
◆ m_ptrigSumThr
| const float* LArDSPThresholdsFlat::m_ptrigSumThr |
|
private |
The documentation for this class was generated from the following files: