Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack EgammaHLTR9IDProducer to be able to run it in Phase2 HLT #44358

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually the default value for HGCAL should be 1 (not 0). Because R9 cut in phase2 HLT paths will be of the form R9>some_value_around_0.9. So if it's set to 1 in HGCAL then it will always pass, as intended. I will make this change soon.

continue;
}
float r9 = -1;
float r95x5 = -1;

Expand Down