Belle II Software  release-08-01-10
eclWaveformTemplateCalibrationC1Algorithm.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 /* Basf2 headers. */
12 #include <calibration/CalibrationAlgorithm.h>
13 
14 namespace Belle2 {
19  namespace ECL {
20 
23  public:
24 
27 
30 
32  void setOutputName(const std::string& outputName) {m_outputName = outputName;}
33 
35  std::string getOutputName() {return m_outputName;}
36 
39 
42 
45 
48 
51 
54 
57 
60 
61  protected:
62 
64  virtual EResult calibrate() override;
65 
66  private:
67 
68  std::string m_outputName = "eclWaveformTemplateCalibrationC1Algorithm.root";
69  float m_fractionLimitGeneral = 0.5;
72  int m_minWaveformLimit = 10;
74  };
75  }
77 } // namespace Belle2
78 
79 
Base class for calibration algorithms.
EResult
The result of calibration.
void setminWaveformLimit(int minWaveformLimit)
Setter for m_minWaveformLimit.
void setOutputName(const std::string &outputName)
Setter for m_outputName.
void setfractionLimitGeneral(float fractionLimitGeneral)
Setter for m_fractionLimitGeneral.
void setfractionLimitLowCounts(float fractionLimitLowCounts)
Setter for m_fractionLimitLowCounts.
void setLowCountThreshold(int LowCountThreshold)
Setter for m_LowCountThreshold.
int m_minWaveformLimit
min number of waveforms required per crystal to be considered low counts
float m_fractionLimitLowCounts
fraction of waveforms used for low count crystals
Abstract base class for different kinds of events.