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

Update mkFit for 12_1_0_pre5 #35652

Merged
merged 4 commits into from
Oct 19, 2021
Merged

Conversation

mmasciov
Copy link
Contributor

@mmasciov mmasciov commented Oct 13, 2021

PR description:

This PR follows #35492 and updates mkFit in view of CMSSW_12_1_0_pre5.

In detail, this PR:

It requires cms-sw/cmsdist#7387 and cms-data/RecoTracker-MkFit#6

PR validation:

In TTbar events with =50:

For history/completeness, comparisons wrt. standard CKF for all tracking iterations follow:

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35652/25920

ERROR: Build errors found during clang-tidy run.

RecoTracker/MkFit/plugins/MkFitEventOfHitsProducer.cc:180:16: error: no member named 'SetBeamSpot' in 'mkfit::EventOfHits' [clang-diagnostic-error]
  eventOfHits->SetBeamSpot({.x = float(bs.x0()),
               ^
Suppressed 1399 warnings (1398 in non-user code, 1 with check filters).
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@slava77
Copy link
Contributor

slava77 commented Oct 13, 2021

eventOfHits->SetBeamSpot({.x = float(bs.x0()),

@makortel @Dr15Jones
is there a problem to use the aggregate initialization in this case?

@mmasciov mmasciov changed the title Update mk fit 12 1 0 pre5 Update mkFit for 12_1_0_pre5 Oct 13, 2021
@makortel
Copy link
Contributor

eventOfHits->SetBeamSpot({.x = float(bs.x0()),

@makortel @Dr15Jones is there a problem to use the aggregate initialization in this case?

Are you asking in a technical sense or in a policy (core rule) sense? (although I don't really see a problem in either case)

@slava77
Copy link
Contributor

slava77 commented Oct 13, 2021

Are you asking in a technical sense or in a policy (core rule) sense? (although I don't really see a problem in either case)

well, if there is no problem, why is there an error?
Is there something missing on the code-checks side that does not allow this syntax?

@makortel
Copy link
Contributor

To me it seems the error is no member named 'SetBeamSpot' in 'mkfit::EventOfHits' and not the aggregate initialization, but I didn't check the full log.

@makortel
Copy link
Contributor

makortel commented Oct 13, 2021

Just to summarize here, the mkfit BeamSpot class has a user-defined constructor and is therefore not an aggregate. I guess the designated initializer working with gcc (with C++17!) is a non-standard extension or something.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35652/25927

ERROR: Build errors found during clang-tidy run.

RecoTracker/MkFit/plugins/MkFitEventOfHitsProducer.cc:180:16: error: no member named 'SetBeamSpot' in 'mkfit::EventOfHits' [clang-diagnostic-error]
  eventOfHits->SetBeamSpot(
               ^
RecoTracker/MkFit/plugins/MkFitEventOfHitsProducer.cc:181:14: error: no member named 'BeamSpot' in namespace 'mkfit' [clang-diagnostic-error]
      mkfit::BeamSpot(bs.x0(), bs.y0(), bs.z0(), bs.sigmaZ(), bs.BeamWidthX(), bs.BeamWidthY(), bs.dxdz(), bs.dydz()));
             ^
Suppressed 1399 warnings (1398 in non-user code, 1 with check filters).
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35652/25935

ERROR: Build errors found during clang-tidy run.

RecoTracker/MkFit/plugins/MkFitEventOfHitsProducer.cc:180:16: error: no member named 'SetBeamSpot' in 'mkfit::EventOfHits' [clang-diagnostic-error]
  eventOfHits->SetBeamSpot(
               ^
RecoTracker/MkFit/plugins/MkFitEventOfHitsProducer.cc:181:14: error: no member named 'BeamSpot' in namespace 'mkfit' [clang-diagnostic-error]
      mkfit::BeamSpot(bs.x0(), bs.y0(), bs.z0(), bs.sigmaZ(), bs.BeamWidthX(), bs.BeamWidthY(), bs.dxdz(), bs.dydz()));
             ^
Suppressed 1399 warnings (1398 in non-user code, 1 with check filters).
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@makortel
Copy link
Contributor

code-checks with cms.week0.PR_d0bce566/52.0-60549143f91cbd41608af2b631539e4b

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35652/25936

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mmasciov (Mario Masciovecchio) for master.

It involves the following packages:

  • RecoTracker/MkFit (reconstruction)

@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @ebrondol, @gpetruc, @mmusich, @mtosi, @dgulhan this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@makortel
Copy link
Contributor

@cmsbuild, please test with cms-sw/cmsdist#7387, cms-data/RecoTracker-MkFit#6

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0b5956/19611/summary.html
COMMIT: b32639d
CMSSW: CMSSW_12_1_X_2021-10-13-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35652/19611/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2796791
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2796763
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@jpata
Copy link
Contributor

jpata commented Oct 15, 2021

+reconstruction

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

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.

6 participants