13 #ifndef ROO_CUBICSPLINEPDF 14 #define ROO_CUBICSPLINEPDF 16 #include "RooRealProxy.h" 17 #include "RooListProxy.h" 20 #include "RooAbsPdf.h" 32 const std::vector<double>&
knots,
33 const std::vector<double>& values,
34 const std::vector<double>& errors = std::vector<double>(),
35 double smooth = 0,
bool constCoeffs =
true);
36 RooCubicSplinePdf(
const char* name,
const char* title, RooRealVar& x,
const TGraph* graph,
37 bool constCoeffs =
true);
41 RooCubicSplinePdf(
const char* name,
const char* title, RooRealVar& x,
const TH1* hist,
42 double smooth = 0,
bool constCoeffs =
true);
43 RooCubicSplinePdf(
const char* name,
const char* title, RooRealVar& x,
const TGraphErrors* graph,
44 double smooth = 0,
bool constCoeffs =
true);
46 const char *knotBinningName,
const RooArgList& coefList) ;
48 const std::vector<double>&
knots,
const RooArgList& coefList);
58 Int_t
getMaxVal(
const RooArgSet& vars)
const;
59 Double_t
maxVal(Int_t code)
const;
63 ,Double_t scale, Double_t offset
64 ,
const std::complex<double>& z)
const;
67 double u(
int i)
const {
return _aux.
u(i); }
77 void init(
const char* name,
const std::vector<double>& heights,
78 const std::vector<double>& errors,
double smooth,
bool constCoeffs);
85 double offset,
double* sc)
const ;
const std::vector< double > & knots() const
unsigned knotSize() const
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName) const
void init(const char *name, const std::vector< double > &heights, const std::vector< double > &errors, double smooth, bool constCoeffs)
Int_t getMaxVal(const RooArgSet &vars) const
const RooArgList & coefficients() const
std::complex< double > gaussIntegralE(bool left, const RooGaussModelAcceptance::M_n< 4U > &dM, const RooGaussModelAcceptance::K_n &K, double offset, double *sc) const
std::complex< double > productAnalyticalIntegral(Double_t umin, Double_t umax, Double_t scale, Double_t offset, const std::complex< double > &z) const
TObject * clone(const char *newname) const
const std::vector< double > & knots() const
Double_t maxVal(Int_t code) const
Double_t analyticalIntegral(Int_t code, const char *rangeName) const
Double_t evaluate() const