Belle II Software  release-05-02-19
TOPModuleT0LLAlgorithm.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * *
6  * Author: The Belle II Collaboration *
7  * Contributors: Marko Staric *
8  * *
9  * This software is provided "as is" without any warranty. *
10  **************************************************************************/
11 
12 #pragma once
13 #include <calibration/CalibrationAlgorithm.h>
14 
15 namespace Belle2 {
20  namespace TOP {
21 
26  class TOPModuleT0LLAlgorithm : public CalibrationAlgorithm {
27  public:
28 
31 
33  virtual ~TOPModuleT0LLAlgorithm() {}
34 
39  void setMinError(double minError) {m_minError = minError;}
40 
41  private:
42 
46  virtual EResult calibrate() final;
47 
48  // algorithm parameters
49  double m_minError = 0.020;
51  };
52 
53  } // end namespace TOP
55 } // end namespace Belle2
Belle2::TOP::TOPModuleT0LLAlgorithm::~TOPModuleT0LLAlgorithm
virtual ~TOPModuleT0LLAlgorithm()
Destructor.
Definition: TOPModuleT0LLAlgorithm.h:42
Belle2::TOP::TOPModuleT0LLAlgorithm::m_minError
double m_minError
minimal moduleT0 uncertainty [ns] to declare c_OK
Definition: TOPModuleT0LLAlgorithm.h:58
Belle2::TOP::TOPModuleT0LLAlgorithm::setMinError
void setMinError(double minError)
Sets minimal module T0 uncertainty to declare this calibration as c_OK.
Definition: TOPModuleT0LLAlgorithm.h:48
Belle2::TOP::TOPModuleT0LLAlgorithm::TOPModuleT0LLAlgorithm
TOPModuleT0LLAlgorithm()
Constructor.
Definition: TOPModuleT0LLAlgorithm.cc:34
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CalibrationAlgorithm::EResult
EResult
The result of calibration.
Definition: CalibrationAlgorithm.h:50
Belle2::TOP::TOPModuleT0LLAlgorithm::calibrate
virtual EResult calibrate() final
algorithm implementation
Definition: TOPModuleT0LLAlgorithm.cc:40