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
Revisit usage of HitPattern in DataFormats/Scouting #37149
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37149/28695
|
A new Pull Request was created by @mmasciov (Mario Masciovecchio) for master. It involves the following packages:
@smuzaffar, @Dr15Jones, @makortel, @clacaputo, @cmsbuild, @missirol, @Martin-Grunewald, @slava77, @jpata can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37149/28697
|
Pull request #37149 was updated. @smuzaffar, @Dr15Jones, @makortel, @clacaputo, @cmsbuild, @missirol, @Martin-Grunewald, @slava77, @jpata can you please check and sign again. |
please test |
+hlt |
+reconstruction
|
trk_hitPattern_(trk_hitPattern), | ||
vtxIndx_(std::move(vtxIndx)) {} | ||
vtxIndx_(std::move(vtxIndx)), | ||
trk_hitPattern_(trk_hitPattern) {} |
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.
Given the std::vector
member this would avoid one copy of it with std::move
trk_hitPattern_(trk_hitPattern) {} | |
trk_hitPattern_(std::move(trk_hitPattern)) {} |
(sorry for noticing only now, I'm fine with a follow-up PR for that given the time pressure)
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.
I can update this PR right away, if it works too
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.
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.
Let have this PR merged now.
Please @mmasciov prepare a follow-up one-line PR with the proposed fix as soon as you can (even right after this one is merged on top of the master HEAD).
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.
+core |
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@silviodonato, @dsperka, @missirol: as this is now fully signed, should I also submit a backport PR to 122X? |
I'd say no; I don't think we want to change the DataFormats in |
+1 |
@mmasciov after the merging of this PR in CMSSW_12_3_X_2022-03-08-2300 there are quite a lot of building errors in FWLite, see https://cmssdt.cern.ch/SDT/cgi-bin/showBuildLogs.py/fwlite/slc7_amd64_gcc10/www/tue/12.3-tue-23/CMSSW_12_3_X_2022-03-08-2300
Could you please have a look and provide a fix at your earliest? |
Usually it isn't needed, but perhaps FWLite requires the DataFormats/Scouting BuildFile to include |
I wonder if Kindly asking feedback to @smuzaffar . |
yes |
Thanks! Just for completeness, this appears to be fixed in the 11h00 IB: https://cmssdt.cern.ch/SDT/cgi-bin/showBuildLogs.py/fwlite/slc7_amd64_gcc10/www/wed/12.3-wed-11/CMSSW_12_3_X_2022-03-09-1100 |
PR description:
This PR is meant to address issue #32219 and supersedes PR #35685.
It is introducing a new
Run3ScoutingHitPatternPOD
class inDataFormats/Scouting
, to be used for Run-3 scouting (inRun3ScoutingMuon
). The class is a POD-like version ofreco::HitPattern
.A function is defined in
reco::HitPattern
to fillRun3ScoutingHitPatternPOD
, together with areco::HitPattern
constructor fromRun3ScoutingHitPatternPOD
.FYI @dsperka, @makortel