Belle II Software  release-06-02-00
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/analysis/modules/DQMHistAnalysis.h>
16 
17 #include <string>
18 
19 namespace Belle2 {
27 
28  // Public functions
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  // 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.
virtual void initialize() override
Initializer.
virtual void event() override
This method is called for each event.
virtual void endRun() override
This method is called if the current run ends.
virtual void terminate() override
This method is called at the end of the event processing.
virtual void beginRun() override
Called when entering a new run.
std::string m_histogramDirectoryName
Directory name within root file where to place things.
std::string m_filename
file name of root file
Abstract base class for different kinds of events.