/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenModels/EvtP2GC2.cc

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of models developed at BES collaboration
00005 //      based on the EvtGen framework.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/BesCopyright
00009 //      Copyright (A) 2006      Ping Rong-Gang @IHEP
00010 //
00011 // Module: EvtP2GC2.cc
00012 //
00013 // Description: Routine to decay psi(2S) to gamma chi_c2 by assuming E1 dominant
00014 //
00015 // Modification history:
00016 //
00017 //    Ping R.-G.       December, 2006       Module created
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/EvtHelSys.hh"
00031 #include "EvtP2GC2.hh"
00032 #include "EvtGenBase/EvtdFunctionSingle.hh"
00033 #include <string>
00034 using std::endl;
00035 
00036 EvtP2GC2::~EvtP2GC2() {}
00037 
00038 void EvtP2GC2::getName(std::string& model_name){
00039 
00040   model_name="P2GC2";     
00041 
00042 }
00043 
00044 
00045 EvtDecayBase* EvtP2GC2::clone(){
00046 
00047   return new EvtP2GC2;
00048 
00049 }
00050 
00051 void EvtP2GC2::init(){
00052 static EvtId GAM=EvtPDL::getId("gamma");
00053 // check that there are 0 arguments
00054  checkNArg(0); 
00055  checkNDaug(2);
00056  checkSpinParent(EvtSpinType::VECTOR);
00057  checkSpinDaughter(0,EvtSpinType::PHOTON);
00058  checkSpinDaughter(1,EvtSpinType::TENSOR);
00059  if (!(getDaug(0)==GAM)) {
00060  report(ERROR,"EvtGen") << "EvtP2GC2 generator radiative decays expected "<<endl;
00061  ::abort();
00062 }
00063  }
00064 
00065 
00066 void EvtP2GC2::initProbMax() {
00067 
00068   //Hard coded... should not be hard to calculate...
00069  setProbMax(11.0);
00070 
00071 }      
00072 
00073 void EvtP2GC2::decay( EvtParticle *p){
00074 
00075   p->initializePhaseSpace(getNDaug(),getDaugs());
00076 
00077   EvtParticle *v,*s1;
00078   EvtVector4R pv,ps,ppr;
00079 
00080   v =p->getDaug(0);  //gamma  
00081   s1=p->getDaug(1); //chi_c2
00082   pv=v->getP4();
00083   ps=s1->getP4();
00084   ppr=p->getP4();
00085 
00086 //  Put phase space results into the daughters.
00087   EvtHelSys angles(ppr,pv); //using helicity sys. angles
00088   double theta =angles.getHelAng(1);  
00089   double phi   =angles.getHelAng(2);
00090   double gamma =0.;
00091 
00092   double A10=1.0,A11=2.08,A12=3.03;  //PRD70,149
00093   double Af10=A10,Af1f1=A11,Af1f2=A12;
00094  int j1,j2,j3;
00095  for(j1=0;j1<=2;){
00096  for(j2=0;j2<=1;){
00097  for(j3=0;j3<=4;){
00098  vertex(j1,j2,j3,0.0);j3++;}
00099 j2++;}
00100 j1++;}
00101 
00102  vertex(0,0,1,Djmn(1, 1,-1,phi,theta,gamma)*A12);
00103  vertex(0,0,3,Djmn(1, 1, 0,phi,theta,gamma)*A11);
00104  vertex(0,0,0,Djmn(1, 1, 1,phi,theta,gamma)*A10);
00105  vertex(0,1,0,Djmn(1, 1,-1,phi,theta,gamma)*Af10);
00106  vertex(0,1,4,Djmn(1, 1, 0,phi,theta,gamma)*Af1f1);
00107  vertex(0,1,2,Djmn(1, 1, 1,phi,theta,gamma)*Af1f2);
00108 
00109  vertex(1,0,1,Djmn(1,-1,-1,phi,theta,gamma)*A12);
00110  vertex(1,0,3,Djmn(1,-1, 0,phi,theta,gamma)*A11);
00111  vertex(1,0,0,Djmn(1,-1, 1,phi,theta,gamma)*A10);
00112  vertex(1,1,0,Djmn(1,-1,-1,phi,theta,gamma)*Af10);                               
00113  vertex(1,1,4,Djmn(1,-1, 0,phi,theta,gamma)*Af1f1);
00114  vertex(1,1,2,Djmn(1,-1, 1,phi,theta,gamma)*Af1f2);
00115 
00116  vertex(2,0,1,Djmn(1, 0,-1,phi,theta,gamma)*A12);
00117  vertex(2,0,3,Djmn(1, 0, 0,phi,theta,gamma)*A11);
00118  vertex(2,0,0,Djmn(1, 0, 1,phi,theta,gamma)*A10);
00119  vertex(2,1,0,Djmn(1, 0,-1,phi,theta,gamma)*Af10);                               
00120  vertex(2,1,4,Djmn(1, 0, 0,phi,theta,gamma)*Af1f1);
00121  vertex(2,1,2,Djmn(1, 0, 1,phi,theta,gamma)*Af1f2);
00122 
00123   return ;
00124 
00125 }
00126 
00127 
00128 
00129 

Generated on Tue Nov 29 23:12:20 2016 for BOSS_7.0.2 by  doxygen 1.4.7