Belle II Software  release-08-01-10
CsiModule.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 CsiModule_H
10 #define CsiModule_H
11 
12 #include <framework/core/Module.h>
13 #include <string>
14 #include <vector>
15 
16 namespace Belle2 {
22  namespace csi {
23 
30  class CsiModule : public Module {
31 
32  public:
33 
35  CsiModule();
36 
38  virtual void initialize() override;
39 
41  virtual void beginRun() override;
42 
44  virtual void event() override;
45 
47  virtual void endRun() override;
48 
50  virtual void terminate() override;
51 
52  protected:
55 
58 
60  std::string m_stringParameter;
61 
63  std::vector<double> m_doubleListParameter;
64  };
65 
66  } // csi namespace
68 } // end namespace Belle2
69 
70 #endif // CsiModule_H
Base class for Modules.
Definition: Module.h:72
The Csi module.
Definition: CsiModule.h:30
std::string m_stringParameter
Useless variable showing how to create string parameters.
Definition: CsiModule.h:60
virtual void initialize() override
Init the module.
Definition: CsiModule.cc:48
virtual void event() override
Called for every end run.
Definition: CsiModule.cc:75
virtual void endRun() override
Called for every end run.
Definition: CsiModule.cc:116
virtual void terminate() override
Called on termination.
Definition: CsiModule.cc:123
virtual void beginRun() override
Called for every begin run.
Definition: CsiModule.cc:69
double m_doubleParameter
Useless variable showing how to create double parameters.
Definition: CsiModule.h:57
int m_intParameter
Useless variable showing how to create integer parameters.
Definition: CsiModule.h:54
std::vector< double > m_doubleListParameter
Useless variable showing how to create array parameters.
Definition: CsiModule.h:63
CsiModule()
Constructor.
Definition: CsiModule.cc:28
Abstract base class for different kinds of events.