diff --git a/docs/examples/hww.md b/docs/examples/hww.md index 2161fae..d832978 100644 --- a/docs/examples/hww.md +++ b/docs/examples/hww.md @@ -67,7 +67,7 @@ int main() { std::vector tree_files{"hww.root"}; std::string tree_name = "mini"; dataflow df(multithread::disable()); - auto ds = df.load(dataset::input(tree_files, tree_name)); + auto ds = df.load(dataset::input(tree_files, tree_name)); // weights auto mc_weight = ds.read(dataset::column("mcWeight")); @@ -210,7 +210,7 @@ int main() { // make histograms auto [pTH_2los_presel, pTH_df_presel, pTH_ee_presel, pTH_mm_presel] = - df.get(query::output>("pTH", 30, 0, 150)) + df.get(query::output>("pTH", 30, 0, 150)) .fill(higgs_pT) .at(cut_2los, cut_df_presel, cut_ee_presel, cut_mm_presel); diff --git a/docs/examples/iris.md b/docs/examples/iris.md index 6a6a8be..94141ce 100644 --- a/docs/examples/iris.md +++ b/docs/examples/iris.md @@ -75,7 +75,7 @@ void task(int n) { std::vector tree_files{"Run2012B_SingleMu.root"}; std::string tree_name = "Events"; - auto ds = df.load(dataset::input(tree_files, tree_name)); + auto ds = df.load(dataset::input(tree_files, tree_name)); auto n_jet = ds.read(dataset::column("nJet")); auto jets_pt = ds.read(dataset::column("Jet_pt")); @@ -109,7 +109,7 @@ void task(int n) { [](VecI const &goodjet) { return Sum(goodjet); }))(goodjet_mask); auto h_sumpt_goodjet = - df.get(query::output>("goodjet_sumpt", 185, 15, 200)) + df.get(query::output>("goodjet_sumpt", 185, 15, 200)) .fill(goodjet_sumpt) .at(cut_goodjet); diff --git a/docs/examples/xaod.md b/docs/examples/xaod.md index d7d3597..9d65555 100644 --- a/docs/examples/xaod.md +++ b/docs/examples/xaod.md @@ -106,7 +106,7 @@ float DiElectronsMass(ConstDataVector const &els) { int main() { dataflow df(multithread::enable()); - auto ds = df.load(dataset::input(daodFiles, treeName)); + auto ds = df.load(dataset::input(daodFiles, treeName)); auto eventInfo = ds.read(dataset::column("EventInfo")); auto allElectrons = ds.read(dataset::column("Electrons")); @@ -124,7 +124,7 @@ int main() { .filter(column::expression(TwoElectrons))(selectedElectrons); auto selectedElectronsPtHist = - df.get(query::plan>("diElectronMass", 100, 0, 500)) + df.get(query::plan>("diElectronMass", 100, 0, 500)) .fill(diElectronsMassGeV) .at(atLeastTwoSelectedElectrons);