Skip to content

Commit d007fbe

Browse files
ThnSparse modified (#6616)
Modified PID codes to gain back-compatibility with previous analyses
1 parent 0fc8093 commit d007fbe

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

DPG/Tasks/AOTTrack/qaMatchEff.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)