Belle II Software development
TestCalibObject.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#include <TObject.h>
12
13namespace Belle2 {
23 class TestCalibObject: public TObject {
24
25 public:
26
31
35 explicit TestCalibObject(float value): m_value(value) {};
36
41
45 float getConstantValue() const {return m_value; };
46
50 void setConstantValue(float value) {m_value = value; };
51
52 private:
53 float m_value;
56 };
58} // end namespace Belle2
TestCalibObject()
Default constructor.
TestCalibObject(float value)
Constructor.
float getConstantValue() const
Return constant.
void setConstantValue(float value)
Set value of constant.
float m_value
Constant value.
~TestCalibObject()
Destructor.
ClassDef(TestCalibObject, 1)
ClassDef.
Abstract base class for different kinds of events.