00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include "EvtGenBase/EvtPatches.hh"
00023 #include <stdlib.h>
00024 #include "EvtGenBase/EvtParticle.hh"
00025 #include "EvtGenBase/EvtGenKine.hh"
00026 #include "EvtGenBase/EvtPDL.hh"
00027 #include "EvtGenBase/EvtVector4C.hh"
00028 #include "EvtGenBase/EvtVector4R.hh"
00029 #include "EvtGenBase/EvtTensor4C.hh"
00030 #include "EvtGenBase/EvtReport.hh"
00031 #include "EvtGenBase/EvtHelSys.hh"
00032 #include "EvtGenModels/EvtT2GV.hh"
00033 #include "EvtGenBase/EvtRandom.hh"
00034
00035 #include <string>
00036
00037 EvtT2GV::~EvtT2GV() {}
00038
00039 void EvtT2GV::getName(std::string& model_name){
00040
00041 model_name="T2GV";
00042
00043 }
00044
00045 EvtDecayBase* EvtT2GV::clone(){
00046
00047 return new EvtT2GV;
00048
00049 }
00050
00051
00052 void EvtT2GV::init(){
00053
00054
00055 checkNArg(0);
00056
00057 }
00058
00059 void EvtT2GV::initProbMax(){
00060
00061
00062 setProbMax(30.00001);
00063 }
00064
00065 void EvtT2GV::decay( EvtParticle *p ){
00066
00067 loop:
00068 p->initializePhaseSpace(getNDaug(),getDaugs());
00069 EvtParticle *v,*s1;
00070 EvtVector4R pv,ps,ppr;
00071
00072 v =p->getDaug(0);
00073 s1=p->getDaug(1);
00074 pv=v->getP4();
00075 ps=s1->getP4();
00076 ppr=p->getP4();
00077
00078 double alpha=21./73.;
00079
00080
00081 EvtHelSys angles(ps,pv);
00082 double theta =angles.getHelAng(1);
00083 double phi =angles.getHelAng(2);
00084 double gamma=0;
00085 double F0=1.;
00086 double F1=sqrt(3.)*F0;
00087 double F2=sqrt(6.)*F0;
00088
00089
00090 int j1,j2,j3;
00091 for(j1=0;j1<=4;){
00092 for(j2=0;j2<=1;){
00093 for(j3=0;j3<=2;){
00094 vertex(j1,j2,j3,0.0);j3++;}
00095 j2++;}
00096 j1++;}
00097
00098
00099 vertex(0,0,0, Djmn(1, 1, 1,phi,theta,gamma)*F0);
00100 vertex(0,0,1, Djmn(1,-1, 1,phi,theta,gamma)*F0);
00101 vertex(0,0,2, Djmn(1, 0, 1,phi,theta,gamma)*F0);
00102 vertex(0,1,0, Djmn(1, 1,-1,phi,theta,gamma)*F0);
00103 vertex(0,1,1, Djmn(1,-1,-1,phi,theta,gamma)*F0);
00104 vertex(0,1,2, Djmn(1, 0,-1,phi,theta,gamma)*F0);
00105
00106 vertex(1,0,0, Djmn(1, 1,-1,phi,theta,gamma)*F2);
00107 vertex(1,0,1, Djmn(1,-1,-1,phi,theta,gamma)*F2);
00108 vertex(1,0,2, Djmn(1, 0,-1,phi,theta,gamma)*F2);
00109
00110 vertex(2,1,0, Djmn(1, 1, 1,phi,theta,gamma)*F2);
00111 vertex(2,1,1, Djmn(1,-1, 1,phi,theta,gamma)*F2);
00112 vertex(2,1,2, Djmn(1, 0, 1,phi,theta,gamma)*F2);
00113
00114 vertex(3,0,0, Djmn(1, 1, 0,phi,theta,gamma)*F1);
00115 vertex(3,0,1, Djmn(1,-1, 0,phi,theta,gamma)*F1);
00116 vertex(3,0,2, Djmn(1, 0, 0,phi,theta,gamma)*F1);
00117
00118 vertex(4,1,0, Djmn(1, 1, 0,phi,theta,gamma)*F1);
00119 vertex(4,1,1, Djmn(1,-1, 0,phi,theta,gamma)*F1);
00120 vertex(4,1,2, Djmn(1, 0, 0,phi,theta,gamma)*F1);
00121
00122
00123 return ;
00124 }
00125
00126