ATLAS Offline Software
CaloClusterLocalCalib.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef CALOUTILS_CALOCLUSTERLOCALCALIB_H
8 #define CALOUTILS_CALOCLUSTERLOCALCALIB_H
9 
10 
16 
17 #include "GaudiKernel/ToolHandle.h"
18 
33 
34  public:
35  // /// Standard destructor
36  // virtual ~CaloClusterLocalCalib();
37 
39  virtual StatusCode initialize() override;
40 
41 
44  virtual StatusCode execute(const EventContext& ctx,
45  xAOD::CaloCluster* theCluster) const override;
46 
47 
49  CaloClusterLocalCalib(const std::string& type,
50  const std::string& name,
51  const IInterface* parent);
52 
53  private:
54 
56  ToolHandleArray<IClusterClassificationTool> m_classificationTool;
57  //Remark: This handle should be 0 or 1 entries. Our configurable framework can't handle
58  //a not-assigned ToolHandle, therefore this is an array.
59 
60 
61  // IClusterClassificationTool * m_classificationToolPointer ;
62 
64  ToolHandleArray<IClusterCellWeightTool> m_calibTools;
65  // std::vector < IClusterCellWeightTool *> m_calibToolPointers ;
66 
69  std::vector<int> m_recoStatus;
70 
72  bool m_absOpt;
73 
74 
75 };
76 
77 
78 #endif
CaloClusterProcessor.h
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
CaloClusterLocalCalib::m_classificationTool
ToolHandleArray< IClusterClassificationTool > m_classificationTool
property: Classification tools
Definition: CaloClusterLocalCalib.h:56
CaloClusterLocalCalib::initialize
virtual StatusCode initialize() override
Tool initialization: load calibration tools specified by jobOptions.
Definition: CaloClusterLocalCalib.cxx:35
CaloClusterLocalCalib::m_absOpt
bool m_absOpt
if set to true, negative clusters are weighted as well
Definition: CaloClusterLocalCalib.h:72
CaloClusterLocalCalib::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
Definition: CaloClusterLocalCalib.cxx:59
CaloClusterProcessor
Definition: CaloClusterProcessor.h:33
CaloClusterLocalCalib
Cluster correction tool which applies local hadronic calibration w eights to the cells....
Definition: CaloClusterLocalCalib.h:32
CaloClusterLocalCalib::m_calibTools
ToolHandleArray< IClusterCellWeightTool > m_calibTools
property: Array of IClusterCellWeightTool
Definition: CaloClusterLocalCalib.h:64
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloCluster.h
CaloClusterLocalCalib::m_recoStatus
std::vector< int > m_recoStatus
property: vector of valid Reco Statuses for the clusters in order to be calibrated
Definition: CaloClusterLocalCalib.h:69
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloClusterLocalCalib::CaloClusterLocalCalib
CaloClusterLocalCalib(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Definition: CaloClusterLocalCalib.cxx:18
CaloRecoStatus.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CaloClusterProcessor::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
IClusterClassificationTool.h
IClusterCellWeightTool.h