Belle II Software  release-05-01-25
TestCalibMean.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: David Dossett *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 namespace Belle2 {
18  class TestCalibMean: public TObject {
20 
21  public:
22 
24  TestCalibMean(): m_mean(0), m_meanError(0) {};
25 
27  TestCalibMean(float mean, float meanError): m_mean(mean), m_meanError(meanError) {};
28 
30  float getMean() const {return m_mean;};
32  float getMeanError() const {return m_meanError;};
34  void setMean(float mean) {m_mean = mean;};
36  void setMeanError(float meanError) {m_meanError = meanError;};
37  private:
38 
39  float m_mean;
40  float m_meanError;
41 
43  };
45 } // end namespace Belle2
Belle2::TestCalibMean::setMeanError
void setMeanError(float meanError)
Sets the Stored mean error.
Definition: TestCalibMean.h:44
Belle2::TestCalibMean::TestCalibMean
TestCalibMean()
Default constructor.
Definition: TestCalibMean.h:32
Belle2::TestCalibMean::setMean
void setMean(float mean)
Sets the stored mean.
Definition: TestCalibMean.h:42
Belle2::TestCalibMean
Test DBObject.
Definition: TestCalibMean.h:27
Belle2::TestCalibMean::getMean
float getMean() const
Gets the stored mean.
Definition: TestCalibMean.h:38
Belle2::TestCalibMean::getMeanError
float getMeanError() const
Gets the stored error on the mean.
Definition: TestCalibMean.h:40
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TestCalibMean::ClassDef
ClassDef(TestCalibMean, 1)
ClassDef.