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

More clang fixes. #3778

Merged
merged 1 commit into from May 13, 2014
Merged

More clang fixes. #3778

merged 1 commit into from May 13, 2014

Conversation

ktf
Copy link
Contributor

@ktf ktf commented May 9, 2014

This fixes more clang issues. Many of them are simple changes, however there is a few that are genuine bugs and that could affect results if the code is actually triggered.

@@ -37,13 +37,13 @@ GlobalError GetLineCovMatrix::GetMatrix(GlobalPoint PointThree)
{
// the linear equation is K = PointOne + (PointTwo-PointOne)*s
double s;
if( !fabs(PointTwo.x() - PointOne.x()) < 0.00000001 )
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Logic changes. I assume this is what was meant to begin with.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2014

A new Pull Request was created by @ktf (Giulio Eulisse) for CMSSW_7_1_X.

More clang fixes.

It involves the following packages:

DataFormats/ParticleFlowCandidate
PhysicsTools/JetMCUtils
RecoMuon/L3TrackFinder
RecoParticleFlow/PFTracking
RecoTracker/TkMSParametrization
RecoTracker/TransientTrackingRecHit
RecoVertex/TertiaryTracksVertexFinder
SimCalorimetry/EcalElectronicsEmulation
TopQuarkAnalysis/TopJetCombination
TopQuarkAnalysis/TopSkimming
TrackingTools/GeomPropagators
Validation/RecoTau

@civanch, @ojeda, @danduggan, @mdhildreth, @monttj, @cmsbuild, @anton-a, @thspeer, @rovere, @deguio, @slava77, @vadler, @Degano, @nclopezo can you please review it and eventually sign? Thanks.
@ghellwig, @GiacomoSguazzoni, @rovere, @lgray, @gpetruc, @ferencek, @cerati, @argiro, @pvmulder, @bachtis, @venturia this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo, @ktf you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@vadler
Copy link

vadler commented May 9, 2014

+1
Trivial for AT.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2014

-1
I found an error when building:

                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/DataFormats/TrackReco/interface/TrackBase.h:56,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/DataFormats/TrackReco/interface/Track.h:19,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/DataFormats/GsfTrackReco/interface/GsfTrack.h:6,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/TrackingTools/GsfTracking/interface/GsfConstraintAtVertex.h:3,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/TrackingTools/GsfTracking/src/GsfConstraintAtVertex.cc:1:
/build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/DataFormats/TrackingRecHit/interface/TrackingRecHit.h:174:28: error: 'virtual TrackingRecHit\* TrackingRecHit::clone(const TkCloner&, const TrajectoryStateOnSurface&) const' is private
   virtual TrackingRecHit \* clone(TkCloner const&, TrajectoryStateOnSurface const&) const {
                            ^
In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/TrackingTools/GsfTracking/interface/GsfConstraintAtVertex.h:14:0,
                 from /build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/TrackingTools/GsfTracking/src/GsfConstraintAtVertex.cc:1:
/build/cmsbuild/jenkins-workarea/workspace/ib-integration-CMSSW_7_1_X-slc6_amd64_gcc481/CMSSW_7_1_X_2014-05-08-0200/src/RecoTracker/TransientTrackingRecHit/interface/TRecHit2DPosConstraint.h:9:7: error: within this context


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

@deguio
Copy link
Contributor

deguio commented May 9, 2014

+1
trivial for DQM too

@ktf
Copy link
Contributor Author

ktf commented May 12, 2014

I had to rebase.

@cmsbuild
Copy link
Contributor

@ktf
Copy link
Contributor Author

ktf commented May 13, 2014

ping @civanch @mdhildreth @slava77 @anton-a

@slava77
Copy link
Contributor

slava77 commented May 13, 2014

+1

for #3778 529af5e
tested in CMSSW_7_1_X_2014-05-12-0200 (test area sign369decB)
no changes observed in monitored quantities

@ktf
Copy link
Contributor Author

ktf commented May 13, 2014

Bypassing simulation. @mdhildreth @civanch, complain if not ok.

ktf added a commit that referenced this pull request May 13, 2014
@ktf ktf merged commit 471d813 into cms-sw:CMSSW_7_1_X May 13, 2014
@ktf ktf deleted the fix-more-clang-issues branch May 13, 2014 14:22
@civanch
Copy link
Contributor

civanch commented May 13, 2014

+1

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