Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtBLLNuL.cpp
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | void EvtBLLNuL::init() | ||||
checkSpinParent( EvtSpinType::SCALAR ); | checkSpinParent( EvtSpinType::SCALAR ); | ||||
checkSpinDaughter( 0, EvtSpinType::DIRAC ); // ell+(k_1) | checkSpinDaughter( 0, EvtSpinType::DIRAC ); // ell+(k_1) | ||||
checkSpinDaughter( 1, EvtSpinType::DIRAC ); // ell-(k_2) | checkSpinDaughter( 1, EvtSpinType::DIRAC ); // ell-(k_2) | ||||
checkSpinDaughter( 2, EvtSpinType::NEUTRINO ); // neu (k_3) | checkSpinDaughter( 2, EvtSpinType::NEUTRINO ); // neu (k_3) | ||||
checkSpinDaughter( 3, EvtSpinType::DIRAC ); // ell-(k_4) | checkSpinDaughter( 3, EvtSpinType::DIRAC ); // ell-(k_4) | ||||
// Check that we have a charged B parent | // Check that we have a charged B parent | ||||
static EvtIdSet BMesons( "B-", "B+" ); | static EvtIdSet BMesons{ "B-", "B+" }; | ||||
if ( !BMesons.contains( getParentId() ) ) { | if ( !BMesons.contains( getParentId() ) ) { | ||||
EvtGenReport( EVTGEN_ERROR, "EvtBLLNuL" ) | EvtGenReport( EVTGEN_ERROR, "EvtBLLNuL" ) | ||||
<< "Expecting the parent to be a charged B. Found PDG = " | << "Expecting the parent to be a charged B. Found PDG = " | ||||
<< EvtPDL::getStdHep( getParentId() ) << std::endl; | << EvtPDL::getStdHep( getParentId() ) << std::endl; | ||||
::abort(); | ::abort(); | ||||
} | } | ||||
// Make sure the first two leptons are charged conjugates of each other | // Make sure the first two leptons are charged conjugates of each other | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |