![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 const std::string&
name,
13 const IInterface*
parent) :
16 declareInterface<IAFPSiStationMonitor>(
this);
28 if (layerMon.retrieve().isFailure())
35 return StatusCode::SUCCESS;
40 return StatusCode::SUCCESS;
63 layerMonitor->bookHistograms(toolToStoreHistograms, histsDirName);
70 if (layerMonitor->layerID() == hitLayerID) {
71 layerMonitor->fillHistograms(hit);
80 layerMonitor->eventEnd();
88 layer->endOfLumiBlock();
101 std::stringstream histTitle;
104 return histTitle.str();
void fillHistograms(const xAOD::AFPSiHit &hit) override
Fills stations monitoring histograms.
void eventEnd() override
Method called once per event after processing all hits.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
int pixelLayerID() const
Index of the layer of pixels, i.e.
Class representing a hit in silicon detector.
StatusCode initialize() override
Retrieves all tools in array m_layersMonitors.
void bookHistograms(AFPHitsMonitorTool *toolToStoreHistograms) override
Books histograms for stations monitoring.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandleArray< IAFPSiLayerMonitor > m_layersMonitors
Array of tools monitoring planes in the station.
std::string makeName(const std::string &name) const override
Return a string useful for creating a name of the distribution.
std::string makeTitle(const std::string &title) const override
Return a string useful for creating a name of the distribution.
StatusCode finalize() override
Does nothing.
void endOfLumiBlock(AFPHitsMonitorTool *toolToStoreHistograms) override
Method called at the end of luminosity block to process histograms.
#define ATH_MSG_WARNING(x)
AFPSiStationMonitor(const std::string &type, const std::string &name, const IInterface *parent)
Declares python properties.
int m_stationID
ID number of the monitored station.
void setAllLayersParent(AFPHitsMonitorTool *parent) override
Sets main monitor tool as a parent in all layers tools.
~AFPSiStationMonitor()
Does nothing.