#include <LArCellNoiseMaskingTool.h>
Definition at line 14 of file LArCellNoiseMaskingTool.h.
◆ LArCellNoiseMaskingTool()
| LArCellNoiseMaskingTool::LArCellNoiseMaskingTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ initialize()
| StatusCode LArCellNoiseMaskingTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 52 of file LArCellNoiseMaskingTool.cxx.
52 {
53
56
58
61
63 ATH_MSG_INFO (
" Cell masking for noise/dead channels activated");
64 }
65 else {
66 ATH_MSG_INFO (
" Cell masking for noise/dead channels not activated ");
67 }
68
70 ATH_MSG_INFO (
" Cell masking for sporadic noise activated");
71 }
72 else {
73 ATH_MSG_INFO (
" Cell masking for sporadic noise not activated ");
74 }
75
76 return StatusCode::SUCCESS;
77}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ process()
| StatusCode LArCellNoiseMaskingTool::process |
( |
CaloCellContainer * | theCellContainer, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
Definition at line 80 of file LArCellNoiseMaskingTool.cxx.
82{
84
86
87 SG::ReadCondHandle<LArBadChannelCont> bcContHdl{
m_bcContKey,ctx};
89
90 for (std::vector<int>::const_iterator itrCalo=
m_caloNums.begin();itrCalo!=
m_caloNums.end();++itrCalo){
94
95 for (; itrCell!=itrCellEnd;++itrCell){
96 CaloCell * aCell=*itrCell;
97 Identifier cellId = aCell->
ID();
98
99 bool toMask = false;
100
101
105 toMask=true;
107 }
108 }
109 }
110
111
113 if (
m_noiseMask.cellShouldBeMasked(bcCont,cellId)) {
114 toMask=true;
116 }
117 }
118
119
120 if (toMask) {
127 }
128
129 }
130 }
131
132
133 return returnSc ;
134}
LArBadXCont< LArBadChannel > LArBadChannelCont
CaloCell_Base_ID::SUBCALO SUBCALO
float time() const
get time (data member)
virtual void setTime(float time)
set time
double energy() const
get energy (data member)
uint16_t provenance() const
get provenance (data member)
uint16_t quality() const
get quality (data member)
virtual void setEnergy(float energy)
set energy
void setQuality(uint16_t quality)
set quality
void setProvenance(uint16_t prov)
set Provenance
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
DataModel_detail::iterator< DataVector > iterator
::StatusCode StatusCode
StatusCode definition for legacy code.
◆ m_bcContKey
Initial value:{this, "BadChanKey", "LArBadChannel",
"SG key for LArBadChan object"}
Definition at line 35 of file LArCellNoiseMaskingTool.h.
35 {this, "BadChanKey", "LArBadChannel",
36 "SG key for LArBadChan object"};
◆ m_caloNums
| std::vector<int> LArCellNoiseMaskingTool::m_caloNums |
|
private |
◆ m_maskNoise
| bool LArCellNoiseMaskingTool::m_maskNoise |
|
private |
◆ m_maskSporadic
| bool LArCellNoiseMaskingTool::m_maskSporadic |
|
private |
◆ m_noiseMask
◆ m_problemsToMask
| Gaudi::Property<std::vector<std::string> > LArCellNoiseMaskingTool::m_problemsToMask |
|
private |
Initial value:{this,"ProblemsToMask",{},
"Bad-Channel categories to mask entirly"}
Definition at line 31 of file LArCellNoiseMaskingTool.h.
31 {this,"ProblemsToMask",{},
32 "Bad-Channel categories to mask entirly"};
◆ m_qualityCut
| int LArCellNoiseMaskingTool::m_qualityCut |
|
private |
◆ m_sporadicNoiseMask
◆ m_sporadicProblemsToMask
| Gaudi::Property<std::vector<std::string> > LArCellNoiseMaskingTool::m_sporadicProblemsToMask |
|
private |
Initial value:{this,"SporadicProblemsToMask",{},
"Bad-Channel categories to mask in case of sporadic noise"}
Definition at line 33 of file LArCellNoiseMaskingTool.h.
33 {this,"SporadicProblemsToMask",{},
34 "Bad-Channel categories to mask in case of sporadic noise"};
The documentation for this class was generated from the following files: