ATLAS Offline Software
TrigHLTMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGHLTMONITORING_TRIGHLTMONITORALGORITHM_H
6 #define TRIGHLTMONITORING_TRIGHLTMONITORALGORITHM_H
7 
8 #include <set>
9 #include <string>
10 #include <vector>
11 
14 
20 
22  public:
23  TrigHLTMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
24  virtual ~TrigHLTMonitorAlgorithm();
25  virtual StatusCode initialize() override;
26  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
27 
28  private:
29  SG::ReadHandleKey<xAOD::TrigConfKeys> m_eventKey{this, "EventObjectName", "TrigConfKeys", "Key for the event-level configuration identifier object"};
30  SG::ReadHandleKey<xAOD::TrigConfKeys> m_onlineKey{this, "OnlineObjectName", "TrigConfKeysOnline", "Key for the online configuration identifier object"};
31 
33  StatusCode fillResultAndConsistencyHistograms( const EventContext& ctx ) const;
34 
35 };
36 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigHLTMonitorAlgorithm::m_onlineKey
SG::ReadHandleKey< xAOD::TrigConfKeys > m_onlineKey
Definition: TrigHLTMonitorAlgorithm.h:30
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
TrigHLTMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TrigHLTMonitorAlgorithm.cxx:30
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TrigHLTMonitorAlgorithm::fillResultAndConsistencyHistograms
StatusCode fillResultAndConsistencyHistograms(const EventContext &ctx) const
Definition: TrigHLTMonitorAlgorithm.cxx:212
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
TrigHLTMonitorAlgorithm
Definition: TrigHLTMonitorAlgorithm.py:1
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TrigHLTMonitorAlgorithm::TrigHLTMonitorAlgorithm
TrigHLTMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigHLTMonitorAlgorithm.cxx:11
TrigHLTMonitorAlgorithm::m_trigConfigSvc
ServiceHandle< TrigConf::ITrigConfigSvc > m_trigConfigSvc
Definition: TrigHLTMonitorAlgorithm.h:32
HLTResultMT.h
TrigHLTMonitorAlgorithm::m_eventKey
SG::ReadHandleKey< xAOD::TrigConfKeys > m_eventKey
Definition: TrigHLTMonitorAlgorithm.h:29
TrigConfKeys.h
TrigHLTMonitorAlgorithm::~TrigHLTMonitorAlgorithm
virtual ~TrigHLTMonitorAlgorithm()
Definition: TrigHLTMonitorAlgorithm.cxx:17
TrigRoiDescriptor.h
TrigRoiDescriptorCollection.h
TrigHLTMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigHLTMonitorAlgorithm.cxx:20
ServiceHandle< TrigConf::ITrigConfigSvc >