ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloClusterCorrection
src
CaloClusterBadChannelList.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef CALOCLUSTERCORRECTION_CALOCLUSTERBADCHANNELLIST_H
6
#define CALOCLUSTERCORRECTION_CALOCLUSTERBADCHANNELLIST_H
7
/********************************************************************
8
9
NAME: CaloClusterBadChannelList.h
10
11
AUTHORS: G.Unal
12
CREATED: May, 2008
13
14
PURPOSE: Fill bad channel information from the cells in a cluster
15
16
Base class: CaloClusterCorrection (tool)
17
18
********************************************************************/
19
20
#include "GaudiKernel/ToolHandle.h"
21
22
#include "
CaloClusterCorrection/CaloClusterCorrection.h
"
23
#include "
CaloConditions/ICaloBadChanTool.h
"
24
25
class
CaloClusterBadChannelList
:
public
CaloClusterCorrection
26
{
27
28
public
:
29
30
// constructor
31
CaloClusterBadChannelList
(
const
std::string&
type
,
32
const
std::string& name,
33
const
IInterface* parent);
34
35
// Standard initialize method.
36
virtual
StatusCode
initialize
()
override
;
37
38
// virtual method in CaloClusterCorrection
39
virtual
void
makeCorrection
(
const
Context& myctx,
40
xAOD::CaloCluster
* cluster)
const override
;
41
42
private
:
43
44
// If true, the total cluster energy is set to the sum of all layer energies.
45
ToolHandle<ICaloBadChanTool>
m_badChannelTool
{
this
,
"badChannelTool"
,
"CaloBadChanTool"
46
,
"Tool handle for bad channel"
};
47
48
};
49
50
51
#endif
52
CaloClusterCorrection.h
ICaloBadChanTool.h
CaloClusterBadChannelList::CaloClusterBadChannelList
CaloClusterBadChannelList(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloClusterBadChannelList.cxx:22
CaloClusterBadChannelList::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition
CaloClusterBadChannelList.cxx:40
CaloClusterBadChannelList::initialize
virtual StatusCode initialize() override
Definition
CaloClusterBadChannelList.cxx:29
CaloClusterBadChannelList::m_badChannelTool
ToolHandle< ICaloBadChanTool > m_badChannelTool
Definition
CaloClusterBadChannelList.h:45
CaloClusterCorrection
Definition
CaloClusterCorrection.h:55
xAOD::CaloCluster
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloCluster.h:19
type
Generated on
for ATLAS Offline Software by
1.17.0