Belle II Software light-2406-ragdoll
AWESOMEBasicModule.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/* AWESOME headers. */
12#include <online_book/awesome/dataobjects/AWESOMESimHit.h>
13
14/* Basf2 headers. */
15#include <framework/core/Module.h>
16#include <framework/datastore/StoreArray.h>
17#include <mdst/dataobjects/MCParticle.h>
18
19/* C++ headers. */
20#include <string>
21#include <vector>
22
23namespace Belle2::AWESOME {
24
31 class AWESOMEBasicModule : public Module {
32
33 public:
34
39
43 void initialize() override;
44
48 void beginRun() override;
49
53 void event() override;
54
58 void endRun() override;
59
63 void terminate() override;
64
65 private:
66
69
72
74 std::string m_stringParameter;
75
77 std::vector<double> m_doubleListParameter;
78
81
84
85 };
86
87}
std::string m_stringParameter
Useless variable showing how to create string parameters.
void initialize() override
Initialize the module.
void event() override
Called for each event.
void endRun() override
Called for each end of run.
void terminate() override
Called on termination.
StoreArray< AWESOMESimHit > m_SimHits
AWESOME simulated hits.
void beginRun() override
Called for each begin of run.
double m_doubleParameter
Useless variable showing how to create double parameters.
int m_intParameter
Useless variable showing how to create integer parameters.
std::vector< double > m_doubleListParameter
Useless variable showing how to create array parameters.
StoreArray< MCParticle > m_MCParticles
MC particles.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113