#include <LArBadFebMasker.h>
Definition at line 16 of file LArBadFebMasker.h.
◆ BitWord
◆ LArBadFebMasker() [1/2]
| LArBadFebMasker::LArBadFebMasker |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 10 of file LArBadFebMasker.cxx.
11 :
12 base_class(type, name, parent),
17{
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.");
21}
SG::ReadCondHandleKey< LArBadFebCont > m_bfContKey
static const std::vector< std::string > & defaultProblems()
std::vector< std::string > m_problemWords
◆ ~LArBadFebMasker()
| LArBadFebMasker::~LArBadFebMasker |
( |
| ) |
|
|
virtualdefault |
◆ LArBadFebMasker() [2/2]
| LArBadFebMasker::LArBadFebMasker |
( |
| ) |
|
|
private |
◆ buildBitMask()
| void LArBadFebMasker::buildBitMask |
( |
| ) |
|
|
private |
Definition at line 69 of file LArBadFebMasker.cxx.
70{
72
73 LArBadFebBitPacking bf_bitPacking;
74 for(std::vector<std::string>::const_iterator it =
m_problemWords.begin();
76 {
79 else
80 ATH_MSG_WARNING (
"The problem flag '" << (*it) <<
"' was not recognized." );
81 }
82}
#define ATH_MSG_WARNING(x)
void setBit(ProblemType pb, BitWord &word, bool value=true) const
◆ defaultProblems()
| const std::vector< std::string > & LArBadFebMasker::defaultProblems |
( |
| ) |
|
|
staticprivate |
◆ febMissing()
| bool LArBadFebMasker::febMissing |
( |
const HWIdentifier & | febId | ) |
const |
|
finaloverridevirtual |
Definition at line 44 of file LArBadFebMasker.cxx.
44 {
45
47
48 SG::ReadCondHandle<LArBadFebCont> bfContHdl{
m_bfContKey};
51}
LArBadXCont< LArBadFeb > LArBadFebCont
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
◆ febStatus()
◆ initialize()
| StatusCode LArBadFebMasker::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 26 of file LArBadFebMasker.cxx.
27{
29
31
33
35
37 LArBadFebBitPacking bf_bitpack;
38 ATH_MSG_INFO (
"Cell masking is ON. The following problems will be masked: "
40
41 return StatusCode::SUCCESS;
42}
#define ATH_CHECK
Evaluate an expression and check for errors.
std::string stringStatus(const LArBadFeb &bc) const
◆ isMaskingOn()
| virtual bool LArBadFebMasker::isMaskingOn |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ shouldbeMasked()
| bool LArBadFebMasker::shouldbeMasked |
( |
const HWIdentifier & | febId | ) |
const |
|
finaloverridevirtual |
◆ m_bfContKey
◆ m_bitMask
◆ m_doMasking
| bool LArBadFebMasker::m_doMasking |
|
private |
◆ m_problemWords
| std::vector<std::string> LArBadFebMasker::m_problemWords |
|
private |
The documentation for this class was generated from the following files: