ATLAS Offline Software
TrigAFPSidHypoMonitoringAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGMINBIASMONITORING_TRIGAFPSIDHYPOMONITORINGALG_H
5 #define TRIGMINBIASMONITORING_TRIGAFPSIDHYPOMONITORINGALG_H
6 
7 // Framework includes
10 
11 // STL includes
12 #include <string>
13 
14 // xAOD
16 
22 public:
23  TrigAFPSidHypoMonitoringAlg(const std::string& name, ISvcLocator* pSvcLocator);
24  virtual ~TrigAFPSidHypoMonitoringAlg() override;
25 
26  virtual StatusCode initialize() override;
27  virtual StatusCode fillHistograms(const EventContext& context) const override;
28  virtual StatusCode finalize() override;
29 
30 private:
31  Gaudi::Property<std::vector<std::string>> m_chains {this, "Chains", {}, "Chains to monitor"};
32 
33  SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackKey {this, "AFPTrackContainerKey", "HLT_AFPTrackContainer", "xAOD AFP track collection"};
34  SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackOffKey {this, "AFPTrackContainerOfflineKey", "AFPTrackContainer", "xAOD AFP track collection offline"};
35 
36 };
37 
38 #endif // TRIGMINBIASMONITORING_TRIGAFPSIDHYPOMONITORINGALG_H
AFPTrackContainer.h
TrigAFPSidHypoMonitoringAlg::~TrigAFPSidHypoMonitoringAlg
virtual ~TrigAFPSidHypoMonitoringAlg() override
Definition: TrigAFPSidHypoMonitoringAlg.cxx:15
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigAFPSidHypoMonitoringAlg::finalize
virtual StatusCode finalize() override
Definition: TrigAFPSidHypoMonitoringAlg.cxx:28
TrigAFPSidHypoMonitoringAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
Definition: TrigAFPSidHypoMonitoringAlg.cxx:33
TrigAFPSidHypoMonitoringAlg
Monitors performance of AF SID reco and related hypo.
Definition: TrigAFPSidHypoMonitoringAlg.h:21
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TrigAFPSidHypoMonitoringAlg::TrigAFPSidHypoMonitoringAlg
TrigAFPSidHypoMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigAFPSidHypoMonitoringAlg.cxx:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
TrigAFPSidHypoMonitoringAlg::m_AFPtrackKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackKey
Definition: TrigAFPSidHypoMonitoringAlg.h:33
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TrigAFPSidHypoMonitoringAlg::m_AFPtrackOffKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_AFPtrackOffKey
Definition: TrigAFPSidHypoMonitoringAlg.h:34
TrigAFPSidHypoMonitoringAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigAFPSidHypoMonitoringAlg.cxx:19
TrigAFPSidHypoMonitoringAlg::m_chains
Gaudi::Property< std::vector< std::string > > m_chains
Definition: TrigAFPSidHypoMonitoringAlg.h:31