ATLAS Offline Software
Loading...
Searching...
No Matches
PFOClusterMLCorrectionAlgorithm.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 PFOClusterMLCorrectionAlgorithm_H
6#define PFOClusterMLCorrectionAlgorithm_H
7
16
18
22#include "GaudiKernel/ToolHandle.h"
24
26{
27
28public:
29 using AthReentrantAlgorithm::AthReentrantAlgorithm;
30
31 StatusCode initialize();
32 StatusCode execute(const EventContext &ctx) const;
33
34protected:
35 StatusCode shallowCopyChargedFEContainer(const EventContext &ctx) const;
36 StatusCode shallowCopyAndModifyNeutralFEContainer(const EventContext &ctx) const;
37
38 ToolHandle<IPFOContainerCorrectionTool> m_correctionTool{this, "PFOContainerCorrectionTool", "NeutralPFOClusterMLCorrectionTool"};
39
41 SG::ReadHandleKey<xAOD::FlowElementContainer> m_neutralFEContainerReadHandleKey{this, "NeutralPFlowInputContainer", "JetETMissNeutralParticleFlowObjects", "ReadHandleKey for neutral FlowElementContainer"};
42 SG::ReadHandleKey<xAOD::FlowElementContainer> m_chargedFEContainerReadHandleKey{this, "ChargedPFlowInputContainer", "JetETMissChargedParticleFlowObjects", "ReadHandleKey for neutral FlowElementContainer"};
44 SG::WriteHandleKey<xAOD::FlowElementContainer> m_neutralFEMLContainerWriteHandleKey{this, "NeutralPFlowOutputContainer", "JetETMissClusterMLCorrectedNeutralParticleFlowObjects", "WriteHandleKey for ML neutral FlowElementContainer"};
45 SG::WriteHandleKey<xAOD::FlowElementContainer> m_chargedFEMLContainerWriteHandleKey{this, "ChargedPFlowOutputContainer", "JetETMissClusterMLCorrectedChargedParticleFlowObjects", "WriteHandleKey for shallow copy of charged FlowElementContainer"};
46
47};
48#endif
defines an "iterator" over instances of a given type in StoreGateSvc
An algorithm that can be simultaneously executed in multiple threads.
Applies ML corrections to PFO The correction is implemented in the correction tool derived from the I...
StatusCode shallowCopyChargedFEContainer(const EventContext &ctx) const
SG::ReadHandleKey< xAOD::FlowElementContainer > m_neutralFEContainerReadHandleKey
ReadHandleKey for eflowCaloObjectContainer.
SG::WriteHandleKey< xAOD::FlowElementContainer > m_neutralFEMLContainerWriteHandleKey
WriteHandleKey for neutral FE.
StatusCode shallowCopyAndModifyNeutralFEContainer(const EventContext &ctx) const
ToolHandle< IPFOContainerCorrectionTool > m_correctionTool
SG::ReadHandleKey< xAOD::FlowElementContainer > m_chargedFEContainerReadHandleKey
SG::WriteHandleKey< xAOD::FlowElementContainer > m_chargedFEMLContainerWriteHandleKey
StatusCode execute(const EventContext &ctx) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.