Skip to content
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

Merged
merged 5 commits into from May 30, 2016
Merged

CTPPS: DQM for TOTEM RP #14034

merged 5 commits into from May 30, 2016

Conversation

jan-kaspar
Copy link
Contributor

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.

@cmsbuild
Copy link
Contributor

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.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@slava77
Copy link
Contributor

slava77 commented Apr 12, 2016

@jan-kaspar
if you will use similar code to monitor other Totem subdetectors, it may be useful to have one DQM/Totem package.

@jan-kaspar
Copy link
Contributor Author

@slava77 Fine with me.

@deguio
Copy link
Contributor

deguio commented Apr 12, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 12, 2016

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 15, 2016

-1

Tested at: c33cd87

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14034/12408/summary.html

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

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

  • Clang:

I found a compilation error while trying to compile with clang:
I used this command:
scram b vclean && scram build -k -j 16 USER_CXXFLAGS='-fsyntax-only' COMPILER='llvm compile'

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


@jan-kaspar
Copy link
Contributor Author

This PR depends yet on #14134.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@jan-kaspar
Copy link
Contributor Author

Can I do anything else for this PR?

@dmitrijus
Copy link
Contributor

+1
sorry for slow accept

@dmitrijus
Copy link
Contributor

cms-sw/cms-bot#694

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

Pull request #14034 was updated. @davidlange6 can you please check and sign again.

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 40dfe44 into cms-sw:CMSSW_8_1_X May 30, 2016
@davidlt
Copy link
Contributor

davidlt commented May 31, 2016

@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.

@davidlt
Copy link
Contributor

davidlt commented May 31, 2016

Also CorrelationPlotsSelector.cc needs more cleaning: printf, exit(1).

@dmitrijus
Copy link
Contributor

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.

@jan-kaspar
Copy link
Contributor Author

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 jan-kaspar deleted the ctpps_dqm branch June 1, 2016 17:49
@davidlange6
Copy link
Contributor

@jan-kaspar - what is the status of this update?

@jan-kaspar
Copy link
Contributor Author

The Qt dependence, exit and printf are removed in a follow-up PR #14836.

cmsbuild added a commit that referenced this pull request Jun 20, 2016
CTPPS: DQM for TOTEM RP - backport of #14034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants