Belle II Software  release-08-00-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 //Calibration
12 #include <calibration/CalibrationCollectorModule.h>
13 
14 //Framework
15 #include <framework/database/DBObjPtr.h>
16 #include <framework/datastore/StoreArray.h>
17 
18 //Root
19 #include <TH2F.h>
20 
21 namespace Belle2 {
27  class ECLDsp;
28 
31 
32  public:
33 
37 
39  void prepare() override;
40 
42  void startRun() override;
43 
45  void collect() override;
46 
48  void closeRun() override;
49 
50  private:
51 
56  TH2F* PPVsCrysID;
58  const int MaxPeaktoPeakValue = 2000;
60  };
62 } // 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.