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

Draft: Introduce option to run AsgDeadHVCellRemovalTool for electrons #1706

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

miholzbo
Copy link
Contributor

Following the egamma twiki here, we should to an additional veto for electrons in data 2016:
https://twiki.cern.ch/twiki/bin/view/AtlasProtected/EGammaIdentificationRun2#Removal_of_Electron_Photon_clust

It's also done in the CP algs here
https://gitlab.cern.ch/atlas/athena/-/blob/main/PhysicsAnalysis/Algorithms/EgammaAnalysisAlgorithms/Root/EgammaIsGoodOQSelectionTool.cxx
so I more or less just copied the implementation.

The only question I'd have is if we even may want to run this veto as default because it seems to be recommended?

@mdhank
Copy link
Contributor

mdhank commented Oct 29, 2024

Hi @miholzbo ,

Thanks for the PR! I think if it's recommended then it should probably be applied by default (unless there's some common use-case where it shouldn't be applied).

Thanks,
Michael

@miholzbo
Copy link
Contributor Author

Thanks for the quick review. I've processed a data16 file locally and 68552 from 68714 electrons (around 0.2%) didn't pass the veto. That's of course just picking one file, no idea how large the fraction over the full data16 is.

Given that observation, I didn't set the option to true for the moment but just print a warning if it isn't true which seems to be a compromise to let users know something should be double-checked. But setting it per default to true is of course a trivial change. Let me know if you prefer that.

@mdhank
Copy link
Contributor

mdhank commented Oct 30, 2024

Looks good to me! I looked and we don't apply similar flags (such as event and jet cleaning) by default, so I think this is the best solution.

@mdhank mdhank merged commit 30592b6 into UCATLAS:main Oct 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants