Skip to content

Commit db48b3e

Browse files
authored
Merge pull request #21 from alibuild/alibot-cleanup-15516
[PWGCF] Please consider the following formatting changes to #15516
2 parents 65261a2 + 8846200 commit db48b3e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longRangeDihadronCor.cxx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ struct LongRangeDihadronCor {
464464
}
465465

466466
if (cfgCumulantConfig.gfwOutput && doprocessSameTpcFt0a && doprocessSameTpcFt0c) {
467-
LOGF(fatal, "If you enable gfwOutput, you can only enable processSameTpcFt0a or processSameTpcFt0c, NOT both." );
467+
LOGF(fatal, "If you enable gfwOutput, you can only enable processSameTpcFt0a or processSameTpcFt0c, NOT both.");
468468
}
469469
if (cfgCumulantConfig.gfwOutput) {
470470
o2::framework::AxisSpec axis = axisPt;
@@ -523,7 +523,6 @@ struct LongRangeDihadronCor {
523523
}
524524
}
525525

526-
527526
cfgCumulantConfig.fGFW->CreateRegions();
528527
}
529528

@@ -820,7 +819,7 @@ struct LongRangeDihadronCor {
820819
getChannel(ft0, iCh, chanelid, ampl, corType, MixedEvent + 1);
821820
auto phi = getPhiFT0(chanelid, corType);
822821
auto eta = getEtaFT0(chanelid, corType);
823-
for (float ihit = 0; ihit < ampl; ihit ++){
822+
for (float ihit = 0; ihit < ampl; ihit++) {
824823
cfgCumulantConfig.fGFW->Fill(eta, 1, phi, 1., 1);
825824
}
826825
}
@@ -1200,9 +1199,9 @@ struct LongRangeDihadronCor {
12001199
if (!trackSelected(track))
12011200
continue;
12021201
bool withinPtPOI = (0.2 < track.pt()) && (track.pt() < 10.0); // o2-linter: disable=magic-number (within POI pT range)
1203-
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
1202+
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
12041203
getAcceptanceWeight(wacc, track.phi(), track.eta(), collision.posZ());
1205-
if(!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
1204+
if (!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
12061205
continue;
12071206
if (withinPtRef)
12081207
cfgCumulantConfig.fGFW->Fill(track.eta(), cfgCumulantConfig.fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);
@@ -1354,9 +1353,9 @@ struct LongRangeDihadronCor {
13541353
if (!trackSelected(track))
13551354
continue;
13561355
bool withinPtPOI = (0.2 < track.pt()) && (track.pt() < 10.0); // o2-linter: disable=magic-number (within POI pT range)
1357-
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
1356+
bool withinPtRef = (0.2 < track.pt()) && (track.pt() < 3.0); // o2-linter: disable=magic-number (within RF pT range)
13581357
getAcceptanceWeight(wacc, track.phi(), track.eta(), collision.posZ());
1359-
if(!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
1358+
if (!getEfficiencyCorrection(weff, track.eta(), track.pt(), collision.posZ()))
13601359
continue;
13611360
if (withinPtRef)
13621361
cfgCumulantConfig.fGFW->Fill(track.eta(), cfgCumulantConfig.fPtAxis->FindBin(track.pt()) - 1, track.phi(), wacc * weff, 1);

0 commit comments

Comments
 (0)