Skip to content

Commit c44b617

Browse files
committed
fix code-check
1 parent 582d548 commit c44b617

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CalibPPS/AlignmentGlobal/plugins/PPSAlignmentHarvester.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -952,15 +952,15 @@ void PPSAlignmentHarvester::yAlignment(DQMStore::IBooker& iBooker,
952952
ff->SetLineColor(2);
953953
h_y_cen_vs_x->Fit(ff.get(), "Q", "", x_min, x_max);
954954

955-
const double a = ff->GetParameter(1), a_unc = ff->GetParError(1); // slope
956-
const double b = ff->GetParameter(0), b_unc = ff->GetParError(0); // intercept
955+
const double a = ff->GetParameter(1), a_unc = ff->GetParError(1); // slope
956+
const double b = ff->GetParameter(0), b_unc = ff->GetParError(0); // intercept
957957

958958
edm::LogInfo("PPSAlignmentHarvester")
959959
<< "[y_alignment] " << rpc.name_ << ":\n"
960960
<< std::fixed << std::setprecision(3) << " x_min = " << x_min << ", x_max = " << x_max << "\n"
961961
<< " sh_x = " << sh_x << ", slope (fix) = " << slope << ", slope (fitted) = " << a;
962962

963-
// vertical shift y -> y - b
963+
// vertical shift y -> y - b
964964
CTPPSRPAlignmentCorrectionData rpResult(0., 0., -b, b_unc, 0., 0., 0., 0., 0., 0., 0., 0.);
965965
yAliResults_.setRPCorrection(rpc.id_, rpResult);
966966

@@ -971,7 +971,7 @@ void PPSAlignmentHarvester::yAlignment(DQMStore::IBooker& iBooker,
971971
ff_sl_fix->SetLineColor(4);
972972
h_y_cen_vs_x->Fit(ff_sl_fix.get(), "Q+", "", x_min, x_max);
973973

974-
const double b_fs = ff_sl_fix->GetParameter(0), b_fs_unc = ff_sl_fix->GetParError(0); // intercept
974+
const double b_fs = ff_sl_fix->GetParameter(0), b_fs_unc = ff_sl_fix->GetParError(0); // intercept
975975

976976
CTPPSRPAlignmentCorrectionData rpResult_sl_fix(0., 0., -b_fs, b_fs_unc, 0., 0., 0., 0., 0., 0., 0., 0.);
977977
yAliResultsSlopeFixed_.setRPCorrection(rpc.id_, rpResult_sl_fix);

0 commit comments

Comments
 (0)