11 const std::string& name,
const IInterface* parent) :
12 base_class(
type, name, parent),
18 declareProperty(
"BFKey",
m_bfContKey,
"Key of the BadFebContainer in the conditions store");
19 declareProperty(
"ProblemsToMask",
m_problemWords,
"List of FEB problems to be masked.");
20 declareProperty(
"DoMasking",
m_doMasking,
"Flag to turn FEB masking on or off.");
38 ATH_MSG_INFO (
"Cell masking is ON. The following problems will be masked: "
41 return StatusCode::SUCCESS;
66 return bfCont->
status(febId);
74 for(std::vector<std::string>::const_iterator it =
m_problemWords.begin();
80 ATH_MSG_WARNING (
"The problem flag '" << (*it) <<
"' was not recognized." );
86 const static std::vector<std::string>
defaults = {
"deadAllBit" };
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
LArBadXCont< LArBadFeb > LArBadFebCont
void setBit(ProblemType pb, BitWord &word, bool value=true) const
std::string stringStatus(const LArBadFeb &bc) const
virtual bool shouldbeMasked(const HWIdentifier &febId) const override final
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArBadFebCont > m_bfContKey
virtual bool febMissing(const HWIdentifier &febId) const override final
virtual ~LArBadFebMasker()
static const std::vector< std::string > & defaultProblems()
virtual LArBadFeb febStatus(const HWIdentifier &febId) const override final
std::vector< std::string > m_problemWords
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.