Belle II Software development
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
13namespace Belle2 {
23
24 public:
25
30
35
40 virtual void initialize() override;
41
45 virtual void beginRun() override;
46
50 virtual void event() override;
51
55 virtual void endRun() override;
56
61 virtual void terminate() override;
62
63 private:
64
68 enum {c_SamplingCycle = 8,
69 c_Frame9Period = 30720
70 };
71
72 // module steering parameters
77 };
78
80} // Belle2 namespace
81
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]
int m_gateWidth
width of discriminator gate [samples]
int m_samplingPhase
sampling phase [samples]
@ c_SamplingCycle
timestamp sampling period [samples]
@ c_Frame9Period
number of sampling cycles per frame9 marker
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.