Belle II Software development
DQMHistAnalysisExampleFlags.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 : DQMHistAnalysisExampleFlags.h
10// Description : An example module for DQM histogram analysis
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <TH2F.h>
18#include <TCanvas.h>
19
20namespace Belle2 {
28
29 public:
30
35
39 void initialize() override final;
40
44 void beginRun() override final;
45
49 void event() override final;
50
54 void endRun() override final;
55
59 void terminate() override final;
60
61 private:
62
64 TH2F* m_hFlagtest = nullptr;
66 TCanvas* m_cFlagtest = nullptr;
67
68 };
70} // end namespace Belle2
71
Class definition for the output module of Sequential ROOT I/O.
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.
TCanvas * m_cFlagtest
The drawing canvas for the test.
void endRun() override final
This method is called if the current run ends.
void beginRun() override final
Called when entering a new run.
The base class for the histogram analysis module.
Abstract base class for different kinds of events.