ATLAS Offline Software
DQTLumiMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef DQTLUMIMONALG_H
12 #define DQTLUMIMONALG_H
13 
15 
19 
21 public:
22  DQTLumiMonAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~DQTLumiMonAlg();
24  virtual StatusCode initialize() override;
25  virtual StatusCode fillHistograms(const EventContext& ctx) const override;
26 private:
27  template <class T> using RH = SG::ReadHandle<T>;
28  template <class T> using RHK = SG::ReadHandleKey<T>;
29  template <class T> using GP = Gaudi::Property<T>;
30 
31  RHK<xAOD::VertexContainer> m_VertexContainerKey {this, "VertexContainerKey", "PrimaryVertices", ""};
32  RHK<InDet::PixelClusterContainer> m_PixelClustersKey {this, "PixelClustersKey", "PixelClusters", ""};
33  RHK<PixelID> m_PixelIDKey {this, "PixelIDKey", "DetectorStore+PixelID", ""};
34 
35  GP<float> m_tightTrackWeight {this, "TightTrackWeight", 0.01};
36  GP<int> m_tightNTracks {this, "TightNTracks", 4};
37 };
38 #endif
PixelID.h
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
DQTLumiMonAlg
Definition: DQTLumiMonAlg.py:1
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
DQTLumiMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: DQTLumiMonAlg.cxx:22
DQTLumiMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: DQTLumiMonAlg.cxx:13
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DQTLumiMonAlg::m_VertexContainerKey
RHK< xAOD::VertexContainer > m_VertexContainerKey
Definition: DQTLumiMonAlg.h:31
DQTLumiMonAlg::~DQTLumiMonAlg
virtual ~DQTLumiMonAlg()
Definition: DQTLumiMonAlg.cxx:11
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
DQTLumiMonAlg::m_tightNTracks
GP< int > m_tightNTracks
Definition: DQTLumiMonAlg.h:36
DQTLumiMonAlg::m_PixelIDKey
RHK< PixelID > m_PixelIDKey
Definition: DQTLumiMonAlg.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
DQTLumiMonAlg::m_PixelClustersKey
RHK< InDet::PixelClusterContainer > m_PixelClustersKey
Definition: DQTLumiMonAlg.h:32
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
PixelClusterContainer.h
DQTLumiMonAlg::GP
Gaudi::Property< T > GP
Definition: DQTLumiMonAlg.h:29
VertexContainer.h
DQTLumiMonAlg::DQTLumiMonAlg
DQTLumiMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: DQTLumiMonAlg.cxx:7
DQTLumiMonAlg::m_tightTrackWeight
GP< float > m_tightTrackWeight
Definition: DQTLumiMonAlg.h:35