ATLAS Offline Software
Loading...
Searching...
No Matches
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
13public:
15 TFCS1DFunctionRegressionTF(float, float);
17
19 virtual double rnd_to_fct(double rnd) const;
20 double retransform(double value) const;
21
22private:
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
29};
30
31#endif
static TRandom * rnd
std::vector< std::vector< double > > m_fWeightMatrix1to2
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
double retransform(double value) const
std::vector< std::vector< double > > m_fWeightMatrix0to1
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.