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
CTPPS: DQM for TOTEM RP #14034
CTPPS: DQM for TOTEM RP #14034
Conversation
A new Pull Request was created by @jan-kaspar for CMSSW_8_1_X. It involves the following packages: DQM/TotemRP The following packages do not have a category, yet: DQM/TotemRP @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@jan-kaspar |
@slava77 Fine with me. |
please test |
The tests are being triggered in jenkins. |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
-1 Tested at: c33cd87 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build ClangBuild
I found an error when building: >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/CorrelationPlotsSelector.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQMServices/FileIO/plugins/DQMFileSaverOnline.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQMServices/FileIO/plugins/DQMFileSaverBase.cc In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc:10:0: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/interface/TotemRPDQMSource.h:24:62: fatal error: DataFormats/TotemRPReco/interface/TotemRPCluster.h: No such file or directory compilation terminated. >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQMServices/FileIO/plugins/DQMFileSaverPB.cc Entering library rule at src/DQMServices/Examples/plugins In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc:10:0: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/interface/TotemRPDQMSource.h:24:62: fatal error: DataFormats/TotemRPReco/interface/TotemRPCluster.h: No such file or directory
I found a compilation error while trying to compile with clang: Entering library rule at src/DQM/TotemRP/plugins >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc >> Compiling /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/CorrelationPlotsSelector.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/plugins/SealModule.cc In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc:10: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/interface/TotemRPDQMSource.h:24:10: fatal error: 'DataFormats/TotemRPReco/interface/TotemRPCluster.h' file not found #include "DataFormats/TotemRPReco/interface/TotemRPCluster.h" ^ 1 error generated. In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/src/TotemRPDQMSource.cc:10: /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-04-14-2300/src/DQM/TotemRP/interface/TotemRPDQMSource.h:24:10: fatal error: 'DataFormats/TotemRPReco/interface/TotemRPCluster.h' file not found |
This PR depends yet on #14134. |
Need DataFormats/CTPPSReco.
Can I do anything else for this PR? |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
Pull request #14034 was updated. @davidlange6 can you please check and sign again. |
+1 |
@jan-kaspar why does it need a dependency on QString (QT)? CMSSW contains QT 4.8 which EOL and there are no guarantees that will be compiling with future toolchain versions. It's basically a dead piece of software. Looks like you are doing string operations/matching, why does it need a QT? P.S. This did broke builds on AArch64. |
Also |
Please make another PR to remove qt dependency, qstring shouldn't be hard to replace with boost::string, or preferably, just plain std::string. printf/exit shouldn't be used at all. Both should be replaced with a single throw of cms::Exception. |
The Qt dependency inherits from our TOTEM-only DQM where Qt is used for GUI and thus use of QtString was convenient. I will submit a next PR in the next days. |
@jan-kaspar - what is the status of this update? |
The Qt dependence, exit and printf are removed in a follow-up PR #14836. |
CTPPS: DQM for TOTEM RP - backport of #14034
The code will not compile as it depends on many features not yet integrated in CMSSW. I'm issuing the PR so as people can start looking at the code. Compilable code is available in the CTPPS repository:
https://github.com/CTPPS/ctpps-offline.