32mixState =
ROOT.RooCategory(
"mixState",
"B0/B0bar mixing state", {
"mixed": -1,
"unmixed": 1})
34tagFlav =
ROOT.RooCategory(
"tagFlav",
"Flavour of the tagged B0", {
"B0": 1,
"B0bar": -1})
40bmix =
ROOT.RooBMixDecay(
"bmix",
"decay", dt, mixState, tagFlav, tau, dm, w, dw, tm, type=
"DoubleSided")
51frame1 =
dt.frame(Title=
"B decay distribution with mixing (B0/B0bar)")
56data.plotOn(frame1, Cut=
"tagFlav==tagFlav::B0bar", MarkerColor=
"c")
57bmix.plotOn(frame1, Slice=(tagFlav,
"B0bar"), LineColor=
"c")
60frame2 =
dt.frame(Title=
"B decay distribution of mixed events (B0/B0bar)")
62data.plotOn(frame2, Cut=
"mixState==mixState::mixed&&tagFlav==tagFlav::B0")
63bmix.plotOn(frame2, Slice={tagFlav:
"B0", mixState:
"mixed"})
65data.plotOn(frame2, Cut=
"mixState==mixState::mixed&&tagFlav==tagFlav::B0bar", MarkerColor=
"c")
66bmix.plotOn(frame2, Slice={tagFlav:
"B0bar", mixState:
"mixed"}, LineColor=
"c")
69frame3 =
dt.frame(Title=
"B decay distribution of unmixed events (B0/B0bar)")
71data.plotOn(frame3, Cut=
"mixState==mixState::unmixed&&tagFlav==tagFlav::B0")
72bmix.plotOn(frame3, Slice={tagFlav:
"B0", mixState:
"unmixed"})
74data.plotOn(frame3, Cut=
"mixState==mixState::unmixed&&tagFlav==tagFlav::B0bar", MarkerColor=
"c")
75bmix.plotOn(frame3, Slice={tagFlav:
"B0bar", mixState:
"unmixed"}, LineColor=
"c")
91 "bcp",
"bcp", dt, tagFlav, tau, dm, w, CPeigen, absLambda, argLambda, effR, dw, tm, type=
"DoubleSided"
101frame4 =
dt.frame(Title=
"B decay distribution with CPV(|l|=1,Im(l)=0.7) (B0/B0bar)")
106data2.plotOn(frame4, Cut=
"tagFlav==tagFlav::B0bar", MarkerColor=
"c")
107bcp.plotOn(frame4, Slice=(tagFlav,
"B0bar"), LineColor=
"c")
119frame5 =
dt.frame(Title=
"B decay distribution with CPV(|l|=0.7,Im(l)=0.7) (B0/B0bar)")
124data3.plotOn(frame5, Cut=
"tagFlav==tagFlav::B0bar", MarkerColor=
"c")
125bcp.plotOn(frame5, Slice=(tagFlav,
"B0bar"), LineColor=
"c")
151 "bcpg",
"bcpg", dt, tau, DG,
ROOT.RooFit.RooConst(1), fsinh, fcos, fsin, dm, tm, type=
"DoubleSided"
161frame6 =
dt.frame(Title=
"B decay distribution with CPV(Im(l)=0.7,Re(l)=0.7,|l|=1,dG/G=0.5) (B0/B0bar)")
166data4.plotOn(frame6, Cut=
"tagFlav==tagFlav::B0bar", MarkerColor=
"c")
167bcpg.plotOn(frame6, Slice=(tagFlav,
"B0bar"), LineColor=
"c")
169c =
ROOT.TCanvas(
"rf708_bphysics",
"rf708_bphysics", 1200, 800)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.