Belle II Software  release-08-01-10
DQMHistAnalysisOutputFile.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 : DQMHistAnalysisOut.h
10 // Description : DQM Analysis, dump histograms to file (as reference histograms)
11 //-
12 
13 #pragma once
14 
15 #include <dqm/core/DQMHistAnalysis.h>
16 
17 #include <string>
18 
19 namespace Belle2 {
27 
28  // Public functions
29  public:
30 
35 
40 
44  void initialize() override final;
45 
49  void beginRun() override final;
50 
54  void event() override final;
55 
59  void endRun() override final;
60 
64  void terminate() override final;
65 
66  // Data members
67  private:
68 
69  std::string m_filename;
73  };
75 } // end namespace Belle2
76 
The base class for the histogram analysis module.
Class definition for the output module of Sequential ROOT I/O.
bool m_saveCanvases
Write all Canvases to file.
void initialize() override final
Initializer.
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.
std::string m_histogramDirectoryName
Directory name within root file where to place things.
void endRun() override final
This method is called if the current run ends.
std::string m_filename
file name of root file
void beginRun() override final
Called when entering a new run.
Abstract base class for different kinds of events.