Belle II Software  release-06-00-14
DQMHistAnalysisARICHMonObj.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 //DQM
12 #include <dqm/analysis/modules/DQMHistAnalysis.h>
13 #include <TCanvas.h>
14 
15 //ARICH
16 #include <arich/utility/ARICHChannelHist.h>
17 
18 namespace Belle2 {
28 
29  public:
30 
35 
40 
44  virtual void initialize() override;
45 
49  virtual void beginRun() override;
50 
54  virtual void event() override;
55 
59  virtual void endRun() override;
60 
64  virtual void terminate() override;
65 
66  protected:
67 
68  TCanvas* m_c_main = NULL;
69  TCanvas* m_c_mask = NULL;
70  TCanvas* m_c_mirror = NULL;
71  TCanvas* m_c_tracks = NULL;
72  TH2Poly* pp1 = NULL;
73  TH2Poly* pp2 = NULL;
74  TH2Poly* pflash = NULL;
81  };
82 
84 } // Belle2 namespace
ARICH histogram with HAPD plane 3 options for bin segmentation are available type 0 - one bin per HAP...
Example module of how to use MonitoringObject in DQMHistAnalysis module.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
Belle2::ARICHChannelHist * m_apdHist
ARICH TObject to draw hit map for each APD.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
MonitoringObject * m_monObj
MonitoringObject to be produced by this module.
Belle2::ARICHChannelHist * m_hapdHist
ARICH TObject to draw flash map for each hapd.
TCanvas * m_c_mask
Canvas with histograms related to channel masking.
Belle2::ARICHChannelHist * m_chHist
ARICH TObject to draw flash map for each channel.
virtual void beginRun() override
Begin run function.
TCanvas * m_c_main
Canvas with main run summary histograms.
TCanvas * m_c_mirror
Canvas with histograms related to mirrors.
TH2Poly * pp2
2D hitmap of number of hits per channel per event
TCanvas * m_c_tracks
Canvas with histograms related to tracks.
TH2Poly * pflash
2D hitmap of number of flash (>40 hits) per event
TH2Poly * pp1
2D hitmap of number of hits per APD per event
The base class for the histogram analysis module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.