Belle II Software  release-08-01-10
PlumeDigitizerModule.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 PLUMEDIGITIZERMODULE_H
10 #define PLUMEDIGITIZERMODULE_H
11 
12 #include <framework/core/Module.h>
13 #include <beast/plume/dataobjects/PlumeHit.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <beast/plume/dataobjects/PlumeSimHit.h>
16 #include <mdst/dataobjects/MCParticle.h>
17 
18 namespace Belle2 {
23  namespace plume {
33  class PlumeDigitizerModule : public Module {
34 
35  public:
36 
41 
45  virtual ~PlumeDigitizerModule();
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 
77  virtual void setResponseModel();
78 
80  virtual void getXMLData();
81 
82  private:
84  int Event = 0;
88  float m_posmm_u;
90  float m_posmm_v;
92  float m_posmm_x;
94  float m_posmm_y;
96  float m_posmm_z;
97 
102  };
103 
104  }
106 }
107 
108 #endif /* PLUMEDIGITIZERMODULE_H */
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
StoreArray< PlumeHit > m_plumeHits
collection of PlumeHit saved in the datastore by the module
StoreArray< PlumeSimHit > m_plumeSimHits
PLUME SimHits.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void getXMLData()
reads data from PLUME.xml: ladder location, pixel pitch, epitaxial thickness, integration time
virtual void terminate() override
Termination action.
virtual void beginRun() override
Called when entering a new run.
virtual void setResponseModel()
set the parameters of the response model
PlumeDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreArray< MCParticle > m_particles
PLUME particles.
Abstract base class for different kinds of events.