Belle II Software development
eclWaveformTemplateCalibrationC4Algorithm.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
14namespace 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
38 void setFirstCellID(int firstCellID) {m_firstCellID = firstCellID;}
39
41 void setLastCellID(int lastCellID) {m_lastCellID = lastCellID;}
42
44 void setBatchSize(int batchsize) {m_batchsize = batchsize;}
45
47 void setNumBatches(int numBatches) {m_numBatches = numBatches;}
48
49 protected:
50
52 virtual EResult calibrate() override;
53
54 private:
55
56 std::string m_outputName = "eclWaveformTemplateCalibrationC4Algorithm.root";
61 int m_batchsize = 100;
62 int m_numBatches = 88;
64 };
65 }
67} // namespace Belle2
68
69
Base class for calibration algorithms.
EResult
The result of calibration.
void setOutputName(const std::string &outputName)
Setter for m_outputName.
Abstract base class for different kinds of events.