Belle II Software development
eclAutocovarianceCalibrationC1Collector.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/* Basf2 headers. */
12#include <calibration/CalibrationCollectorModule.h>
13#include <framework/datastore/StoreArray.h>
14
15/* ROOT headers. */
16#include <TH2F.h>
17
18namespace Belle2 {
23
24 class ECLDsp;
25
28
29 public:
30
34
36 void prepare() override;
37
39 void startRun() override;
40
42 void collect() override;
43
45 void closeRun() override;
46
47 private:
48
50
52
53 TH2F* PPVsCrysID;
54
55 const int MaxPeaktoPeakValue = 2000;
56
57 };
58
59} // end Belle2 namespace
CalibrationCollectorModule()
Constructor. Sets the default prefix for calibration dataobjects.
Class to store ECL ShaperDSP waveform ADC data.
Definition ECLDsp.h:25
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
StoreArray< ECLDsp > m_eclDsps
Required input array of ECLDSPs.
void collect() override
Select events and crystals and accumulate histograms.
StoreObjPtr< EventMetaData > m_evtMetaData
dataStore EventMetaData
void prepare() override
Define histograms and read payloads from DB.
TH2F * PPVsCrysID
histogram of peak-to-peak amplitude vs crystalID (cellID-1)
const int MaxPeaktoPeakValue
histogram limit for peak-to-peak amplitude
Abstract base class for different kinds of events.