ATLAS Offline Software
Loading...
Searching...
No Matches
CaloClusterLocalCalib.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//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
37 virtual StatusCode initialize() override;
38
41 virtual StatusCode execute(const EventContext& ctx,
42 xAOD::CaloCluster* theCluster) const override;
43
45 CaloClusterLocalCalib(const std::string& type,
46 const std::string& name,
47 const IInterface* parent);
48
49 private:
50
52 ToolHandleArray<IClusterClassificationTool> m_classificationTool{this, "ClusterClassificationTool", {}};
53 //Remark: This handle should be 0 or 1 entries. Our configurable framework can't handle
54 //a not-assigned ToolHandle, therefore this is an array.
55
57 ToolHandleArray<IClusterCellWeightTool> m_calibTools{this, "LocalCalibTools", {}};
58 // std::vector < IClusterCellWeightTool *> m_calibToolPointers ;
59
62 Gaudi::Property<std::vector<int>> m_recoStatus{this, "ClusterRecoStatus", {}};
63
65 Gaudi::Property<bool> m_absOpt{this, "WeightingOfNegClusters", false};
66};
67
68
69#endif
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
ToolHandleArray< IClusterCellWeightTool > m_calibTools
property: Array of IClusterCellWeightTool
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *theCluster) const override
Execute on a single cluster.
CaloClusterLocalCalib(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool constructor.
Gaudi::Property< std::vector< int > > m_recoStatus
property: vector of valid Reco Statuses for the clusters in order to be calibrated
ToolHandleArray< IClusterClassificationTool > m_classificationTool
property: Classification tools
virtual StatusCode initialize() override
Tool initialization: load calibration tools specified by jobOptions.
Gaudi::Property< bool > m_absOpt
if set to true, negative clusters are weighted as well
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.