Belle II Software development
eclAutocovarianceCalibrationC1Algorithm.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
14namespace 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 setLowestEnergyFraction(float lowestEnergyFraction) {m_lowestEnergyFraction = lowestEnergyFraction;}
39
42
44 void setTotalCountsThreshold(int totalCountsThreshold) {m_TotalCountsThreshold = totalCountsThreshold;}
45
48
49 protected:
50
52 virtual EResult calibrate() override;
53
54 private:
55
56 std::string m_outputName = "eclAutocovarianceCalibrationC1Algorithm.root";
62 };
63 }
65} // namespace Belle2
66
67
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 setTotalCountsThreshold(int totalCountsThreshold)
Setter for m_TotalCountsThreshold.
int m_TotalCountsThreshold
min number of counts needed to compute calibration
virtual EResult calibrate() override
..Run algorithm on events
void setLowestEnergyFraction(float lowestEnergyFraction)
Setter for m_lowestEnergyFraction.
Abstract base class for different kinds of events.