![]() |
ATLAS Offline Software
|
A class monitoring technical parameters of one station. More...
#include <AFPTechnicalStationMonitor.h>
Public Member Functions | |
AFPTechnicalStationMonitor (const int stationID) | |
Creates monitors of 3 layers. More... | |
~AFPTechnicalStationMonitor () | |
Deletes all objects in m_layersMonitors. More... | |
void | bookHistograms (AFPTechnicalMonitorTool *toolToStoreHistograms) |
Books general station monitoring histograms and executes AFPTechnicalLayerMonitor::bookHistograms() for all objects in m_layersMonitors. More... | |
void | fillHistograms (const AFP_SiRawData &hit) |
Fills general station monitoring histograms and executes AFPTechnicalLayerMonitor::fillHistograms() More... | |
void | eventEnd () |
Method to call eventEnd in layers. Executes AFPTechnicalLayerMonitor::eventEnd() for each element in m_layersMonitors. More... | |
void | endOfLumiBlock (AFPTechnicalMonitorTool *toolToStoreHistograms) |
Process histograms at the end of lumi block. More... | |
Protected Member Functions | |
AFPTechnicalLayerMonitor * | createAndAddLayerMonitor (const int layerID) |
Creates a new AFPTechnicalLayerMonitor object and adds it to m_layersMonitors. More... | |
std::string | makeName (const std::string &name) const |
Create a string with station number. More... | |
std::string | makeTitle (const std::string &title) const |
Create a string with station number. More... | |
Protected Attributes | |
const int | m_stationID |
ID number of the station which is being monitored. More... | |
std::vector< AFPTechnicalLayerMonitor * > | m_layersMonitors |
Vector of tools monitoring layers in the station. More... | |
AFPTechnicalLayerMonitor * | m_firstLayer |
Tool monitoring the first layer in the station. More... | |
AFPTechnicalLayerMonitor * | m_secondLayer |
Tool monitoring the second layer in the station. More... | |
AFPTechnicalLayerMonitor * | m_thirdLayer |
Tool monitoring the third layer in the station. More... | |
Static Protected Attributes | |
static const int | s_firstLayerIndex = 0 |
ID number of the first layer. More... | |
static const int | s_secondLayerIndex = 1 |
ID number of the second layer. More... | |
static const int | s_thirdLayerIndex = 2 |
ID number of the third layer. More... | |
A class monitoring technical parameters of one station.
Definition at line 21 of file AFPTechnicalStationMonitor.h.
AFPTechnicalStationMonitor::AFPTechnicalStationMonitor | ( | const int | stationID | ) |
AFPTechnicalStationMonitor::~AFPTechnicalStationMonitor | ( | ) |
Deletes all objects in m_layersMonitors.
Definition at line 34 of file AFPTechnicalStationMonitor.cxx.
void AFPTechnicalStationMonitor::bookHistograms | ( | AFPTechnicalMonitorTool * | toolToStoreHistograms | ) |
Books general station monitoring histograms and executes AFPTechnicalLayerMonitor::bookHistograms() for all objects in m_layersMonitors.
Definition at line 41 of file AFPTechnicalStationMonitor.cxx.
|
protected |
Creates a new AFPTechnicalLayerMonitor object and adds it to m_layersMonitors.
layerID | ID number of the layer which new object will be monitoring |
Definition at line 70 of file AFPTechnicalStationMonitor.cxx.
void AFPTechnicalStationMonitor::endOfLumiBlock | ( | AFPTechnicalMonitorTool * | toolToStoreHistograms | ) |
Process histograms at the end of lumi block.
toolToStoreHistograms | pointer to the parent monitoring object (may not be used) |
Calls endOfLumiBlock on each layer.
Definition at line 85 of file AFPTechnicalStationMonitor.cxx.
void AFPTechnicalStationMonitor::eventEnd | ( | ) |
Method to call eventEnd in layers. Executes AFPTechnicalLayerMonitor::eventEnd() for each element in m_layersMonitors.
Definition at line 78 of file AFPTechnicalStationMonitor.cxx.
void AFPTechnicalStationMonitor::fillHistograms | ( | const AFP_SiRawData & | hit | ) |
Fills general station monitoring histograms and executes AFPTechnicalLayerMonitor::fillHistograms()
Definition at line 52 of file AFPTechnicalStationMonitor.cxx.
|
protected |
Create a string with station number.
Used for creating names of distributions.
name | text which should be prepended to the standard one e.g. "Station1" |
Definition at line 93 of file AFPTechnicalStationMonitor.cxx.
|
protected |
Create a string with station number.
Used for creating titles of distributions.
title | text which should be prepended to the standard one e.g. " in station 1" |
Definition at line 101 of file AFPTechnicalStationMonitor.cxx.
|
protected |
Tool monitoring the first layer in the station.
Definition at line 75 of file AFPTechnicalStationMonitor.h.
|
protected |
Vector of tools monitoring layers in the station.
Definition at line 72 of file AFPTechnicalStationMonitor.h.
|
protected |
Tool monitoring the second layer in the station.
Definition at line 77 of file AFPTechnicalStationMonitor.h.
|
protected |
ID number of the station which is being monitored.
Definition at line 69 of file AFPTechnicalStationMonitor.h.
|
protected |
Tool monitoring the third layer in the station.
Definition at line 79 of file AFPTechnicalStationMonitor.h.
|
staticprotected |
ID number of the first layer.
Definition at line 62 of file AFPTechnicalStationMonitor.h.
|
staticprotected |
ID number of the second layer.
Definition at line 64 of file AFPTechnicalStationMonitor.h.
|
staticprotected |
ID number of the third layer.
Definition at line 66 of file AFPTechnicalStationMonitor.h.