Belle II Software development
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
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
58 std::string m_outfileName;
59 std::string m_ROIpayloadName;
60 FILE* m_pFile = nullptr;
62 };
64}
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.