Skip to content

Commit 60f3d47

Browse files
authored
Merge pull request #79 from alibuild/alibot-cleanup-12997
[PWGCF] Please consider the following formatting changes to #12997
2 parents 0d73236 + 3b222ef commit 60f3d47

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -956,10 +956,14 @@ struct ZdcQVectors {
956956
int binshiftxZDCA = cal.shiftprofileA->FindBin(centrality, 0.5, ishift - 0.5);
957957
int binshiftyZDCA = cal.shiftprofileA->FindBin(centrality, 1.5, ishift - 0.5);
958958

959-
if (binshiftxZDCC > 0) coeffshiftxZDCC = cal.shiftprofileC->GetBinContent(binshiftxZDCC);
960-
if (binshiftyZDCC > 0) coeffshiftyZDCC = cal.shiftprofileC->GetBinContent(binshiftyZDCC);
961-
if (binshiftxZDCA > 0) coeffshiftxZDCA = cal.shiftprofileA->GetBinContent(binshiftxZDCA);
962-
if (binshiftyZDCA > 0) coeffshiftyZDCA = cal.shiftprofileA->GetBinContent(binshiftyZDCA);
959+
if (binshiftxZDCC > 0)
960+
coeffshiftxZDCC = cal.shiftprofileC->GetBinContent(binshiftxZDCC);
961+
if (binshiftyZDCC > 0)
962+
coeffshiftyZDCC = cal.shiftprofileC->GetBinContent(binshiftyZDCC);
963+
if (binshiftxZDCA > 0)
964+
coeffshiftxZDCA = cal.shiftprofileA->GetBinContent(binshiftxZDCA);
965+
if (binshiftyZDCA > 0)
966+
coeffshiftyZDCA = cal.shiftprofileA->GetBinContent(binshiftyZDCA);
963967
}
964968
deltaPsiZDCC += ((2 / (1.0 * ishift)) * (-coeffshiftxZDCC * std::cos(ishift * 1.0 * psiZDCC) + coeffshiftyZDCC * std::sin(ishift * 1.0 * psiZDCC)));
965969
deltaPsiZDCA += ((2 / (1.0 * ishift)) * (-coeffshiftxZDCA * std::cos(ishift * 1.0 * psiZDCA) + coeffshiftyZDCA * std::sin(ishift * 1.0 * psiZDCA)));

0 commit comments

Comments
 (0)