75 {
76
78
81 EvtParticle* photon = p->
getDaug(2);
82
83
85 Hd1[0]=new EvtComplex[2];
86 Hd1[1]=new EvtComplex[2];
87 Hd1[2]=new EvtComplex[2];
88 Hd1[3]=new EvtComplex[2];
89 Hd1[4]=new EvtComplex[2];
90
91 Hd1[0][0]=0.0;
92 Hd1[0][1]=0.0;
93 Hd1[1][0]=0.0;
94 Hd1[1][1]=0.0;
95 Hd1[2][0]=0.0;
96 Hd1[2][1]=0.0;
97 Hd1[3][0]=0.0;
98 Hd1[3][1]=1.0;
99 Hd1[4][0]=0.0;
100 Hd1[4][1]=0.0;
101
104
105 EvtScalarParticle theB;
106
108
109 EvtVector4R theKstarP4=
kaon->getP4()+
pion->getP4();
110
111 EvtTensorParticle theKstar;
113
114 EvtPhotonParticle thePhoton;
116
119
120 EvtAmp amp1;
121
122 d1.evalAmp(&theB,amp1);
123
125 Hd2[0]=new EvtComplex[1];
126
127 Hd2[0][0]=1.0;
128
129
132
133
134 EvtVector4R theKstarP4boost(theKstarP4.
get(0),-theKstarP4.
get(1),-theKstarP4.
get(2),-theKstarP4.
get(3));
135
136 EvtScalarParticle theKaon;
138
139 EvtScalarParticle thePion;
141
144
145
146
147 double m = theKstarP4.
mass();
148 EvtTwoBodyVertex
v(0.5,0.14,1.4,2);
149 EvtTwoBodyKine v1(0.5,0.14,m);
150 EvtPropBreitWignerRel prop(1.4,0.2);
151
152
153
154 double width = prop.g0() *
v.widthFactor(v1);
155 prop.set_g0(width);
156 EvtComplex bwamp = prop.evaluate(m);
157
158
159 EvtAmp amp2;
160
161 d2.evalAmp(&theKstar,amp2);
162
163 vertex(0,bwamp*(amp1._amp[0]*amp2._amp[0]+
164 amp1._amp[1]*amp2._amp[1]+
165 amp1._amp[2]*amp2._amp[2]+
166 amp1._amp[3]*amp2._amp[3]+
167 amp1._amp[4]*amp2._amp[4]));
168
169 vertex(1,bwamp*(amp1._amp[5]*amp2._amp[0]+
170 amp1._amp[6]*amp2._amp[1]+
171 amp1._amp[7]*amp2._amp[2]+
172 amp1._amp[8]*amp2._amp[3]+
173 amp1._amp[9]*amp2._amp[4]));
174
175 return;
176}
EvtComplex * EvtComplexPtr
EvtComplexPtr * EvtComplexPtrPtr
EvtDiracSpinor boostTo(const EvtDiracSpinor &sp, const EvtVector4R p4)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
void vertex(const EvtComplex &)
static EvtId getId(const std::string &name)
EvtVector4R getP4Restframe()
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
void addDaug(EvtParticle *node)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
void init(EvtId part_n, double e, double px, double py, double pz)
void init(EvtId part_n, double e, double px, double py, double pz)
void init(EvtId part_n, double e, double px, double py, double pz)