#include <EvtdFunction.hh>
Static Public Member Functions | |
static double | d (int j, int m1, int m2, double theta) |
Definition at line 24 of file EvtdFunction.hh.
double EvtdFunction::d | ( | int | j, | |
int | m1, | |||
int | m2, | |||
double | theta | |||
) | [static] |
Definition at line 30 of file EvtdFunction.cc.
References abs, EvtdFunctionSingle::d(), and EvtdFunctionSingle::init().
Referenced by EvtPto3PAmp::angDep(), EvtDalitzReso::angDep(), Djmn(), djmn(), EvtEvalHelAmp::evalAmp(), EvtEvalHelAmp::probMax(), EvtHighSpinParticle::rotateToHelicityBasis(), and wignerD().
00030 { 00031 00032 00033 int m1p=m1; 00034 int m2p=m2; 00035 00036 00037 int signp=1; 00038 //make |m2p|>|m1p| 00039 if (abs(m2p)<abs(m1p)) { 00040 int tmp=m1p; 00041 m1p=m2p; 00042 m2p=tmp; 00043 if ((m1p-m2p)%4!=0) signp=-signp; 00044 } 00045 00046 //make m2p non-negative 00047 if (m2p<0) { 00048 m1p=-m1p; 00049 m2p=-m2p; 00050 if ((m1p-m2p)%4!=0) signp=-signp; 00051 } 00052 00053 00054 EvtdFunctionSingle df; 00055 00056 df.init(j,m1p,m2p); 00057 00058 double d=df.d(j,m1p,m2p,theta)*signp; 00059 00060 return d; 00061 00062 }