Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing nbins in eff/ #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eff/denom.C
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion eff/numer.C
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down