|
ATLAS Offline Software
|
#include <LArShapeFlat.h>
|
| LArShapeFlat (const CondAttrListCollection *attrList) |
|
virtual | ~LArShapeFlat () |
|
bool | good () const |
|
virtual ShapeRef_t | Shape (const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) const |
|
virtual ShapeRef_t | ShapeDer (const HWIdentifier &CellID, int gain, int tbin=0, int mode=0) 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 |
|
void | readBlob (const CondAttrListCollection *attrList, MsgStream &msg) |
|
ILArShape::ShapeRef_t | ShapeByHash (const IdentifierHash &hs, int gain) const |
|
ILArShape::ShapeRef_t | ShapeDerByHash (const IdentifierHash &hs, 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...
|
|
|
std::string | m_nm |
| Message source name. More...
|
|
boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More...
|
|
std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More...
|
|
std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More...
|
|
std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More...
|
|
Definition at line 17 of file LArShapeFlat.h.
◆ ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype Interface.
- Author
- S. Laplace
- Version
- 0-0-1 , 29/01/2004
History:
- 08/02/2004, S. Laplace: new online ID
Definition at line 26 of file ILArShape.h.
◆ anonymous enum
◆ LArShapeFlat() [1/2]
LArShapeFlat::LArShapeFlat |
( |
| ) |
|
|
private |
◆ LArShapeFlat() [2/2]
◆ ~LArShapeFlat()
LArShapeFlat::~LArShapeFlat |
( |
| ) |
|
|
virtual |
◆ good()
bool LArShapeFlat::good |
( |
| ) |
const |
|
inline |
◆ initializeBase()
StatusCode LArCondFlatBase::initializeBase |
( |
| ) |
|
|
inherited |
Definition at line 26 of file LArCondFlatBase.cxx.
32 return (StatusCode::SUCCESS);
35 SmartIF<StoreGateSvc>
detStore{Gaudi::svcLocator()->service(
"DetectorStore")};
41 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()
◆ readBlob()
Definition at line 17 of file LArShapeBlob.cxx.
24 if (!attrList)
return;
37 for(;gainIt!=gainIt_e;++gainIt) {
38 const unsigned gain=gainIt->first;
40 msg << MSG::ERROR <<
"Found unexpected COOL-channel (=gain) number:" <<
gain <<
endmsg;
47 if (blobSize==0) blobSize=shapeaBlob.size();
51 if (blobSize!=shapeaBlob.size() || blobSize!=shapebBlob.size()) {
52 msg << MSG::ERROR <<
"Unequal blob size (" << blobSize <<
"/"
53 << shapeaBlob.size() <<
"/" << shapebBlob.size() <<
")" <<
endmsg;
56 if (
m_nSamples!=attr[
"nSamples"].data<unsigned>()) {
57 msg << MSG::ERROR <<
"Unequal number of samples (" <<
m_nSamples <<
"/"
58 << attr[
"nSamples"].data<
unsigned>() <<
")" <<
endmsg;
63 m_pShape[
gain]=
static_cast<const float*
>(shapeaBlob.startingAddress());
64 m_pShapeDer[
gain]=
static_cast<const float*
>(shapebBlob.startingAddress());
69 msg << MSG::ERROR <<
"Number of samples is zero!" <<
endmsg;
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ Shape()
◆ ShapeByHash()
◆ ShapeDer()
◆ ShapeDerByHash()
◆ 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 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 LArShapeBlob::m_nChannels |
|
protectedinherited |
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_nSamples
unsigned LArShapeBlob::m_nSamples |
|
protectedinherited |
◆ m_onlineHelper
◆ m_pShape
std::vector<const float*> LArShapeBlob::m_pShape |
|
protectedinherited |
◆ m_pShapeDer
std::vector<const float*> LArShapeBlob::m_pShapeDer |
|
protectedinherited |
◆ m_pTimeOffset
std::vector<const float*> LArShapeBlob::m_pTimeOffset |
|
protectedinherited |
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.
#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.
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
const LArOnlineID * m_onlineHelper
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
IMessageSvc * getMessageSvc(bool quiet=false)
LArCondFlatBase(const std::string &name)
ILArShape::ShapeRef_t ShapeByHash(const IdentifierHash &hs, int gain) const
std::vector< const float * > m_pShape
MsgStream & msg() const
The standard message stream.
ILArShape::ShapeRef_t ShapeDerByHash(const IdentifierHash &hs, int gain) const
size_type size() const
number of Chan/AttributeList pairs
std::vector< const float * > m_pShapeDer
ChanAttrListMap::const_iterator const_iterator
std::string m_nm
Message source name.
StatusCode initializeBase()
void initMessaging() const
Initialize our message level and MessageSvc.
std::vector< const float * > m_pTimeOffset
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)
LArVectorProxy ShapeRef_t
This class defines the interface for accessing Shape (Nsample variable, Dt = 25 ns fixed) @stereotype...
Proxy for accessing a range of float values like a vector.