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

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 1998      Caltech, UCSB
00010 //
00011 // Module: EvtSSSCPpng.cc
00012 //
00013 // Description: Routine to decay B -> 2 scalars taking into account penguin 
00014 //              contributions (assuming single quark dominance for penguins)
00015 //
00016 // Modification history:
00017 //
00018 //    RYD/NK    December 3, 1997          Module created
00019 //
00020 //------------------------------------------------------------------------
00021 // 
00022 #include "EvtGenBase/EvtPatches.hh"
00023 #include <stdlib.h>
00024 #include "EvtGenBase/EvtParticle.hh"
00025 #include "EvtGenBase/EvtRandom.hh"
00026 #include "EvtGenBase/EvtGenKine.hh"
00027 #include "EvtGenBase/EvtCPUtil.hh"
00028 #include "EvtGenBase/EvtPDL.hh"
00029 #include "EvtGenBase/EvtReport.hh"
00030 #include "EvtGenModels/EvtSSSCPpng.hh"
00031 #include "EvtGenBase/EvtId.hh"
00032 #include <string>
00033 #include "EvtGenBase/EvtConst.hh"
00034 
00035 EvtSSSCPpng::~EvtSSSCPpng() {}
00036 
00037 void EvtSSSCPpng::getName(std::string& model_name){
00038 
00039   model_name="SSS_CP_PNG";     
00040 
00041 }
00042 
00043 
00044 EvtDecayBase* EvtSSSCPpng::clone(){
00045 
00046   return new EvtSSSCPpng;
00047 
00048 }
00049 
00050 void EvtSSSCPpng::init(){
00051 
00052   // check that there are 7 arguments
00053   checkNArg(7);
00054   checkNDaug(2);
00055 
00056   checkSpinParent(EvtSpinType::SCALAR);
00057 
00058   checkSpinDaughter(0,EvtSpinType::SCALAR);
00059   checkSpinDaughter(1,EvtSpinType::SCALAR);
00060 
00061 }
00062 
00063 void EvtSSSCPpng::initProbMax(){
00064  
00065    setProbMax(getArg(5)*getArg(5)*(1 + getArg(6)*getArg(6)));
00066 
00067 }
00068 
00069 void EvtSSSCPpng::decay( EvtParticle *p ){
00070 
00071   //added by Lange Jan4,2000
00072   static EvtId B0=EvtPDL::getId("B0");
00073   static EvtId B0B=EvtPDL::getId("anti-B0");
00074 
00075   double t;
00076   EvtId other_b;
00077  
00078   p->initializePhaseSpace(getNDaug(),getDaugs());
00079 
00080   EvtComplex amp;
00081 
00082   EvtComplex A,Abar;
00083   //EvtComplex ACC, AbarCC;
00084 
00085 // assume single (top) quark dominance for the penguin.
00086 
00087 // old: a0=alpha, a1=dm, a2=1, a3=1, a4=0, a5=1, a6=0
00088 // new: a0=beta, a1=gamma, a2=delta, a3=dm, a4=1, a5=1=A_{T}, a6=A_{P}/A_{T}
00089 
00090 // e.g., for B -> pi pi  
00091 // A_{T} = |V_{ub} V_{ud}| T
00092 // A_{P} = |V_{tb} V_{td}| P
00093 // P and T are purely hadronic matrix elements       
00094 // P/T = 0.055, A_{P}/A_{T} = 0.2 (see Marrocchesi and Paver, hep-ph/9702353)
00095 
00096 // A = A_{T}( exp(i(beta+gamma)) + (A_{P}/A_{T}) exp(i(delta))
00097 // A_bar = same, except for the sign of the weak phases 
00098 // here, delta = delta_{p}-delta_{t} (rel. strong phase)
00099 
00100    A=getArg(5)*(EvtComplex(cos(-getArg(0)-getArg(1)),sin(-getArg(0)-getArg(1)))+getArg(6)*EvtComplex(cos(getArg(2)),sin(getArg(2))));
00101  
00102    Abar=getArg(5)*(EvtComplex(cos(getArg(0)+getArg(1)),sin(getArg(0)+getArg(1)))+getArg(6)*EvtComplex(cos(getArg(2)),sin(getArg(2))));
00103  
00104 // get fraction of B0 tags with these amplitudes
00105 
00106   //double xd = 0.65;
00107   double ratio = 1/(1 + 0.65*0.65);
00108   
00109   EvtComplex rf, rbarf;
00110 
00111   rf = EvtComplex(cos(2.0*getArg(0)),sin(2.0*getArg(0)))*Abar/A;
00112   rbarf = EvtComplex(1.0)/rf;
00113 
00114   double A2 = real(A)*real(A) + imag(A)*imag(A);
00115   double Abar2 = real(Abar)*real(Abar) + imag(Abar)*imag(Abar);
00116   
00117   double rf2 = real(rf)*real(rf) + imag(rf)*imag(rf);    
00118   double rbarf2 = real(rbarf)*real(rbarf) + imag(rbarf)*imag(rbarf);    
00119 
00120   //fraction of B0 _tags_
00121   double fract =(Abar2*(1+ rbarf2 + (1 - rbarf2)*ratio))/(Abar2*(1+ rbarf2 + (1 - rbarf2)*ratio) + A2*(1+ rf2 + (1 - rf2)*ratio)); 
00122   
00123   EvtCPUtil::OtherB(p,t,other_b,fract);
00124 
00125 //this method works just as well -- NK
00126 //randomly generate the tag (B0 or B0B) 
00127 
00128 //  double tag = EvtRandom::Flat(0.0,1.0);
00129 //  if (tag < 0.5) {
00130 //
00131 //   EvtCPUtil::OtherB(p,t,other_b,1.0);
00132 //   other_b = B0;
00133 //  }
00134 //  else {
00135 //   
00136 //   EvtCPUtil::OtherB(p,t,other_b,0.0);
00137 //   other_b = B0B;
00138 //  }
00139 
00140 //mixing angle = -beta
00141 
00142    if (other_b==B0B){
00143      amp=A*cos(getArg(3)*t/(2*EvtConst::c))+
00144        EvtComplex(cos(2.0*getArg(0)),sin(2.0*getArg(0)))*
00145        getArg(4)*EvtComplex(0.0,1.0)*Abar*sin(getArg(3)*t/(2*EvtConst::c));
00146    }
00147    if (other_b==B0){
00148      amp=A*EvtComplex(cos(-2.0*getArg(0)),sin(-2.0*getArg(0)))*
00149        EvtComplex(0.0,1.0)*sin(getArg(3)*t/(2*EvtConst::c))+       
00150        getArg(4)*Abar*cos(getArg(3)*t/(2*EvtConst::c));
00151    }
00152 
00153    vertex(amp);
00154 
00155   return ;
00156 }
00157 
00158 

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