Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtDecayIncoherent.cpp
Show All 29 Lines | |||||
void EvtDecayIncoherent::makeDecay( EvtParticle* p, bool recursive ) | void EvtDecayIncoherent::makeDecay( EvtParticle* p, bool recursive ) | ||||
{ | { | ||||
//initialize this the hard way.. | //initialize this the hard way.. | ||||
//Lange June 26, 2000 | //Lange June 26, 2000 | ||||
for ( size_t i = 0; i < static_cast<unsigned int>( MAX_DAUG ); i++ ) { | for ( size_t i = 0; i < static_cast<unsigned int>( MAX_DAUG ); i++ ) { | ||||
spinDensitySet[i] = 0; | spinDensitySet[i] = 0; | ||||
} | } | ||||
_daugsDecayedByParentModel = false; | m_daugsDecayedByParentModel = false; | ||||
decay( p ); | decay( p ); | ||||
p->setDecayProb( 1.0 ); | p->setDecayProb( 1.0 ); | ||||
EvtSpinDensity rho; | EvtSpinDensity rho; | ||||
rho.setDiag( p->getSpinStates() ); | rho.setDiag( p->getSpinStates() ); | ||||
Show All 32 Lines |