13 #include "Riostream.h"
16 #include "RooAbsReal.h"
17 #include "RooAbsCategory.h"
44 vxx(
"vxx",
"vxx",this,_vxx),
45 vyy(
"vyy",
"vyy",this,_vyy),
46 vxy(
"vxy",
"vxy",this,_vxy),
47 mx(
"mx",
"mx",this,_mx),
48 sx(
"sx",
"sx",this,_sx),
49 ax(
"ax",
"ax",this,_ax),
50 my(
"my",
"my",this,_my),
51 sy(
"sy",
"sy",this,_sy),
52 ay(
"ay",
"ay",this,_ay),
53 mz(
"mz",
"mz",this,_mz),
54 sz(
"sz",
"sz",this,_sz),
56 rho(
"rho",
"rho",this,_rho)
94 double detw = wxx*wyy - wxy*wxy;
95 double iwxx = wyy/detw;
96 double iwyy = wxx/detw;
97 double iwxy = -wxy/detw;
111 if (matchArgs(allVars,analVars,
x,
y,
z))
return 1 ;
112 if (matchArgs(allVars,analVars,
x,
y))
return 2 ;
122 double pi = TMath::Pi();
127 double detw = wxx*wyy - wxy*wxy;
136 return 2*
pi*sqrt(detw)*sqrt(2*
pi)*
sz;
140 return 2*
pi*sqrt(detw)*
exp(-0.5*dz*dz/(
sz*
sz));