8 #include "../interface/HZZ2L2QRooPdfs.h"
9 #include "RooRealVar.h"
10 #include "RooRealConstant.h"
12 using namespace RooFit;
25 RooAbsPdf(name,title),
27 mean(
"mean",
"mean",this,_mean),
28 width(
"width",
"width",this,_width),
29 alpha(
"alpha",
"alpha",this,_alpha),
31 theta(
"theta",
"theta",this,_theta)
36 RooAbsPdf(other,name),
54 double absa = fabs((
double)a);
56 double A = TMath::Power(
n/absa,
n)*
exp(-0.5*absa*absa);
57 double B =
n/absa-absa;
62 return A/TMath::Power(B-t,
n);
80 RooAbsPdf(name,title),
82 mean(
"mean",
"mean",this,_mean),
83 width(
"width",
"width",this,_width),
84 alpha1(
"alpha1",
"alpha1",this,_alpha1),
85 n1(
"n1",
"n1",this,_n1),
86 alpha2(
"alpha2",
"alpha2",this,_alpha2),
87 n2(
"n2",
"n2",this,_n2)
93 RooAbsPdf(other,name),
97 alpha1(
"alpha1",this,other.alpha1),
98 n1(
"n1",this,other.n1),
99 alpha2(
"alpha2",this,other.alpha2),
100 n2(
"n2",this,other.n2)
119 cout <<
"ERROR evaluating range..." << endl;
134 RooAbsPdf(name,title),
136 cutOff(
"cutOff",
"cutOff",this,_cutOff),
137 beta(
"beta",
"beta",this,_beta)
143 RooAbsPdf(other,name),
145 cutOff(
"cutOff",this,other.cutOff),
168 RooAbsPdf(name,title),
170 mean(
"mean",
"mean",this,_mean),
171 width(
"width",
"width",this,_width),
178 RooAbsPdf(other,name),
205 RooAbsPdf(name, title),
206 m(
"m",
"Dependent", this, _m),
207 start(
"start",
"start",this,_start),
208 turn(
"turn",
"turn",this,_turn),
209 stop(
"stop",
"stop",this,_stop)
214 RooAbsPdf(other, name),
m(
"m", this, other.
m),
start(
"start", this, other.
start), turn(
"turn", this, other.turn), stop(
"stop", this, other.stop)
232 if (matchArgs(allVars,analVars,
m))
return 1;
255 return sumleft+sumright;
271 RooAbsPdf(name,title),
273 sigma(
"sigma",
"sigma",this,_sigma),
274 alpha(
"alpha",
"alpha",this,_alpha),
277 theta(
"theta",
"theta",this,_theta)
282 RooAbsPdf(other,name),
284 sigma(
"sigma",this,other.sigma),
298 double t = fabs(
x-
m);
299 double den = (s + a*
t);
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
Double_t evaluate() const
Double_t evaluate() const
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Double_t evaluate() const
Cos< T >::type cos(const T &t)
Double_t evaluate() const
Double_t evaluate() const
Double_t evaluate() const
Double_t mean(Double_t mH, TString proc)
Power< A, B >::type pow(const A &a, const B &b)