ATLAS Offline Software
Loading...
Searching...
No Matches
ClusterAtMLScaleTool.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 JETRECTOOLS_CLUSTERATMLSCALETOOL_H
6#define JETRECTOOLS_CLUSTERATMLSCALETOOL_H
7
15
16
21#include "AsgTools/AsgTool.h"
22#include <string>
24
25
28
29 public:
30
31 ClusterAtMLScaleTool(const std::string& name);
33
34 // Check that the configuration is reasonable
35 virtual StatusCode initialize() override;
36
37 private:
38 // Property to configure the ML energy decoration key
39
41 this,
42 "ClusterMLCorrectedEnergyDecorationKey",
43 "CaloCalTopoClusters.clusterE_ML",
44 "Decoration storing ML-corrected cluster energy"
45 };
46
47 // Implement the correction
48 virtual StatusCode process_impl(xAOD::IParticleContainer* cont) const override;
50
51
52
53};
54
55
56#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
StatusCode setClustersToMLScale(xAOD::CaloClusterContainer &cont) const
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_clusterMLCorrectedEnergyKey
ClusterAtMLScaleTool(const std::string &name)
virtual StatusCode process_impl(xAOD::IParticleContainer *cont) const override
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
JetConstituentModifierBase(const std::string &name)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.