-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
HLT XGBoost Photon MVA and Diphoton combination filter (backport for 14_0_X) #44500
HLT XGBoost Photon MVA and Diphoton combination filter (backport for 14_0_X) #44500
Conversation
* Photon XGBoost MVA estimator and producer. Implemented using native XGBoost C API for photon MVA score Currently diphoton score filter is not yet submitted. Model files will be added to the cms-data XGBoost Double photon combination filter fix module name code-format fix comments from maintainers Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update HLTrigger/Egamma/plugins/HLTEgammaDoubleXGBoostCombFilter.cc Co-authored-by: Marco Musich <[email protected]> Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]> Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]> Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]> Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]> Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]> tidy up and sort headers code-format Update RecoEgamma/PhotonIdentification/plugins/PhotonXGBoostProducer.cc Co-authored-by: Marco Musich <[email protected]>
XGBoost Photon MVA unit test Unit test for v1 model files in cms-data Change of ntree limit parameter
A new Pull Request was created by @smorovic for CMSSW_14_0_X. It involves the following packages:
@jfernan2, @mmusich, @mandrenguyen, @Martin-Grunewald, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here
|
cms-bot internal usage |
test parameters: |
@cmsbuild, please test |
backport of #44473 |
type hlt-int |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-13911f/38327/summary.html Comparison SummarySummary:
|
+hlt
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_14_0_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_14_1_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
To be backported: cms-sw/cmsdist#9089 |
I opened cms-sw/cmsdist#9090 |
+1 |
PR description:
This PR uses XGBoost C API to implement calculation of the score of Photons for HLT.
Combination filter is provided with the aim of implementing diphoton paths.
Total of 9 HLT variables are used as input.
For binary model files, NTree Limit parameter must be provided (it is not saved in the model file).
Note: at this time model training files are not provided, until they are finalized.
At that point we will request: cms-data repository for model files, define default parameters (cuts) and add unit test which ensures XGBoost (v1.7.5 currently used in CMSSW) calculates scores correctly with given model files and parameters.
Note: requires external PR:
cms-data/RecoEgamma-PhotonIdentification#14
PR validation:
New unit test added with this PR (requires external PR in cms-data).
This code also passes HLT integration checks (caveat: all events rejected at the combination filter due to low statistics, but no errors, this will be improved and presented to TSG)
Sample HLT snippet used for that test:
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Backport of #44473
Reason for backport: integration into HLT which will use CMSSW_14_0_X for the initial data-taking in 2024.