Belle II Software  release-08-00-10
eclWaveformTemplateCalibrationC3Algorithm.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/eclWaveformTemplateCalibrationC3Algorithm.h>
13 #include <ecl/dbobjects/ECLDigitWaveformParameters.h>
14 
15 /* Basf2 headers. */
16 #include <calibration/CalibrationAlgorithm.h>
17 #include <framework/database/DBObjPtr.h>
18 
19 namespace Belle2 {
24  namespace ECL {
25 
28  public:
29 
32 
35 
37  void setOutputName(const std::string& outputName) {m_outputName = outputName;}
38 
40  std::string getOutputName() {return m_outputName;}
41 
43  void setFirstCellID(int firstCellID) {m_firstCellID = firstCellID;}
44 
46  void setLastCellID(int lastCellID) {m_lastCellID = lastCellID;}
47 
48  protected:
49 
51  virtual EResult calibrate() override;
52 
53  private:
54 
55  std::string m_outputName = "eclWaveformTemplateCalibrationC3Algorithm.root";
60  };
61  }
63 } // namespace Belle2
64 
65 
Base class for calibration algorithms.
EResult
The result of calibration.
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
void setOutputName(const std::string &outputName)
Setter for m_outputName.
DBObjPtr< ECLDigitWaveformParameters > m_WaveformParameters
Waveform parameters.
Abstract base class for different kinds of events.