Belle II Software  release-08-00-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 /* ECL headers. */
12 #include <ecl/calibration/eclWaveformTemplateCalibrationC1Algorithm.h>
13 
14 /* Basf2 headers. */
15 #include <calibration/CalibrationAlgorithm.h>
16 
17 namespace Belle2 {
22  namespace ECL {
23 
26  public:
27 
30 
33 
35  void setOutputName(const std::string& outputName) {m_outputName = outputName;}
36 
38  std::string getOutputName() {return m_outputName;}
39 
42 
45 
48 
51 
54 
57 
60 
63 
64  protected:
65 
67  virtual EResult calibrate() override;
68 
69  private:
70 
71  std::string m_outputName = "eclWaveformTemplateCalibrationC1Algorithm.root";
72  float m_fractionLimitGeneral = 0.5;
75  int m_minWaveformLimit = 10;
77  };
78  }
80 } // namespace Belle2
81 
82 
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.