Predictions for logL and chi2 Fits

Last Update: 09-Sep-05

Index

  1. Types of Fits Performed
  2. Form of Basic PDF
  3. Normalization of Multivariate PDFs
  4. Chi2 Definitions's
  5. Variables Used for Each Fit Type
  6. Source-by-Source PDF definitions


Types of Fits Performed

  1. logL(Lxy): Event-by-Event logL Fits using Lxy, Pt(meas) & σ(Lxy)
  2. logL(VPDL): Event-by-Event logL Fits using VPDL
    (added in v6.3)
  3. chi2(VPDL): χ2 fits to binned asymmetry using VPDL


Form of the Basic PDF used in the Fit

The base PDF for event i (logL fits) or bin-i (chi2 fits) is a sum over sources (a).

where:

Sources fall into three main categories

  1. Combinatoric: sources (like c-cbar) that have no lifetime or mixing
  2. Long-Lived, No Mixing: e.g. B±
  3. Mixing: e.g. Bs, Bd


Normalization of Multivariate PDFs

See the PDG probability writeup.

Two Variables

Joint pdf, F(x,y) is given in terms of the conditional pdf, F(x|y) (pdf of x given a fixed y).

Assumption for Three Variables

Considering y,z to be independent variables.

log(Lxy) Fits

For the logL(Lxy) fits, the PDFs for the independent variables are:

log(VPDL) Fits

For the logL(Lxy) fits, the PDFs for the independent variables are:


Asymmetry Chi2 Definition

The predicted asymmetry for bin-i is constructed using the source-by-source predictions for the number of events in that bin, constructed from the PDFs. The Predicted Asymmetry is then:


Variables Used in the Fits

See also the mapping of these variables onto arrays in the code for different fit inputs.

Lxy(meas) = Lxi,a =
Ma Lxyi / Pi
VPDL of bin i [1]
Fit x - plot var z - other var's p - as required by src
logL(Lxy)
  • Pt(meas) = P
  • σ(Lxy) = σ
  • T = Tag: +1=unmixed, -1=mixed
  • P(mis-tag) = probability of incorrectly tagging event (mixing sources)
  • P(mix) = probability of source to appear in mixed sample (non-mixing sources)
  • M = mass of this source
  • K = K-factor (usually a convolution variable)
  • τ = lifetime of this source
  • Δm = oscillation frequence for this source
logL(VPDL)
  • σx;i,a =
    Ma σi(Lxy) / Pi
  • P(mis-tag) = probability of incorrectly tagging event (mixing sources)
  • P(mix) = probability of source to appear in mixed sample (non-mixing sources)
  • K = K-factor (usually a convolution variable)
  • τ = lifetime of this source
  • Δm = oscillation frequence for this source
chi2(VPDL)
  • x>
  • P(mis-tag) = probability of incorrectly tagging event (mixing sources)
  • P(mix) = probability of source to appear in mixed sample (non-mixing sources)
  • K = K-factor (usually a convolution variable)
  • τ = lifetime of this source
  • Δm = oscillation frequence for this source

Other Variables of Interest

  1. K-Factor: K = Pt(meas) / Pt(B) (or 1 if no B present)
    This has PDF H(K)
  2. Dilution: D = 1 - 2w (w = mis-tag prob)
  3. Prob for this source to appear in Mixed Sample:
    p(T) = 1 - Pmix - T = +1 (unmixed tag)
    p(T) = Pmix - T = -1 (mixed tag)
  4. Fration: fa = fraction of source a in sample

Notes

  1. VPDL of bin-i is numerically the same for each source. This is fine except for the fact that the data to which the prediction is fit uses a fixed M(def) in calculating its VPDL. Thus, if the data was composed only of B+, but the data VPDL was made using M(Bs) the lifetime returned by the fit would be wrong.


Source-by-Source PDF Definitions

In the code - all PDF are derived from the logL(Lxy) PDF by redefining the array of input variables and parameters (see variables in the code).

Fit PDF: Combinatoric (cc) Bgrd
logL(Lxy) Fcc(L|P,T,σ,T ; P(mix))
= p(T) H(P) Gauss(L;σ) = (p(T)H(P)/sqrt(2π)σ) exp(-L2/2σ2)
logL(VPDL) Fcc(x|σx,T ; P(mix))
= p(T) H(σx) Gauss(xx) = (p(T)H(σx)/sqrt(2π)σx) exp(-x2/2σx2)
chi2(VPDL) Binned predictions for T = +1/-1:
ncc(bin-i|<σx>,T ; P(mix))
= ∫bin dx Fcc(x|<σx>,T ; P(mix))
Fit PDF: Long Lifetime - No Mixing
logL(Lxy) Flife(L|P,σ,T ; M,K,τ,P(mix))
= p(T) H(P) ∫ dK H(K) ∫ dLt R(Lt-L;σ) Fexp(Lt|P ; M,K,τ)
  • Fexp = (M K / cτ P) exp(-(M K / cτ P) Lt)
logL(VPDL) Flife(x|σx,T ; K,τ,P(mix))
= p(T) H(σx) ∫ dK H(K) ∫ dxt R(xt-x;σx) Fexp(xt ; K,τ)
  • Fexp = (K / cτ) exp(-(K / cτ) xt)
chi2(VPDL) Binned predictions for T = +1/-1:
nlife(bin-i|<σx>,T ; K,τ,P(mix))
= ∫bin dx Flife(x|<σx>,T ; K,τ,P(mix))
Fit PDF: Mixing
logL(Lxy) Fmix(L|P,σ,T ; M,K,P(mis-tag),τ,Δm)
= H(P) ∫ dK H(K) ∫ dLt R(Lt-L;σ) Fosc(Lt|P,T ; M,K,P(mis-tag),τ,Δm)
  • Fosc = (1/2) (M K / cτ P) exp(-(M K / cτ P) Lt) (1 + T D cos(Δm t) )
    where t = K M Lt / P
logL(VPDL) Fmix(x|σx,T ; K,P(mis-tag),τ,Δm)
= H(σx) ∫ dK H(K) ∫ dxt R(xt-x;σx) Fosc(xt|T ; K,P(mis-tag),τ,Δm)
  • Fosc = (1/2) (K / cτ) exp(-(K / cτ) xt) (1 + T D cos(Δm t) )
    where t = K xt
chi2(VPDL) Binned predictions for T = +1/-1:
nmix(bin-i|<σx>,T ; K,P(mis-tag),τ,Δm)
= ∫bin dx Fmix(x|<σx>,T ; K,P(mis-tag),τ,Δm)