Skip to content

Commit

Permalink
fix for cms-sw#45084
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Aug 7, 2024
1 parent c64df4c commit c936bf4
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 c936bf4

Please sign in to comment.