30 NTuple::Item<long> lower;
31 NTuple::Item<long>
upper;
35 if (febConfig==
nullptr) {
37 return StatusCode::FAILURE;
39 StatusCode
sc=
m_nt->addItem(
"lower",lower,-1000,5000);
40 if (
sc!=StatusCode::SUCCESS) {
42 return StatusCode::FAILURE;
46 if (
sc!=StatusCode::SUCCESS) {
48 return StatusCode::FAILURE;
55 short lower_v, upper_v;
56 febConfig->
thresholds (hwid, lower_v, upper_v);
66 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
void thresholds(const HWIdentifier &chid, short &lower, short &upper) const
~LArGainThresholds2Ntuple()
LArGainThresholds2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArFebConfig > m_configKey