Skip to content

Commit c49c46e

Browse files
committed
clang
1 parent f252ae3 commit c49c46e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Detectors/CTP/macro/PlotPbLumi.C

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ void PlotPbLumi(int runNumber = 567905, bool sum = 0, bool qc = 0, Double_t t0 =
141141
//
142142
int i0 = 0;
143143
int ilast = 0;
144-
if(t0 != 0. || tlast != 0.) {
145-
for(int i = 0; i < n; i++){
144+
if (t0 != 0. || tlast != 0.) {
145+
for (int i = 0; i < n; i++) {
146146
double_t ttime = recs[i].epochTime - time0;
147-
if(!i0 && t0 < ttime) {
147+
if (!i0 && t0 < ttime) {
148148
i0 = i;
149149
}
150-
if(!ilast && tlast < ttime) {
150+
if (!ilast && tlast < ttime) {
151151
ilast = i;
152152
}
153153
}
@@ -183,7 +183,7 @@ void PlotPbLumi(int runNumber = 567905, bool sum = 0, bool qc = 0, Double_t t0 =
183183
znc[iv] = znci / 28. / tt;
184184
// znc class
185185
znci = recs[i + 1].scalers[zncclsi].l1Before - recs[i].scalers[zncclsi].l1Before;
186-
zncclass[iv] = znci / 28. /tt;
186+
zncclass[iv] = znci / 28. / tt;
187187
//std::cout << znc[i]/zncclass[i] << std::endl;
188188
//
189189
double_t had = 0;
@@ -203,7 +203,7 @@ void PlotPbLumi(int runNumber = 567905, bool sum = 0, bool qc = 0, Double_t t0 =
203203

204204
// rat = (double_t)(had)/double_t(recs[i+1].scalersInps[25] - recs[i].scalersInps[25])*28;
205205
vchtoznc[iv] = (double_t)(had) / zncpp[iv] / tt;
206-
//std::cout << "muzdc:" << mu << " mu tce:" << mutce << " muvch:" << muvch << std::endl;
206+
//std::cout << "muzdc:" << mu << " mu tce:" << mutce << " muvch:" << muvch << std::endl;
207207
}
208208
//
209209
gStyle->SetMarkerSize(0.5);

0 commit comments

Comments
 (0)