ATLAS Offline Software
Loading...
Searching...
No Matches
NeutralPFOClusterMLCorrectionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef NeutralPFOClusterMLCorrectionTool_H
6#define NeutralPFOClusterMLCorrectionTool_H
7
16
18
22#include "AthLinks/ElementLink.h"
25
26class NeutralPFOClusterMLCorrectionTool final : public extends<AthAlgTool, IPFOContainerCorrectionTool>
27{
28public:
29 NeutralPFOClusterMLCorrectionTool(const std::string &type, const std::string &name, const IInterface *parent);
31
32 virtual StatusCode initialize() override;
33 virtual void correctContainer(xAOD::FlowElementContainer& pfos) const override;
34
35private:
36 // Property to configure the ML energy decoration key
37 Gaudi::Property<std::string> m_clusterMLCorrectedEnergyKey{this, "ClusterMLCorrectedEnergyDecorationKey", "clusterE_ML",
38 "Name of the decoration storing the ML-corrected cluster energy"};
39
42};
43#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual ~NeutralPFOClusterMLCorrectionTool()=default
const xAOD::CaloCluster * getLinkedCluster(const xAOD::FlowElement &pfo) const
Gaudi::Property< std::string > m_clusterMLCorrectedEnergyKey
NeutralPFOClusterMLCorrectionTool(const std::string &type, const std::string &name, const IInterface *parent)
void scaleEnergyToAlternativeSignalState(xAOD::FlowElement &pfo, const xAOD::CaloCluster &cls) const
virtual void correctContainer(xAOD::FlowElementContainer &pfos) const override
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
FlowElement_v1 FlowElement
Definition of the current "pfo version".
Definition FlowElement.h:16