5 #ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionSpline_h
6 #define ISF_FASTCALOSIMEVENT_TFCS1DFunctionSpline_h
22 double maxeffsiggoal = 3,
int maxnp = 20) {
29 double &maxeffsig,
double &p_maxdev,
30 double &p_maxeffsig,
int ntoy = 10000);
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);
51 const TSpline3 &
spline()
const {
return m_spline; };
52 TSpline3 &
spline() {
return m_spline; };
57 static double optimize(TSpline3 &sp_best, std::vector<double> &nprop,
60 double maxdevgoal = 0.01,
double maxeffsiggoal = 3);