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

Discard Beamspot fit results when d0-phi fit status is unknown #25319

Merged
merged 1 commit into from Nov 24, 2018

Conversation

sarafiorendi
Copy link
Contributor

  1. Invalidating d0-phi results when an empty reco::Beamspot object is returned due to the failing of the 1D gaussian fit to the track z0 distribution
  2. When combining the d0-phi results with the PV fit results, only consider d0-phi fits with status > 0 as good.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @sarafiorendi for master.

It involves the following packages:

RecoVertex/BeamSpotProducer

@perrotta, @tocheng, @cmsbuild, @franzoni, @slava77, @pohsun, @lpernie can you please review it and eventually sign? Thanks.
@makortel, @GiacomoSguazzoni, @rovere, @VinInn, @ebrondol, @tocheng, @mmusich, @dgulhan this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@lpernie
Copy link
Contributor

lpernie commented Nov 22, 2018

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 22, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/31807/console Started: 2018/11/22 18:06

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@tocheng
Copy link
Contributor

tocheng commented Nov 22, 2018

@fabiocos
This is to fix a NaN output of the offline beamspot.
We expect to merge it into the next patch release for heavy Ion data taking next week if possible.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3013311
  • DQMHistoTests: Total failures: 3
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3013111
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 134 log files, 14 edm output root files, 32 DQM output files

@perrotta
Copy link
Contributor

type bugfix

@perrotta
Copy link
Contributor

+1

  • The fix does make sense, and may prevent returning NaN's from the offline beamspot parameters
  • Jenkins tests pass, and standard workflows are unaffected

@fabiocos
Copy link
Contributor

@lpernie @tocheng thank you for the clarification about the plan, the first step if getting it integrated into master without issues

@fabiocos
Copy link
Contributor

@sarafiorendi was this for instance tested on some recent failing data?

@sarafiorendi
Copy link
Contributor Author

Hi @fabiocos,

yes, I tested it on LS 19 of Run 326522.
The result from the PCL was:

Runnumber 326522
BeginTimeOfFit 2018.11.11 01:38:22 GMT 1541900302
EndTimeOfFit 2018.11.11 01:38:37 GMT 1541900317
LumiRange 19 - 19
Type 2
X0 0
Y0 0
Z0 1.46136
sigmaZ0 5.344
dxdz 0
dydz 0
BeamWidthX 0.0014138
BeamWidthY 0.000837015
Cov(0,j) 0 0 0 0 0 0 0
Cov(1,j) 0 0 0 0 0 0 0
Cov(2,j) 0 0 1.67888 0 0 0 0
Cov(3,j) 0 0 0 0.83689 0 0 0
Cov(4,j) 0 0 0 0 0 0 0
Cov(5,j) 0 0 0 0 0 0 0
Cov(6,j) 0 0 0 0 0 0 7.81293e-08
EmittanceX 0
EmittanceY 0
BetaStar 0

so, Type = 2 -> good fit, but with all-0 values from the d0-phi part.
After the fix I get

Runnumber 326522
BeginTimeOfFit 2018.11.11 01:38:22 GMT 1541900302
EndTimeOfFit 2018.11.11 01:38:37 GMT 1541900317
LumiRange 19 - 19
Type -1
X0 0
Y0 0
Z0 0
sigmaZ0 0
dxdz 0
dydz 0
BeamWidthX 0
BeamWidthY 0
Cov(0,j) 0 0 0 0 0 0 0
Cov(1,j) 0 0 0 0 0 0 0
Cov(2,j) 0 0 0 0 0 0 0
Cov(3,j) 0 0 0 0 0 0 0
Cov(4,j) 0 0 0 0 0 0 0
Cov(5,j) 0 0 0 0 0 0 0
Cov(6,j) 0 0 0 0 0 0 0
EmittanceX 0
EmittanceY 0
BetaStar 0

where the result is correctly marked as bad (type -1).

@fabiocos
Copy link
Contributor

@tocheng @lpernie ping

@tocheng
Copy link
Contributor

tocheng commented Nov 24, 2018

+1

@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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 08e55d4 into cms-sw:master Nov 24, 2018
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