24dd = d.Define(
"x", 
"gRandom->Uniform(-5.,  5.)").Define(
"y", 
"gRandom->Gaus(1., 3.)")
 
   28x = ROOT.RooRealVar(
"x", 
"x", -5.0, 5.0)
 
   29y = ROOT.RooRealVar(
"y", 
"y", -50.0, 50.0)
 
   47    ROOT.std.move(ROOT.RooDataSetHelper(
"dataset", 
"Title of dataset", ROOT.RooArgSet(x, y))), (
"x", 
"y")
 
   54rdhMaker = ROOT.RooDataHistHelper(
"dataset", 
"Title of dataset", ROOT.RooArgSet(x, y))
 
   57rooDataHist = dd.Book(ROOT.std.move(rdhMaker), (
"x", 
"y"))
 
   70    for i 
in range(min(data.numEntries(), 20)):
 
   73            + 
", ".join([
"{0:8.3f}".
format(var.getVal()) 
for var 
in data.get(i)])
 
   74            + 
", )  weight={0:10.3f}".
format(data.weight())
 
   77    print(
"mean(x) = {0:.3f}".
format(data.mean(x)) + 
"\tsigma(x) = {0:.3f}".
format(math.sqrt(data.moment(x, 2.0))))
 
   78    print(
"mean(y) = {0:.3f}".
format(data.mean(y)) + 
"\tsigma(y) = {0:.3f}\n".
format(math.sqrt(data.moment(y, 2.0))))
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
 
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...