ATLAS Offline Software
TRTMonitoringAlg.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGMINBIASMONITORING_TRTMonitoringAlg_H
5 #define TRIGMINBIASMONITORING_TRTMonitoringAlg_H
6 
7 // Framework includes
9 #include "GaudiKernel/ToolHandle.h"
11 
12 // STL includes
13 #include <string>
14 
20 public:
21  TRTMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator);
22 
23  virtual StatusCode initialize() override;
24  virtual StatusCode fillHistograms(const EventContext &context) const override;
25 
26 private:
27  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_offlineTrkKey { this, "OfflineTrkKey", "InDetTrackParticles", "Name of Offline track counts info object produced by the HLT track counting FEX algorithm" };
28  ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelectionTool {this, "TrackSelectionTool", "InDetTrackSelectionTool", "Tool for selecting tracks"};
29 
30  Gaudi::Property<std::vector<std::string>> m_triggerList {this, "triggerList", {}, "List of triggers to be monitored"};
31  Gaudi::Property<std::vector<std::string>> m_refTriggerList {this, "refTriggerList", {}, "List of reference triggers used to calculate efficiency"};
32 };
33 
34 #endif // TRIGMINBIASMONITORING_TRTMonitoringAlg_H
TRTMonitoringAlg::m_triggerList
Gaudi::Property< std::vector< std::string > > m_triggerList
Definition: TRTMonitoringAlg.h:30
TRTMonitoringAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: TRTMonitoringAlg.cxx:12
TRTMonitoringAlg::m_trackSelectionTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectionTool
Definition: TRTMonitoringAlg.h:28
TRTMonitoringAlg::m_offlineTrkKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_offlineTrkKey
Definition: TRTMonitoringAlg.h:27
TRTMonitoringAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
Definition: TRTMonitoringAlg.cxx:20
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
IInDetTrackSelectionTool.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TRTMonitoringAlg::TRTMonitoringAlg
TRTMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRTMonitoringAlg.cxx:9
TRTMonitoringAlg::m_refTriggerList
Gaudi::Property< std::vector< std::string > > m_refTriggerList
Definition: TRTMonitoringAlg.h:31
TRTMonitoringAlg
Monitoring algorithms for TRT trigger chains.
Definition: TRTMonitoringAlg.h:19