From 6d7dfb23e37ec132265103f5c0edf24854a8a387 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Tue, 18 Jan 2022 10:12:42 +0100 Subject: [PATCH 1/2] Update numer.C adding a ";" after nbins variable definition --- eff/numer.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eff/numer.C b/eff/numer.C index cff6519..54241e9 100644 --- a/eff/numer.C +++ b/eff/numer.C @@ -92,7 +92,7 @@ sel += " && analysisBdtO > 8."; // Analysis BT cut sel += " && (mll_fullfit*mll_fullfit)>1.1 && (mll_fullfit*mll_fullfit)<6.25"; // Low q2 requirement - nbins = 13 + nbins = 13; TH2F numer_reco("numer_reco","numer_reco",nbins, 0. ,nbins*1., nbins, 0. ,nbins*1.); int n1 = t->Draw("tag_pt:probe_pt>>numer_reco",sel.c_str(),"goff"); From 5e1a47d0e7915eb8b1349d0954b38f6a02d77f15 Mon Sep 17 00:00:00 2001 From: Jordan Martins <36475694+jordan-martins@users.noreply.github.com> Date: Tue, 18 Jan 2022 10:12:58 +0100 Subject: [PATCH 2/2] Update denom.C adding a ";" after nbins variable definition --- eff/denom.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eff/denom.C b/eff/denom.C index d8eaeb3..3114d63 100644 --- a/eff/denom.C +++ b/eff/denom.C @@ -2,7 +2,7 @@ TFile f("root/genstudy_pt.root"); TTree* t = (TTree*)f.Get("tree"); std::cout << "entries: " << t->GetEntries() << std::endl; - nbins = 13 + nbins = 13; TH2F denom("denom","denom",nbins, 0. ,nbins*1., nbins, 0. ,nbins*1. ); int n = tree->Draw("gen_e1_pt:gen_e2_pt>>denom","","goff"); std::cout << "processed: " << n << std::endl;