Belle II Software  release-08-01-10
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/core/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  void initialize() override final;
45 
49  void endRun() override final;
50 
54  void terminate() override final;
55 
56  protected:
57 
58  TCanvas* m_c_main = NULL;
59  TCanvas* m_c_mask = NULL;
60  TCanvas* m_c_mirror = NULL;
61  TCanvas* m_c_tracks = NULL;
62  TH2Poly* pp1 = NULL;
63  TH2Poly* pp2 = NULL;
64  TH2Poly* pflash = NULL;
71  };
72 
74 } // 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.
void initialize() override final
Initialize the Module.
Belle2::ARICHChannelHist * m_apdHist
ARICH TObject to draw hit map for each APD.
MonitoringObject * m_monObj
MonitoringObject to be produced by this module.
Belle2::ARICHChannelHist * m_hapdHist
ARICH TObject to draw flash map for each hapd.
void terminate() override final
Termination action.
TCanvas * m_c_mask
Canvas with histograms related to channel masking.
Belle2::ARICHChannelHist * m_chHist
ARICH TObject to draw flash map for each channel.
TCanvas * m_c_main
Canvas with main run summary histograms.
TCanvas * m_c_mirror
Canvas with histograms related to mirrors.
void endRun() override final
End-of-run action.
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.