Skip to content

Commit

Permalink
add GEMEfficiencyAnalyzer::skipGEMStation to GEMEfficiencyAnalyzer::b…
Browse files Browse the repository at this point in the history
…ookEfficiencyEtaPartition
  • Loading branch information
seungjin-yang committed Feb 5, 2022
1 parent 17682ea commit d0a1df0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DQM/GEM/plugins/GEMEfficiencyAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ void GEMEfficiencyAnalyzer::bookEfficiencyEtaPartition(DQMStore::IBooker& ibooke
const int region_id = station->region();
const int station_id = station->station();

if (skipGEMStation(station_id)) {
continue;
}

const std::vector<const GEMSuperChamber*> superchambers = station->superChambers();
if (not checkRefs(superchambers)) {
edm::LogError(kLogCategory_) << "failed to get a valid vector of GEMSuperChamber ptrs" << std::endl;
Expand Down

0 comments on commit d0a1df0

Please sign in to comment.