Belle II Software  release-08-01-10
CDCDedxScaleFactor.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 
13 namespace Belle2 {
23  class CDCDedxScaleFactor: public TObject {
24  public:
25 
30 
34  explicit CDCDedxScaleFactor(double scale): m_scale(scale) {};
35 
40 
44  double getScaleFactor() const {return m_scale; };
45 
49  void setScaleFactor(double scale) {m_scale = scale; };
50 
51  private:
52  double m_scale;
55  };
57 } // end namespace Belle2
dE/dx run gain calibration constants
void setScaleFactor(double scale)
Set scale factor.
ClassDef(CDCDedxScaleFactor, 1)
ClassDef.
CDCDedxScaleFactor()
Default constructor.
double m_scale
Scale factor to make electron dE/dx ~ 1.
CDCDedxScaleFactor(double scale)
Constructor.
double getScaleFactor() const
Return scale factor.
Abstract base class for different kinds of events.