-
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
Modify HG PCL Alignment movement histograms for use in the DQM GUI #38815
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38815/31188
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38815/31189
|
A new Pull Request was created by @mteroerd (Marius Teroerde) for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @francescobrivio, @ChrisMisan, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters:
|
type trk, bug-fix |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-4088c1/26372/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
urgent
|
I see this in the SA Dead increment /Alignment/MillePedeAlignmentAlgorithm/src/MillePedeFileReader.cc initializeIndexHelper 504 1 View Report const_cast used on pointer to class /Alignment/MillePedeAlignmentAlgorithm/src/PedeSteererWeakModeConstraints.cc unknown 537 1 View Report For a follow-up PR maybe @mteroerd ? |
+alca
|
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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
@mteroerd please prepare the 12_4_X backport, thanks! |
@tvami please clarify what's the expected pattern here. Thanks |
+1 |
Modify HG PCL Alignment movement histograms for use in the DQM GUI (Backport of #38815 )
(@tvami asked via mattermost) I took a quick look on the
to take const Alignable *alignable avoiding the const_cast .
|
If I'm not mistaken, one would need change all
But maybe I am missing something. |
Thanks, so I missed all code that actually needs non- struct AlignableComparator {
using is_transparent = void; // needs to be defined, actual type is not relevant
bool operator()(Alignable* a, Alignable* b) const {
return a < b;
}
bool operator()(Alignable* a, const Alignable* b) const {
return a < b;
}
bool operator()(const Alignable* a, Alignable* b) const {
return a < b;
}
};
typedef std::map<Alignable *, unsigned int, AlignableComparator> AlignableToIdMap; The important part is the But I'd like to add that a |
In #38894 this should be fixed now. |
PR description:
This PR is in preparation of style changes for the movement histograms displayed in the DQM GUI. This includes the following changes:
PR validation:
Mille & Pede steps were execute to produce ROOT files usable by the DQM GUI. It was confirmed that the changes to the histograms are as intended.
Will probably have to be backported to 12_4_X.