Belle II Software development
DQMHistAnalysisSVDUnpacker.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// File : DQMHistAnalysisSVDGeneral.h
10// Description : module for DQM histogram analysis of SVD sensors occupancies
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <TFile.h>
18#include <TText.h>
19#include <TPaveText.h>
20#include <TCanvas.h>
21#include <TH2F.h>
22
23namespace Belle2 {
31
32 // Public functions
33 public:
34
39
44
48 void initialize() override final;
49
53 void beginRun() override final;
54
58 void event() override final;
59
63 void endRun() override final;
64
68 void terminate() override final;
69
70 private:
71
72 // parameters
75 Double_t m_unpackError = 0;
78 // protected:
79
80 TCanvas* m_cUnpacker = nullptr;
81 TPaveText* m_legError = nullptr;
82 TString m_runtype = nullptr;
84 std::string m_pvPrefix;
86 };
88} // end namespace Belle2
89
The base class for the histogram analysis module.
Class definition for the output module of Sequential ROOT I/O.
void initialize() override final
Initializer.
TString m_runtype
string with runtype: physics or cosmic
std::string m_pvPrefix
string prefix for EPICS PVs
void terminate() override final
This method is called at the end of the event processing.
void event() override final
This method is called for each event.
bool m_printCanvas
if true print the pdf of the canvases
TCanvas * m_cUnpacker
Parameters accesible from basf2 scripts.
bool m_3Samples
if true enable 3 samples histograms analysis
void endRun() override final
This method is called if the current run ends.
void beginRun() override final
Called when entering a new run.
Double_t m_unpackError
Maximum bin_content/ # events allowed before throwing ERROR.
Abstract base class for different kinds of events.