Belle II Software development
eclWaveformTemplateCalibrationC1Collector.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//Calibration
12#include <calibration/CalibrationCollectorModule.h>
13
14//Framework
15#include <framework/database/DBObjPtr.h>
16#include <framework/datastore/StoreArray.h>
17
18#include <ecl/dbobjects/ECLCrystalCalib.h>
19
20//Root
21#include <TH2F.h>
22
23namespace Belle2 {
29 class ECLDigit;
30 class ECLDsp;
31
34
35 public:
36
40
42 void prepare() override;
43
45 void startRun() override;
46
48 void collect() override;
49
51 void closeRun() override;
52
53 private:
54
64 std::vector<float> m_ADCtoEnergy;
71 const int m_numberofADCPoints = 31;
75
78
79 };
81} // end Belle2 namespace
Calibration collector module base class.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Calibration collector module that uses delayed Bhabha to compute coveriance matrix.
double m_MaxEnergyThreshold
Maximum energy threshold of online fit result for Fitting Waveforms.
StoreArray< ECLDigit > m_eclDigits
Required input array of ECLDigits.
void collect() override
Select events and crystals and accumulate histograms.
void prepare() override
Define histograms and read payloads from DB.
double m_MinEnergyThreshold
Minimum energy threshold of online fit result for Fitting Waveforms.
Abstract base class for different kinds of events.