ATLAS Offline Software
Loading...
Searching...
No Matches
PFNeutralFlowElementCreatorAlgorithm.h
Go to the documentation of this file.
1#ifndef PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
2#define PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
3
4#include "eflowCaloObject.h"
5
7#include "GaudiKernel/ToolHandle.h"
8
12#include "xAODPFlow/PFODefs.h"
13
15
16public:
17
18 using AthReentrantAlgorithm::AthReentrantAlgorithm;
19
20 StatusCode initialize();
21 StatusCode execute(const EventContext& ctx) const;
22
23private:
25 StatusCode createNeutralFlowElement(
26 const eflowCaloObject& energyFlowCaloObject,
27 xAOD::FlowElementContainer* neutralFEContainer) const;
28
29
30
32 Gaudi::Property<bool> m_useCalibHitTruth{
33 this,
34 "UseCalibHitTruth",
35 false,
36 "Toggle usage of calibration hit truth - false by default"
37 };
38
40 Gaudi::Property<bool> m_addCPData{this,"addCPData",false,"Toggle whether to decorate FlowElements with addutional data for Combined Performance studies "};
41
45 this,
46 "eflowCaloObjectContainerName",
47 "eflowCaloObjects",
48 "ReadHandleKey for eflowCaloObjectContainer"
49 };
50
54 this,
55 "FlowElementOutputName",
56 "JetETMissNeutralParticleFlowObjects",
57 "WriteHandleKey for neutral FlowElements"
58 };
59};
60#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".