![]() |
ATLAS Offline Software
|
Class managing (booking and filling) summary distributions. More...
#include <AFPSiLayerSummaryManager.h>
Private Attributes | |
std::vector< AFPSiLayerSummaryProfileBase * > | m_bases |
Vector of all summary objects. More... | |
std::vector< IAFPSiLayerSummaryHit * > | m_hits |
Vector of summary objects which should be filled for every hit. More... | |
std::vector< IAFPSiLayerSummaryEventEnd * > | m_eventEnds |
Vector of summary objects which should be filled once per event for every plane. More... | |
Class managing (booking and filling) summary distributions.
Definition at line 22 of file AFPSiLayerSummaryManager.h.
AFPSiLayerSummaryManager::~AFPSiLayerSummaryManager | ( | ) |
Deletes all summary objects, i.e. all in AFPSiLayerSummaryManager::m_bases.
Definition at line 9 of file AFPSiLayerSummaryManager.cxx.
void AFPSiLayerSummaryManager::book | ( | ) | const |
Executes AFPSiLayerSummaryProfileBase::book() method on all objects in AFPSiLayerSummaryManager::m_bases.
Definition at line 15 of file AFPSiLayerSummaryManager.cxx.
template AFPSiLayerSummaryProfileBase * AFPSiLayerSummaryManager::createSummaryEventEnd< double > | ( | AFPHitsMonitorTool * | parentTool, |
const ManagedMonitorToolBase::MonGroup & | monGrp, | ||
const std::string & | name, | ||
const std::string & | title, | ||
T(IAFPSiLayerMonitor::*)() const | value | ||
) |
Creates a new monitoring object of type AFPSiLayerSummaryProfileEventEnd adds to AFPSiLayerSummaryManager::m_bases and AFPSiLayerSummaryManager::m_eventEnds.
Created object will be filled once per event for each layer. The filling is done in the layer object AFPSiLayerMonitor::eventEnd()
parentTool | pointer to the main monitoring tool to which the summary distribution belongs to |
monGrp | monitoring properties e.g. frequency of rebooking (every lumi-block or run), directory where to save the distribution |
name | name of the distribution will be used as key in the output file |
title | title of the distribution will be displayed at the top |
value | pointer to the member method calculating the value for which distribution is to be created |
Definition at line 133 of file AFPSiLayerSummaryManager.h.
template AFPSiLayerSummaryProfileBase * AFPSiLayerSummaryManager::createSummaryHits< float > | ( | AFPHitsMonitorTool * | parentTool, |
const ManagedMonitorToolBase::MonGroup & | monGrp, | ||
const std::string & | name, | ||
const std::string & | title, | ||
T(xAOD::AFPSiHit::*)() const | value | ||
) |
Creates a new monitoring object of type AFPSiLayerSummaryProfileHit adds to AFPSiLayerSummaryManager::m_bases and AFPSiLayerSummaryManager::m_hits.
Created object will be filled with every hit. The filling is done in the layer object AFPSiLayerMonitor::fillHistograms()
parentTool | pointer to the main monitoring tool to which the summary distribution belongs to |
monGrp | monitoring properties e.g. frequency of rebooking (every lumi-block or run), directory where to save the distribution |
name | name of the distribution will be used as key in the output file |
title | title of the distribution will be displayed at the top |
value | pointer to the member method calculating the value for which distribution is to be created |
Definition at line 93 of file AFPSiLayerSummaryManager.h.
void AFPSiLayerSummaryManager::fillEventEnd | ( | const std::string & | binName, |
const IAFPSiLayerMonitor * | layer | ||
) | const |
Executes IAFPSiLayerSummaryHit::fillEventEnd() on all objects in AFPSiLayerSummaryManager::m_eventEnds.
Definition at line 27 of file AFPSiLayerSummaryManager.cxx.
void AFPSiLayerSummaryManager::fillHits | ( | const std::string & | binName, |
const xAOD::AFPSiHit & | hit | ||
) | const |
Executes IAFPSiLayerSummaryHit::fillHits() on all objects in AFPSiLayerSummaryManager::m_hits.
Definition at line 21 of file AFPSiLayerSummaryManager.cxx.
|
private |
Vector of all summary objects.
Definition at line 82 of file AFPSiLayerSummaryManager.h.
|
private |
Vector of summary objects which should be filled once per event for every plane.
Definition at line 88 of file AFPSiLayerSummaryManager.h.
|
private |
Vector of summary objects which should be filled for every hit.
Definition at line 85 of file AFPSiLayerSummaryManager.h.