Fork me on GitHub

source: svn/trunk/routines/resolutions_atlas.C@ 489

Last change on this file since 489 was 489, checked in by Xavier Rouby, 15 years ago

last changes for ATLAS resolution

File size: 18.3 KB
Line 
1/***********************************************************************
2** **
3** /----------------------------------------------\ **
4** | Delphes, a framework for the fast simulation | **
5** | of a generic collider experiment | **
6** \------------- arXiv:0903.2225v1 ------------/ **
7** **
8** **
9** This package uses: **
10** ------------------ **
11** ROOT: Nucl. Inst. & Meth. in Phys. Res. A389 (1997) 81-86 **
12** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
13** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
14** FROG: [hep-ex/0901.2718v1] **
15** HepMC: Comput. Phys. Commun.134 (2001) 41 **
16** **
17** ------------------------------------------------------------------ **
18** **
19** Main authors: **
20** ------------- **
21** **
22** Severine Ovyn Xavier Rouby **
23** severine.ovyn@uclouvain.be xavier.rouby@cern **
24** **
25** Center for Particle Physics and Phenomenology (CP3) **
26** Universite catholique de Louvain (UCL) **
27** Louvain-la-Neuve, Belgium **
28** **
29** Copyright (C) 2008-2009, **
30** All rights reserved. **
31** **
32***********************************************************************/
33
34#include "TROOT.h"
35#include "TFile.h"
36#include "TTree.h"
37#include "TCanvas.h"
38#include "TProfile.h"
39#include "TF1.h"
40#include "TGraph.h"
41#include "TLegend.h"
42
43#include "interface/FuncDef.h"
44
45void JetResol()
46{
47 setTDRStyle();
48 gROOT->Reset();
49
50 //TFile *f1 = new TFile("JET2_atlas_jetclu.root","read");
51 //TFile *f1 = new TFile("JET2_atlas_jetclu_new.root","read"); // 40k
52 //TFile *f1 = new TFile("JET2_atlas_siscone.root","read");
53 //TFile *f1 = new TFile("JET2_atlas_antikt.root","read");
54 //TFile *f1 = new TFile("JET2_atlas_midpoint.root","read");
55 //TFile *f1 = new TFile("JET2_atlas_midpoint_eflow.root","read");
56 //TFile *f1 = new TFile("JET2_atlas_midpoint_newCaloRes.root","read");
57 //TFile *f1 = new TFile("JET2_atlas_kt_40k.root","read"); // 40k events
58 //TFile *f1 = new TFile("JET2_atlas_kt_60k.root","read"); // 60k events
59 //TFile *f1 = new TFile("JET2_atlas_jetclu_60k.root","read"); // 60k events
60 //TFile *f1 = new TFile("JET2_atlas.kt_80k.root","read"); // 80k events -- samples jx -- default Delphes
61 //TFile *f1 = new TFile("JET2_atlas.cone_80k.root","read"); // 80k events -- samples jx -- default Delphes + endcaps
62 TFile *f1 = new TFile("JET2_atlas_kt_80k_endcap.root","read"); // 80k events -- samples jx -- default Delphes + endcaps
63
64 if(!f1->IsOpen()) { cout << "could not open "<< f1->GetName() << ". Exiting..." << endl; return;}
65 if(!f1->FindKey("Analysis")) { cout << "Bad input file, could not find the \"Analysis\" tree. Exiting..." << endl; return;}
66 TTree *Analyze = (TTree*)f1->Get("Analysis");
67
68/*
69 const int numBin=16;
70 double bins[numBin]={0,10,20,30,40,50,60,70,80,100,120,140,180,220,300,1200}; // cms-samples bins
71 string cut = "1==1";
72 TF1 *fitfunATLAS = new TF1("userATLAS","sqrt(pow(0.69*100/sqrt(x),2)+pow(0.03*100,2)+pow(6.3*100/x,2))",10,800);
73 TPaveText *etacut = MakeTPave(0.58,0.51,0.65,0.55,"|#eta|<0.5 ");
74*/
75/*
76 const int numBin=25;
77 double bins[numBin]={21,26,32,39,48, 59,72,88,107,130, 158,191,230,278,336, 405,485,581,696,834, 1000,1198,1435,1719,2060};
78 string cut = "1==1";
79 TF1 *fitfunATLAS = new TF1("userATLAS","sqrt(pow(0.69*100/sqrt(x),2)+pow(0.03*100,2)+pow(6.3*100/x,2))",10,800);
80 TPaveText *etacut = MakeTPave(0.58,0.51,0.65,0.55,"|#eta|<0.5 ");
81*/
82/*
83 const int numBin=20;
84 double bins[numBin]={21,26,32,39,48, 59,72,88,107,130, 158,191,230,278,336, 405,485,581,696,834 };
85 string cut = "1==1";
86 TF1 *fitfunATLAS = new TF1("userATLAS","sqrt(pow(0.69*100/sqrt(x),2)+pow(0.03*100,2)+pow(6.3*100/x,2))",10,800);
87 TPaveText *etacut = MakeTPave(0.58,0.51,0.65,0.55,"|#eta|<0.5 ");
88*/
89
90 // for eta < 0.5, use this
91 const int numBin=14;
92 double bins[numBin]={21,26,32,39,48, 59,72,88,130, 191,278, 405,581,834 };
93 string cut = "abs(JetPTResol.Eta)<0.5";
94 TF1 *fitfunATLAS = new TF1("userATLAS","sqrt(pow(0.69*100/sqrt(x),2)+pow(0.03*100,2)+pow(6.3*100/x,2))",10,800);
95 TPaveText *etacut = MakeTPave(0.58,0.51,0.65,0.55,"|#eta|<0.5 ");
96
97/*
98 // for forward 1.5 < eta < 2.0, use this
99 const int numBin=10;
100 double bins[numBin]={48, 59,72,88,130, 191,278, 405,581,834 };
101 string cut = "abs(JetPTResol.Eta)<2.0 && abs(JetPTResol.Eta)>1.5";
102 TF1 *fitfunATLAS= new TF1("userATLAS","sqrt(pow(1.19*100/sqrt(x),2)+pow(0.01*100,2)+pow(10*100/x,2))",10,800);
103 TPaveText *etacut = MakeTPave(0.58,0.51,0.65,0.55,"1.5<|#eta|<2.0 ");
104*/
105 TProfile *ESoverE = new TProfile("ESoverE","Jet resolution for ATLAS ",numBin-1,bins,-10,10);
106
107 double mean[numBin], mean2[numBin];
108
109 TCanvas *c1 = new TCanvas("c1","JET resol: (E_reco - E_gen)/E_gen",0,0,1000,650);
110 c1->cd(); int frame=0;
111 int nc = numBin/2 + numBin%2;
112 c1->Divide(nc,2);
113 TCanvas *c1b = new TCanvas("c1b","JET resol: [(E_reco - E_gen)/E_gen]^2 ",0,0,1000,650);
114 c1b->cd(); int frame2=0;
115 c1b->Divide(nc,2);
116
117 float x[numBin-1];
118 float y[numBin-1];
119 float ex[numBin-1];
120 float ey[numBin-1];
121 float erec_over_etruth[numBin-1];
122
123 float finval=0;//valeur a remplir puis a fitter
124 // available variables:
125 // - E : true Energy
126 // - PT : true transverse energy
127 // - SmearedPT : ratio ET_rec / ET_gen
128 // - dE : ratio (E_rec - E_truth)/E_truth
129 // - dE2 : ( (E_rec - E_truth)/E_truth )^2
130
131
132 for ( int i=0; i<numBin-1; i++) // premiÚre bin : i ==1 et pas i == 0
133 {
134 TAxis *xaxis = ESoverE->GetXaxis();
135 float binCenter = xaxis->GetBinCenter(i+1);
136 int binMin = (int)xaxis->GetBinLowEdge(i+1);
137 int binMax = (int)xaxis->GetBinUpEdge(i+1);
138 char tempMin[500];
139 if(i==0)binMin=5;
140 sprintf(tempMin,"JetPTResol.E > %d",binMin);
141 string mystringMin(tempMin);
142 char tempMax[500];
143 sprintf(tempMax,"JetPTResol.E < %d",binMax);
144 string mystringMax(tempMax);
145 char tempName[500];
146 //sprintf(tempName,"JetPTResol.dE/JetPTResol.SmearedPT>>hdE%d",i);
147 //sprintf(tempName,"JetPTResol.dE>>hdE%d",i);
148 sprintf(tempName,"JetPTResol.dE_reco>>hdE%d",i);
149 string mystringName(tempName);
150 c1->cd(++frame);
151 GaussValuesAsymmetry(Analyze,tempName,mean[i],mystringMin,mystringMax,cut);
152
153 //sprintf(tempName,"JetPTResol.dE2/JetPTResol.SmearedPT>>hdE2%d",i);
154 //sprintf(tempName,"JetPTResol.dE2/JetPTResol.SmearedPT>>hdE2%d",i);
155 sprintf(tempName,"JetPTResol.dE2_reco>>hdE2%d",i);
156 string mystringName2(tempName);
157 c1b->cd(++frame2);
158 GaussValuesAsymmetry2(Analyze,tempName,mean2[i],mystringMin,mystringMax,cut);
159
160 x[i]=binCenter;
161 finval=sqrt(mean2[i] - mean[i]*mean[i]);
162 y[i]=finval*100;
163 ex[i]=0;
164 ey[i]=0;
165 erec_over_etruth[i]=mean[i]+1;
166
167 }
168
169 TCanvas *c3 = new TCanvas("c3","JET linearity",100,100,600,450);
170 c3->cd();
171 //for(int i=0; i<numBin-1; i++) cout << x[i] << "\t\t" << erec_over_etruth[i] << endl;
172 TGraph *linearity = new TGraph(numBin-1,x,erec_over_etruth);
173 linearity->Draw("AP");
174 linearity->SetTitle("");
175 linearity->GetXaxis()->SetTitle("E^{Truth} [GeV]");
176 linearity->GetYaxis()->SetTitle("<E^{Reco}/E^{Truth}>");
177 linearity->GetXaxis()->SetRangeUser(30,1000);
178 linearity->SetMinimum(0.85);
179 linearity->SetMaximum(1.20);
180 gPad->SetLogx();
181
182
183 TCanvas *c2 = new TCanvas("c2","JET resol",100,100,600,450);
184 c2->cd();
185
186 TGraph *gr11 = new TGraph(numBin-1,x,y);
187 gr11->Draw("AP");
188 gr11->SetTitle("");
189 gr11->GetXaxis()->SetTitle("E^{MC} [GeV]");
190 gr11->GetYaxis()->SetRangeUser(0,50);
191 gr11->GetYaxis()->SetTitle("#sigma(E)/E");
192
193 TF1 *fitfun = new TF1("user","sqrt(pow([0]/x,2)+pow([2]/sqrt(x),2)+pow([1],2))",10,800);
194 Double_t* params = fitfun->GetParameters();
195 fitfun->SetLineColor(kBlue);
196 gr11->Fit("user","QRN");
197 gr11->Fit("user","QRN");
198 gr11->Fit("user","QRN");
199 gr11->Fit("user","QRN");
200 gr11->GetXaxis()->SetRangeUser(30,1200);
201 //gPad->SetLogx();
202 char tempResol[100];
203 //sprintf(tempResol,"Delphes resolution: #frac{#sigma(E)}{E} = #sqrt{ <( #frac{E_{reco} - E_{gen}}{E_{gen}} )^{2} > - < #frac{E_{reco}-E_{gen}}{E_{gen}}>^{2} } =\n #frac{%f}{#sqrt{E_{T}^{MC}}} #oplus %f #oplus #frac{%f}{E}",params[1],params[2],params[3]);
204 sprintf(tempResol,"Delphes resolution: #frac{#sigma(E)}{E} = #frac{%.1f}{#sqrt{E^{MC}}} #oplus %.1f #oplus #frac{%.1f}{E^{MC}}",params[2],params[1],params[0]);
205 char tempResol2[100];
206 sprintf(tempResol2,"sqrt(pow(%f/x,2)+pow(%f/sqrt(x),2)+pow(%f,2) )",params[0],params[2],params[1]);
207
208
209 TF1 *fitfunDelphes = new TF1("userDelphes",tempResol2,7,1000);
210 fitfunDelphes->SetLineColor(kBlack);
211 fitfunDelphes->SetLineStyle(7);
212 fitfunDelphes->Draw("same");
213
214 fitfunATLAS->SetLineColor(kBlue);
215 fitfunATLAS->Draw("same");
216
217
218 etacut->Draw();
219
220 TPaveText *events = MakeTPave(0.62,0.43,0.75,0.47,"Events: pp #rightarrow ggX ");
221 events->Draw();
222
223 TPaveText *algo = MakeTPave(0.64,0.36,0.76,0.40,"k_{T} algorithm #Delta R = 0.6");
224 //TPaveText *algo = MakeTPave(0.64,0.36,0.76,0.40,"Cone algorithm #Delta R = 0.7");
225 algo->Draw();
226
227 TPaveText *Delphes = MakeTPave(0.62,0.29,0.85,0.33,"MG/ME + Pythia + Delphes");
228 Delphes->Draw();
229
230 TLegend *legend = new TLegend(0.18,0.72,0.87,0.87,NULL,"NDC");
231 legend->AddEntry(fitfunATLAS,"ATLAS resolution","l");
232 legend->AddEntry(fitfunDelphes,tempResol,"l");
233 legend->SetFillColor(10);
234 legend->SetBorderSize(0);
235 legend->Draw();
236
237
238 delete fitfun;
239}
240
241void ElecResol()
242{
243
244 setTDRStyle();
245 gROOT->Reset();
246
247 TFile *f1 = new TFile("ETMIS2_ATLAS.root","read");
248 if(!f1->IsOpen()) { cout << "could not open "<< f1->GetName() << ". Exiting..." << endl; return;}
249 if(!f1->FindKey("Analysis")) { cout << "Bad input file, could not find the \"Analysis\" tree. Exiting..." << endl; return;}
250 TTree *Analyze = (TTree*)f1->Get("Analysis");
251
252 const Int_t numBin=11;
253 double bins[numBin]={0,10,20,30,40,50,60,70,80,100,120};
254 TProfile *ETSminusET = new TProfile("ETSminusET","Electron resolution: E_{T}^{rec}/E_{T}^{mc}",(numBin-1),bins,-10,10);
255
256 double rms[numBin];
257 double mean[numBin];
258
259 TCanvas *c3 = new TCanvas("c3","ELEC resol",0,0,1000,650);
260 c3->cd(); int frame=0;
261 c3->Divide(6,2);
262
263 float x[numBin-1];
264 float y[numBin-1];
265 float ex[numBin-1];
266 float ey[numBin-1];
267
268 float finval=0;//valeur a remplir puis a fitter
269
270 for ( int i=0; i<(numBin-1); i++) // premiÚre bin : i ==1 et pas i == 0
271 {
272 TAxis *xaxis = ETSminusET->GetXaxis();
273 float binCenter = xaxis->GetBinCenter(i+1);
274 int binMin = (int)xaxis->GetBinLowEdge(i+1);
275 int binMax = (int)xaxis->GetBinUpEdge(i+1);
276 char tempMin[500];
277 if(i==0)binMin=5;
278 sprintf(tempMin,"ElecEResol.E > %d",binMin);
279 string mystringMin(tempMin);
280 char tempMax[500];
281 sprintf(tempMax,"ElecEResol.E < %d",binMax);
282 string mystringMax(tempMax);
283 char tempName[500];
284 sprintf(tempName,"(ElecEResol.E-ElecEResol.SmearedE)>>hETSoverET%d",i);
285 string mystringName(tempName);
286
287 c3->cd(++frame);
288 GaussValuesElec(Analyze,tempName,rms[i],mean[i],mystringMin,mystringMax);
289 //GaussValues(Analyze,tempName,rms[i],mean[i],mystringMin,mystringMax);
290 x[i]=binCenter;
291 finval=rms[i]/binCenter;
292 y[i]=(finval*100);
293 ex[i]=0;
294 ey[i]=0;
295 }
296
297 TCanvas *c4 = new TCanvas("c4","ELEC resol",100,100,600,450);
298 c4->cd();
299
300 TF1 *fitfun = new TF1("user","sqrt(pow([0],2)+pow([1]/sqrt(x),2)+pow([2]/x,2))",1,400);
301
302 TGraphErrors *gr11 = new TGraphErrors((numBin-1),x,y,ex,ey);
303 gr11->Draw("AP");
304 gr11->SetTitle("");
305 gr11->GetXaxis()->SetTitle("E [GeV]");
306 gr11->GetYaxis()->SetRangeUser(0,5);
307 gr11->GetYaxis()->SetTitle("#sigma/E");
308
309 Double_t* params = fitfun->GetParameters();
310
311 gr11->Fit("user","QR");
312 gr11->Fit("user","QRI");
313 gr11->Fit("user","QRI");
314 gr11->Fit("user","QRI");
315 char tempResol[500];
316 sprintf(tempResol,"#frac{#sigma}{E} = #frac{%f}{#sqrt{E}} #oplus #frac{%f}{E} #oplus %f",params[1]/100,params[2]/100,params[0]/100);
317
318 TPaveText *leg1 = MakeTPave(0.4,0.6,0.8,0.65,tempResol);
319 leg1->Draw();
320
321 TPaveText *Delphes = MakeTPave(0.2,0.15,0.35,0.2,"MG/ME + Delphes");
322 Delphes->Draw();
323
324 TPaveText *events = MakeTPave(0.2,0.75,0.35,0.8,"Events: WHq'#rightarrow W#tau#tauq'#rightarrowjjl#tauq', m_{H}=150 GeV ");
325 events->Draw();
326
327 delete fitfun;
328}
329
330void TauJetInfo()
331{
332
333 setTDRStyle();
334 gROOT->Reset();
335
336 TFile *f1 = new TFile("TAUJET2_ATLAS.root","read");
337 if(!f1->IsOpen()) { cout << "could not open "<< f1->GetName() << ". Exiting..." << endl; return;}
338 if(!f1->FindKey("Analysis")) { cout << "Bad input file, could not find the \"Analysis\" tree. Exiting..." << endl; return;}
339 TTree *Analyze = (TTree*)f1->Get("Analysis");
340
341 TCanvas *ct1 = new TCanvas("ct1","Tau information",100,100,600,450);
342 ct1->cd();
343
344 TH1F *tauEnergy =MakeNormTH1F(20,0.8,1,Analyze,"TauJetPTResol.EnergieCen>>tauEnergy",1, 0, 1,2,false);
345 tauEnergy->Draw();
346 tauEnergy->SetTitle("");
347 tauEnergy->GetYaxis()->SetTitle("Fraction of events");
348 tauEnergy->GetXaxis()->SetTitle("C_{#tau}");
349
350
351 TPaveText *Delphes1 = MakeTPave(0.3,0.85,0.45,0.9,"MG/ME + Delphes");
352 Delphes1->Draw();
353 TPaveText *ctau = MakeTPave(0.3,0.75,0.45,0.8,"C_{#tau} = #frac{#sum E^{towers} (#DeltaR = 0.15)}{E^{jet}}");
354 ctau->Draw();
355 TPaveText *events1 = MakeTPave(0.3,0.65,0.45,0.7,"Events: WHq'#rightarrow WWWq'#rightarrow lllq', m_{H}=150 GeV ");
356 events1->Draw();
357
358
359 TCanvas *ct2 = new TCanvas("ct2","Tau information",100,100,600,450);
360 ct2->cd();
361 TH1F *NumTrack =MakeNormTH1F(6,0,6,Analyze,"TauJetPTResol.NumTrack>>NumTrack",1, 0, 1,2,false);
362 NumTrack->Draw();
363 NumTrack->SetTitle("");
364 NumTrack->GetYaxis()->SetTitle("Fraction of events");
365 NumTrack->GetXaxis()->SetTitle("N^{tracks}");
366
367 TPaveText *Delphes = MakeTPave(0.6,0.85,0.85,0.9,"MG/ME + Delphes");
368 Delphes->Draw();
369 TPaveText *numtracks = MakeTPave(0.6,0.75,0.85,0.8,"#DeltaR < 0.4, p_{T}^{track} > 2 GeV");
370 numtracks->Draw();
371 TPaveText *events = MakeTPave(0.6,0.65,0.85,0.7,"Events: WHq'#rightarrow WWWq'#rightarrow lllq', m_{H}=150 GeV ");
372 events->Draw();
373
374}
375
376void ETmisResol()
377{
378
379 setTDRStyle();
380 gROOT->Reset();
381
382 //TFile *f1 = new TFile("JET2_ATLAS.root","read");
383 //TFile *f1 = new TFile("JET2_atlas_midpoint.root","read");
384 //TFile *f1 = new TFile("JET2_atlas_kt_60k.root","read"); // 60k events
385 //TFile *f1 = new TFile("JET2_atlas_kt_80k_endcap.root","read"); // 80k events + endcap
386 TFile *f1 = new TFile("JET2_atlas.cone_80k.root","read"); // 80k events + endcap
387 if(!f1->IsOpen()) { cout << "could not open "<< f1->GetName() << ". Exiting..." << endl; return;}
388 if(!f1->FindKey("Analysis")) { cout << "Bad input file, could not find the \"Analysis\" tree. Exiting..." << endl; return;}
389 TTree *Analyze = (TTree*)f1->Get("Analysis");
390
391 //const Int_t numBin=6; double bins[numBin]={180,260,340,420,500,580};
392 double max = 900;
393 const Int_t numBin=6; double bins[numBin]={100,250,400,550,700,max};
394 //const Int_t numBin=6; double bins[numBin]={180,260,340,420,500,max};
395 TProfile *ETSoverET = new TProfile("ETSoverET","ETmis resol",numBin-1,bins,-1000,1000);
396 TF1 *fitfun = new TF1("user","[0]*sqrt(x)",0,max);
397 fitfun->SetLineColor(kBlue);
398
399
400 double rms[numBin-1];
401
402 TCanvas *c5 = new TCanvas("c5","PTmis resol",0,0,1000,650);
403 c5->cd(); int frame=0;
404 int nb = numBin/2 + numBin%2;
405 c5->Divide(nb,2);
406
407 double x[numBin];
408 double y[numBin];
409
410 for ( int i=0; i<(numBin-1); i++) // premiÚre bin : i ==1 et pas i == 0
411 {
412 TAxis *xaxis = ETSoverET->GetXaxis();
413 float binCenter = xaxis->GetBinCenter(i+1);
414 int binMin = (int)xaxis->GetBinLowEdge(i+1);
415 int binMax = (int)xaxis->GetBinUpEdge(i+1);
416 char tempMin[500];
417 sprintf(tempMin,"ETmisResol.SEt>%d",binMin);
418 string mystringMin(tempMin);
419 char tempMax[500];
420 sprintf(tempMax,"ETmisResol.SEt<%d",binMax);
421 string mystringMax(tempMax);
422
423 char tempName[500];
424 sprintf(tempName,"ETmisResol.ExSmeare>>hETSoverET%d",i);
425 //sprintf(tempName,"ETmisResol.EtSmeare>>hETSoverET%d",i); // non-gaussian, so it does not work properly
426 string mystringName(tempName);
427
428 c5->cd(++frame);
429 GaussValuesETmis(Analyze,tempName,rms[i],mystringMin,mystringMax);
430 x[i]=binCenter;
431 y[i]=rms[i];
432
433 }
434
435 TCanvas *c6 = new TCanvas("c6","ETmis resolution",100,100,600,450);
436 c6->cd();
437
438 x[numBin]=0;
439 y[numBin]=0;
440 TGraph *gr11 = new TGraph(numBin,x,rms);
441 gr11->SetTitle("");
442 gr11->SetMarkerStyle(3);
443 gr11->Draw("AP");
444 gr11->GetXaxis()->SetTitle("#Sigma E_{T} [GeV]");
445 gr11->GetYaxis()->SetTitle("Resolution of x-component of MET [GeV]");
446 gr11->Fit("user","RQ");
447 gr11->Fit("user","RQ");
448 gr11->Fit("user","RQ");
449 gr11->Fit("user","RQ");
450 gr11->GetYaxis()->SetRangeUser(0,60);
451 gr11->GetXaxis()->SetRangeUser(1,max);
452 gr11->SetMaximum(16);
453
454 Double_t* params = fitfun->GetParameters();
455
456 char tempResol[500];
457 sprintf(tempResol,"E_{x}^{mis} resolution: %.2f #times #sqrt{E_{T}}",params[0]);
458
459 TPaveText *leg1 = MakeTPave(0.26,0.84,0.43,0.89,tempResol);
460 leg1->Draw();
461
462 TPaveText *leg2 = MakeTPave(0.15,0.75,0.45,0.8,"Events: pp #rightarrow ggX");
463 leg2->Draw();
464
465 TPaveText *Delphes = MakeTPave(0.65,0.19,0.8,0.24,"MG/ME + Pythia + Delphes");
466 Delphes->Draw();
467
468 TPaveText *atlas = MakeTPave(0.65,0.25,0.8,0.30,"ATLAS-like detector");
469 atlas->Draw();
470
471 delete fitfun;
472}
473
474void General()
475{
476 JetResol();
477 ElecResol();
478 ETmisResol();
479 //TauJetInfo();
480
481}
482
483
Note: See TracBrowser for help on using the repository browser.