Belle II Software  release-08-01-10
SeqRootMergerModule.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 #ifndef SEQROOTMERGER_H
10 #define SEQROOTMERGER_H
11 
12 #include <framework/core/Module.h>
13 #include <framework/pcore/DataStoreStreamer.h>
14 #include <framework/pcore/SeqFile.h>
15 
16 namespace Belle2 {
26  class SeqRootMergerModule : public Module {
27 
28  // Public functions
29  public:
32  virtual ~SeqRootMergerModule();
33 
35  void initialize() override;
36 
38  void beginRun() override;
39  void event() override;
40  void endRun() override;
41  void terminate() override;
42 
43  private:
44  int readFile();
45 
46  private:
47  std::vector<SeqFile*> m_file;
48  DataStoreStreamer* m_streamer;
49 
50  };
51 
53 } // end namespace Belle2
54 
55 #endif // MODULEHELLO_H
Stream/restore DataStore objects to/from EvtMessage.
Base class for Modules.
Definition: Module.h:72
A class definition of an input module for Sequential ROOT I/O.
SeqRootMergerModule()
Constructor / Destructor.
void initialize() override
Module functions to be called from main process.
void event() override
This method is the core of the module.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
void beginRun() override
Module functions to be called from event process.
Abstract base class for different kinds of events.