ATLAS Offline Software
Loading...
Searching...
No Matches
HLTMinBiasEffMonitoringAlg.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_HLTMINBIASEFFMONITORINGALG_H
5#define TRIGMINBIASMONITORING_HLTMINBIASEFFMONITORINGALG_H
6
9
13#include "GaudiKernel/ToolHandle.h"
17
18#include <string>
19
25{
26public:
27 HLTMinBiasEffMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator);
28 virtual ~HLTMinBiasEffMonitoringAlg() override;
29
30 virtual StatusCode initialize() override;
31 virtual StatusCode fillHistograms(const EventContext &context) const override;
32 virtual StatusCode finalize() override;
33
34private:
35 Gaudi::Property<std::vector<std::string>> m_triggerList{this, "triggerList", {}, "Add triggers to this to be monitored"};
36 Gaudi::Property<std::vector<std::string>> m_refTriggerList{this, "refTriggerList", {}, "Add ref triggers to this to be monitored"};
37 std::vector<std::string> m_uniqueTriggerList;
38
39 SG::ReadHandleKey<xAOD::TrigCompositeContainer> m_trkCountsKey{this, "TrkCountsKey", "HLT_TrackCount", "Name of Online track counts info object produced by the HLT track counting FEX algorithm"};
40 SG::ReadHandleKey<xAOD::TrigT2MbtsBitsContainer> m_TrigT2MbtsBitsContainerKey{this, "MBTSbitsKey", "HLT_MbtsBitsContainer", "Name of MbtsBitsContainer"};
41 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_offlineTrkKey{this, "OfflineTrkKey", "InDetTrackParticles", "Name of Offline track counts info object produced by the HLT track counting FEX algorithm"};
42 SG::ReadHandleKey<xAOD::VertexContainer> m_vertexKey { this, "Vertex", "PrimaryVertices", "Offline vertices key"};
43
44 ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelectionTool{this, "TrackSelectionTool", "InDetTrackSelectionTool", "Tool for selecting tracks"};
45 Gaudi::Property<float> m_minPt{ this, "minPt", 100.0, "Consider offline tracks only if above this threshold (in MeV)"};
46 Gaudi::Property<float> m_z0{ this, "z0", 3.0, "Longitudinal DCA"};
47 Gaudi::Property<float> m_d0{ this, "d0", 3.0, "Transverse DCA"};
48
49
50};
51
52#endif // TRIGMINBIASMONITORING_HLTHLTMINBIASEFFMONITORINGALG_H
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< xAOD::TrigCompositeContainer > m_trkCountsKey
HLTMinBiasEffMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
initialize
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectionTool
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_offlineTrkKey
std::vector< std::string > m_uniqueTriggerList
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexKey
SG::ReadHandleKey< xAOD::TrigT2MbtsBitsContainer > m_TrigT2MbtsBitsContainerKey
virtual StatusCode finalize() override
Gaudi::Property< std::vector< std::string > > m_triggerList
virtual StatusCode fillHistograms(const EventContext &context) const override
adds event to the monitoring histograms
Gaudi::Property< std::vector< std::string > > m_refTriggerList
Property holding a SG store/key/clid from which a ReadHandle is made.