Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtSSD_DirectCP.cpp
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | |||||
void EvtSSD_DirectCP::initProbMax() | void EvtSSD_DirectCP::initProbMax() | ||||
{ | { | ||||
double theProbMax = 1.; | double theProbMax = 1.; | ||||
EvtSpinType::spintype d2type = EvtPDL::getSpinType( getDaug( 1 ) ); | EvtSpinType::spintype d2type = EvtPDL::getSpinType( getDaug( 1 ) ); | ||||
EvtSpinType::spintype d1type = EvtPDL::getSpinType( getDaug( 0 ) ); | EvtSpinType::spintype d1type = EvtPDL::getSpinType( getDaug( 0 ) ); | ||||
if ( d1type == EvtSpinType::TENSOR || d2type == EvtSpinType::TENSOR ) | if ( d1type == EvtSpinType::TENSOR || d2type == EvtSpinType::TENSOR ) | ||||
theProbMax *= 10; | theProbMax = 20.0; | ||||
setProbMax( theProbMax ); | setProbMax( theProbMax ); | ||||
} | } | ||||
void EvtSSD_DirectCP::decay( EvtParticle* p ) | void EvtSSD_DirectCP::decay( EvtParticle* p ) | ||||
{ | { | ||||
bool flip = false; | bool flip = false; | ||||
EvtId daugs[2]; | EvtId daugs[2]; | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |