 |
ATLAS Offline Software
|
#include <LArOFCSC.h>
|
| | LArOFCSC (const CondAttrListCollection *attrList) |
| |
| virtual | ~LArOFCSC () |
| |
| bool | good () const |
| |
| virtual OFCRef_t | OFC_a (const HWIdentifier &CellID, int gain, int tbin=0) const |
| | access to OFCs by online ID, gain, and tbin (!=0 for testbeam) More...
|
| |
| virtual OFCRef_t | OFC_b (const HWIdentifier &CellID, int gain, int tbin=0) const |
| |
| OFCRef_t | OFC_a (const IdentifierHash &hs, int gain) const |
| |
| OFCRef_t | OFC_b (const IdentifierHash &hs, int gain) const |
| |
| virtual float | timeOffset (const HWIdentifier &CellID, int gain) const |
| |
| virtual unsigned | nTimeBins (const HWIdentifier &CellID, int gain) const |
| |
| virtual float | timeBinWidth (const HWIdentifier &CellID, int gain) const |
| |
| StatusCode | initializeBase () |
| |
| bool | msgLvl (const MSG::Level lvl) const |
| | Test the output level. More...
|
| |
| MsgStream & | msg () const |
| | The standard message stream. More...
|
| |
| MsgStream & | msg (const MSG::Level lvl) const |
| | The standard message stream. More...
|
| |
| void | setLevel (MSG::Level lvl) |
| | Change the current logging level. More...
|
| |
Definition at line 18 of file LArOFCSC.h.
◆ OFCRef_t
◆ anonymous enum
◆ LArOFCSC() [1/2]
◆ LArOFCSC() [2/2]
Definition at line 19 of file LArOFCSC.cxx.
27 if (!attrList)
return;
41 for(;gainIt!=gainIt_e;++gainIt) {
42 const unsigned gain=gainIt->first;
51 if (blobSize==0) blobSize=ofcaBlob.size();
55 if (blobSize!=ofcaBlob.size() || blobSize!=ofcbBlob.size()) {
57 << ofcaBlob.size() <<
"/" << ofcbBlob.size() <<
")");
60 if (
m_nSamples!=attr[
"nSamples"].data<unsigned>()) {
62 << attr[
"nSamples"].data<unsigned>() <<
")");
67 m_pOFCa[
gain]=
static_cast<const float*
>(ofcaBlob.startingAddress());
68 m_pOFCb[
gain]=
static_cast<const float*
>(ofcbBlob.startingAddress());
◆ ~LArOFCSC()
◆ good()
| bool LArOFCSC::good |
( |
| ) |
const |
|
inline |
◆ initializeBase()
| StatusCode LArCondSuperCellBase::initializeBase |
( |
| ) |
|
|
inherited |
Definition at line 22 of file LArCondSuperCellBase.cxx.
28 return (StatusCode::SUCCESS);
31 SmartIF<StoreGateSvc>
detStore{Gaudi::svcLocator()->service(
"DetectorStore")};
37 return (StatusCode::SUCCESS);
◆ 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.
◆ 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 164 of file AthMessaging.h.
◆ 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 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ 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.
◆ nTimeBins()
◆ OFC_a() [1/2]
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
Implements ILArOFC.
Definition at line 80 of file LArOFCSC.cxx.
81 if (tbin!=0)
return OFCRef_t(
nullptr,
nullptr);
◆ OFC_a() [2/2]
◆ OFC_b() [1/2]
◆ OFC_b() [2/2]
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ timeBinWidth()
◆ timeOffset()
◆ 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 LArCondSuperCellBase::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 LArOFCSC::m_nChannels |
|
private |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_nSamples
| unsigned LArOFCSC::m_nSamples |
|
private |
◆ m_pOFCa
| std::vector<const float*> LArOFCSC::m_pOFCa |
|
private |
◆ m_pOFCb
| std::vector<const float*> LArOFCSC::m_pOFCb |
|
private |
◆ m_pTimeOffset
| std::vector<const float*> LArOFCSC::m_pTimeOffset |
|
private |
◆ m_scOnlineID
The documentation for this class was generated from the following files:
std::atomic< MSG::Level > m_lvl
Current logging level.
const_iterator end() const
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
std::vector< const float * > m_pOFCb
const LArOnline_SuperCellID * m_scOnlineID
std::vector< const float * > m_pTimeOffset
#define ATH_CHECK_WITH_CONTEXT
Evaluate an expression and check for errors, with an explicitly specified context name.
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
LArCondSuperCellBase(const std::string &name)
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
IMessageSvc * getMessageSvc(bool quiet=false)
ILArOFC::OFCRef_t OFCRef_t
StatusCode initializeBase()
MsgStream & msg() const
The standard message stream.
virtual OFCRef_t OFC_b(const HWIdentifier &CellID, int gain, int tbin=0) const
size_type size() const
number of Chan/AttributeList pairs
std::vector< const float * > m_pOFCa
ChanAttrListMap::const_iterator const_iterator
std::string m_nm
Message source name.
void initMessaging() const
Initialize our message level and MessageSvc.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
virtual OFCRef_t OFC_a(const HWIdentifier &CellID, int gain, int tbin=0) const
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)