Skip to content

Commit 69979f4

Browse files
committed
Please consider the following formatting changes
1 parent cbe5398 commit 69979f4

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

PWGLF/TableProducer/Strangeness/cascadeflow.cxx

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

494-
495494
template <typename TCollision>
496495
double ApplyShiftCorrection(TCollision coll, double psiT0C, TProfile3D* shiftprofile)
497496
{
498497
auto deltapsiFT0C = 0.0;
499498
int nmode = 2;
500-
499+
501500
for (int ishift = 1; ishift <= 10; ishift++) {
502501
auto coeffshiftxFT0C = shiftprofile->GetBinContent(shiftprofile->FindBin(coll.centFT0C(), 0.5, ishift - 0.5));
503502
auto coeffshiftyFT0C = shiftprofile->GetBinContent(shiftprofile->FindBin(coll.centFT0C(), 1.5, ishift - 0.5));
@@ -1083,7 +1082,7 @@ struct cascadeFlow {
10831082
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
10841083
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
10851084
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1086-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1085+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
10871086
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
10881087
lastRunNumber = currentRunNumber;
10891088
}
@@ -1396,7 +1395,7 @@ struct cascadeFlow {
13961395
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
13971396
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
13981397
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1399-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1398+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
14001399
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
14011400
lastRunNumber = currentRunNumber;
14021401
}
@@ -1406,7 +1405,7 @@ struct cascadeFlow {
14061405
psiT0CCorr = ApplyShiftCorrection(coll, psiT0C, shiftprofileFT0C);
14071406
ComputeEPResolutionwShifts(coll, psiT0C, psiTPCA, psiTPCC, shiftprofileFT0C, shiftprofileTPCL, shiftprofileTPCR);
14081407
}
1409-
1408+
14101409
histos.fill(HIST("hPsiT0C"), psiT0CCorr);
14111410
histos.fill(HIST("hPsiT0CvsCentFT0C"), coll.centFT0C(), psiT0CCorr);
14121411

@@ -1697,7 +1696,7 @@ struct cascadeFlow {
16971696
fullCCDBShiftCorrPathTPCL = ShiftConfigs.cfgShiftPathTPCL;
16981697
fullCCDBShiftCorrPathTPCR = ShiftConfigs.cfgShiftPathTPCR;
16991698
shiftprofileFT0C = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathFT0C, coll.timestamp());
1700-
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
1699+
shiftprofileTPCL = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCL, coll.timestamp());
17011700
shiftprofileTPCR = ccdb->getForTimeStamp<TProfile3D>(fullCCDBShiftCorrPathTPCR, coll.timestamp());
17021701
lastRunNumber = currentRunNumber;
17031702
}
@@ -1707,7 +1706,7 @@ struct cascadeFlow {
17071706
psiT0CCorr = ApplyShiftCorrection(coll, psiT0C, shiftprofileFT0C);
17081707
ComputeEPResolutionwShifts(coll, psiT0C, psiTPCA, psiTPCC, shiftprofileFT0C, shiftprofileTPCL, shiftprofileTPCR);
17091708
}
1710-
1709+
17111710
histos.fill(HIST("hPsiT0C"), psiT0CCorr);
17121711
histos.fill(HIST("hPsiT0CvsCentFT0C"), coll.centFT0C(), psiT0CCorr);
17131712

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

0 commit comments

Comments
 (0)