-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Pixel Heterogeneous DQM: add modules for Tracks and Vertices @cpu / @gpu comparisons #37619
Pixel Heterogeneous DQM: add modules for Tracks and Vertices @cpu / @gpu comparisons #37619
Conversation
@cms-sw/heterogeneous-l2 @VinInn comments welcome. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37619/29387
|
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages:
@perrotta, @pmandrik, @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @qliphy, @rvenditti, @micsucmed, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
enable gpu |
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
for (auto gid : looseTrkidxGPU) { | ||
float etagpu = tsoaGPU.eta(gid); | ||
float phigpu = tsoaGPU.phi(gid); | ||
float dr2 = reco::deltaR2(etacpu, phicpu, etagpu, phigpu); |
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.
Maybe take into account also the pT of the two tracks ?
Though, I'm not sure what would be better:
- to consider tracks with a large pT difference as "not matched"
- to consider tracks with a large pT difference as "matched" and showing up as outliers on the pT-vs-pT plot
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.
So, as @sroychow was anticipated we're looking at a way of displaying this differences with 1D histograms, commit from him should come in the next hours.
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareVertexSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareTrackSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareVertexSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareVertexSoA.cc
Outdated
Show resolved
Hide resolved
DQM/SiPixelPhase1Heterogeneous/plugins/SiPixelPhase1CompareVertexSoA.cc
Outdated
Show resolved
Hide resolved
I've left a first round of comments covering only the C++ part of the code. There is one thing that I did not take into account: both for tracks and vertices, the matching is done all-vs-all, while it could be optimised e.g. sorting the vertices by z or organising the tracks in an eta/phi grid. |
OK for me -- let's see if we manage to review it and address any issues in time :-) |
enable gpu |
please test |
+upgrade
|
+1 |
+pdmv |
Hi @perrotta sorry for the confusion.
because some other histograms are removed. |
+1 |
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 be automatically merged. |
@mmusich @cms-sw/dqm-l2 By the way, if I remember correctly we have the GPU-vs-CPU DQM workflows only for MC... who should start adding them for data ? Do you foresee any issues ? |
here it is: #37737
I personally don't see issues. Perhaps to discuss at the operations meeting as well? |
PR description:
Title says it all.
The code is actually from @sroychow and @arossi83.
Taking the liberty to pushing this through to start getting ahead with possible comments (
and possibly getting merged in 12_4_0_pre3?)PR validation:
Tested running wf.
runTheMatrix.py --what gpu -l 11634.503
onlxplus-gpu
successfully.if this PR is a backport please specify the original PR and why you need to backport that PR:
N/A