Belle II Software  release-08-01-10
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 #include <tracking/dataobjects/ROIpayload.h>
14 #include <string>
15 #include <stdio.h>
16 
17 namespace Belle2 {
32  class ROIReadTestModule : public Module {
33 
34  public:
35 
40 
41  private:
42 
46  void initialize() override;
47 
51  void event() override;
52 
56  void terminate() override;
57 
60  std::string m_outfileName;
61  std::string m_ROIpayloadName;
62  FILE* m_pFile = nullptr;
64  };
66 }
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.