Belle II Software  release-08-01-10
PinDigitizerModule.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 PINDIGITIZERMODULE_H
10 #define PINDIGITIZERMODULE_H
11 
12 #include <framework/core/Module.h>
13 #include <beast/pindiode/dataobjects/PindiodeHit.h>
14 #include <framework/datastore/StoreArray.h>
15 
16 namespace Belle2 {
21  namespace pindiode {
31  class PinDigitizerModule : public Module {
32 
33  public:
34 
39 
43  virtual ~PinDigitizerModule();
44 
49  virtual void initialize() override;
50 
55  virtual void beginRun() override;
56 
60  virtual void event() override;
61 
66  virtual void endRun() override;
67 
72  virtual void terminate() override;
73 
74 
75  private:
79  double m_CrematGain;
83  double m_FanoFactor;
84 
85  };
86 
87  }
89 }
90 
91 #endif /* PINDIGITIZERMODULE_H */
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
StoreArray< PindiodeHit > m_pindiodeHit
Array for PindiodeHit.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
PinDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
virtual void beginRun() override
Called when entering a new run.
Abstract base class for different kinds of events.