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>
23
26
27 public:
28
29 ClusterAtMLScaleTool(const std::string& name);
31
32 // Check that the configuration is reasonable
33 virtual StatusCode initialize() override;
34
35 private:
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 // Implement the correction
40 virtual StatusCode process_impl(xAOD::IParticleContainer* cont) const override;
42
43
44
45};
46
47
48#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Gaudi::Property< std::string > m_clusterMLCorrectedEnergyKey
StatusCode setClustersToMLScale(xAOD::CaloClusterContainer &cont) const
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)
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.