5#ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionSpline_h
6#define ISF_FASTCALOSIMEVENT_TFCS1DFunctionSpline_h
22 double maxeffsiggoal = 3,
int maxnp = 20) {
24 Initialize(hist, maxdevgoal, maxeffsiggoal, maxnp);
28 static double get_maxdev(
const TH1 *hist,
const TSpline3 &
sp,
29 double &maxeffsig,
double &p_maxdev,
30 double &p_maxeffsig,
int ntoy = 10000);
32 double Initialize(TH1 *hist,
double maxdevgoal = 0.01,
33 double maxeffsiggoal = 3,
int maxnp = 20);
35 double InitializeFromSpline(TH1 *hist,
const TSpline3 &
sp,
36 double maxdevgoal = 0.01,
37 double maxeffsiggoal = 3);
38 double InitializeEqualDistance(TH1 *hist,
double maxdevgoal = 0.01,
39 double maxeffsiggoal = 3,
40 int nsplinepoints = 5);
41 double InitializeEqualProbability(TH1 *hist,
double maxdevgoal = 0.01,
42 double maxeffsiggoal = 3,
43 int nsplinepoints = 5);
57 static double optimize(TSpline3 &sp_best, std::vector<double> &nprop,
60 double maxdevgoal = 0.01,
double maxeffsiggoal = 3);
Define macros for attributes used to control the static checker.
static void unit_test ATLAS_NOT_THREAD_SAFE(TH1 *hist=nullptr)
const TSpline3 & spline() const
TFCS1DFunctionSpline(TH1 *hist=nullptr, double maxdevgoal=0.01, double maxeffsiggoal=3, int maxnp=20)
double Initialize(TH1 *hist, double maxdevgoal=0.01, double maxeffsiggoal=3, int maxnp=20)
static double optimize(TSpline3 &sp_best, std::vector< double > &nprop, const TH1 *hist, TFCS1DFunctionInt32Histogram &hist_fct, double maxdevgoal=0.01, double maxeffsiggoal=3)
static double get_maxdev(TH1 *, TH1 *)
virtual void rnd_to_fct(float value[], const float rnd[]) const
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function valu...