Skip to content

Commit c64481f

Browse files
committed
Replaced return with continue
1 parent c574aca commit c64481f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGDQ/Tasks/myDitracksAnalyzer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct myDitracksAnalyzer {
7474
ditracksCounter++;
7575
// Only process pairs with correct charge
7676
if (ditrack.sign() != fConfigPairSign.value) {
77-
return;
77+
continue;
7878
}
7979

8080
massHisto->Fill(ditrack.mass());
@@ -85,10 +85,10 @@ struct myDitracksAnalyzer {
8585

8686
// Apply cuts
8787
if (!ditrack.pairFilterMap_bit(fConfigPairFilterBit)) {
88-
return;
88+
continue;
8989
}
9090
if (ditrack.mass() < fConfigLowMass.value || ditrack.mass() >= fConfigHighMass.value) {
91-
return;
91+
continue;
9292
}
9393

9494
// Fill pair-level histograms after cuts

0 commit comments

Comments
 (0)