49 |
|
|
50 |
|
vector<string> input = cl.get_vector<string>("input"); |
51 |
|
string treename = cl.get_value<string> ("treename", "t"); |
52 |
< |
float drmax = cl.get_value<float> ("drmax", 0.3); |
52 |
> |
float drmax = cl.get_value<float> ("drmax", 0.5); |
53 |
|
int netbins = cl.get_value<int> ("netbins", 50); |
54 |
|
int netabins = cl.get_value<int> ("netabins", 25); |
55 |
|
int nphibins = cl.get_value<int> ("nphibins", 25); |
88 |
|
TTree* t = (TTree*)f->Get(treename.c_str()); |
89 |
|
cout<<jetalgs[i]<<" sample has "<<t->GetEntries()<<" entries."<<endl; |
90 |
|
|
91 |
< |
|
92 |
< |
string nameEtAll = "EtAll_"+jetalgs[i]; |
91 |
> |
string nameEtAll = "EtAll_" +jetalgs[i]; |
92 |
|
string nameEtFake = "EtFake_"+jetalgs[i]; |
93 |
< |
string nameEtEff = "EtEff_"+jetalgs[i]; |
93 |
> |
string nameEtEff = "EtEff_" +jetalgs[i]; |
94 |
|
|
95 |
|
TH1F* hEtAll = new TH1F(nameEtAll.c_str(),nameEtAll.c_str(), |
96 |
|
netbins,etmin,etmax); |
227 |
|
for (unsigned int i=0;i<emfHistos.size();i++) { |
228 |
|
TH1F* h = emfHistos[i]; |
229 |
|
lEmfEff->AddEntry(h,getLegLabel(jetalgs[i]).c_str(),"lp"); |
230 |
< |
h->SetLineWidth(2); |
230 |
> |
h->SetLineWidth(1); |
231 |
|
h->SetMarkerColor(color); |
232 |
|
h->SetLineColor(color++); |
233 |
|
h->SetMarkerStyle(kFullCircle); |
234 |
< |
h->SetMarkerSize(0.7); |
234 |
> |
h->SetMarkerSize(0.5); |
235 |
|
if (i==0) { |
236 |
|
h->SetTitle("#epsilon_{FAKE} vs emf"); |
237 |
|
h->SetXTitle("emf"); |
254 |
|
for (unsigned int i=0;i<phiHistos.size();i++) { |
255 |
|
TH1F* h = phiHistos[i]; |
256 |
|
lPhiEff->AddEntry(h,getLegLabel(jetalgs[i]).c_str(),"lp"); |
257 |
< |
h->SetLineWidth(2); |
257 |
> |
h->SetLineWidth(1); |
258 |
|
h->SetMarkerColor(color); |
259 |
|
h->SetLineColor(color++); |
260 |
|
h->SetMarkerStyle(kFullCircle); |
261 |
< |
h->SetMarkerSize(0.7); |
261 |
> |
h->SetMarkerSize(0.5); |
262 |
|
if (i==0) { |
263 |
|
h->SetTitle("#epsilon_{FAKE} vs #phi"); |
264 |
|
h->SetXTitle("#phi"); |
281 |
|
for (unsigned int i=0;i<etaHistos.size();i++) { |
282 |
|
TH1F* h = etaHistos[i]; |
283 |
|
lEtaEff->AddEntry(h,getLegLabel(jetalgs[i]).c_str(),"lp"); |
284 |
< |
h->SetLineWidth(2); |
284 |
> |
h->SetLineWidth(1); |
285 |
|
h->SetMarkerColor(color); |
286 |
|
h->SetLineColor(color++); |
287 |
|
h->SetMarkerStyle(kFullCircle); |
288 |
< |
h->SetMarkerSize(0.7); |
288 |
> |
h->SetMarkerSize(0.5); |
289 |
|
if (i==0) { |
290 |
|
h->SetTitle("#epsilon_{FAKE} vs #eta"); |
291 |
|
h->SetXTitle("#eta"); |
309 |
|
for (unsigned int i=0;i<etHistos.size();i++) { |
310 |
|
TH1F* h = etHistos[i]; |
311 |
|
lEtEff->AddEntry(h,getLegLabel(jetalgs[i]).c_str(),"lp"); |
312 |
< |
h->SetLineWidth(2); |
312 |
> |
h->SetLineWidth(1); |
313 |
|
h->SetMarkerColor(color); |
314 |
|
h->SetLineColor(color++); |
315 |
|
h->SetMarkerStyle(kFullCircle); |
316 |
< |
h->SetMarkerSize(0.7); |
316 |
> |
h->SetMarkerSize(0.5); |
317 |
|
if (i==0) { |
318 |
|
h->SetTitle("#epsilon_{FAKE} vs E_{T}"); |
319 |
|
h->SetXTitle("E_{T} [GeV]"); |