7#ifndef CALOUTILS_CALOCLUSTERLOCALCALIB_H
8#define CALOUTILS_CALOCLUSTERLOCALCALIB_H
17#include "GaudiKernel/ToolHandle.h"
41 virtual StatusCode
execute(
const EventContext& ctx,
46 const std::string& name,
47 const IInterface* parent);
57 ToolHandleArray<IClusterCellWeightTool>
m_calibTools{
this,
"LocalCalibTools", {}};
62 Gaudi::Property<std::vector<int>>
m_recoStatus{
this,
"ClusterRecoStatus", {}};
65 Gaudi::Property<bool>
m_absOpt{
this,
"WeightingOfNegClusters",
false};
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.