1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
13 // Description: Routine to decay scalar -> tensor scalar.
16 // Modification history:
18 // RYD Aug 21, 1998 Module created
20 //------------------------------------------------------------------------
22 #include "EvtGenBase/EvtPatches.hh"
24 #include "EvtGenBase/EvtParticle.hh"
25 #include "EvtGenBase/EvtGenKine.hh"
26 #include "EvtGenBase/EvtTensor4C.hh"
27 #include "EvtGenBase/EvtVector4C.hh"
28 #include "EvtGenBase/EvtPDL.hh"
29 #include "EvtGenBase/EvtReport.hh"
30 #include "EvtGenModels/EvtSTS.hh"
31 #include "EvtGenBase/EvtId.hh"
36 std::string EvtSTS::getName(){
43 EvtDecayBase* EvtSTS::clone(){
49 void EvtSTS::initProbMax(){
57 // check that there are 0 arguments
61 checkSpinParent(EvtSpinType::SCALAR);
63 checkSpinDaughter(0,EvtSpinType::TENSOR);
64 checkSpinDaughter(1,EvtSpinType::SCALAR);
69 void EvtSTS::decay( EvtParticle *p){
71 p->initializePhaseSpace(getNDaug(),getDaugs());
73 EvtParticle* t1=p->getDaug(0);
75 EvtVector4R momt = t1->getP4();
76 EvtVector4R moms = p->getDaug(1)->getP4();
77 double masst = t1->mass();
79 EvtVector4R p4_parent=momt+moms;
81 double m_parent=p4_parent.mass();
83 double norm=masst*masst/(m_parent*momt.d3mag()*momt.d3mag());
85 vertex(0,norm*t1->epsTensorParent(0).cont1(p4_parent)*p4_parent);
86 vertex(1,norm*t1->epsTensorParent(1).cont1(p4_parent)*p4_parent);
87 vertex(2,norm*t1->epsTensorParent(2).cont1(p4_parent)*p4_parent);
88 vertex(3,norm*t1->epsTensorParent(3).cont1(p4_parent)*p4_parent);
89 vertex(4,norm*t1->epsTensorParent(4).cont1(p4_parent)*p4_parent);