/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenModels/EvtPBB1.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, Pang Cai-Ying@IHEP
00010 //
00011 //
00012 // Module: EvtPBB1.cc
00013 //
00014 // Description: Routine to decay Pseudoscalar-> B_8 bar B_8 using helicity amplitude.
00015 //
00016 // Modification history:
00017 //
00018 //    Ping R.-G.    Apr., 2006       Module created
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/EvtdFunction.hh"
00032 #include "EvtGenBase/EvtHelSys.hh"
00033 #include "EvtPBB1.hh"
00034 #include <string>
00035 using std::endl;
00036 
00037 EvtPBB1::~EvtPBB1() {}
00038 
00039 void EvtPBB1::getName(std::string& model_name){
00040 
00041   model_name="PBB1";     
00042 
00043 }
00044 
00045 
00046 EvtDecayBase* EvtPBB1::clone(){
00047 
00048   return new EvtPBB1;
00049 
00050 }
00051 
00052 void EvtPBB1::initProbMax() {
00053    double ProbMax=2.;
00054    setProbMax(ProbMax); 
00055 }
00056 
00057 void EvtPBB1::init(){
00058  checkNDaug(2);
00059  checkSpinParent(EvtSpinType::SCALAR);
00060  checkSpinDaughter(0,EvtSpinType::DIRAC);
00061  checkSpinDaughter(1,EvtSpinType::DIRAC);
00062 }
00063 
00064 void EvtPBB1::decay( EvtParticle *p){
00065   
00066   p->initializePhaseSpace(getNDaug(),getDaugs());
00067   
00068  double phs=getArg(0); 
00069 
00070 
00071  vertex(0,0, exp(EvtComplex(0,phs)));
00072  vertex(0,1,                    0.0);
00073  vertex(1,0,                    0.0);
00074  vertex(1,1,-exp(EvtComplex(0,phs)));
00075 
00076   return ;
00077 
00078 }
00079 
00080 
00081 
00082 

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