Belle II Software  release-08-01-10
SVDCrossTalkCalibrationsAlgorithm.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 #include <calibration/CalibrationAlgorithm.h>
12 
13 namespace Belle2 {
22  public:
23 
25  explicit SVDCrossTalkCalibrationsAlgorithm(const std::string& str);
26 
29 
31  void setMinEntries(int minEntries) {m_minEntries = minEntries;}
32 
33  protected:
34 
36  virtual EResult calibrate() override;
37 
38  private:
39 
41  std::string m_id;
42 
44  int m_minEntries = 10000;
45 
46  };
47 
48 
50 } // namespace Belle2
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing SVDCrossTalkCalibrations calibration algorithm.
int m_minEntries
Minimum number of required entries for collector histogram L4.1.2 u-side.
void setMinEntries(int minEntries)
Set the minimum number of entries required in hist from collector for L4.2.1 u-side.
SVDCrossTalkCalibrationsAlgorithm(const std::string &str)
Constructor
virtual EResult calibrate() override
Run algo on data.
Abstract base class for different kinds of events.