163 {
164
167
169 EvtId other_b;
170 EvtId daugs[2];
171
172 int flip = 0;
173 if ( !_eigenstate )
174 {
176 }
177
178 if ( !flip )
179 {
182 }
183 else
184 {
187 }
188
189 EvtParticle* d;
191
192 EvtComplex amp;
193
195
196
197
198
199 EvtComplex expL =
exp( -EvtComplex( -0.25 * _dgamma *
t, 0.5 * _dm *
t ) );
200 EvtComplex expH =
exp( EvtComplex( -0.25 * _dgamma *
t, 0.5 * _dm *
t ) );
201
202 EvtComplex gp = 0.5 * ( expL + expH );
203 EvtComplex gm = 0.5 * ( expL - expH );
204
205 EvtComplex sqz = sqrt(
abs( 1 - _z * _z ) ) *
exp( EvtComplex( 0,
arg( 1 - _z * _z ) / 2 ) );
206
207
208
209
210
211
212
213 EvtComplex BB = gp + _z * gm;
214 EvtComplex barBB = sqz * _qoverp * gm;
215 EvtComplex BbarB = sqz * _poverq * gm;
216 EvtComplex barBbarB = gp - _z * gm;
217
218 if ( !flip )
219 {
220 if ( other_b == B0B )
221 {
222
223
224 amp = BB * _A_f + BbarB * _Abar_f;
225
226
227 }
228 if ( other_b == B0 )
229 {
230
231 amp = barBB * _A_f + barBbarB * _Abar_f;
232 }
233 }
234 else
235 {
236 if ( other_b == B0 )
237 {
238 amp = barBB * _A_fbar + barBbarB * _Abar_fbar;
239
240
241 }
242 if ( other_b == B0B ) { amp = BB * _A_fbar + BbarB * _Abar_fbar; }
243 }
244
246 double m_parent = p4_parent.
mass();
247
249
250 EvtVector4R momv;
251 EvtVector4R moms;
252
254 {
259 }
260 else
261 {
265 }
266
268
270 {
271
273
277 }
278
280 {
281
282 double norm =
284
290 }
291
292 return;
293}
EvtComplex exp(const EvtComplex &c)
double arg(const EvtComplex &c)
static void OtherB(EvtParticle *p, double &t, EvtId &otherb)
void vertex(const EvtComplex &)
static EvtId chargeConj(EvtId id)
static EvtSpinType::spintype getSpinType(EvtId i)
static EvtId getId(const std::string &name)
virtual EvtVector4C epsParent(int i) const
virtual EvtTensor4C epsTensorParent(int i) const
EvtVector4R getP4Restframe()
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
EvtVector4C cont1(const EvtVector4C &v4) const