Belle II Software  release-08-01-10
SVDMCFudgeFactorFunction.cc
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 #include<svd/dbobjects/SVDMCFudgeFactorFunction.h>
9 
10 using namespace Belle2;
11 
12 std::vector <SVDMCFudgeFactorFunction::fudgeFactorFunction> SVDMCFudgeFactorFunction::m_implementations;
13 
14 
16 {
17  m_chebyCoeffs = a.m_chebyCoeffs;
18 
19  m_x = a.m_x;
20  m_y = a.m_y;
21 
22  m_current = a.m_current;
23 
24 }
25 
27 {
28  if (this == &a)
29  return *this;
30 
31  m_chebyCoeffs = a.m_chebyCoeffs;
32 
33  m_x = a.m_x;
34  m_y = a.m_y;
35 
36  m_current = a.m_current;
37 
38  return *this;
39 }
class to contain the MC fudge factor formulae
std::vector< double > m_chebyCoeffs
function parameters & implementations
SVDMCFudgeFactorFunction & operator=(const Belle2::SVDMCFudgeFactorFunction &a)
operator =
std::vector< double > m_y
Vectors of TGraph points for the sigmas.
std::vector< double > m_x
ID = {1}, rel07: fudge factor parametrized with linear interpolation between graph points.
static std::vector< fudgeFactorFunction > m_implementations
vector of functions for fudge factor computation, we use the m_current
Abstract base class for different kinds of events.