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
32 void setMinEntries(int minEntries) {m_minEntries = minEntries;}
33
38 void setSigma(double sigma) {m_sigma = sigma;}
39
40 private:
41
45 virtual EResult calibrate() final;
46
47 int m_minEntries = 100;
48 double m_sigma = 1.0;
49
50 };
51
52 } // end namespace TOP
54} // end namespace Belle2
EResult
The result of calibration.
CalibrationAlgorithm(const std::string &collectorModuleName)
Constructor - sets the prefix for collected objects (won't be accesses until execute(....
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.