Belle II Software  release-08-01-10
TestCalibMean.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 namespace Belle2 {
17  class TestCalibMean: public TObject {
18 
19  public:
20 
23 
25  TestCalibMean(float mean, float meanError): m_mean(mean), m_meanError(meanError) {};
26 
28  float getMean() const {return m_mean;};
30  float getMeanError() const {return m_meanError;};
32  void setMean(float mean) {m_mean = mean;};
34  void setMeanError(float meanError) {m_meanError = meanError;};
35  private:
36 
37  float m_mean;
38  float m_meanError;
41  };
43 } // end namespace Belle2
Test DBObject.
Definition: TestCalibMean.h:17
float getMean() const
Gets the stored mean.
Definition: TestCalibMean.h:28
void setMean(float mean)
Sets the stored mean.
Definition: TestCalibMean.h:32
ClassDef(TestCalibMean, 1)
ClassDef.
TestCalibMean(float mean, float meanError)
Constructor.
Definition: TestCalibMean.h:25
float getMeanError() const
Gets the stored error on the mean.
Definition: TestCalibMean.h:30
TestCalibMean()
Default constructor.
Definition: TestCalibMean.h:22
void setMeanError(float meanError)
Sets the Stored mean error.
Definition: TestCalibMean.h:34
float m_meanError
meanError
Definition: TestCalibMean.h:38
Abstract base class for different kinds of events.