Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtbTosllVectorAmp.cpp
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | h = c10eff * | ||||
( ( 1 + mhatkstar ) * a1 - ( 1 - mhatkstar ) * a2 - 2 * mhatkstar * a0 ) / | ( ( 1 + mhatkstar ) * a1 - ( 1 - mhatkstar ) * a2 - 2 * mhatkstar * a0 ) / | ||||
shat; | shat; | ||||
EvtTensor4C T1, T2; | EvtTensor4C T1, T2; | ||||
static EvtIdSet bmesons( "B-", "anti-B0", "anti-B_s0" ); | static EvtIdSet bmesons( "B-", "anti-B0", "anti-B_s0" ); | ||||
static EvtIdSet bbarmesons( "B+", "B0", "B_s0" ); | static EvtIdSet bbarmesons( "B+", "B0", "B_s0" ); | ||||
EvtParticle* lepPlus = 0; | EvtParticle* lepPlus = nullptr; | ||||
EvtParticle* lepMinus = 0; | EvtParticle* lepMinus = nullptr; | ||||
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() ); | ||||
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 ); | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |