ATLAS Offline Software
LArCellNoiseMaskingTool.h
Go to the documentation of this file.
1 //Dear emacs, this is -*-c++-*-
2 /*
3  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef LARCELLREC_LARCELLNOISEMASKINGTOOL_H
7 #define LARCELLREC_LARCELLNOISEMASKINGTOOL_H
8 
13 
15  : public extends<AthAlgTool, ICaloCellMakerTool>
16 {
17 public:
18  LArCellNoiseMaskingTool(const std::string& type,
19  const std::string& name,
20  const IInterface* parent) ;
21 
22 
23  virtual StatusCode initialize() override;
24 
25  // update theCellContainer
26  virtual StatusCode process (CaloCellContainer * theCellContainer,
27  const EventContext& ctx) const override;
28 
29 
30  private:
31  Gaudi::Property<std::vector<std::string> > m_problemsToMask{this,"ProblemsToMask",{},
32  "Bad-Channel categories to mask entirly"};
33  Gaudi::Property<std::vector<std::string> > m_sporadicProblemsToMask{this,"SporadicProblemsToMask",{},
34  "Bad-Channel categories to mask in case of sporadic noise"};
35  SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey {this, "BadChanKey", "LArBadChannel",
36  "SG key for LArBadChan object"};
37 
38 
41 
43  std::vector<int> m_caloNums ;
46 };
47 
48 #endif
49 
LArCellNoiseMaskingTool::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Definition: LArCellNoiseMaskingTool.h:35
LArCellNoiseMaskingTool::LArCellNoiseMaskingTool
LArCellNoiseMaskingTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: LArCellNoiseMaskingTool.cxx:27
LArCellNoiseMaskingTool
Definition: LArCellNoiseMaskingTool.h:16
LArCellNoiseMaskingTool::m_noiseMask
LArBadChannelMask m_noiseMask
Definition: LArCellNoiseMaskingTool.h:39
LArBadChannelCont.h
LArCellNoiseMaskingTool::m_maskNoise
bool m_maskNoise
Definition: LArCellNoiseMaskingTool.h:44
LArCellNoiseMaskingTool::m_caloNums
std::vector< int > m_caloNums
Definition: LArCellNoiseMaskingTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCellNoiseMaskingTool::initialize
virtual StatusCode initialize() override
Definition: LArCellNoiseMaskingTool.cxx:52
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LArCellNoiseMaskingTool::m_problemsToMask
Gaudi::Property< std::vector< std::string > > m_problemsToMask
Definition: LArCellNoiseMaskingTool.h:31
LArCellNoiseMaskingTool::m_sporadicNoiseMask
LArBadChannelMask m_sporadicNoiseMask
Definition: LArCellNoiseMaskingTool.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
ICaloCellMakerTool.h
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LArCellNoiseMaskingTool::process
virtual StatusCode process(CaloCellContainer *theCellContainer, const EventContext &ctx) const override
Definition: LArCellNoiseMaskingTool.cxx:80
LArBadChannelMask.h
LArCellNoiseMaskingTool::m_qualityCut
int m_qualityCut
Definition: LArCellNoiseMaskingTool.h:42
LArCellNoiseMaskingTool::m_sporadicProblemsToMask
Gaudi::Property< std::vector< std::string > > m_sporadicProblemsToMask
Definition: LArCellNoiseMaskingTool.h:33
LArBadChannelMask
Definition: LArBadChannelMask.h:18
LArCellNoiseMaskingTool::m_maskSporadic
bool m_maskSporadic
Definition: LArCellNoiseMaskingTool.h:45