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 "EvtChi0BB1.hh"
00033 #include <string>
00034 using std::endl;
00035
00036 EvtChi0BB1::~EvtChi0BB1() {}
00037
00038 void EvtChi0BB1::getName(std::string& model_name){
00039
00040 model_name="Chi0BB1";
00041
00042 }
00043
00044
00045 EvtDecayBase* EvtChi0BB1::clone(){
00046
00047 return new EvtChi0BB1;
00048
00049 }
00050
00051 void EvtChi0BB1::init(){
00052
00053
00054 checkNDaug(2);
00055 checkSpinParent(EvtSpinType::SCALAR);
00056 checkSpinDaughter(0,EvtSpinType::DIRAC);
00057 checkSpinDaughter(1,EvtSpinType::DIRAC);
00058
00059 }
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070 void EvtChi0BB1::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 double F00=1.0;
00090 double F11=F00;
00091
00092 vertex(0,0,F00);
00093 vertex(1,1,F11);
00094
00095 return ;
00096
00097 }
00098
00099
00100
00101