|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "CoralBase/Attribute.h"
9 #include "CoralBase/Blob.h"
10 #include "CoralBase/AttributeListSpecification.h"
19 AthAlgorithm(
name, pSvcLocator), m_BCKey(
"LArBadChannel"), m_BFKey(
"LArBadFeb"), m_isSC(false)
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;
def retrieve(aClass, aKey=None)
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
SG::ReadCondHandleKey< LArBadFebCont > m_BFKey
void add(const BadChanEntry &entry, CoolChannelEnum chan)
Add a bad channel entry to a specified cool channel data.
std::string m_dbFebFolder
This class is a collection of AttributeLists where each one is associated with a channel number....
std::vector< BadFebEntry > BadFebVec
std::pair< HWIdentifier, LArBadChannel > BadChanEntry
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
bool isFCALchannel(const HWIdentifier id) const
bool isEMECchannel(const HWIdentifier id) const override final
std::pair< HWIdentifier, LArBadFeb > BadFebEntry
::StatusCode StatusCode
StatusCode definition for legacy code.
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...
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
bool isEMBchannel(const HWIdentifier id) const
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
#define ATH_MSG_WARNING(x)
bool isHECchannel(const HWIdentifier id) const override final
LArBadChannelDBAlg(const std::string &name, ISvcLocator *pSvcLocator)