Belle II Software  release-06-02-00
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 
49  void event() override;
50 
54  void terminate() override;
55 
56  std::string m_outfileName;
57  std::string m_ROIpayloadName;
58  FILE* m_pFile = nullptr;
60  };
62 }
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 called for each event.
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.