ATLAS Offline Software
LArCalorimeter
LArCellRec
src
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
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
CaloInterface/ICaloCellMakerTool.h
"
11
#include "
LArRecConditions/LArBadChannelMask.h
"
12
#include "
LArRecConditions/LArBadChannelCont.h
"
13
14
class
LArCellNoiseMaskingTool
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
39
LArBadChannelMask
m_noiseMask
;
40
LArBadChannelMask
m_sporadicNoiseMask
;
41
42
int
m_qualityCut
;
43
std::vector<int>
m_caloNums
;
44
bool
m_maskNoise
;
45
bool
m_maskSporadic
;
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:221
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
Generated on Thu Nov 7 2024 21:19:22 for ATLAS Offline Software by
1.8.18