46model = 
ROOT.RooProdPdf(
"model", 
"model", {shapePdf}, Conditional=({effPdf}, {cut}))
 
   55effPdf.fitTo(data, ConditionalObservables={x}, PrintLevel=-1)
 
   61frame1 = 
x.frame(Bins=20, Title=
"Data (all, accepted)")
 
   63data.plotOn(frame1, Cut=
"cut==cut::accept", MarkerColor=
"r", LineColor=
"r")
 
   66frame2 = 
x.frame(Bins=20, Title=
"Fitted efficiency")
 
   71ca = 
ROOT.TCanvas(
"rf701_efficiency", 
"rf701_efficiency", 800, 400)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.