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

Input files for offline TkCommissioner tool, 81X #14233

Merged

Conversation

vdutta
Copy link
Contributor

@vdutta vdutta commented Apr 25, 2016

Production of input root files for the offline TkCommissioner tool. These files contain the information from the tracker maps produced for offline SiStrip DQM indexed by detId for a given run and can be used to get a better understanding of SiStrip DQM issues at the module level. This is the 81X version of #14232.

…e TkCommissioner for better understanding SiStrip DQM issues
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @vdutta (Valentina Dutta) for CMSSW_8_1_X.

It involves the following packages:

DQM/SiStripMonitorClient

@cmsbuild, @dmitrijus, @vanbesien, @deguio, @davidlange6 can you please review it and eventually sign? Thanks.
@threus, @venturia this is something you requested to watch as well.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

inputFileName_ = configPar_.getUntrackedParameter<std::string>("InputFileName","");
outputFileName_ = configPar_.getUntrackedParameter<std::string>("OutputFileName","");
globalStatusFilling_ = configPar_.getUntrackedParameter<int>("GlobalStatusFilling", 1);
printFaultyModuleList_ = configPar_.getUntrackedParameter<bool>("PrintFaultyModuleList", false);

nEvents_ = 0;

tkinfoTree_ = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use nullptr, for clarity :)

@dmitrijus
Copy link
Contributor

+1
I've added a few comments to the commits

@cmsbuild
Copy link
Contributor

cmsbuild commented May 10, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/12898/console

@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 after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar


for(std::vector<edm::ParameterSet>::iterator it = tkMapOptions.begin(); it != tkMapOptions.end(); ++it) {
edm::ParameterSet tkMapPSet = *it;
std::string map_type = it->getUntrackedParameter<std::string>("mapName","");
map_names.push_back(map_type);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a mix of tabs and spaces for indentation

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

uint32_t nHists = map_names.size();

for(uint32_t ih = 0; ih < nHists; ++ih) {
tkHMaps.push_back(new TkHistoMap());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how are these pointers deleted
@vdutta

@fioriNTU
Copy link
Contributor

@vdutta can you please try to clarify what David asks, we need this PR merged asap

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #14233 was updated. @cmsbuild, @dmitrijus, @vanbesien, @deguio, @davidlange6 can you please check and sign again.

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 17, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/13031/console

@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 after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

-1

Tested at: dc487ed

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
dc487ed
883b82b
90717ff
b600055
cd46192
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14233/13031/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14233/13031/git-merge-result

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

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found an error when building:

>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/RecoLocalTracker/SiPixelClusterizer/plugins/SiPixelClusterProducer.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/RecoLocalTracker/SiPixelClusterizer/plugins/PixelThresholdClusterizer.cc 
Entering library rule at src/RecoLocalTracker/SiPixelClusterizer/test
>> Compiling LCG dictionary: tmp/slc6_amd64_gcc530/src/RecoLuminosity/LumiProducer/src/RecoLuminosityLumiProducer/a/RecoLuminosityLumiProducer_xr.cc
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/Utilities/StaticAnalyzers/src/ConstCastChecker.cpp: In member function 'void clangcms::ConstCastChecker::checkPreStmt(const clang::CXXConstCastExpr_, clang::ento::CheckerContext&) const':
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/Utilities/StaticAnalyzers/src/ConstCastChecker.cpp:30:47: error: 'class clang::ento::CheckerContext' has no member named 'generateErrorNode'
  if (clang::ento::ExplodedNode *errorNode = C.generateErrorNode()) {
                                               ^
Entering library rule at src/RecoLocalTracker/SiPixelClusterizer/test
Entering library rule at src/RecoLocalTracker/SiPixelClusterizer/test
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/Utilities/StaticAnalyzers/src/ConstCastAwayChecker.cpp: In member function 'void clangcms::ConstCastAwayChecker::checkPreStmt(const clang::ExplicitCastExpr_, clang::ento::CheckerContext&) const':

  • Clang:

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

Selected class -> HcalUnpackerReport for ROOT: HcalUnpackerReport
Selected class -> HcalLaserDigi for ROOT: HcalLaserDigi
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/SimCalorimetry/HcalSimAlgos/src/HcalTDC.cc 
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/SimCalorimetry/HcalSimAlgos/src/HcalSiPMRecovery.cc 
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/SimCalorimetry/HcalSimAlgos/src/HPDNoiseMaker.cc 
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/Utilities/StaticAnalyzers/src/ConstCastAwayChecker.cpp:40:49: error: no member named 'generateErrorNode' in 'clang::ento::CheckerContext'
                if ( clang::ento::ExplodedNode *errorNode = C.generateErrorNode()) {
                                                            ~ ^
>> Compiling  /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/SimCalorimetry/HcalSimAlgos/src/HcalCoderFactory.cc 
/build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_1_X_2016-05-17-1100/src/Utilities/StaticAnalyzers/src/ConstCastChecker.cpp:30:47: error: no member named 'generateErrorNode' in 'clang::ento::CheckerContext'
        if (clang::ento::ExplodedNode *errorNode = C.generateErrorNode()) {


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
dc487ed
883b82b
90717ff
b600055
cd46192
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14233/13031/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-14233/13031/git-merge-result

@Dr15Jones
Copy link
Contributor

@davidlt will this go away if the tests are rerun or does this problem require waiting longer for an IB with the new clang?

@davidlt
Copy link
Contributor

davidlt commented May 18, 2016

@Dr15Jones needs 2300 May 18th IB for this to go away, which is not yet available.

@davidlange6 davidlange6 merged commit 90d8e45 into cms-sw:CMSSW_8_1_X May 19, 2016
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