Belle II Software  release-08-01-10
DQMHistAnalysisOutputImages.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 : DQMHistAnalysisOutputImages.h
10 // Description : Output module for DQM Histogram analysis
11 //-
12 
13 #pragma once
14 
15 #include <dqm/core/DQMHistAnalysis.h>
16 #include <framework/dataobjects/EventMetaData.h>
17 #include <framework/datastore/StoreObjPtr.h>
18 
19 
20 namespace Belle2 {
28 
29  // Public functions
30  public:
31 
36 
40  void initialize(void) override final;
41 
45  void event() override final;
46 
47  // Data members
48  private:
51 
53  bool m_canvasSaveDefault{true};
54 
56  std::string m_outputPath;
57 
59  bool m_asPNG{true};
61  bool m_asJPEG{false};
63  bool m_asPDF{false};
65  bool m_asROOT{false};
67  bool m_asJSON{false};
69  bool m_useExpRun{false};
70  };
72 } // end namespace Belle2
73 
The base class for the histogram analysis module.
Class definition for the output to image module.
void initialize(void) override final
Initializer.
StoreObjPtr< EventMetaData > m_evtMetaDataPtr
The metadata for each event.
bool m_canvasSaveDefault
Save untagged canvase by default.
void event() override final
This method is called for each event.
std::string m_outputPath
Output path for saving images in sub-folders.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.