ATLAS Offline Software
AFPTechnicalLayerMonitor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AFP_MONITORING_AFPTECHNICALLAYERMONITOR_H
6 #define AFP_MONITORING_AFPTECHNICALLAYERMONITOR_H
7 
9 
10 #include <list>
11 
12 class LWHist1D;
13 class LWHist2D;
15 
18 {
19 public:
22  AFPTechnicalLayerMonitor(const int pixelLayerID, const int stationID);
23 
26 
31  void bookHistograms(ManagedMonitorToolBase* toolToStoreHistograms, const std::string& histsDirName = "");
32 
34  void fillHistograms(const AFP_SiRawData& hit);
35 
37  void eventEnd();
38 
42  void endOfLumiBlock(ManagedMonitorToolBase* toolToStoreHistograms);
43 
44 protected:
46  std::string makeHistName (const std::string& name) const;
47 
49  std::string makeHistTitle (const std::string& title) const;
50 
52  const int m_pixelLayerID;
53 
55  const int m_stationID;
56 };
57 
58 #endif
AFPTechnicalLayerMonitor::makeHistName
std::string makeHistName(const std::string &name) const
Creates a name suffixed with station and layer numbers.
Definition: AFPTechnicalLayerMonitor.cxx:52
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:74
LWHist1D
Definition: LWHist1D.h:23
AFPTechnicalLayerMonitor::bookHistograms
void bookHistograms(ManagedMonitorToolBase *toolToStoreHistograms, const std::string &histsDirName="")
Books histograms used for monitoring.
Definition: AFPTechnicalLayerMonitor.cxx:26
AFP_SiRawData.h
AFPTechnicalLayerMonitor::fillHistograms
void fillHistograms(const AFP_SiRawData &hit)
Fills distributions with information provided by the hit.
Definition: AFPTechnicalLayerMonitor.cxx:35
AFPTechnicalLayerMonitor::m_pixelLayerID
const int m_pixelLayerID
ID number of the monitored pixel layer.
Definition: AFPTechnicalLayerMonitor.h:52
AFPTechnicalLayerMonitor::m_stationID
const int m_stationID
ID number of the station in which the monitored layer is installed.
Definition: AFPTechnicalLayerMonitor.h:55
AFPTechnicalLayerMonitor
Class used for monitoring technical parameters of one silicon layer.
Definition: AFPTechnicalLayerMonitor.h:18
covarianceTool.title
title
Definition: covarianceTool.py:542
Muon::nsw::STGTPSegments::moduleIDBits::stationID
constexpr uint8_t stationID
Large or Small wedge.
Definition: NSWSTGTPDecodeBitmaps.h:123
LWHist2D
Definition: LWHist2D.h:25
AFPTechnicalLayerMonitor::eventEnd
void eventEnd()
Method that should be called when event processing is finished.
Definition: AFPTechnicalLayerMonitor.cxx:41
AFP_SiRawData
Class representing data record for silicon detectors.
Definition: AFP_SiRawData.h:17
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AFPTechnicalLayerMonitor::endOfLumiBlock
void endOfLumiBlock(ManagedMonitorToolBase *toolToStoreHistograms)
Process histograms at the end of lumiblock (may not be used)
Definition: AFPTechnicalLayerMonitor.cxx:46
AFPTechnicalLayerMonitor::AFPTechnicalLayerMonitor
AFPTechnicalLayerMonitor(const int pixelLayerID, const int stationID)
Definition: AFPTechnicalLayerMonitor.cxx:13
AFPTechnicalLayerMonitor::~AFPTechnicalLayerMonitor
~AFPTechnicalLayerMonitor()
Does nothing.
Definition: AFPTechnicalLayerMonitor.cxx:21
AFPTechnicalLayerMonitor::makeHistTitle
std::string makeHistTitle(const std::string &title) const
Creates a title suffixed with station and layer numbers.
Definition: AFPTechnicalLayerMonitor.cxx:61