Belle II Software development
TOPWaveformFeatureExtractorModule.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#include <string>
13
14namespace Belle2 {
26
27 public:
28
33
38
43 virtual void initialize() override;
44
49 virtual void beginRun() override;
50
54 virtual void event() override;
55
60 virtual void endRun() override;
61
66 virtual void terminate() override;
67
68 private:
69
71 int m_threshold = 0;
72 int m_hysteresis = 0;
74 bool m_setIntegral = false;
76 };
77
79} // Belle2 namespace
80
Base class for Modules.
Definition: Module.h:72
Waveform feature extractor: module adds rawDigits that are found in waveforms by feature extraction b...
int m_hysteresis
pulse height threshold hysteresis [ADC counts]
int m_threshold
pulse height threshold [ADC counts]
bool m_setIntegral
calculate and set integral for FW-extracted hits
std::string m_inputRawDigitsName
name of TOPRawDigit store array
int m_thresholdCount
minimal number of samples above threshold
virtual void initialize() override
Initialize the Module.
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.