ATLAS Offline Software
PFNeutralFlowElementCreatorAlgorithm.h
Go to the documentation of this file.
1 #ifndef PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
2 #define PFNEUTRALFLOWELEMENTCREATORALGORITHM_H
3 
5 
7 #include "GaudiKernel/ToolHandle.h"
8 #include "StoreGate/DataHandle.h"
9 
11 #include "xAODPFlow/FlowElement.h"
13 #include "xAODPFlow/PFODefs.h"
14 
16 
17 public:
18 
20 
22  StatusCode execute(const EventContext& ctx) const;
23 
24 private:
27  const eflowCaloObject& energyFlowCaloObject,
28  xAOD::FlowElementContainer* neutralFEContainer) const;
29 
30 
31 
33  Gaudi::Property<bool> m_useCalibHitTruth{
34  this,
35  "UseCalibHitTruth",
36  false,
37  "Toggle usage of calibration hit truth - false by default"
38  };
39 
41  Gaudi::Property<bool> m_addCPData{this,"addCPData",false,"Toggle whether to decorate FlowElements with addutional data for Combined Performance studies "};
42 
46  this,
47  "eflowCaloObjectContainerName",
48  "eflowCaloObjects",
49  "ReadHandleKey for eflowCaloObjectContainer"
50  };
51 
55  this,
56  "FlowElementOutputName",
57  "JetETMissNeutralParticleFlowObjects",
58  "WriteHandleKey for neutral FlowElements"
59  };
60 };
61 #endif
FlowElementContainer.h
PFNeutralFlowElementCreatorAlgorithm::m_eflowCaloObjectContainerReadHandleKey
SG::ReadHandleKey< eflowCaloObjectContainer > m_eflowCaloObjectContainerReadHandleKey
ReadHandleKey for eflowCaloObjectContainer.
Definition: PFNeutralFlowElementCreatorAlgorithm.h:45
eflowCaloObject
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...
Definition: eflowCaloObject.h:33
SG::ReadHandleKey< eflowCaloObjectContainer >
DataHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
FlowElement.h
CaloCluster.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PFNeutralFlowElementCreatorAlgorithm::m_addCPData
Gaudi::Property< bool > m_addCPData
Toggle whether to decorate FlowElements with addutional data for Combined Performance studies.
Definition: PFNeutralFlowElementCreatorAlgorithm.h:41
PFNeutralFlowElementCreatorAlgorithm
Definition: PFNeutralFlowElementCreatorAlgorithm.h:15
PFNeutralFlowElementCreatorAlgorithm::createNeutralFlowElement
StatusCode createNeutralFlowElement(const eflowCaloObject &energyFlowCaloObject, xAOD::FlowElementContainer *neutralFEContainer) const
Create the chargedneutral FE.
Definition: PFNeutralFlowElementCreatorAlgorithm.cxx:53
PFNeutralFlowElementCreatorAlgorithm::initialize
StatusCode initialize()
Definition: PFNeutralFlowElementCreatorAlgorithm.cxx:8
PFNeutralFlowElementCreatorAlgorithm::m_useCalibHitTruth
Gaudi::Property< bool > m_useCalibHitTruth
Toggle usage of calibration hit truth - false by default.
Definition: PFNeutralFlowElementCreatorAlgorithm.h:33
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
PFNeutralFlowElementCreatorAlgorithm::m_neutralFEContainerWriteHandleKey
SG::WriteHandleKey< xAOD::FlowElementContainer > m_neutralFEContainerWriteHandleKey
WriteHandleKey for neutral FE.
Definition: PFNeutralFlowElementCreatorAlgorithm.h:54
AthReentrantAlgorithm.h
eflowCaloObject.h
PFNeutralFlowElementCreatorAlgorithm::execute
StatusCode execute(const EventContext &ctx) const
Definition: PFNeutralFlowElementCreatorAlgorithm.cxx:16
PFODefs.h