ATLAS Offline Software
AFPSiLayerSummaryProfileBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef AFPSILAYERSUMMARYPROFILEBASE_H
7 #define AFPSILAYERSUMMARYPROFILEBASE_H
8 
10 
11 #include <TProfile.h>
12 
13 #include <string>
14 
15 // forward declarations
16 class AFPHitsMonitorTool;
17 
20 {
21 public:
23  AFPSiLayerSummaryProfileBase (AFPHitsMonitorTool* parentTool, const ManagedMonitorToolBase::MonGroup& monGrp, const std::string& name, const std::string& title);
24 
27 
30 
32  void book ();
33 
35  TProfile* profile () {return m_profile;}
36 
37 protected:
40 
43 
50 };
51 
52 #endif
AFPSiLayerSummaryProfileBase::m_monGrp
ManagedMonitorToolBase::MonGroup m_monGrp
Configuration of the monitoring options.
Definition: AFPSiLayerSummaryProfileBase.h:49
AFPSiLayerSummaryProfileBase
Base class for summary distributions (showing mean value for each plane)
Definition: AFPSiLayerSummaryProfileBase.h:20
AFPSiLayerSummaryProfileBase::AFPSiLayerSummaryProfileBase
AFPSiLayerSummaryProfileBase(AFPHitsMonitorTool *parentTool, const ManagedMonitorToolBase::MonGroup &monGrp, const std::string &name, const std::string &title)
Creates a TPofile object m_profile and sets bin labels according to monitors in m_parentTool.
Definition: AFPSiLayerSummaryProfileBase.cxx:11
AFPHitsMonitorTool
Main monitoring class for silicon detectors.
Definition: AFPHitsMonitorTool.h:32
AFPSiLayerSummaryProfileBase::m_profile
TProfile * m_profile
The summary distribution. TProfile ensures proper merging of mean values.
Definition: AFPSiLayerSummaryProfileBase.h:39
AFPSiLayerSummaryProfileBase::~AFPSiLayerSummaryProfileBase
virtual ~AFPSiLayerSummaryProfileBase()
Does nothing. The ownership of the m_profile object is taken by monitoring service.
Definition: AFPSiLayerSummaryProfileBase.h:26
ManagedMonitorToolBase.h
ManagedMonitorToolBase::MonGroup
A container of information describing a monitoring object.
Definition: ManagedMonitorToolBase.h:138
AFPSiLayerSummaryProfileBase::operator=
AFPSiLayerSummaryProfileBase & operator=(const AFPSiLayerSummaryProfileBase &)=delete
covarianceTool.title
title
Definition: covarianceTool.py:542
AFPSiLayerSummaryProfileBase::AFPSiLayerSummaryProfileBase
AFPSiLayerSummaryProfileBase(const AFPSiLayerSummaryProfileBase &)=delete
AFPSiLayerSummaryProfileBase::m_parentTool
AFPHitsMonitorTool * m_parentTool
Pointer to the parent tool in which the distribution is registered.
Definition: AFPSiLayerSummaryProfileBase.h:42
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TProfile
Definition: rootspy.cxx:515
AFPSiLayerSummaryProfileBase::book
void book()
Registers the m_profile as a histogram in m_parentTool.
Definition: AFPSiLayerSummaryProfileBase.cxx:34
AFPSiLayerSummaryProfileBase::profile
TProfile * profile()
Returns the profile object m_profile.
Definition: AFPSiLayerSummaryProfileBase.h:35