Belle II Software  release-06-02-00
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 
17 const Int_t MAXSIZE = 10000;
19 const Int_t MAXtSIZE = 1000;
20 
21 namespace Belle2 {
26  namespace beamabort {
36  class BeamDigitizerModule : public Module {
37 
38  public:
39 
44 
48  virtual ~BeamDigitizerModule();
49 
54  virtual void initialize() override;
55 
60  virtual void beginRun() override;
61 
65  virtual void event() override;
66 
71  virtual void endRun() override;
72 
77  virtual void terminate() override;
78 
79 
80  private:
81 
87  double m_FanoFactor;
88  };
89 
90  }
92 }
93 
94 #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.