ATLAS Offline Software
Loading...
Searching...
No Matches
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
9NAME: CaloClusterBadChannelList.h
10
11AUTHORS: G.Unal
12CREATED: May, 2008
13
14PURPOSE: Fill bad channel information from the cells in a cluster
15
16Base 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(const std::string &type, const std::string &name, const IInterface *parent)
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
virtual StatusCode initialize() override
Initialize method.
ToolHandle< ICaloBadChanTool > m_badChannelTool
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.