-
Notifications
You must be signed in to change notification settings - Fork 2
Replace pT3 R-Phi Cuts with DNN #178
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
Conversation
|
/run standalone |
|
The PR was built and ran successfully in standalone mode. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
please post the breakdown plots (before/after; at least for eta efficiency). |
|
reminding myself that the r-phi chi2 is a part of pt3 DNN. So, it makes sense to not cut on chi2 directly and use the DNN. Compared to the category-based cut, the layer pattern is not in the DNN. So, perhaps we are missing some information here. |
Sure, I can try adding the layer1, layer2, layer3 as inputs to the DNN and see if it improves. |
|
/run all |
|
The PR was built and ran successfully in standalone mode. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
The PR was built and ran successfully with CMSSW. Here are some plots. OOTB All Tracks
The full set of validation and comparison plots can be found here. |
|
Two slides if you want to flip, 1000 events: eff_comp.pdf Fewer unmatched pLS's as you can see below, good conversion from pLS's->pT3's. |
|
/run all-gpu |
|
The PR was built and ran successfully in standalone mode on GPU. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
The PR was built and ran successfully with CMSSW on GPU. Here are some plots. OOTB All Tracks
The full set of validation and comparison plots can be found here. |
what's happening at η~±1.6 in pT3? It's suspiciously localized, the only place where FR goes up. |
|
@slava77 I think it goes back to this issue here, where the DNN performance drops right around abs(eta) 1.6 and afterwards, which is why I need to place a tighter cut (84% signal efficiency) than in the barrel (95% signal efficiency).
|
slava77
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in addition to already mentioned layer pattern information loss, I noticed now that the inward chi2 is lost as well.
It would be good to check if this is a useful variable.
From a separate chat earlier today it sounded like this one is urgent, although from a meeting yesterday it sounded like some developments are still to be included.
If updates are coming in a few days later, perhaps it's better to combine.
Please clarify.
| rPhiChiSquaredInwards = computePT3RPhiChiSquaredInwards(g, f, tripletRadius, xPix, yPix); | ||
| if (runChiSquaredCuts && pixelSegmentPt < 5.0f) { | ||
| if (!passPT3RPhiChiSquaredInwardsCuts( | ||
| modules, lowerModuleIndex, middleModuleIndex, upperModuleIndex, rPhiChiSquaredInwards)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, rPhiChiSquaredInwards would be another variable not used in the dnn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I tried to add it a while ago but it didn't add any performance. It is still included in the "score" variable however, which is why I had to leave it for now.
Thank you for the review comments! I'm not in a rush, I would like to understand at least a little better what's going on for eta > 1.6 and other small things (including layer numbers as suggested). |
|
@slava77 Here are the layer distributions btw. Working on adding these as inputs to the DNN. Low score means a real track with DNN score < 0.5. |
|
/run standalone |
|
/run cmssw |
|
The PR was built and ran successfully in standalone mode. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
The PR was built and ran successfully with CMSSW. Here are some plots. OOTB All Tracks
The full set of validation and comparison plots can be found here. |
fe4f368 to
0eb0efb
Compare
|
/run all |
|
There was a problem while building and running in standalone mode. The logs can be found here. |
|
/run gpu-all |
|
There was a problem while building and running in standalone mode on GPU. The logs can be found here. |
|
There was a problem while building and running with CMSSW on GPU. The logs can be found here. |
|
/run all |
|
There was a problem while building and running in standalone mode. The logs can be found here. |
|
There was a problem while building and running with CMSSW. The logs can be found here. |
|
/run all |
|
There was a problem while building and running in standalone mode. The logs can be found here. |
|
There was a problem while building and running with CMSSW. The logs can be found here. |
|
/run all |
|
There was a problem while building and running in standalone mode. The logs can be found here. |
|
There was a problem while building and running with CMSSW. The logs can be found here. |
|
Hmm it's weird that the latest IB is still CMSSW_16_0_X_2025-09-28. Hopefully they update that soon. |
I think that this is related to the gcc13 switch. |
|
need to use |
|
/run all |
|
There was a problem while building and running in standalone mode. The logs can be found here. |
|
I restarted the CI. Hopefully it works now. Thank you, @slava77! |
|
The PR was built and ran successfully in standalone mode. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
/run gpu-all |
|
The PR was built and ran successfully with CMSSW. Here are some plots. OOTB All Tracks
The full set of validation and comparison plots can be found here. |
|
The PR was built and ran successfully with CMSSW on GPU. Here are some plots. OOTB All Tracks
The full set of validation and comparison plots can be found here. |
|
The PR was built and ran successfully in standalone mode on GPU. Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
/run standalone lowpt |
|
The PR was built and ran successfully in standalone mode (low pT setup). Here are some of the comparison plots.
The full set of validation and comparison plots can be found here. Here is a timing comparison: |
|
/run CMSSW lowpt |
|
There was a problem while building and running with CMSSW. The logs can be found here. |
|
@slava77 low-pT CMSSW CI fail is independent of this PR btw. |
|
there is now some repetition in RecoTracker/LSTCore/standalone/code/core/write_lst_ntuple.cc, but it's probably OK, especially if the goal is to maintain a fast variant working for the pT3 DNN case specifically. @GNiendorf |





















































Replaces the pT3 R-Phi chi-squared cuts with a single cut on the DNN for lower FR, improved efficiency (especially at low-pT), and fewer unmatched pLS's (pLS->pT3 conversion).