Belle II Software development
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
18namespace Belle2 {
23 namespace plume {
31
32 public:
33
38
42 virtual ~PlumeDigitizerModule();
43
48 virtual void initialize() override;
49
54 virtual void beginRun() override;
55
59 virtual void event() override;
60
65 virtual void endRun() override;
66
71 virtual void terminate() override;
72
74 virtual void setResponseModel();
75
77 virtual void getXMLData();
78
79 private:
81 int Event = 0;
85 float m_posmm_u;
87 float m_posmm_v;
89 float m_posmm_x;
91 float m_posmm_y;
93 float m_posmm_z;
94
99 };
100
101 }
103}
104
105#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.