Belle II Software  release-05-02-19
Root2Raw.h
1 //+
2 // File : Root2Raw.h
3 // Description : Module to convert recorded ROOT raw data into raw data file
4 //
5 // Author : Ryosuke Itoh, IPNS, KEK
6 // Date : 4 - Jun - 2014
7 //-
8 
9 #ifndef ROOT2RAW_H
10 #define ROOT2RAW_H
11 
12 #include <framework/core/Module.h>
13 
14 #define MAXEVTSIZE 4000000
15 
16 
17 namespace Belle2 {
25  class Root2RawModule : public Module {
26 
27  // Public functions
28  public:
29 
32  virtual ~Root2RawModule();
33 
35  virtual void initialize();
36 
38  virtual void event();
39 
41  virtual void endRun();
42 
44  virtual void terminate();
45 
46  protected :
48  int m_file;
49  std::string m_filename;
50 
51  };
52 
54 } // end namespace Belle2
55 
56 #endif // MODULEHELLO_H
Belle2::Root2RawModule::initialize
virtual void initialize()
Module functions to be called from main process.
Definition: Root2Raw.cc:51
Belle2::Root2RawModule::Root2RawModule
Root2RawModule()
Constructor / Destructor.
Definition: Root2Raw.cc:42
Belle2::Root2RawModule
A class definition of an input module for Sequential ROOT I/O.
Definition: Root2Raw.h:25
Belle2::Module
Base class for Modules.
Definition: Module.h:74
Belle2::Root2RawModule::terminate
virtual void terminate()
This method is called at the end of the event processing.
Definition: Root2Raw.cc:72
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Root2RawModule::endRun
virtual void endRun()
This method is called if the current run ends.
Definition: Root2Raw.cc:64
Belle2::Root2RawModule::event
virtual void event()
Module functions to be called from event process.
Definition: Root2Raw.cc:79