26.2.2. Efficiency fit
Simultaneous least-squares fit to the -mass distributions of decay candidates passing and failing the kaon-momentum requirement GeV/, to determine the efficiency of the requirement on both signal and background decays.
The input data is provided by the ROOT ntuple ntp
contained in the file example-data/momentum-scale.root
. The tree contains branches corresponding to the 4-momenta of the final state particles (K_P
, pi1_p
, pi2_p
, pi3_p
), a branch with the mass (Dz_M
), a branch with the difference between the and masses (DM
).
Two histograms of the mass, each consisting of 150 bins in the range 1.8-1.95 GeV/, are filled from the data. The first with candidates passing the kaon-momentum requirement (), the second with candidates failing the requirement ().
The least-squares are computed as
where the index runs over the histogram bins, is the observed number of candidates in the bin, is the uncertainty on , is the predicted number of candidates in the bin passing/failing the kaon-momentum requirement, which depends on some unknown parameters identified by the vector .
To compute the predicted number of candidates, the fit model assumes that the -mass distributions of the candidates passing/failing the selection can be described by a signal component peaking around the nominal mass, described by a Gaussian distribution
and a background component, described by an exponential distribution
Each PDF is normalized in the fit range 1.8-1.95 GeV/. The predicted numbers of candidates passing/failing the selection in bin are estimated by evaluating the above PDFs at the center of the bin as
where is the total number of signal/background candidates and is the signal/background efficiency, and we have assumed that the signal/background shapes may have different widths/slopes depending on whether the candidates pass/fail the kaon-momentum requirement.
The fit is developed using the following frameworks: