Belle II Software development
TOPChannelT0MCModule.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#include <framework/datastore/StoreArray.h>
14#include <top/dataobjects/TOPDigit.h>
15
16class TH1F;
17
18namespace Belle2 {
28
29 public:
34
39 virtual void initialize() override;
40
44 virtual void event() override;
45
50 virtual void terminate() override;
51
52 private:
53
57 enum {c_NumChannels = 512,
58 c_maxLaserFibers = 9
59 };
60
61 TH1F* m_histo[c_NumChannels] = {0};
62
63 std::vector<double> m_fitRange;
64 std::string m_outputFile;
65
67
68
69 };
70
72} // Belle2 namespace
73
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
std::vector< double > m_fitRange
fit range [nbins, xmin, xmax]
std::string m_outputFile
output root file name
StoreArray< TOPDigit > m_digits
collection of digits
TH1F * m_histo[c_NumChannels]
profile histograms
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void terminate() override
Termination action.
Abstract base class for different kinds of events.