Belle II Software  release-08-01-10
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 
18 namespace Belle2 {
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 
53  TH2F* PPVsCrysID;
55  const int MaxPeaktoPeakValue = 2000;
57  };
59 } // end Belle2 namespace
Calibration collector module base class.
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 to estimate noise level of delayed Bhabha waveforms.
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.