Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtbTosllVectorAmpNew.cpp
Show First 20 Lines • Show All 323 Lines • ▼ Show 20 Lines | void EvtbTosllVectorAmpNew::CalcAmp( EvtParticle* parent, EvtAmp& amp, | ||||
// << " g = " << g | // << " g = " << g | ||||
// << " h = " << h | // << " h = " << h | ||||
// << std::endl; | // << std::endl; | ||||
// to find ell^+ and ell^- in the B-meson daughters | // to find ell^+ and ell^- in the B-meson daughters | ||||
int charge1 = EvtPDL::chg3( parent->getDaug( 1 )->getId() ); | int charge1 = EvtPDL::chg3( parent->getDaug( 1 )->getId() ); | ||||
int charge2 = EvtPDL::chg3( parent->getDaug( 2 )->getId() ); | int charge2 = EvtPDL::chg3( parent->getDaug( 2 )->getId() ); | ||||
EvtParticle* lepPlus = 0; | EvtParticle* lepPlus = nullptr; | ||||
EvtParticle* lepMinus = 0; | EvtParticle* lepMinus = nullptr; | ||||
lepPlus = ( charge1 > charge2 ) ? parent->getDaug( 1 ) : parent->getDaug( 2 ); | lepPlus = ( charge1 > charge2 ) ? parent->getDaug( 1 ) : parent->getDaug( 2 ); | ||||
lepMinus = ( charge1 < charge2 ) ? parent->getDaug( 1 ) | lepMinus = ( charge1 < charge2 ) ? parent->getDaug( 1 ) | ||||
: parent->getDaug( 2 ); | : parent->getDaug( 2 ); | ||||
EvtTensor4C T1, T2; // hadronic matrix element tensor structures | EvtTensor4C T1, T2; // hadronic matrix element tensor structures | ||||
EvtVector4C epsV; // vector meson polarisation vector | EvtVector4C epsV; // vector meson polarisation vector | ||||
▲ Show 20 Lines • Show All 531 Lines • Show Last 20 Lines |