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
Removed FWCore/ParameterSet dependecies from *Formats packages #33897
Removed FWCore/ParameterSet dependecies from *Formats packages #33897
Conversation
This is a step towards decreasing dependencies on FWCore/ParameterSet in Formats packages.
This allowed removal of FWCore/ParameterSet dependency from CondFormats/CSCObjects and some tests.
This allowed those dependencies to be dropped from BuildFile.xml.
@@ -24,7 +24,7 @@ class SiStripDeDx2DBuilder : public edm::EDAnalyzer { | |||
virtual void analyze(const edm::Event&, const edm::EventSetup&); | |||
|
|||
private: | |||
edm::FileInPath fp_; | |||
//edm::FileInPath fp_; |
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.
NOTE: this was left intentionally commented out as the code that uses fp_
was already commented out.
@@ -24,7 +24,7 @@ class SiStripDeDx3DBuilder : public edm::EDAnalyzer { | |||
virtual void analyze(const edm::Event&, const edm::EventSetup&); | |||
|
|||
private: | |||
edm::FileInPath fp_; | |||
//edm::FileInPath fp_; |
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.
NOTE: this was left intentionally commented out as the code that uses fp_ was already commented out.
@@ -22,7 +22,7 @@ class SiStripDeDxMipBuilder : public edm::EDAnalyzer { | |||
virtual void analyze(const edm::Event&, const edm::EventSetup&); | |||
|
|||
private: | |||
edm::FileInPath fp_; | |||
//edm::FileInPath fp_; |
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.
NOTE: this was left intentionally commented out as the code that uses fp_ was already commented out.
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33897/22960 ERROR: Build errors found during clang-tidy run.
|
code-checks |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33897/22965
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: CondFormats/CSCObjects @perrotta, @malbouis, @yuanchao, @jpata, @tlampen, @cmsbuild, @rekovic, @slava77, @ggovi, @pohsun, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+l1 |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9c2aa7/15479/summary.html CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9c2aa7/15479/llvm-analysis/cmsclangtidy.txt for details. Comparison SummarySummary:
|
+1 |
+l1 |
+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 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 |
PR description:
Removed FWCore/ParameterSet dependencies from *Formats packages. As a general rule, no data products (ie. classes stored in *Formats subsystems) should have any dependency upon the framework itself, which includes how we configure the framework (i.e. the ParameterSet system).
This was prompted by the fact that the CXXMODULES IBs are failing because of ROOT's attempt to create a module from FWCore/ParameterSet. That failure caused many *Formats packages to also fail. If we remove the unnecessary dependency than we should be able to avoid having ROOT even attempt the parsing.
PR validation:
The code compiles.