40 if (_coef!=0)
delete [] _coef;
58 _coef=
new double[(_kmax-_kmin)/2+1];
62 for(k=_kmin;k<=_kmax;k+=2){
64 if ((k-_m2+_m1)%4!=0) sign=-sign;
66 double fkwTmp = fact((_j+_m2)/2)*fact((_j-_m2)/2)
67 *fact((_j+_m1)/2)*fact((_j-_m1)/2);
68 _coef[(k-_kmin)/2]=sign*sqrt(fkwTmp)/
69 (fact((_j+_m2-k)/2)*fact(k/2)*fact((_j-_m1-k)/2)*fact((k-_m2+_m1)/2));
89 double c2=
cos(0.5*theta);
90 double s2=
sin(0.5*theta);
95 for(k=_kmin;k<=_kmax;k+=2){
96 d+=_coef[(k-_kmin)/2]*pow(c2,(2*_j-2*k+m2-m1)/2)*pow(s2,(2*k-m2+m1)/2);
104int EvtdFunctionSingle::fact(
int n){
111 for(k=2;k<=
n;k++)
f*=k;
double sin(const BesAngle a)
double cos(const BesAngle a)
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
double d(int j, int m1, int m2, double theta)
void init(int j, int m1, int m2)