Belle II Software development
TOPCalPulseGeneratorModule.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 <framework/datastore/StoreArray.h>
13#include <top/dataobjects/TOPSimCalPulse.h>
14#include <vector>
15
16namespace Belle2 {
21
29
30 public:
31
36
41 virtual void initialize() override;
42
46 virtual void event() override;
47
48 private:
49
50 // module steering parameters
51
52 std::vector<int> m_moduleIDs;
53 std::vector<unsigned> m_asicChannels;
54 double m_amplitude;
55 double m_delay;
56 double m_windowSize;
57
58 // dataobjects
60
61 };
62
64} // Belle2 namespace
65
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
std::vector< unsigned > m_asicChannels
ASIC calibration channels.
StoreArray< TOPSimCalPulse > m_calPulses
collection of simulated cal pulses
double m_windowSize
window size in which to generate cal pulses [ns]
double m_amplitude
cal pulse amplitude [ADC counts]
std::vector< int > m_moduleIDs
slot ID's to generate for
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
Abstract base class for different kinds of events.