 |
Belle II Software
release-05-02-19
|
14 #include <calibration/CalibrationAlgorithm.h>
28 class TOPAsicShiftsBS13dAlgorithm :
public CalibrationAlgorithm {
87 std::vector<
double>
getPDF(
int shift);
94 double logL(std::shared_ptr<TH1F> h,
int shift);
double m_minSignificance
minimal result significance to declare c_OK
void setShiftRange(int begin, int end)
Sets the search range.
TOPAsicShiftsBS13dAlgorithm()
Constructor.
void setMinimalSignificance(double s)
Set minimal significance of the result to declare calibration as OK.
void setWindowSize(int size)
Sets size of the window on reference time distribution.
std::vector< double > m_timeReference
reference time distribution
void setMinValue(double minVal)
Sets minimal function value.
int m_i1
last bin of the window on reference time distribution
double logL(std::shared_ptr< TH1F > h, int shift)
Returns log likelihood of a histogram with respect to PDF at a given shift.
int m_winSize
size of the window on reference time distribution
int m_shiftEnd
shift range: upper limit + 1
Abstract base class for different kinds of events.
double fun(int x)
Returns measured time distribution at x or minVal for outside-range or empty bins.
std::vector< int > m_lastEntries
number of histogram entries
int m_i0
first bin of the window on reference time distribution
EResult
The result of calibration.
virtual EResult calibrate() final
algorithm implementation
std::vector< double > getPDF(int shift)
Returns normalized time distribution at a given shift (PDF)
double m_minVal
minimal function value
virtual ~TOPAsicShiftsBS13dAlgorithm()
Destructor.
int m_shiftBegin
shift range: lower limit
void setWindow()
Sets the position of a window containing maximum number of entries of reference time distribution.