Belle II Software development
HistoManagerModule.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#pragma once
10
11#include <framework/core/Module.h>
12
13#include <string>
14
15namespace Belle2 {
21 class HistoManagerModule : public Module {
22 public:
23
26 virtual ~HistoManagerModule();
27
29 virtual void initialize() override;
30 virtual void beginRun() override;
31 virtual void endRun() override;
32 virtual void event() override;
33 virtual void terminate() override;
34
35 private:
36 std::string m_workdir;
37 std::string m_histoFileName;
40 };
42} // Namespace Belle2
Class definition of HistoManager module.
virtual void initialize() override
module functions
virtual void event() override
This method is the core of the module.
HistoManagerModule()
Constructor and Destructor.
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.
std::string m_workdir
Name of working directory.
virtual void beginRun() override
Called when entering a new run.
std::string m_histoFileName
Name of histogram output file.
bool m_tupleManagerInitialized
True if RbTupleManager was initialized.
bool m_initmain
True if initialize() was called.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.