ATLAS Offline Software
TFCS1DFunctionRegressionTF.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionRegressionTF_h
6 #define ISF_FASTCALOSIMEVENT_TFCS1DFunctionRegressionTF_h
7 
9 #include "TH1.h"
10 #include <vector>
11 
13 public:
15  TFCS1DFunctionRegressionTF(float, float);
17 
19  virtual double rnd_to_fct(double rnd) const;
20  double retransform(double value) const;
21 
22 private:
23  std::vector<std::vector<double>> m_fWeightMatrix0to1;
24  std::vector<std::vector<double>> m_fWeightMatrix1to2;
25  float m_rangeval{};
26  float m_startval{};
27 
28  ClassDef(TFCS1DFunctionRegressionTF, 1)
29 };
30 
31 #endif
TFCS1DFunctionRegression.h
TFCS1DFunctionRegressionTF::~TFCS1DFunctionRegressionTF
~TFCS1DFunctionRegressionTF()
Definition: TFCS1DFunctionRegressionTF.h:16
TFCS1DFunctionRegressionTF::m_startval
float m_startval
Definition: TFCS1DFunctionRegressionTF.h:26
athena.value
value
Definition: athena.py:124
TFCS1DFunctionRegressionTF::TFCS1DFunctionRegressionTF
TFCS1DFunctionRegressionTF()
Definition: TFCS1DFunctionRegressionTF.h:14
TFCS1DFunctionRegressionTF::m_fWeightMatrix1to2
std::vector< std::vector< double > > m_fWeightMatrix1to2
Definition: TFCS1DFunctionRegressionTF.h:24
TFCS1DFunctionRegressionTF::m_fWeightMatrix0to1
std::vector< std::vector< double > > m_fWeightMatrix0to1
Definition: TFCS1DFunctionRegressionTF.h:23
TFCS1DFunctionRegressionTF::retransform
double retransform(double value) const
Definition: TFCS1DFunctionRegressionTF.cxx:23
TFCS1DFunctionRegression
Definition: TFCS1DFunctionRegression.h:13
TFCS1DFunctionRegressionTF::m_rangeval
float m_rangeval
Definition: TFCS1DFunctionRegressionTF.h:25
TFCS1DFunctionRegression::rnd_to_fct
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
Definition: TFCS1DFunctionRegression.cxx:71
TFCS1DFunctionRegressionTF
Definition: TFCS1DFunctionRegressionTF.h:12
TFCS1DFunctionRegressionTF::rnd_to_fct
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
Definition: TFCS1DFunctionRegressionTF.cxx:28