Skip to content

Commit

Permalink
make R9 producer run in phase2
Browse files Browse the repository at this point in the history
  • Loading branch information
swagata87 committed Mar 8, 2024
1 parent 1f01765 commit ce9f93d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ void EgammaHLTR9IDProducer::produce(edm::StreamID sid, edm::Event& iEvent, const
reco::RecoEcalCandidateIsolationMap r95x5Map(recoecalcandHandle);
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);
continue;
}
float r9 = -1;
float r95x5 = -1;

Expand Down

0 comments on commit ce9f93d

Please sign in to comment.