ATLAS Offline Software
ManagedMonitorToolTest.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ManagedMonitorToolTest_H
6 #define ManagedMonitorToolTest_H
7 
8 #include <vector>
9 
11 #include "TRandom3.h"
12 
13 class TH1;
14 class TGraph;
15 class TTree;
16 class TH1D;
17 class TH2F;
18 
20 {
21  public:
22 
23  ManagedMonitorToolTest( const std::string & type, const std::string & name,
24  const IInterface* parent );
25 
26  virtual ~ManagedMonitorToolTest();
27 
29  virtual StatusCode bookHistograms();
30  virtual StatusCode fillHistograms();
31  virtual StatusCode procHistograms();
32 
33  protected:
34 
35  static const long s_nEnsembles;
36  static const double s_ensembleGenMean;
37  static const double s_ensembleGenSigma;
38 
40  unsigned long m_generatorSeedProp;
41 
42  std::vector<TH1*> m_ensembles;
47 
54 
55  TH1* m_Lumi;
56 
57  TGraph* m_graph;
58  TGraph* m_managedGraph;
59  TTree* m_ntuple;
61  std::vector<int> m_spacepoint;
62  std::vector<int> m_event;
63  int m_counter;
65 
66  int m_offset;
67  TRandom3 m_gen;
68 
69  TEfficiency* m_efficiency;
70  TEfficiency* m_managedEfficiency;
71  TEfficiency* m_managedEfficiencyXLB;
72 
74 };
75 
76 #endif
ManagedMonitorToolTest::m_offset
int m_offset
Definition: ManagedMonitorToolTest.h:66
ManagedMonitorToolTest::m_managedHist1_lowStat
TH1 * m_managedHist1_lowStat
Definition: ManagedMonitorToolTest.h:49
ManagedMonitorToolTest::m_managedEfficiencyXLB
TEfficiency * m_managedEfficiencyXLB
Definition: ManagedMonitorToolTest.h:71
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition: ManagedMonitorToolBase.h:73
ManagedMonitorToolTest::m_ensembleRMS
TH1 * m_ensembleRMS
Definition: ManagedMonitorToolTest.h:44
ManagedMonitorToolTest::m_graph
TGraph * m_graph
Definition: ManagedMonitorToolTest.h:57
ManagedMonitorToolTest::m_managedHist2_lowStat
TH1 * m_managedHist2_lowStat
Definition: ManagedMonitorToolTest.h:50
ManagedMonitorToolTest::m_ensembles
std::vector< TH1 * > m_ensembles
Definition: ManagedMonitorToolTest.h:42
ManagedMonitorToolTest::bookHistogramsRecurrent
virtual StatusCode bookHistogramsRecurrent()
An inheriting class should either override this function, bookHists() or bookHistograms().
Definition: ManagedMonitorToolTest.cxx:74
ManagedMonitorToolTest::m_ensembleMeanPullDist
TH1 * m_ensembleMeanPullDist
Definition: ManagedMonitorToolTest.h:46
ManagedMonitorToolTest::m_managedHist_eventsBlock
TH1 * m_managedHist_eventsBlock
Definition: ManagedMonitorToolTest.h:52
ManagedMonitorToolTest::m_Lumi
TH1 * m_Lumi
Definition: ManagedMonitorToolTest.h:55
ManagedMonitorToolTest::m_managedHist0_lowStat
TH1 * m_managedHist0_lowStat
Definition: ManagedMonitorToolTest.h:48
ManagedMonitorToolTest::m_managedGraphXLB
TGraph * m_managedGraphXLB
Definition: ManagedMonitorToolTest.h:73
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
ManagedMonitorToolBase.h
ManagedMonitorToolTest::m_variable2
int m_variable2
Definition: ManagedMonitorToolTest.h:64
ManagedMonitorToolTest::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition: ManagedMonitorToolTest.cxx:163
ManagedMonitorToolTest::m_managedHist_run
TH1 * m_managedHist_run
Definition: ManagedMonitorToolTest.h:53
ManagedMonitorToolTest::s_ensembleGenMean
static const double s_ensembleGenMean
Definition: ManagedMonitorToolTest.h:36
ManagedMonitorToolTest::m_managedNtuple
TTree * m_managedNtuple
Definition: ManagedMonitorToolTest.h:60
ManagedMonitorToolTest::m_managedGraph
TGraph * m_managedGraph
Definition: ManagedMonitorToolTest.h:58
ManagedMonitorToolTest::s_ensembleGenSigma
static const double s_ensembleGenSigma
Definition: ManagedMonitorToolTest.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ManagedMonitorToolTest::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition: ManagedMonitorToolTest.cxx:322
ManagedMonitorToolTest::m_event
std::vector< int > m_event
Definition: ManagedMonitorToolTest.h:62
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ManagedMonitorToolTest::m_ensembleMeanPull
TH1 * m_ensembleMeanPull
Definition: ManagedMonitorToolTest.h:45
ManagedMonitorToolTest::m_managedEfficiency
TEfficiency * m_managedEfficiency
Definition: ManagedMonitorToolTest.h:70
ManagedMonitorToolTest::m_efficiency
TEfficiency * m_efficiency
Definition: ManagedMonitorToolTest.h:69
ManagedMonitorToolTest
Definition: ManagedMonitorToolTest.h:20
ManagedMonitorToolTest::m_generatorIsInit
bool m_generatorIsInit
Definition: ManagedMonitorToolTest.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ManagedMonitorToolTest::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition: ManagedMonitorToolTest.cxx:253
ManagedMonitorToolTest::m_ntuple
TTree * m_ntuple
Definition: ManagedMonitorToolTest.h:59
ManagedMonitorToolTest::m_variable1
int m_variable1
Definition: ManagedMonitorToolTest.h:64
ManagedMonitorToolTest::m_gen
TRandom3 m_gen
Definition: ManagedMonitorToolTest.h:67
ManagedMonitorToolTest::s_nEnsembles
static const long s_nEnsembles
Definition: ManagedMonitorToolTest.h:35
ManagedMonitorToolTest::~ManagedMonitorToolTest
virtual ~ManagedMonitorToolTest()
Definition: ManagedMonitorToolTest.cxx:67
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ManagedMonitorToolTest::m_generatorSeedProp
unsigned long m_generatorSeedProp
Definition: ManagedMonitorToolTest.h:40
ManagedMonitorToolTest::ManagedMonitorToolTest
ManagedMonitorToolTest(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ManagedMonitorToolTest.cxx:32
ManagedMonitorToolTest::m_managedHist_lumiBlock
TH1 * m_managedHist_lumiBlock
Definition: ManagedMonitorToolTest.h:51
ManagedMonitorToolTest::m_spacepoint
std::vector< int > m_spacepoint
Definition: ManagedMonitorToolTest.h:61
ManagedMonitorToolTest::m_ensembleMean
TH1 * m_ensembleMean
Definition: ManagedMonitorToolTest.h:43
ManagedMonitorToolTest::m_counter
int m_counter
Definition: ManagedMonitorToolTest.h:63