Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtCPUtil.cpp
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | if ( parent == nullptr || parent->getId() != UPS4S ) { | ||||
//assume no parent. If we have parent of B we | //assume no parent. If we have parent of B we | ||||
//need to charge conj. full decay tree. | //need to charge conj. full decay tree. | ||||
if ( parent != nullptr ) { | if ( parent != nullptr ) { | ||||
EvtGenReport( EVTGEN_INFO, "EvtGen" ) | EvtGenReport( EVTGEN_INFO, "EvtGen" ) | ||||
<< "p=" << EvtPDL::name( p->getId() ) | << "p=" << EvtPDL::name( p->getId() ) | ||||
<< " parent=" << EvtPDL::name( parent->getId() ) << endl; | << " parent=" << EvtPDL::name( parent->getId() ) << endl; | ||||
} | } | ||||
assert( parent == 0 ); | assert( parent == nullptr ); | ||||
p->setLifetime(); | p->setLifetime(); | ||||
t = p->getLifetime(); | t = p->getLifetime(); | ||||
bool needToChargeConj = false; | bool needToChargeConj = false; | ||||
if ( p->getId() == B0B && isB0 ) | if ( p->getId() == B0B && isB0 ) | ||||
needToChargeConj = true; | needToChargeConj = true; | ||||
if ( p->getId() == B0 && !isB0 ) | if ( p->getId() == B0 && !isB0 ) | ||||
needToChargeConj = true; | needToChargeConj = true; | ||||
if ( p->getId() == BSB && isB0 ) | if ( p->getId() == BSB && isB0 ) | ||||
▲ Show 20 Lines • Show All 368 Lines • Show Last 20 Lines |