Skip to content

Commit de074a6

Browse files
Merge pull request #37 from alibuild/alibot-cleanup-12986
Please consider the following formatting changes to #12986
2 parents 323ce7b + 28aa364 commit de074a6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

PWGLF/TableProducer/Strangeness/cascadeflow.cxx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,12 @@ struct cascadeFlow {
490490
std::string fullCCDBShiftCorrPathTPCL;
491491
std::string fullCCDBShiftCorrPathTPCR;
492492

493-
494493
template <typename TCollision>
495494
double ApplyShiftCorrection(TCollision coll, double psiT0C, TProfile3D* shiftprofile)
496495
{
497496
auto deltapsiFT0C = 0.0;
498497
int nmode = 2;
499-
498+
500499
for (int ishift = 1; ishift <= 10; ishift++) {
501500
auto coeffshiftxFT0C = shiftprofile->GetBinContent(shiftprofile->FindBin(coll.centFT0C(), 0.5, ishift - 0.5));
502501
auto coeffshiftyFT0C = shiftprofile->GetBinContent(shiftprofile->FindBin(coll.centFT0C(), 1.5, ishift - 0.5));
@@ -1082,7 +1081,7 @@ struct cascadeFlow {
10821081
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
10831082
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
10841083
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1085-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1084+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
10861085
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
10871086
lastRunNumber = currentRunNumber;
10881087
}
@@ -1395,7 +1394,7 @@ struct cascadeFlow {
13951394
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
13961395
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
13971396
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1398-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1397+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
13991398
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
14001399
lastRunNumber = currentRunNumber;
14011400
}
@@ -1405,7 +1404,7 @@ struct cascadeFlow {
14051404
psiT0CCorr = ApplyShiftCorrection(coll, psiT0C, shiftprofileFT0C);
14061405
ComputeEPResolutionwShifts(coll, psiT0C, psiTPCA, psiTPCC, shiftprofileFT0C, shiftprofileTPCL, shiftprofileTPCR);
14071406
}
1408-
1407+
14091408
histos.fill(HIST("hPsiT0C"), psiT0CCorr);
14101409
histos.fill(HIST("hPsiT0CvsCentFT0C"), coll.centFT0C(), psiT0CCorr);
14111410

@@ -1696,7 +1695,7 @@ struct cascadeFlow {
16961695
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
16971696
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
16981697
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1699-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1698+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
17001699
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
17011700
lastRunNumber = currentRunNumber;
17021701
}
@@ -1706,7 +1705,7 @@ struct cascadeFlow {
17061705
psiT0CCorr = ApplyShiftCorrection(coll, psiT0C, shiftprofileFT0C);
17071706
ComputeEPResolutionwShifts(coll, psiT0C, psiTPCA, psiTPCC, shiftprofileFT0C, shiftprofileTPCL, shiftprofileTPCR);
17081707
}
1709-
1708+
17101709
histos.fill(HIST("hPsiT0C"), psiT0CCorr);
17111710
histos.fill(HIST("hPsiT0CvsCentFT0C"), coll.centFT0C(), psiT0CCorr);
17121711

@@ -1923,7 +1922,7 @@ struct cascadeFlow {
19231922
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
19241923
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
19251924
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1926-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1925+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
19271926
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
19281927
lastRunNumber = currentRunNumber;
19291928
}

0 commit comments

Comments
 (0)