Belle II Software  release-06-00-14
ROIReadTestModule.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 #include <string>
13 #include <stdio.h>
14 
15 namespace Belle2 {
30  class ROIReadTestModule : public Module {
31 
32  public:
33 
38 
39  private:
40 
44  void initialize() override;
45 
46  void event() override;
47 
51  void terminate() override;
52 
53  std::string m_outfileName;
54  std::string m_ROIpayloadName;
55  FILE* m_pFile = nullptr;
57  };
59 }
Base class for Modules.
Definition: Module.h:72
The ROI to ONSEN Module.
void initialize() override
Initializes the Module.
std::string m_ROIpayloadName
ROI payload name.
void event() override
This method is the core of the module.
ROIReadTestModule()
Constructor of the module.
void terminate() override
Termination action.
std::string m_outfileName
produced file name
FILE * m_pFile
file handler
Abstract base class for different kinds of events.