Belle II Software development
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/* 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
37 protected:
38
40 virtual EResult calibrate() override;
41
42 private:
43
44 const int m_numberofADCPoints = 31;
46 std::string m_outputName = "eclAutocovarianceCalibrationC3Algorithm.root";
50 };
51 }
53} // namespace Belle2
54
55
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.