-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Adding Xi-compatible tracks to lostTracks collection #33891
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
- add to lostTracks tracks consistent with coming from a Xi candidate decaying to LambdaPi - adding a flag to turn on the slection
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33891/22943
|
|
A new Pull Request was created by @AdrianoDee for master. It involves the following packages: PhysicsTools/PatAlgos @perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
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.
please provide a timing measurement, preferably using igprof. The nested loop over tracks may be quite costly and then will need to be rewritten to minimize recomputations.
| } | ||
| if (xiSelection_) { | ||
| // selecting potential Xi- -> Lambda pi candidates | ||
| TLorentzVector p4Lambda; |
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.
please switch to a math:: Lorentz vector. Given the cost of computing eta and phi for tracks, I think that math::XYZTLorentzVector is more appropriate.
|
@cmsbuild please test |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33891/22967
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
Sure, about this it's worth to move the
above before the p4 calculations. With this implemented the igprof reports: The timing for the module goes from ~150 ms per 100 events to 220 ms per 100 events. |
the igprof shows that the cost of the loop in question is reasonably small and further optimization is not required. |
Indeed, updated it with the new setup |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33891/22976
|
|
@cmsbuild please test |
|
urgent |
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4cc4e9/15460/summary.html Comparison SummarySummary:
|
|
thanks a lot for this very fast review (really appreciated !) thanks, and have a nice day (and Festa della Repubblica for the Italians ;) ) |
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
|
Thanks! |

PR description:
This PR adds to lostTracks collection all those tracks (pions) that can potentially form Λπ candidate checking the invariant mass M( Λπ)< X GeV. This PR adds to the lostTracks modules a variable
xiSelectionto turn on this selection and a tunable mass cut(xiMassCut).PR validation:
All the tests run.
The size increase is <~ 1% evaluated on JetHT Run2018D data with =37
See slide 10 here