24mixState =
ROOT.RooCategory(
"mixState",
"B0/B0bar mixing state", {
"mixed": -1,
"unmixed": 1})
25tagFlav =
ROOT.RooCategory(
"tagFlav",
"Flavour of the tagged B0", {
"B0": 1,
"B0bar": -1})
31dw =
ROOT.RooRealVar(
"dw",
"Flavor Mistag rate difference between B0 and B0bar", 0.01)
39bmix_gm1 =
ROOT.RooBMixDecay(
"bmix",
"decay", dt, mixState, tagFlav, tau, dm, w, dw, gm1, type=
"DoubleSided")
49frame =
dt.frame(Title=
"Inclusive decay distribution")
57frame2 =
dt.frame(Title=
"Decay distribution of mixed events")
65frame3 =
dt.frame(Title=
"Decay distribution of unmixed events")
66data.plotOn(frame3, Cut=
"mixState==mixState::unmixed")
72c =
ROOT.TCanvas(
"rf310_sliceplot",
"rf310_sliceplot", 1200, 400)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.