Belle II Software release-09-00-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 <framework/datastore/StoreObjPtr.h>
13
14#include <string>
15#include <stdio.h>
16
17namespace Belle2 {
22 class ROIpayload;
23
33 class ROIReadTestModule : public Module {
34
35 public:
36
41
42 private:
43
47 void initialize() override;
48
52 void event() override;
53
57 void terminate() override;
58
61 std::string m_outfileName;
62 std::string m_ROIpayloadName;
63 FILE* m_pFile = nullptr;
65 };
67}
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
StoreObjPtr< ROIpayload > m_ROIPayloads
ROIpayload StoreArray.
FILE * m_pFile
file handler
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.