Belle II Software  release-05-02-19
PinDigitizerModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2014 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef PINDIGITIZERMODULE_H
12 #define PINDIGITIZERMODULE_H
13 
14 #include <framework/core/Module.h>
15 #include <beast/pindiode/dataobjects/PindiodeHit.h>
16 #include <framework/datastore/StoreArray.h>
17 
18 namespace Belle2 {
23  namespace pindiode {
33  class PinDigitizerModule : public Module {
34 
35  public:
36 
41 
43  virtual ~PinDigitizerModule();
44 
46  virtual void initialize() override;
47 
49  virtual void beginRun() override;
50 
52  virtual void event() override;
53 
55  virtual void endRun() override;
57  virtual void terminate() override;
58 
59 
60  private:
61  StoreArray<PindiodeHit> m_pindiodeHit;
64  double m_CrematGain;
66  double m_WorkFunction;
68  double m_FanoFactor;
69 
70  };
71 
72  }
74 }
75 
76 #endif /* PINDIGITIZERMODULE_H */
Belle2::pindiode::PinDigitizerModule::m_WorkFunction
double m_WorkFunction
Work function.
Definition: PinDigitizerModule.h:74
Belle2::pindiode::PinDigitizerModule::terminate
virtual void terminate() override
This method is called at the end of the event processing.
Definition: PinDigitizerModule.cc:95
Belle2::pindiode::PinDigitizerModule::initialize
virtual void initialize() override
Initialize the Module.
Definition: PinDigitizerModule.cc:52
Belle2::pindiode::PinDigitizerModule::m_FanoFactor
double m_FanoFactor
Fano Factor.
Definition: PinDigitizerModule.h:76
Belle2::pindiode::PinDigitizerModule::event
virtual void event() override
This method is the core of the module.
Definition: PinDigitizerModule.cc:63
Belle2::pindiode::PinDigitizerModule::endRun
virtual void endRun() override
This method is called if the current run ends.
Definition: PinDigitizerModule.cc:91
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::pindiode::PinDigitizerModule::beginRun
virtual void beginRun() override
Called when entering a new run.
Definition: PinDigitizerModule.cc:59
Belle2::pindiode::PinDigitizerModule::PinDigitizerModule
PinDigitizerModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: PinDigitizerModule.cc:36
Belle2::pindiode::PinDigitizerModule
Pin tube digitizer.
Definition: PinDigitizerModule.h:41
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::pindiode::PinDigitizerModule::m_CrematGain
double m_CrematGain
Array for PindiodeHit.
Definition: PinDigitizerModule.h:72