Ondra's TWiki

For 1D simultaneous fits go to SimFits

For 2D simultaneous fits go to SimFits2D

For full scan HLT B search go to FullScan

For tests of 2020 BDT go to NewBDT

For FR2 yield fitting go to YieldFits

For systematics go to SystematicsFR2

Individual fits are here.

The most useful information in the history

MINUIT covariance matrix quality codes:

1 - Approximation only, not accurate

2 - Full matrix, but forced positive-definite

3 - Full, acurate covariance matrix

Toy MC production

Individual Fits

In the 'individual mode', each bin of the reference sample is fitted in the following way:

Signal:

  1. Single Gaussian, starting from: μ... sample mean, σ... sample rms
  2. Two Gaussians, starting from: μ1, μ2... result of previous step, σ1 resp. σ2 ... 0.8 resp 1.2 x result of previous step, f1... 0.55
  3. Three Gaussians with common μ1, μ2, starting from: μ1, μ2 ... resulting μ1 of previous step, σ1 resp. σ2 ... 0.8 resp 1.2 x resulting σ1 of previous step, σ3 ... resulting σ2 of previous step, f1... resulting f1 of previous step, f2... 0.5
  4. Three Gaussians - unconstrained μ1, μ2, starting from: results of previous step
Background:
  1. Binned fit - exponential, on lower sideband only, starting from: expConst... 0.001 MeV -1, binning... 50
  2. Binned fit - Chebychev, on upper sideband only, starting from: slope... 0 MeV -1, binning... 50
  3. Unbinned fit - exponential, on lower sideband only, starting from: result of the binned fit
  4. Unbinned fit - Chebychev, on upper sideband only, starting from: result of the binned fit
  5. Exponential + Chebychev, both sidebands, starting from: expConst... result of step 3., slope... very complicated combination of result of step 4, numbers of entries, fit range limits, etc.
Studies on the CombinatorialConstraint (constraining bkg slope) were performed after observing positive values in BDT bin 4 and η bin 2. Two forms of the constraints were tested:
  1. Limiting the range of the parameter to [-10., 0.], resulting in: BDT bin 4: (-7.37293e-08 +/- 0.52879) MeV -1, η bin 2: (-7.9271e-07 +/- 0.445156) MeV -1
  2. Forcing the model to use -Abs(slope) in the calculations, resulting in: BDT bin 4: (0 +/- 0.00515252) MeV -1, η bin 2: (6.37492e-05 +/- 0.042386) MeV -1
    (note that the actual fit parameter "slope" remains unaffected, but the MODEL is changed to use the -Abs(slope)
git repo: https://gitlab.cern.ch/ixiotidi/bs2mumu_fitclass/-/tree/developmentOndra/ClassExec

Parameter Evolution Studies

Based on the results of individual fits, the evolution of fit parameters wrt. η and BDT was studied. For evolution wrt. η, no binning in BDT was introduced and vice versa.

Evolution in η - signal

Invariant mass fits in individual η bins:

Bs etaBin1 fullInfo.png
eta bin 1
Bs etaBin2 fullInfo.png
eta bin 2
Bs etaBin3 fullInfo.png
eta bin 3

Evolution of the fit parameters:

mean1 etaEv 2.png
Mean1
mean2 etaEv 2.png
Mean2
mean3 etaEv 2.png
Mean3
sigma1 etaEv 2.png
Sigma1
sigma2 etaEv 2.png
Sigma2
sigma3 etaEv 2.png
Sigma3
fraction1 etaEv 2.png
f1
fraction2 etaEv 2.png
f2

Evolution wrt. η - background

Data side bands

Invariant mass fits in individual η bins:

Bkg etaBin1 fullInfo.png
eta bin 1
Bkg etaBin2 fullInfo.png
eta bin 2
Bkg etaBin3 fullInfo.png
eta bin 3

Evolution of the fit parameters:

expConst etaEv 2.png
Exponential constant
slope etaEv 2.png
Slope
nComb etaEv 2.png
N Combinatorial
nTot etaEv 2.png
N Total
evtFrac etaEv 2.png
Fraction of combinatorial bkg
Background MC

Fit log: bkgMCEtaEv.txt

Invariant mass fits in individual η bins:

Evolution of the fit parameters:

expConst etaEv MC.png
Exponential constant
slope etaEv MC.png
Slope
nComb etaEv MC.png
N Combinatorial
nTot etaEv MC.png
N Total
evtFrac etaEv MC.png
Fraction of combinatorial bkg

Evolution wrt. BDT - signal

Invariant mass fits in individual BDT bins:

Bs BDTBin1 fullInfo.png
BDT bin 1
Bs BDTBin2 fullInfo.png
BDT bin 2
Bs BDTBin3 fullInfo.png
BDT bin 3
Bs BDTBin4 fullInfo.png
BDT bin 4

Evolution of the fit parameters:

mean1 BDTEv 2.png
Mean1
mean2 BDTEv 2.png
Mean2
mean3 BDTEv 2.png
Mean3
sigma1 BDTEv 2.png
Sigma1
sigma2 BDTEv 2.png
Sigma2
sigma3 BDTEv 2.png
Sigma3
fraction1 BDTEv 2.png
f1
fraction2 BDTEv 2.png
f2

Evolution wrt. BDT - background

Data side bands:

Invariant mass fits in individual BDT bins:

Bkg BDTBin1 fullInfo.png
BDT bin 1
Bkg BDTBin2 fullInfo.png
BDTbin 2
Bkg BDTBin3 fullInfo.png
BDT bin 3
Bkg BDTBin4 fullInfo.png
BDT bin 4

Evolution of the fit parameters:

expConst BDTEv 2.png
Exponential constant
slope BDTEv 2 fixed.png
Slope - bin 4 completely off the scale
nComb BDTEv 2.png
N Combinatorial
nTot BDTEv 2.png
N Total
evtFrac BDTEv 2.png
Fraction of combinatorial bkg
Background MC:

Fit log: bkgMCBDTEv.txt

There is wrong BDT boundary in these plots between bins 3 and 4 - 0.415 instead of correct 0.4163. This shifted 6 events to the upper bin. In other cases on these pages this is correct.

Invariant mass fits in individual BDT bins:

Evolution of the fit parameters:

expConst BDTEv MC.png
Exponential constant
slope BDTEv MC.png
Slope
nComb BDTEv MC.png
N Combinatorial
nTot BDTEv MC.png
N Total
eventFrac BDTEv MC.png
Fraction of combinatorial bkg

Simultaneous Fits to B_s Invariant Mass MC

1D simultaneous fits: SimFits

2D simultaneous fits: SimFits2D

git repo: https://gitlab.cern.ch/okovanda/toymc_bsignal

Sample binned in η only

The simultaneous fits are performed by RooFit. When parameters in all bins are independent, we obtain the same results. Besides PDFs for each bin, the overall likelihood is multiplied by gaussian factor for each bin with μ = avEtaTrue, σ = 1. This factor is included to acommodate the trends of certain parameters as function of avEtaTrue. Initial values for the simultaneous fit are taken as the final values of the individual fits. The main result is the percentual change of the results of the simultaneous fit with respect to the initial values (100*(initial-final)/initial).

Results with all parameters free: resultEtaSigma=1_allFree

Results with Sigma1 linear on avEtaTrue: resultEtaSigma=1_sigma1Dep

Results with Sigma1 and Sigma2 linear on avEtaTrue: resultEtaSigma=1

Fullscan ID tracking studies

Main page is FullScan.

My Links

My Personal Preferences


  • Show tool-tip topic info on mouse-over of WikiWord links, on or off:
    • Set LINKTOOLTIPINFO = off

  • Preference for the editor, default is the WYSIWYG editor. The options are raw, wysiwyg:
    • Set EDITMETHOD = wysiwyg
  • users

  • More preferences TWiki has system wide preferences settings defined in TWikiPreferences. You can customize preferences settings to your needs: To overload a system setting, (1) do a "raw view" on TWikiPreferences, (2) copy a Set VARIABLE = value bullet, (3) do a "raw edit" of your user profile page, (4) add the bullet to the bullet list above, and (5) customize the value as needed. Make sure the settings render as real bullets (in "raw edit", a bullet requires 3 or 6 spaces before the asterisk).

Related Topics

UserForm
First Name Ondrej
Last Name Kovanda
Titles

Email

Telephone

Mobile

Skype ID

Department

Organization

URL

Location

Region

Country

Status Update

Edit personal data
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Bkg_BDTBin1.png r1 manage 20.5 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_BDTBin1_fullInfo.png r1 manage 40.1 K 2020-04-09 - 12:45 OndrejKovanda  
PNGpng Bkg_BDTBin2.png r1 manage 19.0 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_BDTBin2_fullInfo.png r1 manage 39.2 K 2020-04-09 - 12:45 OndrejKovanda  
PNGpng Bkg_BDTBin3.png r1 manage 18.7 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_BDTBin3_fullInfo.png r1 manage 38.2 K 2020-04-09 - 12:46 OndrejKovanda  
PNGpng Bkg_BDTBin4.png r1 manage 17.9 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_BDTBin4_fullInfo.png r1 manage 35.7 K 2020-04-09 - 12:46 OndrejKovanda  
PNGpng Bkg_etaBin1.png r1 manage 18.9 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_etaBin1_fullInfo.png r1 manage 39.6 K 2020-04-09 - 12:46 OndrejKovanda  
PNGpng Bkg_etaBin2.png r1 manage 19.6 K 2020-03-31 - 14:27 OndrejKovanda  
PNGpng Bkg_etaBin2_fullInfo.png r1 manage 40.2 K 2020-04-09 - 12:46 OndrejKovanda  
PNGpng Bkg_etaBin3.png r1 manage 21.4 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bkg_etaBin3_fullInfo.png r1 manage 40.0 K 2020-04-09 - 12:46 OndrejKovanda  
PNGpng Bs_BDTBin1.png r1 manage 18.7 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_BDTBin2.png r1 manage 19.2 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_BDTBin3.png r1 manage 18.8 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_BDTBin4.png r1 manage 19.8 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_etaBin1.png r1 manage 18.3 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_etaBin2.png r1 manage 19.5 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_etaBin2_fullInfo.png r1 manage 51.3 K 2020-04-09 - 11:57 OndrejKovanda  
PNGpng Bs_etaBin3.png r1 manage 19.6 K 2020-03-31 - 14:28 OndrejKovanda  
PNGpng Bs_etaBin3_fullInfo.png r1 manage 51.3 K 2020-04-09 - 11:57 OndrejKovanda  
PNGpng Mean1vsBDT-1.png r1 manage 38.1 K 2020-03-24 - 17:47 OndrejKovanda  
PNGpng Mean1vsEta-1.png r1 manage 34.3 K 2020-03-24 - 17:34 OndrejKovanda  
PDFpdf Mean1vsEta.pdf r1 manage 14.2 K 2020-03-24 - 17:20 OndrejKovanda  
PNGpng Mean2vsBDT-1.png r1 manage 34.6 K 2020-03-24 - 17:47 OndrejKovanda  
PNGpng Mean2vsEta-1.png r1 manage 35.6 K 2020-03-24 - 17:36 OndrejKovanda  
PNGpng Mean3vsBDT-1.png r1 manage 38.6 K 2020-03-24 - 17:47 OndrejKovanda  
PNGpng Mean3vsEta-1.png r1 manage 40.2 K 2020-03-24 - 17:36 OndrejKovanda  
Texttxt bkgMCBDTEv.txt r1 manage 239.0 K 2020-05-07 - 18:06 OndrejKovanda  
Texttxt bkgMCEtaEv.txt r1 manage 219.1 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng chebCoeffBDTevZoomed-1.png r1 manage 34.2 K 2020-03-30 - 14:19 OndrejKovanda  
PNGpng chebCoeffEtaEv-1.png r1 manage 38.3 K 2020-03-30 - 14:19 OndrejKovanda  
Unknown file formatext checkModel_BDTBin1ETAbin1_bkgMCBDTEv r1 manage 2.5 K 2020-05-07 - 18:06 OndrejKovanda  
Unknown file formatext checkModel_BDTBin1ETAbin1_etaEvMC r1 manage 2.6 K 2020-05-11 - 10:19 OndrejKovanda  
Unknown file formatext checkModel_BDTBin1ETAbin2_etaEvMC r1 manage 2.6 K 2020-05-11 - 10:19 OndrejKovanda  
Unknown file formatext checkModel_BDTBin1ETAbin3_etaEvMC r1 manage 2.6 K 2020-05-11 - 10:20 OndrejKovanda  
Unknown file formatext checkModel_BDTBin2ETAbin1_bkgMCBDTEv r1 manage 2.5 K 2020-05-07 - 18:06 OndrejKovanda  
Unknown file formatext checkModel_BDTBin3ETAbin1_bkgMCBDTEv r1 manage 2.5 K 2020-05-07 - 18:06 OndrejKovanda  
Unknown file formatext checkModel_BDTBin4ETAbin1_bkgMCBDTEv r1 manage 2.5 K 2020-05-07 - 18:07 OndrejKovanda  
PNGpng eventFrac_BDTEv_MC.png r1 manage 20.8 K 2020-05-07 - 18:29 OndrejKovanda  
PNGpng evtFrac_BDTEv_2.png r1 manage 21.1 K 2020-04-09 - 15:17 OndrejKovanda  
PNGpng evtFrac_etaEv_2.png r1 manage 20.4 K 2020-04-09 - 15:18 OndrejKovanda  
PNGpng evtFrac_etaEv_MC.png r1 manage 22.6 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng expConstBDTev-1.png r1 manage 34.2 K 2020-03-30 - 14:19 OndrejKovanda  
PNGpng expConstEtaEv-1.png r1 manage 32.7 K 2020-03-30 - 14:20 OndrejKovanda  
PNGpng expConst_BDTEv_2.png r1 manage 21.8 K 2020-04-06 - 13:29 OndrejKovanda  
PNGpng expConst_BDTEv_MC.png r1 manage 21.8 K 2020-05-07 - 18:26 OndrejKovanda  
PNGpng expConst_etaEv_2.png r1 manage 33.6 K 2020-04-06 - 13:29 OndrejKovanda  
PNGpng expConst_etaEv_MC.png r1 manage 22.5 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng finalFits_BDT1ETA1_bkgMCBDTEv.png r1 manage 22.7 K 2020-05-07 - 18:07 OndrejKovanda  
PNGpng finalFits_BDT1ETA1_bkgMCEtaEv.png r1 manage 24.2 K 2020-05-11 - 10:18 OndrejKovanda  
PNGpng finalFits_BDT1ETA2_bkgMCEtaEv.png r1 manage 22.9 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng finalFits_BDT1ETA3_bkgMCEtaEv.png r1 manage 24.1 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng finalFits_BDT2ETA1_bkgMCBDTEv.png r1 manage 22.0 K 2020-05-07 - 18:07 OndrejKovanda  
PNGpng finalFits_BDT3ETA1_bkgMCBDTEv.png r1 manage 22.8 K 2020-05-07 - 18:07 OndrejKovanda  
PNGpng finalFits_BDT4ETA1_bkgMCBDTEv.png r1 manage 22.3 K 2020-05-07 - 18:07 OndrejKovanda  
PNGpng frac1vsBDT-1.png r1 manage 37.8 K 2020-03-24 - 17:49 OndrejKovanda  
PNGpng frac1vsEta-1.png r1 manage 40.5 K 2020-03-24 - 17:41 OndrejKovanda  
PNGpng frac2vsBDT-1.png r1 manage 38.9 K 2020-03-24 - 17:49 OndrejKovanda  
PNGpng frac2vsEta-1.png r1 manage 39.8 K 2020-03-24 - 17:41 OndrejKovanda  
PNGpng fraction1_BDTEv_2.png r1 manage 23.3 K 2020-04-06 - 13:29 OndrejKovanda  
PNGpng fraction1_etaEv_2.png r1 manage 22.5 K 2020-04-06 - 13:29 OndrejKovanda  
PNGpng fraction2_BDTEv_2.png r1 manage 22.2 K 2020-04-06 - 13:30 OndrejKovanda  
PNGpng fraction2_etaEv_2.png r1 manage 21.6 K 2020-04-06 - 13:30 OndrejKovanda  
PNGpng mean1_BDTEv_2.png r1 manage 22.5 K 2020-04-06 - 13:30 OndrejKovanda  
PNGpng mean1_etaEv_2.png r1 manage 22.3 K 2020-04-06 - 13:30 OndrejKovanda  
PNGpng mean2_BDTEv_2.png r1 manage 20.6 K 2020-04-06 - 13:30 OndrejKovanda  
PNGpng mean2_etaEv_2.png r1 manage 22.2 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng mean3_BDTEv_2.png r1 manage 21.4 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng mean3_etaEv_2.png r1 manage 22.0 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng nCombBDTev-1.png r1 manage 30.8 K 2020-03-30 - 14:20 OndrejKovanda  
PNGpng nCombBDTev.png r1 manage 13.0 K 2020-03-30 - 15:30 OndrejKovanda  
PNGpng nCombEtaEv-1.png r1 manage 42.4 K 2020-03-30 - 14:20 OndrejKovanda  
PNGpng nComb_BDTEv_2.png r1 manage 22.4 K 2020-04-09 - 15:25 OndrejKovanda  
PNGpng nComb_BDTEv_MC.png r1 manage 22.7 K 2020-05-07 - 18:26 OndrejKovanda  
PNGpng nComb_etaEv_2.png r1 manage 22.8 K 2020-04-09 - 15:25 OndrejKovanda  
PNGpng nComb_etaEv_MC.png r1 manage 22.9 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng nTotBDTev-1.png r1 manage 36.5 K 2020-03-30 - 14:21 OndrejKovanda  
PNGpng nTotEtaEv-1.png r1 manage 38.0 K 2020-03-30 - 14:21 OndrejKovanda  
PNGpng nTot_BDTEv_2.png r1 manage 21.3 K 2020-04-09 - 15:25 OndrejKovanda  
PNGpng nTot_BDTEv_MC.png r1 manage 22.0 K 2020-05-07 - 18:26 OndrejKovanda  
PNGpng nTot_etaEv_2.png r1 manage 21.0 K 2020-04-09 - 15:25 OndrejKovanda  
PNGpng nTot_etaEv_MC.png r1 manage 22.4 K 2020-05-11 - 10:19 OndrejKovanda  
PNGpng overayBDT4Bkg-1.png r1 manage 54.2 K 2020-03-30 - 14:21 OndrejKovanda  
PNGpng overlayBDT1Bkg-1.png r1 manage 64.9 K 2020-03-30 - 14:21 OndrejKovanda  
PNGpng overlayBDT2Bkg-1.png r1 manage 66.3 K 2020-03-30 - 14:21 OndrejKovanda  
PNGpng overlayBDT3Bkg-1.png r1 manage 62.4 K 2020-03-30 - 14:22 OndrejKovanda  
PNGpng overlayEta1Bkg-1.png r1 manage 64.5 K 2020-03-30 - 14:22 OndrejKovanda  
PNGpng overlayEta2Bkg-1.png r1 manage 62.1 K 2020-03-30 - 14:22 OndrejKovanda  
PNGpng overlayEta3Bkg-1.png r1 manage 64.0 K 2020-03-30 - 14:22 OndrejKovanda  
Unknown file formatext resultEtaSigma=1 r1 manage 2.0 K 2020-03-24 - 16:31 OndrejKovanda  
Unknown file formatext resultEtaSigma=1_allFree r1 manage 2.2 K 2020-03-24 - 16:29 OndrejKovanda  
Unknown file formatext resultEtaSigma=1_sigma1Dep r1 manage 2.1 K 2020-03-24 - 16:30 OndrejKovanda  
PNGpng sigma1_BDTEv_2.png r1 manage 22.3 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma1_etaEv_2.png r1 manage 22.1 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma1vsBDT-1.png r1 manage 32.9 K 2020-03-24 - 17:48 OndrejKovanda  
PNGpng sigma1vsEta-1.png r1 manage 39.7 K 2020-03-24 - 17:40 OndrejKovanda  
PNGpng sigma2_BDTEv_2.png r1 manage 22.8 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma2_etaEv_2.png r1 manage 22.9 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma2vsBDT-1.png r1 manage 33.3 K 2020-03-24 - 17:48 OndrejKovanda  
PNGpng sigma2vsEta-1.png r1 manage 39.7 K 2020-03-24 - 17:40 OndrejKovanda  
PNGpng sigma3_BDTEv_2.png r1 manage 23.3 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma3_etaEv_2.png r1 manage 21.9 K 2020-04-06 - 13:31 OndrejKovanda  
PNGpng sigma3vsBDT-1.png r1 manage 40.3 K 2020-03-24 - 17:48 OndrejKovanda  
PNGpng sigma3vsEta-1.png r1 manage 33.2 K 2020-03-24 - 17:41 OndrejKovanda  
PNGpng slope_BDTEv_2.png r1 manage 19.6 K 2020-04-06 - 13:32 OndrejKovanda  
PNGpng slope_BDTEv_2_fixed.png r1 manage 20.2 K 2020-04-09 - 12:19 OndrejKovanda  
PNGpng slope_BDTEv_MC.png r1 manage 23.2 K 2020-05-07 - 18:26 OndrejKovanda  
PNGpng slope_etaEv_2.png r1 manage 22.0 K 2020-04-06 - 13:32 OndrejKovanda  
PNGpng slope_etaEv_MC.png r1 manage 22.6 K 2020-05-11 - 10:19 OndrejKovanda  
Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r21 - 2022-05-03 - OndrejKovanda
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback