Belle II Software  release-05-02-19
TestCalibObject.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 #include <TObject.h>
14 
15 namespace Belle2 {
25  class TestCalibObject: public TObject {
26 
27  public:
28 
32  TestCalibObject(): m_value(0) {};
33 
37  explicit TestCalibObject(float value): m_value(value) {};
38 
42  ~TestCalibObject() {};
43 
47  float getConstantValue() const {return m_value; };
48 
52  void setConstantValue(float value) {m_value = value; };
53 
54  private:
55  float m_value;
58  };
60 } // end namespace Belle2
Belle2::TestCalibObject::setConstantValue
void setConstantValue(float value)
Set value of constant.
Definition: TestCalibObject.h:60
Belle2::TestCalibObject::~TestCalibObject
~TestCalibObject()
Destructor.
Definition: TestCalibObject.h:50
Belle2::TestCalibObject
Test DBObject.
Definition: TestCalibObject.h:33
Belle2::TestCalibObject::m_value
float m_value
Constant value.
Definition: TestCalibObject.h:60
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TestCalibObject::ClassDef
ClassDef(TestCalibObject, 1)
ClassDef.
Belle2::TestCalibObject::TestCalibObject
TestCalibObject()
Default constructor.
Definition: TestCalibObject.h:40
Belle2::TestCalibObject::getConstantValue
float getConstantValue() const
Return constant.
Definition: TestCalibObject.h:55