Skip to content

Commit aba5a1b

Browse files
author
Ida Torkjellsdatter Storehaug
committed
double counting error removed
1 parent 335e59b commit aba5a1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4217,12 +4217,12 @@ struct AnalysisDileptonTrack {
42174217
for (auto t1 : mcTrackIndices) {
42184218
auto track1 = mcTracks.rawIteratorAt(*(&t1));
42194219
for (auto t2 : mcTrackIndices) {
4220-
if (t1 == t2 || t2 < t1)
4221-
continue;
4220+
if (t1 == t2) continue;
4221+
if (t2 < t1) continue;
42224222
auto track2 = mcTracks.rawIteratorAt(*(&t2));
42234223
for (auto t3 : mcTrackIndices) {
4224-
if (t3 == t1 || t3 == t2)
4225-
continue;
4224+
if (t3 == t1) continue;
4225+
if (t3 == t2) continue;
42264226
auto track3 = mcTracks.rawIteratorAt(*(&t3));
42274227

42284228
for (auto& sig : fRecMCSignals) {

0 commit comments

Comments
 (0)