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

Calibration/EcalCalibAlgos fix clang warning about abs #16918

Merged
merged 1 commit into from Dec 9, 2016
Merged

Calibration/EcalCalibAlgos fix clang warning about abs #16918

merged 1 commit into from Dec 9, 2016

Conversation

gartung
Copy link
Member

@gartung gartung commented Dec 8, 2016

warnings.txt:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/EcalEleCalibLooper.cc:260:10: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
warnings.txt:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/EcalEleCalibLooper.cc:260:10: note: remove the call to 'fabs' since unsigned values cannot be negative
warnings.txt:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/InvRingCalib.cc:318:11: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
warnings.txt:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/InvRingCalib.cc:318:11: note: remove the call to 'fabs' since unsigned values cannot be negative
warnings.txt.unique:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/EcalEleCalibLooper.cc:260:10: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]
warnings.txt.unique:/scratch/gartung/CMSSW_9_0_CLANG_X_2016-12-06-1100/src/Calibration/EcalCalibAlgos/src/InvRingCalib.cc:318:11: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value]

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2016

A new Pull Request was created by @gartung (Patrick Gartung) for CMSSW_9_0_X.

It involves the following packages:

Calibration/EcalCalibAlgos

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @tocheng, @argiro this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@mmusich
Copy link
Contributor

mmusich commented Dec 8, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/16867/console Started: 2016/12/08 22:33

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 8, 2016

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2016

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-16918/16867/summary.html

The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

@franzoni
Copy link

franzoni commented Dec 9, 2016

@gartung @shervin86

before the fix of parenthesis here:
https://github.com/gartung/cmssw/blob/7208c20098d71cc88a04197459b116d75de5b827/Calibration/EcalCalibAlgos/src/InvRingCalib.cc#L318

where were the consequences on EE-
of retrieving a Max DetIt from the barrel collection ?
What role does InvRingCalib play in the ECAL calibration workflows ?

Thanks, g.

@shervin86
Copy link
Contributor

shervin86 commented Dec 9, 2016 via email

@mmusich
Copy link
Contributor

mmusich commented Dec 9, 2016

+1
for gartung@7208c20
@shervin86 based on #16918 (comment) it would then be good to schedule a removal of unused, unsupported code, such that the offline crew has not to keep fixing compilation errors

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit c9d03e2 into cms-sw:CMSSW_9_0_X Dec 9, 2016
@gartung gartung deleted the Calibration-EcalCalibAlgos-fix-clang-warning-abs branch December 9, 2016 19:25
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

6 participants