Belle II Software light-2406-ragdoll
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 {
24 class HistoManagerModule : public Module {
25 public:
26
29 virtual ~HistoManagerModule();
30
32 virtual void initialize() override;
33 virtual void beginRun() override;
34 virtual void endRun() override;
35 virtual void event() override;
36 virtual void terminate() override;
37
38 private:
39 std::string m_workdir;
40 std::string m_histoFileName;
43 };
45} // 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.
Definition: ClusterUtils.h:24