8#include "CoralBase/Attribute.h"
9#include "CoralBase/Blob.h"
10#include "CoralBase/AttributeListSpecification.h"
25 declareProperty(
"WritingMode",
m_mode=0,
"selects information written to DB: 0 for bad channels, 1 for missing febs");
39 return StatusCode::SUCCESS;
43{
return StatusCode::SUCCESS;}
51 return StatusCode::FAILURE;
57 if ( bcCont ==
nullptr) {
59 return StatusCode::FAILURE;
64 for (
const auto& entry : bcCont->
fullCont()) {
107 if ( bfCont ==
nullptr) {
109 return StatusCode::FAILURE;
112 for (
const auto& entry : bfCont->
fullCont()) {
124 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArBadXCont< LArBadFeb > LArBadFebCont
LArBadXCont< LArBadChannel > LArBadChannelCont
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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.
This class is a collection of AttributeLists where each one is associated with a channel number.
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
LArBadChannelDBAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArBadFebCont > m_BFKey
std::string m_dbFebFolder
void add(const BadChanEntry &entry, CoolChannelEnum chan)
Add a bad channel entry to a specified cool channel data.
const BadChanVec & fullCont() const
bool isEMBchannel(const HWIdentifier id) const
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
bool isFCALchannel(const HWIdentifier id) const
bool isHECchannel(const HWIdentifier id) const override final
bool isEMECchannel(const HWIdentifier id) const override final
std::pair< HWIdentifier, LArBadFeb > BadFebEntry
std::pair< HWIdentifier, LArBadChannel > BadChanEntry
std::vector< BadFebEntry > BadFebVec