ATLAS Offline Software
PFChargedFlowElementCreatorAlgorithm.h
Go to the documentation of this file.
1 #ifndef PFCHARGEDFLOWELEMENTCREATORALGORITHM_H
2 #define PFCHARGEDFLOWELEMENTCREATORALGORITHM_H
3 
5 
7 #include "GaudiKernel/ToolHandle.h"
8 #include "StoreGate/DataHandle.h"
9 
11 
12 
14 
15  public:
16 
18 
20  StatusCode execute(const EventContext&) const;
21 
22  private:
23 
25  void createChargedFlowElements(const eflowCaloObject& energyFlowCaloObject, bool addClusters, SG::WriteHandle<xAOD::FlowElementContainer>& chargedFlowElementContainerWriteHandle) const;
26 
28  Gaudi::Property<bool> m_eOverPMode{this,"EOverPMode",false,"Toggle EOverP algorithm mode, whereby no charged shower subtraction is performed"};
29 
31  Gaudi::Property<bool> m_addCPData{this,"addCPData",false,"Toggle whether to decorate FlowElements with addutional data for Combined Performance studies "};
32 
34  SG::ReadHandleKey<eflowCaloObjectContainer> m_eflowCaloObjectContainerReadHandleKey{this,"eflowCaloObjectContainerName","eflowCaloObjects","ReadHandleKey for eflowCaloObjectContainer"};
35 
37  SG::WriteHandleKey<xAOD::FlowElementContainer> m_chargedFlowElementContainerWriteHandleKey{this,"FlowElementOutputName","JetETMissChargedParticleFlowObjects","WriteHandleKey for charged FlowElements"};
38 
39 };
40 
41 #endif
FlowElementContainer.h
eflowCaloObject
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...
Definition: eflowCaloObject.h:33
PFChargedFlowElementCreatorAlgorithm::m_chargedFlowElementContainerWriteHandleKey
SG::WriteHandleKey< xAOD::FlowElementContainer > m_chargedFlowElementContainerWriteHandleKey
WriteHandleKey for charged PFO.
Definition: PFChargedFlowElementCreatorAlgorithm.h:37
SG::ReadHandleKey< eflowCaloObjectContainer >
DataHandle.h
PFChargedFlowElementCreatorAlgorithm::initialize
StatusCode initialize()
Definition: PFChargedFlowElementCreatorAlgorithm.cxx:14
PFChargedFlowElementCreatorAlgorithm::m_eflowCaloObjectContainerReadHandleKey
SG::ReadHandleKey< eflowCaloObjectContainer > m_eflowCaloObjectContainerReadHandleKey
ReadHandleKey for eflowCaloObjectContainer.
Definition: PFChargedFlowElementCreatorAlgorithm.h:34
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
PFChargedFlowElementCreatorAlgorithm::m_addCPData
Gaudi::Property< bool > m_addCPData
Toggle whether to decorate FlowElements with addutional data for Combined Performance studies.
Definition: PFChargedFlowElementCreatorAlgorithm.h:31
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
PFChargedFlowElementCreatorAlgorithm::createChargedFlowElements
void createChargedFlowElements(const eflowCaloObject &energyFlowCaloObject, bool addClusters, SG::WriteHandle< xAOD::FlowElementContainer > &chargedFlowElementContainerWriteHandle) const
Create the charged PFO.
Definition: PFChargedFlowElementCreatorAlgorithm.cxx:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PFChargedFlowElementCreatorAlgorithm::execute
StatusCode execute(const EventContext &) const
Definition: PFChargedFlowElementCreatorAlgorithm.cxx:23
AthReentrantAlgorithm.h
eflowCaloObject.h
PFChargedFlowElementCreatorAlgorithm::m_eOverPMode
Gaudi::Property< bool > m_eOverPMode
Toggle EOverP algorithm mode, whereby no charged shower subtraction is performed.
Definition: PFChargedFlowElementCreatorAlgorithm.h:28
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
PFChargedFlowElementCreatorAlgorithm
Definition: PFChargedFlowElementCreatorAlgorithm.h:13