7#include "GaudiKernel/ISvcLocator.h"
8#include "GaudiKernel/IMessageSvc.h"
9#include "CoralBase/Attribute.h"
15 AthMessaging(
Gaudi::svcLocator()->service< IMessageSvc >(
"MessageSvc" ),
"LArFebConfig"),
22 const coral::AttributeList* attrList)
33 const coral::AttributeList* attrList =
getAttrList (chid, channel);
34 if (attrList ==
nullptr) {
39 std::string chanstr = std::to_string(channel+1);
45const coral::AttributeList*
67 const coral::AttributeList* attrList,
68 const std::string& chanstr)
const
70 return (
short)(*attrList)[MedLow + chanstr].data<int32_t>();
78 const coral::AttributeList* attrList =
getAttrList (chid, channel);
79 if (attrList ==
nullptr) {
82 std::string chanstr = std::to_string(channel+1);
#define ATH_MSG_WARNING(x)
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
value_type get_compact() const
Get the compact id.
std::unordered_map< HWIdentifier::value_type, const coral::AttributeList * > m_attrPerFeb
void add(HWIdentifier febid, const coral::AttributeList *attrList)
short getThreshold(const std::string &MedLow, const HWIdentifier &chid) const
void thresholds(const HWIdentifier &chid, short &lower, short &upper) const
const LArOnlineID * m_onlineID
static const std::string s_upper
static const std::string s_lower
const coral::AttributeList * getAttrList(const HWIdentifier &chid, int &channel) const
short getThresholdFromAttrList(const std::string &MedLow, const coral::AttributeList *attrList, const std::string &chanstr) const
=============================================================================