ATLAS Offline Software
CaloClusterBadChannelList.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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 
24 
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;
46 
47 };
48 
49 
50 #endif
51 
CaloClusterBadChannelList
Definition: CaloClusterBadChannelList.h:26
CaloClusterBadChannelList::m_badChannelTool
ToolHandle< ICaloBadChanTool > m_badChannelTool
Definition: CaloClusterBadChannelList.h:56
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloBadChanTool.h
CaloClusterBadChannelList::makeCorrection
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
Definition: CaloClusterBadChannelList.cxx:38
CaloClusterBadChannelList::initialize
virtual StatusCode initialize() override
Initialize method.
Definition: CaloClusterBadChannelList.cxx:31
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloClusterBadChannelList::CaloClusterBadChannelList
CaloClusterBadChannelList(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloClusterBadChannelList.cxx:22
CaloClusterCorrection.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloUtils::ToolConstantsContext
Context object for retrieving ToolConstant values.
Definition: ToolWithConstants.h:61
CaloClusterCorrection
Definition: CaloClusterCorrection.h:55