ATLAS Offline Software
AFPTechnicalStationMonitor.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_AFPTECHNICALSTATIONMONITOR_H
6 #define AFP_MONITORING_AFPTECHNICALSTATIONMONITOR_H
7 
8 #include <vector>
9 #include <string>
10 
11 
12 // forward declarations for lightweight histograms
13 class LWHist1D;
14 class LWHist2D;
15 
18 class AFP_SiRawData;
19 
22 {
23 public:
26 
29 
31  void bookHistograms(AFPTechnicalMonitorTool* toolToStoreHistograms);
32 
34  void fillHistograms(const AFP_SiRawData& hit);
35 
37  void eventEnd();
38 
42  void endOfLumiBlock(AFPTechnicalMonitorTool* toolToStoreHistograms);
43 
44 protected:
50 
54  std::string makeName (const std::string& name) const;
55 
59  std::string makeTitle (const std::string& title) const;
60 
62  static const int s_firstLayerIndex;
64  static const int s_secondLayerIndex;
66  static const int s_thirdLayerIndex;
67 
69  const int m_stationID;
70 
72  std::vector<AFPTechnicalLayerMonitor*> m_layersMonitors;
73 
80 };
81 
82 #endif
AFPTechnicalStationMonitor::s_secondLayerIndex
static const int s_secondLayerIndex
ID number of the second layer.
Definition: AFPTechnicalStationMonitor.h:64
AFPTechnicalStationMonitor::m_firstLayer
AFPTechnicalLayerMonitor * m_firstLayer
Tool monitoring the first layer in the station.
Definition: AFPTechnicalStationMonitor.h:75
AFPTechnicalStationMonitor
A class monitoring technical parameters of one station.
Definition: AFPTechnicalStationMonitor.h:22
AFPTechnicalStationMonitor::m_layersMonitors
std::vector< AFPTechnicalLayerMonitor * > m_layersMonitors
Vector of tools monitoring layers in the station.
Definition: AFPTechnicalStationMonitor.h:72
AFPTechnicalStationMonitor::eventEnd
void eventEnd()
Method to call eventEnd in layers. Executes AFPTechnicalLayerMonitor::eventEnd() for each element in ...
Definition: AFPTechnicalStationMonitor.cxx:78
AFPTechnicalStationMonitor::s_firstLayerIndex
static const int s_firstLayerIndex
ID number of the first layer.
Definition: AFPTechnicalStationMonitor.h:62
LWHist1D
Definition: LWHist1D.h:23
AFPTechnicalStationMonitor::makeTitle
std::string makeTitle(const std::string &title) const
Create a string with station number.
Definition: AFPTechnicalStationMonitor.cxx:101
AFPTechnicalStationMonitor::m_secondLayer
AFPTechnicalLayerMonitor * m_secondLayer
Tool monitoring the second layer in the station.
Definition: AFPTechnicalStationMonitor.h:77
AFPTechnicalStationMonitor::createAndAddLayerMonitor
AFPTechnicalLayerMonitor * createAndAddLayerMonitor(const int layerID)
Creates a new AFPTechnicalLayerMonitor object and adds it to m_layersMonitors.
Definition: AFPTechnicalStationMonitor.cxx:70
AFPTechnicalStationMonitor::m_stationID
const int m_stationID
ID number of the station which is being monitored.
Definition: AFPTechnicalStationMonitor.h:69
AFPTechnicalStationMonitor::endOfLumiBlock
void endOfLumiBlock(AFPTechnicalMonitorTool *toolToStoreHistograms)
Process histograms at the end of lumi block.
Definition: AFPTechnicalStationMonitor.cxx:85
AFPTechnicalStationMonitor::~AFPTechnicalStationMonitor
~AFPTechnicalStationMonitor()
Deletes all objects in m_layersMonitors.
Definition: AFPTechnicalStationMonitor.cxx:34
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
AFPTechnicalMonitorTool
Class monitoring technical AFP parameters.
Definition: AFPTechnicalMonitorTool.h:19
AFPTechnicalStationMonitor::fillHistograms
void fillHistograms(const AFP_SiRawData &hit)
Fills general station monitoring histograms and executes AFPTechnicalLayerMonitor::fillHistograms()
Definition: AFPTechnicalStationMonitor.cxx:52
LWHist2D
Definition: LWHist2D.h:25
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
AFPTechnicalStationMonitor::AFPTechnicalStationMonitor
AFPTechnicalStationMonitor(const int stationID)
Creates monitors of 3 layers.
Definition: AFPTechnicalStationMonitor.cxx:22
AFPTechnicalStationMonitor::bookHistograms
void bookHistograms(AFPTechnicalMonitorTool *toolToStoreHistograms)
Books general station monitoring histograms and executes AFPTechnicalLayerMonitor::bookHistograms() f...
Definition: AFPTechnicalStationMonitor.cxx:41
AFPTechnicalStationMonitor::makeName
std::string makeName(const std::string &name) const
Create a string with station number.
Definition: AFPTechnicalStationMonitor.cxx:93
AFPTechnicalStationMonitor::m_thirdLayer
AFPTechnicalLayerMonitor * m_thirdLayer
Tool monitoring the third layer in the station.
Definition: AFPTechnicalStationMonitor.h:79
AFPTechnicalStationMonitor::s_thirdLayerIndex
static const int s_thirdLayerIndex
ID number of the third layer.
Definition: AFPTechnicalStationMonitor.h:66