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