#include #include // #include // #include int main(int argc, char* argv[]) { ROOT::RDataFrame df("PredictionTree", "moep.root"); auto firstfilter = df.Filter("MET>250"); std::cout << *(firstfilter.Count()) << std::endl; ROOT::RDF::TH2DModel histmodel("moep", "moep", 25, 0, 1000, 22, -2, 20 ); auto temp = firstfilter.Histo2D(histmodel, "JetPt", "Ntries" ); std::cout << temp->GetXaxis()->GetNbins() << std::endl; return 0; }