Skip to content

Commit 81f104a

Browse files
authored
Merge pull request #12 from alibuild/alibot-cleanup-16028
Please consider the following formatting changes to #16028
2 parents d44df10 + a448eaf commit 81f104a

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

Common/Tasks/zdcExtraTableReader.cxx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ THn* gCurrentQyZNA{nullptr};
148148
THn* gCurrentQxZNC{nullptr};
149149
THn* gCurrentQyZNC{nullptr};
150150

151-
TH1* gCurrentPsiZNA{nullptr} ;
151+
TH1* gCurrentPsiZNA{nullptr};
152152
TH1* gCurrentPsiZNC{nullptr};
153153

154154
TH1* gCurrentVx{nullptr};
@@ -605,7 +605,7 @@ struct ZdcExtraTableReader {
605605
if (applyShiftCorrection) {
606606
std::string folder = Form("%s/psiHarm", qRecenteringCcdb.value.c_str());
607607

608-
//LOGF(info, "Loading Shift Correction from %s for runNumber %d", folder.c_str(), runNumber);
608+
// LOGF(info, "Loading Shift Correction from %s for runNumber %d", folder.c_str(), runNumber);
609609

610610
// Attempt to fetch TList from CCDB
611611
auto* lst = ccdb->getForRun<TList>(folder, runNumber);
@@ -714,7 +714,7 @@ struct ZdcExtraTableReader {
714714
}
715715

716716
bool isZNChit = false, isZNAhit = false;
717-
717+
718718
double tdcZNC = zdc.zncTdc();
719719
double tdcZNA = zdc.znaTdc();
720720

@@ -733,7 +733,7 @@ struct ZdcExtraTableReader {
733733
isZNAhit = true;
734734
}
735735
}
736-
736+
737737
bool isZNASpDeterminable = false;
738738
bool isZNCSpDeterminable = false;
739739

@@ -779,13 +779,12 @@ struct ZdcExtraTableReader {
779779

780780
double qxZNArec = 0., qyZNArec = 0.;
781781
double qxZNCrec = 0., qyZNCrec = 0.;
782-
782+
783783
double cent = zdc.centrality();
784784
double vx = zdc.vx();
785785
double vy = zdc.vy();
786786
double vz = zdc.vz();
787787

788-
789788
if (applyBeamSpotCorrection) {
790789
// Use cached vertex pointers
791790
if (hMeanVx && hMeanVy) {
@@ -801,7 +800,7 @@ struct ZdcExtraTableReader {
801800

802801
qxZNArec = qx;
803802
qyZNArec = qy;
804-
803+
805804
for (int step = 1; step <= calibrationStep; step++) {
806805

807806
int cacheIdx = step - 1;
@@ -923,14 +922,14 @@ struct ZdcExtraTableReader {
923922

924923
qxZNCrec = qx;
925924
qyZNCrec = qy;
926-
925+
927926
// Iterate through steps using cached vector
928927
for (int step = 1; step <= calibrationStep; step++) {
929928

930929
int cacheIdx = step - 1;
931930
if (cacheIdx >= static_cast<int>(calibCache.size()))
932931
continue;
933-
932+
934933
const auto& calib = calibCache[cacheIdx];
935934

936935
// Apply 5D Base calibration
@@ -958,7 +957,7 @@ struct ZdcExtraTableReader {
958957

959958
double valuesQxZNC[5] = {cent, vx, vy, vz, qxZNCrec};
960959
double valuesQyZNC[5] = {cent, vx, vy, vz, qyZNCrec};
961-
960+
962961
gCurrentCentroidZNC->Fill(qxZNCrec, qyZNCrec);
963962

964963
gCurrentQxVsCentZNC->Fill(cent, qxZNCrec);

0 commit comments

Comments
 (0)