-
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
[EventFilter] Move private headers in plugins dir; merge plugins cc/h files #34898
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34898/24706
|
A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master. It involves the following packages:
@perrotta, @cmsbuild, @rekovic, @slava77, @jpata, @cecilecaillol 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-ce8dbd/17814/summary.html Comparison SummarySummary:
|
@@ -18,7 +18,7 @@ | |||
#include "DataFormats/EcalDigi/interface/EcalMatacqDigi.h" | |||
#include "DataFormats/FEDRawData/interface/FEDNumbering.h" | |||
#include "DataFormats/FEDRawData/interface/FEDRawData.h" | |||
#include "EventFilter/EcalRawToDigi/interface/MatacqProducer.h" | |||
#include "EventFilter/EcalRawToDigi/src/MatacqProducer.h" |
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.
this is a header file for class MatacqProducer : public edm::EDProducer {
We usually move them to /plugins and include without a path.
Yet a better option is to merge .h in .cc and drop it from SealModules.cc
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.
done, I have merged the .cc and .h
files for plugin and dropped SealModules.cc
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34898/24739
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ce8dbd/17855/summary.html CMS StaticAnalyzer warnings: There are 2 inherits from legacy modules warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ce8dbd/17855/llvm-analysis/legacy-mod-sa.txt for details. Comparison SummarySummary:
|
@rekovic, @cecilecaillol can you please review this? |
1 similar comment
@rekovic, @cecilecaillol can you please review this? |
@cms-sw/l1-l2 , this is blocking the integration of build rules to enforce the private header usage check. Can you please review this? |
+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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
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.
A couple of duplicate includes. They could be better avoided if all includes are grouped together at the top of the file.
(Trivial fix that can also get postponed to a follow up PR)
#include "EventFilter/EcalRawToDigi/interface/MatacqRawEvent.h" | ||
#include "EventFilter/EcalRawToDigi/src/MatacqDataFormatter.h" | ||
#include "FWCore/MessageLogger/interface/MessageLogger.h" | ||
#include "FWCore/Utilities/interface/InputTag.h" |
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.
Duplicate
*/ | ||
uint32_t runNumber_; | ||
}; | ||
|
||
#include <csignal> | ||
#include <cstdio> | ||
#include <fstream> |
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.
duplicate
+1
|
thanks @perrotta , I will open a PR to remove the duplicates |
To avoid private header files exposed via package interface directory, this PR proposed to move the private headers in to plugins directory.
It also merges the
.cc and .h
files of pluginsThis is part of cleanup discussed #34718