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

[BeamSpot] fit 1D projections of PV distribution to get initial values for 3D fit parameters #10780

Merged

Conversation

rmanzoni
Copy link
Contributor

We found that having the initial beam spot position parameters of the fit to the 3D PV distribution hardcoded can lead to instabilities and non convergence problems.

https://hypernews.cern.ch/HyperNews/CMS/get/beamspot/135.html

We dynamically set the 3D fit initial BS position to correspond to the BS position as measured by means of 1D fit to the X, Y and Z projections (these fits were run even before, but not used).

This improves the fit stability.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @rmanzoni (Riccardo Manzoni) for CMSSW_7_6_X.

[BeamSpot] fit 1D projections of PV distribution to get initial values for 3D fit parameters

It involves the following packages:

RecoVertex/BeamSpotProducer

@diguida, @cvuosalo, @cerminar, @cmsbuild, @slava77, @mmusich can you please review it and eventually sign? Thanks.
@makortel, @GiacomoSguazzoni, @rovere, @VinInn, @cerati, @dgulhan 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.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@slava77
Copy link
Contributor

slava77 commented Aug 14, 2015

@cmsbuild please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@cvuosalo
Copy link
Contributor

+1

For #10780 345e8eb

Changing the initial values of the primary vertex fit.

The code changes are satisfactory. Jenkins tests against baseline CMSSW_7_6_X_2015-08-14-1100 show very small changes in PV fit results, but none of these differences are significant. An example from workflow 4.53_RunPhoton2012B is shown below.
bsdiff

@diguida
Copy link
Contributor

diguida commented Aug 14, 2015

+1
for 345e8eb
It fixes instabilities and non-convergence problems of the fit to the 3D PV distribution: now the 3D fit initial positions are not hardcoded, but dynamically set to correspond to the centroid position as measured by means of 1D gaussian fit to the X Y and Z projections.

@cmsbuild
Copy link
Contributor

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

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Aug 15, 2015
…ed3DFit

[BeamSpot] fit 1D projections of PV distribution to get initial values for 3D fit parameters
@cmsbuild cmsbuild merged commit f27c366 into cms-sw:CMSSW_7_6_X Aug 15, 2015
@rmanzoni rmanzoni deleted the CMSSW_7_6_X_stabilized3DFit branch August 19, 2015 14:22
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