|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/ISvcLocator.h"
8 #include "GaudiKernel/IMessageSvc.h"
9 #include "CoralBase/Attribute.h"
15 AthMessaging(
Gaudi::svcLocator()->service< IMessageSvc >(
"MessageSvc" ),
"LArFebConfig"),
34 if (attrList ==
nullptr) {
68 const std::string& chanstr)
const
70 std::string
channame = MedLow + chanstr;
71 return (
short)(*attrList)[
channame].data<int32_t>();
80 if (attrList ==
nullptr) {
static const std::string s_upper
value_type get_compact() const
Get the compact id.
void add(HWIdentifier febid, const coral::AttributeList *attrList)
short getThreshold(const std::string &MedLow, const HWIdentifier &chid) const
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Class to provide easy MsgStream access and capabilities.
const LArOnlineID * m_onlineID
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
std::string to_string(const DetectorType &type)
std::unordered_map< HWIdentifier::value_type, const coral::AttributeList * > m_attrPerFeb
#define ATH_MSG_WARNING(x)
const coral::AttributeList * getAttrList(const HWIdentifier &chid, int &channel) const
=============================================================================
void thresholds(const HWIdentifier &chid, short &lower, short &upper) const
static const std::string s_lower
short getThresholdFromAttrList(const std::string &MedLow, const coral::AttributeList *attrList, const std::string &chanstr) const