Belle II Software  release-08-00-10
eclAutocovarianceCalibrationC3Algorithm.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 /* ECL headers. */
12 #include <ecl/calibration/eclAutocovarianceCalibrationC3Algorithm.h>
13 
14 /* Basf2 headers. */
15 #include <calibration/CalibrationAlgorithm.h>
16 
17 namespace Belle2 {
22  namespace ECL {
23 
26  public:
27 
30 
33 
35  void setOutputName(const std::string& outputName) {m_outputName = outputName;}
36 
38  std::string getOutputName() {return m_outputName;}
39 
40  protected:
41 
43  virtual EResult calibrate() override;
44 
45  private:
46 
47  const int m_numberofADCPoints = 31;
49  std::string m_outputName = "eclAutocovarianceCalibrationC3Algorithm.root";
51  int m_TotalCountsThreshold = 10000;
53  };
54  }
56 } // namespace Belle2
57 
58 
Base class for calibration algorithms.
EResult
The result of calibration.
Calibrate covariance matrix for crystals using delayed Bhabha events.
void setOutputName(const std::string &outputName)
Setter for m_outputName.
int m_TotalCountsThreshold
min number of counts needed to compute calibration
virtual EResult calibrate() override
..Run algorithm on events
Abstract base class for different kinds of events.