ATLAS Offline Software
PFOMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PFOMONITORALGORITHM_H
6 #define PFOMONITORALGORITHM_H
7 
10 
13 #include "xAODPFlow/PFO.h"
15 
16 
18 public:
19  PFOMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
21  virtual StatusCode initialize() override;
22  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
23 private:
24  SG::ReadHandleKey<xAOD::FlowElementContainer> m_ChargedPFOContainerKey {this, "JetETMissChargedParticleFlowObjects", "JetETMissChargedParticleFlowObjects"};
25  SG::ReadHandleKey<xAOD::FlowElementContainer> m_NeutralPFOContainerKey {this, "JetETMissNeutralParticleFlowObjects", "JetETMissNeutralParticleFlowObjects"};
26  //release 21 and earlier
27  //SG::ReadHandleKey<xAOD::PFOContainer> m_oldChargedPFOContainerKey {this, "JetETMissChargedParticleFlowObjects", "JetETMissChargedParticleFlowObjects"};
28  //SG::ReadHandleKey<xAOD::PFOContainer> m_oldNeutralPFOContainerKey {this, "JetETMissNeutralParticleFlowObjects", "JetETMissNeutralParticleFlowObjects"};
29 };
30 #endif
PFOMonitorAlgorithm::m_NeutralPFOContainerKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_NeutralPFOContainerKey
Definition: PFOMonitorAlgorithm.h:25
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
FlowElementContainer.h
PFOMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: PFOMonitorAlgorithm.cxx:18
PFOMonitorAlgorithm::PFOMonitorAlgorithm
PFOMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PFOMonitorAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
PFO.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
PFOMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: PFOMonitorAlgorithm.cxx:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PFOMonitorAlgorithm::~PFOMonitorAlgorithm
virtual ~PFOMonitorAlgorithm()
PFOMonitorAlgorithm::m_ChargedPFOContainerKey
SG::ReadHandleKey< xAOD::FlowElementContainer > m_ChargedPFOContainerKey
Definition: PFOMonitorAlgorithm.h:24
PFOMonitorAlgorithm
Definition: PFOMonitorAlgorithm.py:1