ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRecTools
JetRecTools
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
17
#include "
JetRecTools/JetConstituentModifierBase.h
"
18
#include "
xAODBase/IParticleContainer.h
"
19
#include "
xAODCaloEvent/CaloClusterContainer.h
"
20
#include "
xAODCaloEvent/CaloCluster.h
"
21
#include "
AsgTools/AsgTool.h
"
22
#include <string>
23
#include "
StoreGate/ReadDecorHandleKey.h
"
24
25
26
class
ClusterAtMLScaleTool
:
public
JetConstituentModifierBase
{
27
ASG_TOOL_CLASS
(
ClusterAtMLScaleTool
,
IJetConstituentModifier
)
28
29
public
:
30
31
ClusterAtMLScaleTool
(
const
std::string& name);
32
~ClusterAtMLScaleTool
();
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
40
SG::ReadDecorHandleKey<xAOD::CaloClusterContainer>
m_clusterMLCorrectedEnergyKey
{
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
;
49
StatusCode
setClustersToMLScale
(
xAOD::CaloClusterContainer
& cont)
const
;
50
51
52
53
};
54
55
56
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
CaloClusterContainer.h
CaloCluster.h
JetConstituentModifierBase.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ClusterAtMLScaleTool::setClustersToMLScale
StatusCode setClustersToMLScale(xAOD::CaloClusterContainer &cont) const
Definition
ClusterAtMLScaleTool.cxx:30
ClusterAtMLScaleTool::m_clusterMLCorrectedEnergyKey
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_clusterMLCorrectedEnergyKey
Definition
ClusterAtMLScaleTool.h:40
ClusterAtMLScaleTool::~ClusterAtMLScaleTool
~ClusterAtMLScaleTool()
ClusterAtMLScaleTool::ClusterAtMLScaleTool
ClusterAtMLScaleTool(const std::string &name)
Definition
ClusterAtMLScaleTool.cxx:11
ClusterAtMLScaleTool::process_impl
virtual StatusCode process_impl(xAOD::IParticleContainer *cont) const override
Definition
ClusterAtMLScaleTool.cxx:56
ClusterAtMLScaleTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
ClusterAtMLScaleTool.cxx:16
IJetConstituentModifier
Definition
IJetConstituentModifier.h:16
JetConstituentModifierBase::JetConstituentModifierBase
JetConstituentModifierBase(const std::string &name)
Definition
JetConstituentModifierBase.cxx:14
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
xAOD::IParticleContainer
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
Definition
xAOD/xAODBase/xAODBase/IParticleContainer.h:32
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0