Belle II Software  release-08-01-10
eclAutocovarianceCalibrationC4Algorithm.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/CalibrationAlgorithm.h>
13 
14 namespace Belle2 {
19  namespace ECL {
20 
23  public:
24 
27 
30 
32  void setOutputName(const std::string& outputName) {m_outputName = outputName;}
33 
35  std::string getOutputName() {return m_outputName;}
36 
38  void setMinEntries(int minEntries) {m_minEntries = minEntries;}
39 
41  int getMinEntries() {return m_minEntries;}
42 
44  void setLowestEnergyFraction(int lowestEnergyFraction) {m_lowestEnergyFraction = lowestEnergyFraction;}
45 
48 
49  protected:
50 
52  virtual EResult calibrate() override;
53 
54  private:
55 
56  std::string m_outputName = "eclAutocovarianceCalibrationC4Algorithm.root";
57  int m_minEntries = 1000;
60  };
61  }
63 } // namespace Belle2
64 
65 
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.
void setLowestEnergyFraction(int lowestEnergyFraction)
Setter for m_lowestEnergyFraction.
virtual EResult calibrate() override
..Run algorithm on events
Abstract base class for different kinds of events.