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
gcc7 compilation warnings fix in RecoJets pkgs #19924
Conversation
A new Pull Request was created by @mrodozov for master. It involves the following packages: RecoJets/FFTJetProducers @perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@@ -34,8 +34,8 @@ | |||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | |||
|
|||
#include "DataFormats/Common/interface/View.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
|
|||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, if there is no reason to keep it
@@ -33,8 +33,9 @@ | |||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | |||
|
|||
#include "DataFormats/Common/interface/Handle.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
|
|||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, if there is no reason to keep it
@@ -31,7 +31,9 @@ | |||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | |||
|
|||
#include "DataFormats/Common/interface/Handle.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, if there is no reason to keep it
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | ||
|
||
#include <TH3F.h> | ||
#include <TH2D.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.
is TH2D really necessary?
I only see TH3F mentioned in the file
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 wasn't. The files are updated accordingly
6063574
to
08cb7b5
Compare
Pull request #19924 was updated. @perrotta, @vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @rekovic, @slava77, @vanbesien, @mulhearn, @davidlange6 can you please check and sign again. |
@@ -31,7 +31,8 @@ | |||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | |||
|
|||
#include "DataFormats/Common/interface/Handle.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
#include <TH3F.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.
Is TH3F really needed? I only see TH2D in the code
DQM/L1TMonitor/src/L1TRate.cc
Outdated
@@ -24,7 +24,7 @@ | |||
#include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h" | |||
#include "CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h" | |||
|
|||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, or add another line of comment which explains why it must be kept.
@@ -8,7 +8,7 @@ | |||
#include "DQMServices/Core/interface/QReport.h" | |||
#include "DQMServices/Core/interface/DQMStore.h" | |||
#include "DQMServices/Core/interface/MonitorElement.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, or add another line of comment which explains why it must be kept.
@@ -9,7 +9,7 @@ | |||
#include "DQMServices/Core/interface/DQMStore.h" | |||
#include "DQMServices/Core/interface/MonitorElement.h" | |||
#include "DQMServices/Core/interface/DQMChannel.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, or add another line of comment which explains why it must be kept.
@@ -11,7 +11,7 @@ | |||
#include "DataFormats/L1TMuon/interface/RegionalMuonCandFwd.h" | |||
#include "DataFormats/L1Trigger/interface/Muon.h" | |||
#include "DQMServices/Core/interface/DQMStore.h" | |||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, or add another line of comment which explains why it must be kept.
@@ -10,7 +10,7 @@ | |||
#include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h" | |||
#include "CondFormats/DataRecord/interface/L1GtPrescaleFactorsAlgoTrigRcd.h" | |||
|
|||
#include "DataFormats/Histograms/interface/MEtoEDMFormat.h" | |||
//#include "DataFormats/Histograms/interface/MEtoEDMFormat.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.
Please remove commented out code, or add another line of comment which explains why it must be kept.
please test |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
+1 |
Fixes for compilation warnings when compiling with gcc7 and more flags listed here:
https://cmssdt.cern.ch/SDT/cgi-bin/showBuildLogs.py/slc6_amd64_gcc700/www/mon/9.3-mon-23/CMSSW_9_3_X_2017-07-24-2300
packages 18 and 19 comp warnings