Belle II Software  release-08-01-10
SVDHotStripsCalibrationsAlgorithm.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 SVDHotStripsCalibrationsAlgorithm(const std::string& str);
26 
29 
30  protected:
31 
33  virtual EResult calibrate() override;
34 
35  private:
36 
37  std::string m_id;
38  bool theHSFinder(double* stripOccAfterAbsCut, int* hsflag, int nstrips);
39  int m_base;
40  float m_relOccPrec;
41  };
43 } // namespace Belle2
44 
45 
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing SVDHotStripsCalibrations calibration algorithm.
std::string m_id
Parameter given to set the UniqueID of the payload.
float m_relOccPrec
parameter to tue the finder algorithm
bool theHSFinder(double *stripOccAfterAbsCut, int *hsflag, int nstrips)
returns true if the strip is hot
SVDHotStripsCalibrationsAlgorithm(const std::string &str)
Constructor set the prefix to SVDHotStripsCalibrationsCollector.
virtual EResult calibrate() override
Run algo on data.
Abstract base class for different kinds of events.