Skip to content
Snippets Groups Projects
Commit 9387adcb authored by Bertram Kopf's avatar Bertram Kopf
Browse files

added pomeron pomeron and gamma pomeron reactions incoherently II

parent 8accb590
No related branches found
No related tags found
No related merge requests found
......@@ -146,16 +146,18 @@ void centralProdBaseLh::initialize(){
InfoMsg << "theDecs->name: " << (*it)->name() << endmsg;
std::shared_ptr<AbsXdecAmp> currentAmp=XdecAmpRegistry::instance()->getXdecAmp(_channelID, (*it)->absDecPtr());
_decAmps.push_back(currentAmp);
bool hasEvenJ=false;
bool hasPosParity=false;
// bool hasEvenJ=false;
// int spinJ=currentAmp->jpcPtr()->J;
// if ( (spinJ%2) ==0 ) hasEvenJ=true;
// bool hasPosParity=false;
// if ( currentAmp->jpcPtr()->P == -1) hasPosParity=true;
bool hasPosCparity=false;
int spinJ=currentAmp->jpcPtr()->J;
if ( (spinJ%2) ==0 ) hasEvenJ=true;
if ( currentAmp->jpcPtr()->P == -1) hasPosParity=true;
if ( currentAmp->jpcPtr()->C == -1) hasPosCparity=true;
if( !(hasEvenJ) && hasPosParity && hasPosCparity) _gampomAmps.push_back(currentAmp);
if(hasPosCparity) _gampomAmps.push_back(currentAmp);
else _pompomAmps.push_back(currentAmp);
if(currentAmp->jpcPtr()->J > maxJ) maxJ = currentAmp->jpcPtr()->J;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment