Skip to content

Commit 0b91d5b

Browse files
author
Sunanda
committed
Code check
1 parent b24a430 commit 0b91d5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Calibration/HcalCalibAlgos/macros/CalibFitPlots.C

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,8 @@ void PlotHistCorrFactor(char* infile,
24722472
}
24732473
}
24742474

2475-
void PlotHistCorrAsymmetry(char* infile, std::string text, std::string prefixF = "", int depth = -1, int iformat = 0, int save = 0) {
2475+
void PlotHistCorrAsymmetry(
2476+
char* infile, std::string text, std::string prefixF = "", int depth = -1, int iformat = 0, int save = 0) {
24762477
std::map<int, cfactors> cfacs;
24772478
int etamin(100), etamax(-100), maxdepth(0);
24782479
double scale(1.0);
@@ -2494,7 +2495,7 @@ void PlotHistCorrAsymmetry(char* infile, std::string text, std::string prefixF =
24942495
double dy(0);
24952496
int maxd = (depth < 0) ? maxdepth : 1;
24962497
for (int j = 0; j < maxd; ++j) {
2497-
int dep = (depth < 0) ? (j + 1) : depth;
2498+
int dep = (depth < 0) ? (j + 1) : depth;
24982499
sprintf(name, "hd%d", dep);
24992500
TObject* ob = gROOT->FindObject(name);
25002501
if (ob)
@@ -2546,7 +2547,7 @@ void PlotHistCorrAsymmetry(char* infile, std::string text, std::string prefixF =
25462547
TLegend* legend = new TLegend(0.60, yl, 0.90, yl + 0.035 * hists.size());
25472548
legend->SetFillColor(kWhite);
25482549
for (unsigned int k = 0; k < hists.size(); ++k) {
2549-
int dep = (depth < 0) ? (k + 1) : depth;
2550+
int dep = (depth < 0) ? (k + 1) : depth;
25502551
if (k == 0)
25512552
hists[k]->Draw("");
25522553
else

0 commit comments

Comments
 (0)