7 #include "RooAbsReal.h" 8 #include "RooRealVar.h" 13 RooAbsReal& _m, RooAbsReal& _a, RooAbsReal& _b, RooAbsReal& _csi, RooAbsReal& _shift, RooAbsReal& _sigma, RooAbsReal& _ratio_sigma, RooAbsReal& _fraction_sigma ) :
16 RooAbsPdf(name, title),
17 m(
"m",
"Dependent", this, _m),
18 a(
"a",
"a", this, _a),
19 b(
"b",
"b", this, _b),
20 csi(
"csi",
"csi", this, _csi),
21 shift(
"shift",
"shift", this, _shift),
22 sigma(
"sigma",
"sigma", this, _sigma),
23 ratio_sigma(
"ratio_sigma",
"ratio_sigma", this, _ratio_sigma),
24 fraction_sigma(
"fraction_sigma",
"fraction_sigma", this, _fraction_sigma)
30 RooAbsPdf(other, name),
m(
"m", this, other.
m), a(
"a", this, other.a), b(
"b", this, other.b), csi(
"csi", this, other.csi), shift(
"shift", this, other.shift), sigma(
"sigma", this, other.sigma), ratio_sigma(
"ratio_sigma", this, other.ratio_sigma), fraction_sigma(
"fraction_sigma", this, other.fraction_sigma)
52 double CURVEG1 = fabs( (1-
csi)/(b_new-a_new)*(
m) + (b_new*
csi - a_new)/(b_new-a_new) )*fabs(firstG1);
58 double firstG2 = (2*exp(-((a_new-(
m-
shift))*(a_new-(
m-
shift))/(2*(sigma2*sigma2))))*sigma2*(b_new-(
m-
shift))+2*exp(-((b_new-(
m-
shift))*(b_new-(
m-
shift))/(2*(sigma2*sigma2))))*sigma2*(-a_new+(
m-
shift))-sqrt(2*TMath::Pi())*(a_new*b_new+(sigma2*sigma2)-(a_new+b_new)*(
m-
shift)+((
m-
shift)*(
m-
shift)))*TMath::Erf((-a_new+(
m-
shift))/(sqrt(2)*sigma2))+sqrt(2*TMath::Pi())*(a_new*b_new+(sigma2*sigma2)-(a_new+b_new)*(
m-
shift)+((
m-
shift)*(
m-
shift)))*TMath::Erf((-b_new+(
m-
shift))/(sqrt(2)*sigma2)))/(2*sqrt(2*TMath::Pi()));
60 double CURVEG2 = fabs( (1-
csi)/(b_new-a_new)*(
m) + (b_new*
csi - a_new)/(b_new-a_new) )*fabs(firstG2);
RooHILLdini(const char *name, const char *title, RooAbsReal &_m, RooAbsReal &_a, RooAbsReal &_b, RooAbsReal &_csi, RooAbsReal &_shift, RooAbsReal &_sigma, RooAbsReal &_ratio_sigma, RooAbsReal &_fraction_sigma)
RooRealProxy fraction_sigma
Double_t evaluate() const