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
11 // Module: EvtSVVCP.cc
13 // Description: The decay of a scalar to two vector particles are
14 // performed with CP violation. E.g. B->J/psi K*.
16 // Modification history:
18 // RYD January 19, 1997 Module created
20 //------------------------------------------------------------------------
22 #include "EvtGenBase/EvtPatches.hh"
24 #include "EvtGenBase/EvtParticle.hh"
25 #include "EvtGenBase/EvtGenKine.hh"
26 #include "EvtGenBase/EvtCPUtil.hh"
27 #include "EvtGenBase/EvtPDL.hh"
28 #include "EvtGenModels/EvtSVVHelAmp.hh"
29 #include "EvtGenBase/EvtReport.hh"
30 #include "EvtGenModels/EvtSVVCP.hh"
31 #include "EvtGenBase/EvtId.hh"
33 #include "EvtGenBase/EvtConst.hh"
35 EvtSVVCP::~EvtSVVCP() {}
37 std::string EvtSVVCP::getName(){
44 EvtDecayBase* EvtSVVCP::clone(){
50 void EvtSVVCP::init(){
52 // check that there are 9 arguments
56 checkSpinParent(EvtSpinType::SCALAR);
58 checkSpinDaughter(0,EvtSpinType::VECTOR);
59 checkSpinDaughter(1,EvtSpinType::VECTOR);
63 void EvtSVVCP::initProbMax(){
65 //This is probably not quite right, but it should do as a start...
68 setProbMax(2*(getArg(3)*getArg(3)+getArg(5)*getArg(5)+getArg(7)*getArg(7)));
72 void EvtSVVCP::decay( EvtParticle *p){
74 //added by Lange Jan4,2000
75 static EvtId B0=EvtPDL::getId("B0");
76 static EvtId B0B=EvtPDL::getId("anti-B0");
81 EvtCPUtil::OtherB(p,t,other_b);
83 EvtComplex G0P,G1P,G1M;
85 G1P=EvtComplex(getArg(3)*cos(getArg(4)),getArg(3)*sin(getArg(4)));
86 G0P=EvtComplex(getArg(5)*cos(getArg(6)),getArg(5)*sin(getArg(6)));
87 G1M=EvtComplex(getArg(7)*cos(getArg(8)),getArg(7)*sin(getArg(8)));
89 EvtComplex lambda_km=EvtComplex(cos(-2*getArg(0)),sin(-2*getArg(0)));
91 double cdmt=cos(getArg(1)*t/(2*EvtConst::c));
92 double sdmt=sin(getArg(1)*t/(2*EvtConst::c));
94 EvtComplex cG0P,cG1P,cG1M;
97 cG0P=G0P*(cdmt+lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
98 cG1P=G1P*(cdmt+lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
99 cG1M=G1M*(cdmt-lambda_km*EvtComplex(0.0,getArg(2)*sdmt));
102 cG0P=G0P*(cdmt+(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
103 cG1P=G1P*(cdmt+(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
104 cG1M=-G1M*(cdmt-(1.0/lambda_km)*EvtComplex(0.0,getArg(2)*sdmt));
111 AP=(cG1P+cG1M)/sqrt(2.0);
112 AM=(cG1P-cG1M)/sqrt(2.0);
114 EvtSVVHelAmp::SVVHel(p,_amp2,getDaug(0),getDaug(1),AP,A0,AM);