Belle II Software development
BeamDigitizerModule.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 BEAMDIGITIZERMODULE_H
10#define BEAMDIGITIZERMODULE_H
11
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <beast/beamabort/dataobjects/BeamabortHit.h>
15
17const Int_t MAXSIZE = 10000;
19const Int_t MAXtSIZE = 1000;
20
21namespace Belle2 {
26 namespace beamabort {
33 class BeamDigitizerModule : public Module {
34
35 public:
36
41
45 virtual ~BeamDigitizerModule();
46
51 virtual void initialize() override;
52
57 virtual void beginRun() override;
58
62 virtual void event() override;
63
68 virtual void endRun() override;
69
74 virtual void terminate() override;
75
76
77 private:
78
85 };
86
87 }
89}
90
91#endif /* BEAMDIGITIZERMODULE_H */
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
BeamDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void beginRun() override
Called when entering a new run.
StoreArray< BeamabortHit > m_beamabortHit
Array for BemaabortHit.
Abstract base class for different kinds of events.