ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AFPTechnicalLayerMonitor Class Reference

Class used for monitoring technical parameters of one silicon layer. More...

#include <AFPTechnicalLayerMonitor.h>

Collaboration diagram for AFPTechnicalLayerMonitor:

Public Member Functions

 AFPTechnicalLayerMonitor (const int pixelLayerID, const int stationID)
 
 ~AFPTechnicalLayerMonitor ()
 Does nothing. More...
 
void bookHistograms (ManagedMonitorToolBase *toolToStoreHistograms, const std::string &histsDirName="")
 Books histograms used for monitoring. More...
 
void fillHistograms (const AFP_SiRawData &hit)
 Fills distributions with information provided by the hit. More...
 
void eventEnd ()
 Method that should be called when event processing is finished. More...
 
void endOfLumiBlock (ManagedMonitorToolBase *toolToStoreHistograms)
 Process histograms at the end of lumiblock (may not be used) More...
 

Protected Member Functions

std::string makeHistName (const std::string &name) const
 Creates a name suffixed with station and layer numbers. More...
 
std::string makeHistTitle (const std::string &title) const
 Creates a title suffixed with station and layer numbers. More...
 

Protected Attributes

const int m_pixelLayerID
 ID number of the monitored pixel layer. More...
 
const int m_stationID
 ID number of the station in which the monitored layer is installed. More...
 

Detailed Description

Class used for monitoring technical parameters of one silicon layer.

Definition at line 17 of file AFPTechnicalLayerMonitor.h.

Constructor & Destructor Documentation

◆ AFPTechnicalLayerMonitor()

AFPTechnicalLayerMonitor::AFPTechnicalLayerMonitor ( const int  pixelLayerID,
const int  stationID 
)
Parameters
pixelLayerIDID number of the layer to be monitored
stationIDID number of the station in which monitored layer is installed

Definition at line 13 of file AFPTechnicalLayerMonitor.cxx.

14  : m_pixelLayerID (pixelLayerID)
16 {
17  // make sure that in first event time-over threshold can be overwriten
18 }

◆ ~AFPTechnicalLayerMonitor()

AFPTechnicalLayerMonitor::~AFPTechnicalLayerMonitor ( )

Does nothing.

Definition at line 21 of file AFPTechnicalLayerMonitor.cxx.

22 {
23 }

Member Function Documentation

◆ bookHistograms()

void AFPTechnicalLayerMonitor::bookHistograms ( ManagedMonitorToolBase toolToStoreHistograms,
const std::string &  histsDirName = "" 
)

Books histograms used for monitoring.

Parameters
toolToStoreHistogramspointer to the main monitoring object in which distributions should be bookd
histsDirNameadditional string used to form path in ROOT file where distributions should be saved

Definition at line 26 of file AFPTechnicalLayerMonitor.cxx.

27 {
28 
29  // ********** Per lumi block **********
30  ManagedMonitorToolBase::MonGroup managed_booking_lumiBlock( toolToStoreHistograms, histsDirName.data(), toolToStoreHistograms->lumiBlock); // to re-booked every luminosity block
31 
32 }

◆ endOfLumiBlock()

void AFPTechnicalLayerMonitor::endOfLumiBlock ( ManagedMonitorToolBase toolToStoreHistograms)

Process histograms at the end of lumiblock (may not be used)

Parameters
toolToStoreHistogramspointer to the main monitoring tool

Definition at line 46 of file AFPTechnicalLayerMonitor.cxx.

47 {
48 
49 }

◆ eventEnd()

void AFPTechnicalLayerMonitor::eventEnd ( )

Method that should be called when event processing is finished.

Definition at line 41 of file AFPTechnicalLayerMonitor.cxx.

42 {
43 
44 }

◆ fillHistograms()

void AFPTechnicalLayerMonitor::fillHistograms ( const AFP_SiRawData hit)

Fills distributions with information provided by the hit.

Definition at line 35 of file AFPTechnicalLayerMonitor.cxx.

36 {
37  // fill histograms
38 
39 }

◆ makeHistName()

std::string AFPTechnicalLayerMonitor::makeHistName ( const std::string &  name) const
protected

Creates a name suffixed with station and layer numbers.

Definition at line 52 of file AFPTechnicalLayerMonitor.cxx.

53 {
54  std::stringstream histName;
55  histName<<name<<"St"<<m_stationID<<"Layer"<<m_pixelLayerID;
56 
57  return histName.str();
58 }

◆ makeHistTitle()

std::string AFPTechnicalLayerMonitor::makeHistTitle ( const std::string &  title) const
protected

Creates a title suffixed with station and layer numbers.

Definition at line 61 of file AFPTechnicalLayerMonitor.cxx.

62 {
63  std::stringstream histTitle;
64  histTitle<<title<<" in station "<<m_stationID<<" for layer "<<m_pixelLayerID;
65 
66  return histTitle.str();
67 }

Member Data Documentation

◆ m_pixelLayerID

const int AFPTechnicalLayerMonitor::m_pixelLayerID
protected

ID number of the monitored pixel layer.

Definition at line 52 of file AFPTechnicalLayerMonitor.h.

◆ m_stationID

const int AFPTechnicalLayerMonitor::m_stationID
protected

ID number of the station in which the monitored layer is installed.

Definition at line 55 of file AFPTechnicalLayerMonitor.h.


The documentation for this class was generated from the following files:
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
ManagedMonitorToolBase::lumiBlock
@ lumiBlock
Definition: ManagedMonitorToolBase.h:114
ManagedMonitorToolBase::MonGroup
A container of information describing a monitoring object.
Definition: ManagedMonitorToolBase.h:138
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
covarianceTool.title
title
Definition: covarianceTool.py:542
Muon::nsw::STGTPSegments::moduleIDBits::stationID
constexpr uint8_t stationID
Large or Small wedge.
Definition: NSWSTGTPDecodeBitmaps.h:123
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195