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
Remove CMS deprecated warnings from RecoRomanPot/RecoFP420 #36586
Remove CMS deprecated warnings from RecoRomanPot/RecoFP420 #36586
Conversation
The classes now only have const member functions.
@makortel FYI |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36586/27550
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-820924/21462/summary.html Comparison SummarySummary:
|
|
||
private: | ||
ClusterProducerFP420 *threeThreshold_; | ||
std::unique_ptr<const ClusterProducerFP420> threeThreshold_; | ||
std::string clusterMode_; | ||
|
||
//std::vector<HDigiFP420> collector; |
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.
edm::ParameterSet conf_;
could be removed (a line below)
@@ -24,7 +17,7 @@ class FP420TrackMain { | |||
~FP420TrackMain(); | |||
|
|||
/// Runs the algorithm | |||
void run(edm::Handle<ClusterCollectionFP420> &input, TrackCollectionFP420 *toutput); | |||
void run(edm::Handle<ClusterCollectionFP420> &input, TrackCollectionFP420 *toutput) const; | |||
|
|||
private: | |||
edm::ParameterSet conf_; |
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.
it seems like the conf_ can be dropped
edm::ParameterSet conf_; |
shouldn't TrackProducerFP420 *finderParameters_;
(one line below) be made const
?
- removed unnecessary member data - const improvement
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36586/27589
|
Pull request #36586 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-820924/21501/summary.html Comparison SummarySummary:
|
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) |
+1 |
PR description:
PR validation:
Code compiles and does not issue warnings anymore.