/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenModels/EvtSVVCPLH.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) 1999      Caltech, UCSB
00010 //
00011 // Module: EvtSVVCPLH.cc
00012 //
00013 // Description: The decay of a scalar to two vector particles are 
00014 //              performed with CP violation and different widths for
00015 //              the cpe even and od states. E.g. Bs->J/psi phi.
00016 //
00017 // Modification history:
00018 //
00019 //    RYD       November 5, 1999       Module created
00020 //
00021 //------------------------------------------------------------------------
00022 //
00023 #include "EvtGenBase/EvtPatches.hh"
00024 #include <stdlib.h>
00025 #include "EvtGenBase/EvtParticle.hh"
00026 #include "EvtGenBase/EvtGenKine.hh"
00027 #include "EvtGenBase/EvtCPUtil.hh"
00028 #include "EvtGenBase/EvtPDL.hh"
00029 #include "EvtGenModels/EvtSVVHelAmp.hh"
00030 #include "EvtGenBase/EvtReport.hh"
00031 #include "EvtGenModels/EvtSVVCPLH.hh"
00032 #include "EvtGenBase/EvtId.hh"
00033 #include <string>
00034 #include "EvtGenBase/EvtConst.hh"
00035 using std::endl;
00036 
00037 EvtSVVCPLH::~EvtSVVCPLH() {}
00038 
00039 void EvtSVVCPLH::getName(std::string& model_name){
00040 
00041   model_name="SVV_CPLH";     
00042 
00043 }
00044 
00045 
00046 EvtDecayBase* EvtSVVCPLH::clone(){
00047 
00048   return new EvtSVVCPLH;
00049 
00050 }
00051 
00052 void EvtSVVCPLH::init(){
00053 
00054   // check that there are 9 arguments
00055   checkNArg(9);
00056   checkNDaug(2);
00057 
00058   checkSpinParent(EvtSpinType::SCALAR);
00059 
00060   checkSpinDaughter(0,EvtSpinType::VECTOR);
00061   checkSpinDaughter(1,EvtSpinType::VECTOR);
00062 
00063 }
00064 
00065 void EvtSVVCPLH::initProbMax(){
00066 
00067   //This is probably not quite right, but it should do as a start...
00068   //Anders
00069 
00070   setProbMax(2*(getArg(3)*getArg(3)+getArg(5)*getArg(5)+getArg(7)*getArg(7)));
00071 
00072 }
00073 
00074 void EvtSVVCPLH::decay( EvtParticle *p){
00075 
00076   //added by Lange Jan4,2000
00077   static EvtId BS0=EvtPDL::getId("B_s0");
00078   static EvtId BSB=EvtPDL::getId("anti-B_s0");
00079 
00080   double t;
00081   EvtId other_b;
00082 
00083   EvtCPUtil::OtherB(p,t,other_b);
00084 
00085   EvtComplex G0P,G1P,G1M;
00086   
00087   G1P=EvtComplex(getArg(3)*cos(getArg(4)),getArg(3)*sin(getArg(4)));
00088   G0P=EvtComplex(getArg(5)*cos(getArg(6)),getArg(5)*sin(getArg(6)));
00089   G1M=EvtComplex(getArg(7)*cos(getArg(8)),getArg(7)*sin(getArg(8)));
00090 
00091   EvtComplex lambda_km=EvtComplex(cos(2*getArg(0)),sin(2*getArg(0)));
00092 
00093   double cdmt=cos(getArg(1)*t/(2*EvtConst::c));
00094   double sdmt=sin(getArg(1)*t/(2*EvtConst::c));
00095 
00096   EvtComplex cG0P,cG1P,cG1M;
00097 
00098   static double ctauL=EvtPDL::getctau(EvtPDL::getId("B_s0L"));
00099   static double ctauH=EvtPDL::getctau(EvtPDL::getId("B_s0H"));
00100   static double ctau=ctauL<ctauH?ctauH:ctauL;
00101 
00102 
00103   //I'm not sure if the fabs() is right when t can be
00104   //negative as in the case of Bs produced coherently.
00105   double pt=1;
00106   double mt=exp(-fabs(t*(ctauL-ctauH)/(ctauL*ctauH)));
00107 
00108   if (other_b==BSB){
00109     cG0P=pt*G0P*(cdmt+lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
00110     cG1P=pt*G1P*(cdmt+lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
00111     cG1M=mt*G1M*(cdmt-lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
00112   }
00113   else if (other_b==BS0){
00114     cG0P=pt*G0P*(cdmt+(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
00115     cG1P=pt*G1P*(cdmt+(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
00116     cG1M=-mt*G1M*(cdmt-(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
00117   }
00118   else{
00119     report(ERROR,"EvtGen") << "other_b was not BSB or BS0!"<<endl;
00120     ::abort();
00121   }
00122 
00123    EvtComplex A0,AP,AM;
00124 
00125    A0=cG0P/sqrt(2.0);
00126    AP=(cG1P+cG1M)/sqrt(2.0); 
00127    AM=(cG1P-cG1M)/sqrt(2.0); 
00128 
00129    EvtSVVHelAmp::SVVHel(p,_amp2,getDaug(0),getDaug(1),AP,A0,AM);
00130 
00131   return ;
00132 }
00133 
00134 
00135 

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