ATLAS Offline Software
Loading...
Searching...
No Matches
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
30
31
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
73
74
75};
76
77
78#endif
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
bool m_absOpt
if set to true, negative clusters are weighted as well
ToolHandleArray< IClusterCellWeightTool > m_calibTools
property: Array of IClusterCellWeightTool
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
std::vector< int > m_recoStatus
property: vector of valid Reco Statuses for the clusters in order to be calibrated
CaloClusterLocalCalib(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
ToolHandleArray< IClusterClassificationTool > m_classificationTool
property: Classification tools
virtual StatusCode initialize() override
Tool initialization: load calibration tools specified by jobOptions.
CaloClusterProcessor(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const =0
Execute on a single cluster.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.