Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenModels/EvtSLDiBaryonAmp.cpp
Show First 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
int EvtSLDiBaryonAmp::getBaryonParity( const EvtId& id ) const | int EvtSLDiBaryonAmp::getBaryonParity( const EvtId& id ) const | ||||
{ | { | ||||
// Initialise parity to +1 | // Initialise parity to +1 | ||||
int parity( 1 ); | int parity( 1 ); | ||||
// List of baryons with parity = +1 | // List of baryons with parity = +1 | ||||
static EvtIdSet posParity( "p+", "Delta+", "Lambda_c+", | static EvtIdSet posParity{ "p+", | ||||
"anti-Lambda_c(2593)-", "anti-Lambda_c(2625)-", | "Delta+", | ||||
"N(1440)+", "anti-N(1520)-", "anti-N(1535)-", | "Lambda_c+", | ||||
"anti-N(1650)-", "anti-N(1700)-", "N(1710)+", | "anti-Lambda_c(2593)-", | ||||
"N(1720)+" ); | "anti-Lambda_c(2625)-", | ||||
"N(1440)+", | |||||
"anti-N(1520)-", | |||||
"anti-N(1535)-", | |||||
"anti-N(1650)-", | |||||
"anti-N(1700)-", | |||||
"N(1710)+", | |||||
"N(1720)+" }; | |||||
// If the baryon id is not in the list, set the parity to -1 | // If the baryon id is not in the list, set the parity to -1 | ||||
if ( !posParity.contains( id ) ) { | if ( !posParity.contains( id ) ) { | ||||
parity = -1; | parity = -1; | ||||
} | } | ||||
return parity; | return parity; | ||||
} | } |