Skip to content

Commit

Permalink
Properly veto HGCal superclusters
Browse files Browse the repository at this point in the history
  • Loading branch information
hatakeyamak committed Aug 15, 2019
1 parent 1c0fe8d commit ff7dff0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ void GSFTrackImporter::importToBlock(const edm::Event& e, BlockElementImporterBa
reco::SuperClusterRef scref = seedref->caloCluster().castTo<reco::SuperClusterRef>();
if (scref.isNonnull()) {
// explicitly veto HGCal super clusters
if (scref->seed()->seed().det() == DetId::Forward)
if (scref->seed()->seed().det() == DetId::HGCalEE || scref->seed()->seed().det() == DetId::HGCalHSi ||
scref->seed()->seed().det() == DetId::HGCalHSc || scref->seed()->seed().det() == DetId::Forward)
continue;
PFBlockElementSCEqual myEqual(scref);
auto sc_elem = std::find_if(elems.begin(), SCs_end, myEqual);
Expand Down

0 comments on commit ff7dff0

Please sign in to comment.