File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1599,6 +1599,8 @@ struct qaMatchEff {
15991599 default :
16001600 specind = 0 ;
16011601 }
1602+ if (siPDGCode == 211 || siPDGCode == 321 )
1603+ specind = 10 ; // pions and kaons together
16021604 } else {
16031605 specind = -9999 ;
16041606 if (isProton && !(isKaon || isPion))
@@ -1614,9 +1616,9 @@ struct qaMatchEff {
16141616 if (isKaon && isProton && !isPion)
16151617 specind = 7 ; // maybe proton, maybe kaon
16161618 if (isPion && isKaon && isProton)
1617- specind = 9 ; // maybe pion, maybe kaon, maybe proton
1619+ specind = 8 ; // maybe pion, maybe kaon, maybe proton
16181620 if (!isPion && !isKaon && !isProton)
1619- specind = 1 ; // PID is NOT pion or kaon or proton
1621+ specind = 9 ; // PID is NOT pion or kaon or proton
16201622 if (specind == 2 || specind == 3 || specind == 5 )
16211623 specind = 10 ; // pions and kaons together
16221624 }
You can’t perform that action at this time.
0 commit comments