Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
watson-ij committed Jan 30, 2022
1 parent 4edb955 commit 9860b88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void GEMGeometryBuilderFromCondDB::build(GEMGeometry& theGeometry, const RecoIde
if (gemid.region() == 1 && gemid.station() == 2 && gemid.chamber() == 16) {
const GEMDetId demoSuChId(1, 1, 2, 0, 16, 0);
bool found = false;
for (auto & id : detids) {
for (auto& id : detids) {
if (id.rawId() == demoSuChId.rawId()) {
found = true;
break;
Expand Down
12 changes: 6 additions & 6 deletions Validation/MuonGEMHits/plugins/GEMSimHitValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ void GEMSimHitValidation::bookHistograms(DQMStore::IBooker& booker, edm::Run con
Int_t station_id = station->station();
if (me_eloss_mu_.find(station_id) != me_eloss_mu_.end())
continue;

auto eloss_mu_name = TString::Format("sim_eloss_muon_GE%d1", station_id);
auto eloss_mu_title = TString::Format("SimHit Energy Loss (Muon only) : GE%d1", station_id);

me_eloss_mu_[station_id] =
booker.book1D(eloss_mu_name, eloss_mu_title + ";" + eloss_xtitle + ";" + eloss_ytitle, 20, 0.0, 10.0);
booker.book1D(eloss_mu_name, eloss_mu_title + ";" + eloss_xtitle + ";" + eloss_ytitle, 20, 0.0, 10.0);

auto eloss_others_name = TString::Format("sim_eloss_others_GE%d1", station_id);
auto eloss_others_title = TString::Format("SimHit Energy Loss (Other Particles) : GE%d1", station_id);

me_eloss_others_[station_id] =
booker.book1D(eloss_others_name, eloss_others_title + ";" + eloss_xtitle + ";" + eloss_ytitle, 20, 0.0, 10.0);
booker.book1D(eloss_others_name, eloss_others_title + ";" + eloss_xtitle + ";" + eloss_ytitle, 20, 0.0, 10.0);
} // station loop
} // region loop

Expand Down

0 comments on commit 9860b88

Please sign in to comment.