Skip to content

Commit

Permalink
Remove deprecated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
seungjin-yang committed Jun 25, 2020
1 parent 456b310 commit 1f805cd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions DQMOffline/Muon/src/GEMEfficiencyHarvester.cc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ void GEMEfficiencyHarvester::doResolution(DQMStore::IBooker& ibooker,
igetter.setCurrentFolder(resolution_folder);
ibooker.setCurrentFolder(resolution_folder);

// map<station_name, vector<pair<ieta, fit_function> > >;
std::map<std::tuple<std::string, int, bool>, std::vector<std::pair<int, TH1F*> > > res_data;

for (const std::string& name : igetter.getMEs()) {
Expand Down Expand Up @@ -304,7 +303,6 @@ void GEMEfficiencyHarvester::doResolution(DQMStore::IBooker& ibooker,
title += (is_odd ? ", Odd Superchambers" : ", Even Superchambers");
}

// auto profile = new TProfile2D(name, title, GEMeMap::maxEtaPartition_, 0.5, GEMeMap::maxEtaPartition_ + 0.5, 2, -0.5, 1.5);
TH2F* profile =
new TH2F(name, title, GEMeMap::maxEtaPartition_, 0.5, GEMeMap::maxEtaPartition_ + 0.5, 2, -0.5, 1.5);
auto x_axis = profile->GetXaxis();
Expand All @@ -319,8 +317,6 @@ void GEMEfficiencyHarvester::doResolution(DQMStore::IBooker& ibooker,
profile->GetYaxis()->SetBinLabel(2, "Std. Dev.");

for (auto [ieta, hist] : ieta_data) {
// profile->SetBinEntries(ieta, 1);

profile->SetBinContent(ieta, 1, hist->GetMean());
profile->SetBinContent(ieta, 2, hist->GetStdDev());

Expand All @@ -329,7 +325,6 @@ void GEMEfficiencyHarvester::doResolution(DQMStore::IBooker& ibooker,
}

ibooker.book2D(name, profile);
// ibooker.bookProfile2D(name, profile);
}
}

Expand Down

0 comments on commit 1f805cd

Please sign in to comment.