Belle II Software development
TOPEventT0OffsetAlgorithm.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#include <calibration/CalibrationAlgorithm.h>
11
12namespace Belle2 {
17 namespace TOP {
18
23 public:
24
27
30
35 void setMinEntries(int minEntries) {m_minEntries = minEntries;}
36
41 void setSigma(double sigma) {m_sigma = sigma;}
42
43 private:
44
48 virtual EResult calibrate() final;
49
50 int m_minEntries = 100;
51 double m_sigma = 1.0;
53 };
54
55 } // end namespace TOP
57} // end namespace Belle2
Base class for calibration algorithms.
EResult
The result of calibration.
Algorithm for event T0 offset calibration.
int m_minEntries
minimal number of entries to perform fit
void setSigma(double sigma)
Sets initial value of the Gaussian width.
void setMinEntries(int minEntries)
Sets minimal number of histogram entries to perform a fit.
virtual EResult calibrate() final
algorithm implementation
double m_sigma
initial value for Gaussian width [ns]
Abstract base class for different kinds of events.