Skip to content

Commit

Permalink
ensure that ECAL R9 filter always pass in HGCAL
Browse files Browse the repository at this point in the history
  • Loading branch information
swagata87 committed Mar 9, 2024
1 parent ce9f93d commit d9aaa9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ void EgammaHLTR9IDProducer::produce(edm::StreamID sid, edm::Event& iEvent, const
for (unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
reco::RecoEcalCandidateRef recoecalcandref(recoecalcandHandle, iRecoEcalCand); //-recoecalcandHandle->begin());
if (recoecalcandref->superCluster()->seed()->seed().det() != DetId::Ecal) { //HGCAL, skip for now
r9Map.insert(recoecalcandref, 0);
r95x5Map.insert(recoecalcandref, 0);
r9Map.insert(recoecalcandref, 1.0);
r95x5Map.insert(recoecalcandref, 1.0);
continue;
}
float r9 = -1;
Expand Down

0 comments on commit d9aaa9d

Please sign in to comment.