11#include "CoralBase/Blob.h"
29 if (
sc!=StatusCode::SUCCESS) {
31 return StatusCode::FAILURE;
35 if (
sc!=StatusCode::SUCCESS) {
37 return StatusCode::FAILURE;
41 if (
sc!=StatusCode::SUCCESS) {
43 return StatusCode::FAILURE;
47 if (
sc!=StatusCode::SUCCESS) {
49 return StatusCode::FAILURE;
52 return StatusCode::SUCCESS;
62 std::unique_ptr<LArDSPThresholdsFlat> df{};
71 const coral::Blob& blob = (attrList->
coralList())[
"tQThr"].data<coral::Blob>();
74 return StatusCode::SUCCESS;
77 df=std::make_unique< LArDSPThresholdsFlat>(attrList);
81 if(
sc!=StatusCode::SUCCESS) {
82 ATH_MSG_ERROR(
"Could not retrieve LArDSPThresholdsComplete....");
83 return StatusCode::FAILURE;
101 if (
sc!=StatusCode::SUCCESS) {
103 return StatusCode::FAILURE;
108 ATH_MSG_INFO(
"LArDSPThresholds2Ntuple has finished." );
109 return StatusCode::SUCCESS;
A LArRawConditionsContainer holding thresholds used by the DSP.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const ServiceHandle< StoreGateSvc > & detStore() const
An AttributeList represents a logical row of attributes in a metadata table.
const coral::AttributeList & coralList() const
StoreGateSvc * m_detStore
const LArOnlineID_Base * m_onlineId
bool fillFromIdentifier(const HWIdentifier &id)
Gaudi::Property< bool > m_addFEBTemp
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< float > m_trigThr
NTuple::Item< float > m_tQThr
~LArDSPThresholds2Ntuple()
NTuple::Item< float > m_samplesThr
LArDSPThresholds2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
float samplesThr(const HWIdentifier chid) const
float tQThr(const HWIdentifier chid) const
float trigSumThr(const HWIdentifier chid) const