ATLAS Offline Software
AFPTechnicalMonitorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AFPTECHNICALMONITORTOOL_H
6 #define AFPTECHNICALMONITORTOOL_H
7 
9 
11 
12 #include <vector>
13 #include <string>
14 
15 class LWHist1D;
16 
19 {
20 public:
22  AFPTechnicalMonitorTool( const std::string & type, const std::string & name,
23  const IInterface* parent );
24 
26  virtual ~AFPTechnicalMonitorTool();
27 
30 
34  virtual StatusCode bookHistograms();
35 
37  virtual StatusCode fillHistograms();
38 
40  virtual StatusCode procHistograms();
41 
43  std::string histsDirectoryName() {return m_histsDirectoryName;}
44 
45 protected:
47  static const int s_cNearStationIndex;
49  static const int s_cFarStationIndex;
50 
52  const std::string m_histsDirectoryName;
53 
58 
60  std::vector<AFPTechnicalStationMonitor*> m_stationsMonitors;
61 
62  // histograms
63  LWHist1D* m_bcIDAfp = nullptr;
64  LWHist1D* m_bcIDATLAS = nullptr;
66 };
67 
68 #endif
AFPTechnicalMonitorTool::m_stationsMonitors
std::vector< AFPTechnicalStationMonitor * > m_stationsMonitors
Vector of all stations monitors.
Definition: AFPTechnicalMonitorTool.h:60
AFPTechnicalMonitorTool::~AFPTechnicalMonitorTool
virtual ~AFPTechnicalMonitorTool()
Does nothing.
Definition: AFPTechnicalMonitorTool.cxx:34
AFPTechnicalStationMonitor
A class monitoring technical parameters of one station.
Definition: AFPTechnicalStationMonitor.h:22
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:74
AFPTechnicalMonitorTool::m_cNearStation
AFPTechnicalStationMonitor m_cNearStation
Station on C side that is closer to the interaction point.
Definition: AFPTechnicalMonitorTool.h:55
AFPTechnicalMonitorTool::m_cFarStation
AFPTechnicalStationMonitor m_cFarStation
Station on C side that is further away from the interaction point.
Definition: AFPTechnicalMonitorTool.h:57
AFPTechnicalMonitorTool::procHistograms
virtual StatusCode procHistograms()
Does nothing.
Definition: AFPTechnicalMonitorTool.cxx:125
AFPTechnicalMonitorTool::AFPTechnicalMonitorTool
AFPTechnicalMonitorTool(const std::string &type, const std::string &name, const IInterface *parent)
Adds two stations monitors on C side to m_stationsMonitors.
Definition: AFPTechnicalMonitorTool.cxx:22
LWHist1D
Definition: LWHist1D.h:23
AFPTechnicalMonitorTool::s_cFarStationIndex
static const int s_cFarStationIndex
ID number of the far station on C side.
Definition: AFPTechnicalMonitorTool.h:49
AFPTechnicalMonitorTool::histsDirectoryName
std::string histsDirectoryName()
name of directory to store histograms
Definition: AFPTechnicalMonitorTool.h:43
AFPTechnicalMonitorTool::bookHistogramsRecurrent
virtual StatusCode bookHistogramsRecurrent()
Does nothing.
Definition: AFPTechnicalMonitorTool.cxx:39
ManagedMonitorToolBase.h
AFPTechnicalMonitorTool::m_histsDirectoryName
const std::string m_histsDirectoryName
Name of the Root file path where histograms should be saved.
Definition: AFPTechnicalMonitorTool.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AFPTechnicalMonitorTool::m_bcIDAfp
LWHist1D * m_bcIDAfp
distribution of bcID sent by AFP
Definition: AFPTechnicalMonitorTool.h:63
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AFPTechnicalMonitorTool
Class monitoring technical AFP parameters.
Definition: AFPTechnicalMonitorTool.h:19
AFPTechnicalMonitorTool::m_bcIDDiffAfpAtlas
LWHist1D * m_bcIDDiffAfpAtlas
distribution of difference between ATLAS and AFP bcID
Definition: AFPTechnicalMonitorTool.h:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AFPTechnicalMonitorTool::s_cNearStationIndex
static const int s_cNearStationIndex
ID number of the near station on C side.
Definition: AFPTechnicalMonitorTool.h:47
AFPTechnicalMonitorTool::fillHistograms
virtual StatusCode fillHistograms()
Fills general histograms and calls AFPTechnicalStationMonitor::fillHistograms and AFPTechnicalStation...
Definition: AFPTechnicalMonitorTool.cxx:85
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AFPTechnicalStationMonitor.h
AFPTechnicalMonitorTool::m_bcIDATLAS
LWHist1D * m_bcIDATLAS
distribution of bcID sent by ATLAS
Definition: AFPTechnicalMonitorTool.h:64
AFPTechnicalMonitorTool::bookHistograms
virtual StatusCode bookHistograms()
Books histograms for general monitoring and executes AFPTechnicalStationMonitor::bookHistograms() for...
Definition: AFPTechnicalMonitorTool.cxx:45