21#include "EvtGenBase/EvtPatches.hh"
25#include "EvtGenBase/EvtParticle.hh"
26#include "EvtGenBase/EvtPDL.hh"
27#include "EvtGenBase/EvtGenKine.hh"
28#include "EvtGenModels/EvtHypWK.hh"
29#include "EvtGenBase/EvtDiracSpinor.hh"
30#include "EvtGenBase/EvtReport.hh"
31#include "EvtGenBase/EvtVector4C.hh"
32#include "EvtGenBase/EvtId.hh"
33#include "EvtGenBase/EvtHelSys.hh"
34#include "EvtGenBase/EvtdFunction.hh"
113 double p3=pDaug.
d3mag();
120 double theta,phi,
alpha,beta,ga;
127 if(p1==XP){
alpha=-0.46;phi=-2.1; }
128 else if(p1==XM){
alpha=0.46;phi=-2.1;}
129 else if(p1==X0P){
alpha=-0.41;phi=21.0;}
130 else if(p1==X0M){
alpha=0.41;phi=21.0; }
131 else if(p1==LP){
alpha=0.64;phi=-6.5; }
132 else if(p1==LM){
alpha=-0.64;phi=-6.5; }
133 else if(p1==SMP){
alpha=-0.07;phi=10.0;}
134 else if(p1==SMM){
alpha=0.07;phi=10.0; }
136 if (d1==PP){
alpha=-0.98;phi=36.0; }
137 else if(d1==NP){
alpha=0.07;phi=167.0; }
138 else { cout<<
"The decay is not discussed."<<endl; }
141 if (d1==PM){
alpha=0.98;phi=36.0; }
142 else if(d1==NM){
alpha=-0.07;phi=167.0; }
143 else { cout<<
"The decay is not discussed."<<endl; }
145 else { cout<<
"The decay is not discussed.";
149 double FP=sqrt((1+
alpha)/2.);
150 double FM=sqrt((1-
alpha)/2.);
152 vertex(0,0,
Djmn(0.5, 0.5, 0.5,ph,tht,gmm)*FP);
153 vertex(0,1,
Djmn(0.5, 0.5,-0.5,ph,tht,gmm)*FM);
154 vertex(1,0,
Djmn(0.5,-0.5, 0.5,ph,tht,gmm)*FP);
155 vertex(1,1,
Djmn(0.5,-0.5,-0.5,ph,tht,gmm)*FM);
EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
DOUBLE_PRECISION count[3]
void vertex(const EvtComplex &)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)
void getName(std::string &name)
void decay(EvtParticle *p)
static EvtId getId(const std::string &name)
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)