Belle II Software  release-06-00-14
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 
34 
36  virtual void initialize() override;
37 
39  virtual void beginRun() override;
40  virtual void event() override;
41  virtual void endRun() override;
42  virtual void terminate() override;
43 
44  // Data members
45  private:
46 
47  std::string m_filename;
51  };
53 } // end namespace Belle2
54 
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
Module functions to be called from main process.
virtual void event() override
This method is the core of the module.
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
Module functions to be called from event process.
std::string m_histogramDirectoryName
Directory name within root file where to place things.
std::string m_filename
file name of root file
DQMHistAnalysisOutputFileModule()
Constructor / Destructor.
Abstract base class for different kinds of events.