Belle II Software  release-08-01-10
TOPTriggerDigitizerModule.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 #pragma once
10 
11 #include <framework/core/Module.h>
12 
13 namespace Belle2 {
26 
27  public:
28 
33 
38 
43  virtual void initialize() override;
44 
48  virtual void beginRun() override;
49 
53  virtual void event() override;
54 
58  virtual void endRun() override;
59 
64  virtual void terminate() override;
65 
66  private:
67 
71  enum {c_SamplingCycle = 8,
72  c_Frame9Period = 30720
73  };
74 
75  // module steering parameters
80  };
81 
83 } // Belle2 namespace
84 
Base class for Modules.
Definition: Module.h:72
Digitizer that provides time stamps for TOP trigger.
int m_hysteresis
pulse height threshold hysteresis [ADC counts]
int m_threshold
pulse height threshold [ADC counts]
@ c_SamplingCycle
timestamp sampling period [samples]
@ c_Frame9Period
number of sampling cycles per frame9 marker
int m_gateWidth
width of discriminator gate [samples]
int m_samplingPhase
sampling phase [samples]
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.
virtual void beginRun() override
Called when entering a new run.
Abstract base class for different kinds of events.