ATLAS Offline Software
Loading...
Searching...
No Matches
PFNeutralFlowElementCreatorAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EFLOWREC_PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
6#define EFLOWREC_PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
7
8#include "eflowCaloObject.h"
9
11#include "GaudiKernel/ToolHandle.h"
12
16#include "xAODPFlow/PFODefs.h"
17
19
20public:
21
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
23
24 StatusCode initialize();
25 StatusCode execute(const EventContext& ctx) const;
26
27private:
29 StatusCode createNeutralFlowElement(
30 const eflowCaloObject& energyFlowCaloObject,
31 xAOD::FlowElementContainer* neutralFEContainer) const;
32
33
34
36 Gaudi::Property<bool> m_useCalibHitTruth{
37 this,
38 "UseCalibHitTruth",
39 false,
40 "Toggle usage of calibration hit truth - false by default"
41 };
42
44 Gaudi::Property<bool> m_addCPData{this,"addCPData",false,"Toggle whether to decorate FlowElements with addutional data for Combined Performance studies "};
45
49 this,
50 "eflowCaloObjectContainerName",
51 "eflowCaloObjects",
52 "ReadHandleKey for eflowCaloObjectContainer"
53 };
54
58 this,
59 "FlowElementOutputName",
60 "JetETMissNeutralParticleFlowObjects",
61 "WriteHandleKey for neutral FlowElements"
62 };
63};
64#endif
An algorithm that can be simultaneously executed in multiple threads.
StatusCode createNeutralFlowElement(const eflowCaloObject &energyFlowCaloObject, xAOD::FlowElementContainer *neutralFEContainer) const
Create the chargedneutral FE.
Gaudi::Property< bool > m_addCPData
Toggle whether to decorate FlowElements with addutional data for Combined Performance studies.
SG::WriteHandleKey< xAOD::FlowElementContainer > m_neutralFEContainerWriteHandleKey
WriteHandleKey for neutral FE.
SG::ReadHandleKey< eflowCaloObjectContainer > m_eflowCaloObjectContainerReadHandleKey
ReadHandleKey for eflowCaloObjectContainer.
StatusCode execute(const EventContext &ctx) const
Gaudi::Property< bool > m_useCalibHitTruth
Toggle usage of calibration hit truth - false by default.
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.
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...
FlowElementContainer_v1 FlowElementContainer
Definition of the current "pfo container version".