7#include "CoralBase/Blob.h"
23 const coral::Blob& myBlob = (*m_attrList)[
"febdata"].data<coral::Blob>();
24 m_pBlob=
static_cast<const uint8_t*
>(myBlob.startingAddress());
25 m_nFebs=myBlob.size()/
sizeof(uint8_t);
53 coral::AttributeListSpecification* spec =
new coral::AttributeListSpecification();
54 spec->extend(
"febdata",
"blob");
55 spec->extend<
unsigned>(
"version");
59 (*m_attrListNC)[
"version"].setValue(0U);
60 coral::Blob& myBlob = (*m_attrListNC)[
"febdata"].data<coral::Blob>();
61 myBlob.resize(
m_nFebs*
sizeof(uint8_t));
62 m_pBlob_nc=
static_cast<uint8_t*
>(myBlob.startingAddress());
66 for (
unsigned i=0;i<
m_nFebs;++i)
An AttributeList represents a logical row of attributes in a metadata table.
This is a "hash" representation of an Identifier.
LArCondFlatBase(const std::string &name)
const LArOnlineID * m_onlineHelper
StatusCode initializeBase()
void set(const IdentifierHash febId, const uint8_t peakSample, const bool useMGRampIntercept)
std::unique_ptr< AthenaAttributeList > m_attrListNC
bool useLGRampInterceptByHash(const IdentifierHash &febHash) const
uint8_t peakSampleByHash(const IdentifierHash &febHash) const
const AthenaAttributeList * m_attrList
bool useMGRampIntercept(const HWIdentifier FEBid) const
bool useHGRampInterceptByHash(const IdentifierHash &febHash) const
bool useMGRampInterceptByHash(const IdentifierHash &febHash) const
uint8_t peakSample(const HWIdentifier FEBid) const