ATLAS Offline Software
Loading...
Searching...
No Matches
LArBadFebMasker.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef LARBADFEBMASKER_H
6#define LARBADFEBMASKER_H
7
9#include "GaudiKernel/ToolHandle.h"
13
15
16class LArBadFebMasker : public extends<AthAlgTool, ILArBadFebMasker>
17{
18public:
19
20 LArBadFebMasker(const std::string& type, const std::string& name, const IInterface* parent);
22
23 virtual StatusCode initialize() override;
24
25 virtual bool febMissing( const HWIdentifier& febId) const override final;
26 virtual bool shouldbeMasked(const HWIdentifier& febId) const override final;
27 virtual LArBadFeb febStatus(const HWIdentifier& febId) const override final;
28
29 virtual bool isMaskingOn() const override final//allow the client code to check in order to optimize
30 {return m_doMasking;}
31
32private:
33
35
37
38 void buildBitMask();
39 static const std::vector<std::string>& defaultProblems();
40
42 BitWord m_bitMask; // The list of problems from m_problemWords, in bit form.
43 std::vector<std::string> m_problemWords; // The list of FEB problems to be masked.
44 bool m_doMasking; // Determines whether to do masking.
45
46};
47
48#endif
unsigned int BitWord
LArBadFebMasker(const std::string &type, const std::string &name, const IInterface *parent)
virtual bool shouldbeMasked(const HWIdentifier &febId) const override final
virtual StatusCode initialize() override
virtual bool isMaskingOn() const override final
SG::ReadCondHandleKey< LArBadFebCont > m_bfContKey
virtual bool febMissing(const HWIdentifier &febId) const override final
virtual ~LArBadFebMasker()
static const std::vector< std::string > & defaultProblems()
LArBadFebEnum::BitWord BitWord
virtual LArBadFeb febStatus(const HWIdentifier &febId) const override final
std::vector< std::string > m_problemWords