Belle II Software release-09-00-00
TOPPulseHeightCollectorModule.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 <calibration/CalibrationCollectorModule.h>
12#include <framework/datastore/StoreArray.h>
13#include <top/dataobjects/TOPDigit.h>
14#include <vector>
15#include <string>
16
17namespace Belle2 {
30
31 public:
36
37 private:
38
42 virtual void prepare() final;
43
47 virtual void collect() final;
48
49 // steering parameters
50 int m_nx;
51 double m_xmax;
52 std::vector<double> m_widthWindow;
53 std::vector<double> m_timeWindow;
55 // collections
58 // other
59 std::vector<std::string> m_names;
61 };
62
64} // end namespace Belle2
Calibration collector module base class.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Collector for channel pulse-height distributions.
std::vector< std::string > m_names
histogram names
double m_xmax
histogram upper bound [ADC counts]
std::vector< double > m_widthWindow
lower and upper bound of pulse-width window
std::vector< double > m_timeWindow
lower and upper bound of time window
StoreArray< TOPDigit > m_digits
collection of TOP digits
virtual void collect() final
Replacement for event().
virtual void prepare() final
Replacement for initialize().
Abstract base class for different kinds of events.