//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Information: See EvtGen/COPYRIGHT // Copyright (C) 1998 Caltech, UCSB // // Module: EvtSVP.cc // // Description: Routine to implement radiative decay chi_c0 -> psi gamma // // // Modification history: // AVL Jul 6, 2012 modle created // //------------------------------------------------------------------------ // #include "EvtGenBase/EvtPatches.hh" #include #include "EvtGenBase/EvtParticle.hh" #include "EvtGenBase/EvtTensorParticle.hh" #include "EvtGenBase/EvtGenKine.hh" #include "EvtGenBase/EvtPDL.hh" #include "EvtGenBase/EvtReport.hh" #include "EvtGenBase/EvtVector4C.hh" #include "EvtGenBase/EvtTensor4C.hh" #include "EvtGenModels/EvtSVP.hh" #include #include using namespace std; EvtSVP::~EvtSVP() { // cout<<"(* AVL EvtSVP::destructor getProbMax(-1) = "<initializePhaseSpace(getNDaug(),getDaugs()); EvtVector4R p = root->getDaug(1)->getP4(), // J/psi momentum k = root->getDaug(0)->getP4(); // Photon momentum for(int iPsi = 0; iPsi < 4; iPsi++) { for(int iGamma = 0; iGamma < 1; iGamma++) { EvtVector4C epsPsi = root->getDaug(1)->epsParent(iPsi).conj(); EvtVector4C epsGamma = root->getDaug(0)->epsParentPhoton(iGamma).conj(); // EvtComplex amp = epsPsi*epsGamma - (epsPsi*k)/(epsGamma*p)/(k*p); EvtComplex amp = (epsPsi*epsGamma) - (epsPsi*k)*(epsGamma*p)/(k*p); // cout<<"EvtSVP::decay(): (k*p) = "<<(k*p)<