Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtTVP.cpp
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | void EvtTVP::decay_3body( EvtParticle* root ) | ||||
} | } | ||||
double factor( 1.0 ); | double factor( 1.0 ); | ||||
if ( validAmp ) { | if ( validAmp ) { | ||||
factor = dSq / ( dSqDenom * kSq ); | factor = dSq / ( dSqDenom * kSq ); | ||||
} | } | ||||
// Calculate the amplitude terms, looping over the psi and lepton states | // Calculate the amplitude terms, looping over the psi and lepton states | ||||
int iPols[4] = {0, 0, 0, 0}; | int iPols[4] = { 0, 0, 0, 0 }; | ||||
for ( int iChi = 0; iChi < 5; iChi++ ) { | for ( int iChi = 0; iChi < 5; iChi++ ) { | ||||
iPols[0] = iChi; | iPols[0] = iChi; | ||||
EvtTensor4C epsChi = root->epsTensor( iChi ); | EvtTensor4C epsChi = root->epsTensor( iChi ); | ||||
for ( int iPsi = 0; iPsi < 3; iPsi++ ) { | for ( int iPsi = 0; iPsi < 3; iPsi++ ) { | ||||
iPols[1] = iPsi; | iPols[1] = iPsi; | ||||
EvtVector4C epsPsi = psi->epsParent( iPsi ).conj(); | EvtVector4C epsPsi = psi->epsParent( iPsi ).conj(); | ||||
Show All 27 Lines |