BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtHelSys.cc File Reference
#include "EvtGenBase/EvtPatches.hh"
#include <iostream>
#include <math.h>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <strstream>
#include "EvtGenBase/EvtParticle.hh"
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtGenBase/EvtVector3R.hh"
#include "EvtGenBase/EvtReport.hh"
#include "EvtGenBase/EvtCPUtil.hh"
#include "EvtGenBase/EvtHelSys.hh"
#include "EvtGenBase/EvtKine.hh"
#include "EvtGenBase/EvtdFunction.hh"

Go to the source code of this file.

Functions

double djmn (int j, int m, int n, double theta)
 
double djmn (double j, double m, double n, double theta)
 
EvtComplex Djmn (int j, int m, int n, double phi, double theta, double gamma)
 
EvtComplex Djmn (double j, double m, double n, double phi, double theta, double gamma)
 

Function Documentation

◆ Djmn() [1/2]

EvtComplex Djmn ( double  j,
double  m,
double  n,
double  phi,
double  theta,
double  gamma 
)

Definition at line 165 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtHelSys.cc.

165 {
166int j2=(int)(j*2*1.1),m2=(int)(m*2*1.1),n2=(int)(n*2*1.1);
167EvtComplex gp(cos(-phi*m ), -sin(phi*m));
168EvtComplex gm(cos(-gamma*n), -sin(gamma*n));
169double tp3=EvtdFunction::d(j2,m2,n2,theta);
170EvtComplex temp=gp * tp3 * gm;
171return temp;
172}
double sin(const BesAngle a)
Definition: BesAngle.h:210
double cos(const BesAngle a)
Definition: BesAngle.h:213
const Int_t n
int n2
Definition: SD0Tag.cxx:55
static double d(int j, int m1, int m2, double theta)

◆ djmn() [1/2]

double djmn ( double  j,
double  m,
double  n,
double  theta 
)

Definition at line 144 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtHelSys.cc.

144 {
145int j2=(int)(j*2*1.1),m2=(int)(m*2*1.1),n2=(int)(n*2*1.1);
146double temp=EvtdFunction::d(j2,m2,n2,theta);
147return temp;
148}

◆ Djmn() [2/2]

EvtComplex Djmn ( int  j,
int  m,
int  n,
double  phi,
double  theta,
double  gamma 
)

Definition at line 151 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtHelSys.cc.

151 {
152int j2=j*2,m2=m*2,n2=n*2;
153EvtComplex gp(cos(-phi*m ), -sin(phi*m));
154EvtComplex gm(cos(-gamma*n), -sin(gamma*n));
155double tp3=EvtdFunction::d(j2,m2,n2,theta);
156
157//EvtComplex temp=wignerD(j2,m2,n2,phi,theta,gamma); //wignerD is corrected by pingrg, 2007,04,28, it gives the same result as this definition
158
159EvtComplex temp=gp * tp3 * gm;
160
161return temp;
162}

◆ djmn() [2/2]

double djmn ( int  j,
int  m,
int  n,
double  theta 
)

Definition at line 138 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtHelSys.cc.

138 {
139int j2=j*2,m2=m*2,n2=n*2;
140double temp=EvtdFunction::d(j2,m2,n2,theta);
141return temp;
142}