00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "EvtGenBase/EvtPatches.hh"
00022 #include <stdlib.h>
00023 #include "EvtGenBase/EvtParticle.hh"
00024 #include "EvtGenBase/EvtGenKine.hh"
00025 #include "EvtGenBase/EvtPDL.hh"
00026 #include "EvtGenBase/EvtVector4C.hh"
00027 #include "EvtGenBase/EvtVector4R.hh"
00028 #include "EvtGenBase/EvtTensor4C.hh"
00029 #include "EvtGenBase/EvtReport.hh"
00030 #include "EvtGenBase/EvtdFunction.hh"
00031 #include "EvtGenBase/EvtHelSys.hh"
00032 #include "EvtChi1BB2.hh"
00033 #include <string>
00034 using std::endl;
00035 using std::cout;
00036 EvtChi1BB2::~EvtChi1BB2() {}
00037
00038 void EvtChi1BB2::getName(std::string& model_name){
00039
00040 model_name="Chi1BB2";
00041
00042 }
00043
00044
00045 EvtDecayBase* EvtChi1BB2::clone(){
00046
00047 return new EvtChi1BB2;
00048
00049 }
00050
00051 void EvtChi1BB2::init(){
00052
00053 checkNArg(4);
00054 checkNDaug(2);
00055 checkSpinParent(EvtSpinType::VECTOR);
00056 checkSpinDaughter(0,EvtSpinType::RARITASCHWINGER);
00057 checkSpinDaughter(1,EvtSpinType::RARITASCHWINGER);
00058
00059 }
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070 void EvtChi1BB2::decay( EvtParticle *p){
00071
00072 p->initializePhaseSpace(getNDaug(),getDaugs());
00073
00074 EvtParticle *v,*s1;
00075 EvtVector4R pv,ps,ppr;
00076
00077 v =p->getDaug(0);
00078 s1=p->getDaug(1);
00079 pv=v->getP4();
00080 ps=s1->getP4();
00081 ppr=p->getP4();
00082
00083
00084 EvtHelSys angles(ppr,pv);
00085 double theta =angles.getHelAng(1);
00086 double phi =angles.getHelAng(2);
00087 double gamma=0;
00088
00089
00090
00091
00092
00093 double F00=getArg(0);
00094 double F01=getArg(1);
00095 double F03=getArg(2);
00096 double F11=getArg(3);
00097 double F33=-F00; double F32=-F01; double F30=-F03;
00098 double F10=F01; double F23=-F10; double F22=-F11;
00099
00100
00101
00102
00103
00104 int j1,j2,j3;
00105 for(j1=0;j1<=2;){
00106 for(j2=0;j2<=3;){
00107 for(j3=0;j3<=3;){
00108 vertex(j1,j2,j3,0.0);j3++;}
00109 j2++;}
00110 j1++;}
00111
00112 vertex(0,0,0,Djmn(1, 1, 0,phi,theta,gamma)*F00);
00113 vertex(0,0,1,Djmn(1, 1,-1,phi,theta,gamma)*F01);
00114 vertex(0,0,3,Djmn(1, 1, 1,phi,theta,gamma)*F03);
00115 vertex(0,1,0,Djmn(1, 1, 1,phi,theta,gamma)*F10);
00116 vertex(0,1,1,Djmn(1, 1, 0,phi,theta,gamma)*F11);
00117 vertex(0,2,2,Djmn(1, 1, 0,phi,theta,gamma)*F22);
00118 vertex(0,2,3,Djmn(1, 1,-1,phi,theta,gamma)*F23);
00119 vertex(0,3,0,Djmn(1, 1,-1,phi,theta,gamma)*F30);
00120 vertex(0,3,2,Djmn(1, 1, 1,phi,theta,gamma)*F32);
00121 vertex(0,3,3,Djmn(1, 1, 0,phi,theta,gamma)*F33);
00122
00123 vertex(1,0,0,Djmn(1,-1, 0,phi,theta,gamma)*F00);
00124 vertex(1,0,1,Djmn(1,-1,-1,phi,theta,gamma)*F01);
00125 vertex(1,0,3,Djmn(1,-1, 1,phi,theta,gamma)*F03);
00126 vertex(1,1,0,Djmn(1,-1, 1,phi,theta,gamma)*F10);
00127 vertex(1,1,1,Djmn(1,-1, 0,phi,theta,gamma)*F11);
00128 vertex(1,2,2,Djmn(1,-1, 0,phi,theta,gamma)*F22);
00129 vertex(1,2,3,Djmn(1,-1,-1,phi,theta,gamma)*F23);
00130 vertex(1,3,0,Djmn(1,-1,-1,phi,theta,gamma)*F30);
00131 vertex(1,3,2,Djmn(1,-1, 1,phi,theta,gamma)*F32);
00132 vertex(1,3,3,Djmn(1,-1, 0,phi,theta,gamma)*F33);
00133
00134 vertex(2,0,0,Djmn(1, 0, 0,phi,theta,gamma)*F00);
00135 vertex(2,0,1,Djmn(1, 0,-1,phi,theta,gamma)*F01);
00136 vertex(2,0,3,Djmn(1, 0, 1,phi,theta,gamma)*F03);
00137 vertex(2,1,0,Djmn(1, 0, 1,phi,theta,gamma)*F10);
00138 vertex(2,1,1,Djmn(1, 0, 0,phi,theta,gamma)*F11);
00139 vertex(2,2,2,Djmn(1, 0, 0,phi,theta,gamma)*F22);
00140 vertex(2,2,3,Djmn(1, 0,-1,phi,theta,gamma)*F23);
00141 vertex(2,3,0,Djmn(1, 0,-1,phi,theta,gamma)*F30);
00142 vertex(2,3,2,Djmn(1, 0, 1,phi,theta,gamma)*F32);
00143 vertex(2,3,3,Djmn(1, 0, 0,phi,theta,gamma)*F33);
00144
00145 return ;
00146
00147 }
00148