Skip to content

Commit

Permalink
Merge pull request #46111 from mmusich/mm_dev_fix_for45084
Browse files Browse the repository at this point in the history
fix for #45084
  • Loading branch information
cmsbuild authored Sep 25, 2024
2 parents a355128 + c936bf4 commit 38a391b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ void SiStripHitEffFromCalibTree::makeSummaryVsBx() {

//Average over trains
TGraphAsymmErrors* geff_avg = fs->make<TGraphAsymmErrors>();
geff_avg->SetName(Form("effVsBxAvg_layer%i", ilayer));
geff_avg->SetName(Form("effVsBxAvg_test_layer%i", ilayer));
geff_avg->SetTitle(fmt::format("Hit Efficiency vs bx - {}", ::layerName(ilayer, showRings_, nTEClayers)).c_str());
geff_avg->SetMarkerStyle(20);
int ibx = 0;
Expand Down Expand Up @@ -1545,7 +1545,7 @@ void SiStripHitEffFromCalibTree::computeEff(vector<TH1F*>& vhfound, vector<TH1F*
}

TGraphAsymmErrors* geff = fs->make<TGraphAsymmErrors>(hfound->GetNbinsX());
geff->SetName(Form("%s_layer%i", name.c_str(), ilayer));
geff->SetName(Form("%s_test_layer%i", name.c_str(), ilayer));
geff->BayesDivide(hfound, htotal);
if (name == "effVsLumi")
geff->SetTitle(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ void SiStripHitResolFromCalibTree::makeSummaryVsBx(const edm::Service<TFileServi

//Average over trains
TGraphAsymmErrors* geff_avg = fs->make<TGraphAsymmErrors>();
geff_avg->SetName(Form("effVsBxAvg_layer%i", ilayer));
geff_avg->SetName(Form("effVsBxAvg_test_layer%i", ilayer));
geff_avg->SetTitle("Hit Efficiency vs bx - " + GetLayerName(ilayer));
geff_avg->SetMarkerStyle(20);
int ibx = 0;
Expand Down Expand Up @@ -1594,7 +1594,7 @@ void SiStripHitResolFromCalibTree::ComputeEff(const edm::Service<TFileService>&
}

TGraphAsymmErrors* geff = fs->make<TGraphAsymmErrors>(hfound->GetNbinsX());
geff->SetName(Form("%s_layer%i", name.c_str(), ilayer));
geff->SetName(Form("%s_test_layer%i", name.c_str(), ilayer));
geff->BayesDivide(hfound, htotal);
if (name == "effVsLumi")
geff->SetTitle("Hit Efficiency vs inst. lumi. - " + GetLayerName(ilayer));
Expand Down

0 comments on commit 38a391b

Please sign in to comment.