Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGUD/Tasks/flowCorrelationsUpc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ struct FlowCorrelationsUpc {

int trueGapSide = sgSelector.trueGap(collision, cfgCutFV0, cfgCutFT0A, cfgCutFT0C, cfgCutZDC);
gapSide = trueGapSide;
if (gapSide == 2) {
if (gapSide == cfgGapSideSelection) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion PWGUD/Tasks/flowCumulantsUpc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@
}

// V0A T0A 5 sigma cut
if (cfgEvSelV0AT0ACut && (std::fabs(collision.multFV0A() - fT0AV0AMean->Eval(collision.multFT0A())) > 5 * fT0AV0ASigma->Eval(collision.multFT0A()))) {

Check warning on line 619 in PWGUD/Tasks/flowCumulantsUpc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
return 0;
}
if (cfgEvSelV0AT0ACut) {
Expand Down Expand Up @@ -657,7 +657,7 @@
if (!((multNTracksPV < fMultPVCutLow->Eval(centrality)) || (multNTracksPV > fMultPVCutHigh->Eval(centrality)) || (multTrk < fMultCutLow->Eval(centrality)) || (multTrk > fMultCutHigh->Eval(centrality)))) {
registry.fill(HIST("hEventCountTentative"), 8.5);
}
if (!(std::fabs(collision.multFV0A() - fT0AV0AMean->Eval(collision.multFT0A())) > 5 * fT0AV0ASigma->Eval(collision.multFT0A()))) {

Check warning on line 660 in PWGUD/Tasks/flowCumulantsUpc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
registry.fill(HIST("hEventCountTentative"), 9.5);
}
}
Expand All @@ -669,7 +669,7 @@
if (!track.isPVContributor()) {
return false;
}
if (!(std::fabs(track.dcaZ()) < 2.)) {

Check warning on line 672 in PWGUD/Tasks/flowCumulantsUpc.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
return false;
}
double dcaLimit = 0.0105 + 0.035 / std::pow(track.pt(), 1.1);
Expand Down Expand Up @@ -733,7 +733,7 @@

int trueGapSide = sgSelector.trueGap(collision, cfgCutFV0, cfgCutFT0A, cfgCutFT0C, cfgCutZDC);
gapSide = trueGapSide;
if (gapSide == 2) {
if (gapSide == cfgGapSideSelection) {
return;
}

Expand Down
Loading