|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "CoralBase/Blob.h"
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());
81 if (tbin!=0)
return OFCRef_t(
nullptr,
nullptr);
86 if (tbin!=0)
return OFCRef_t(
nullptr,
nullptr);
const_iterator end() const
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
std::vector< const float * > m_pOFCb
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
const LArOnline_SuperCellID * m_scOnlineID
std::vector< const float * > m_pTimeOffset
const_iterator begin() const
Access to Chan/AttributeList pairs via iterators.
This class is a collection of AttributeLists where each one is associated with a channel number....
ILArOFC::OFCRef_t OFCRef_t
StatusCode initializeBase()
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
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
virtual float timeOffset(const HWIdentifier &CellID, int gain) const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Proxy for accessing a range of float values like a vector.
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)