1 |
benhoob |
1.1 |
{
|
2 |
|
|
|
3 |
|
|
gROOT->SetStyle("Plain");
|
4 |
|
|
gStyle->SetOptStat(0);
|
5 |
|
|
gStyle->SetPalette(1);
|
6 |
|
|
|
7 |
|
|
gROOT->LoadMacro("scripts/getResponseFunctionOld.C");
|
8 |
|
|
gROOT->LoadMacro("scripts/getResponseFunctionNew.C");
|
9 |
|
|
|
10 |
|
|
TH2* hrfOld=getResponseFunctionOld();
|
11 |
|
|
TH2* hrfNew=getResponseFunctionNew();
|
12 |
|
|
|
13 |
|
|
TCanvas *c1=new TCanvas("c1","",1200,600);
|
14 |
|
|
c1->Divide(2,1);
|
15 |
|
|
c1->cd(1);
|
16 |
|
|
hrfOld->Draw("colz");
|
17 |
|
|
hrfOld->SetTitle("Old RF");
|
18 |
|
|
hrfOld->GetXaxis()->SetTitle("#eta");
|
19 |
|
|
hrfOld->GetYaxis()->SetTitle("p_{T} (GeV)");
|
20 |
|
|
c1->cd(2);
|
21 |
|
|
hrfNew->Draw("colz");
|
22 |
|
|
hrfNew->SetTitle("New RF");
|
23 |
|
|
hrfNew->GetXaxis()->SetTitle("#eta");
|
24 |
|
|
hrfNew->GetYaxis()->SetTitle("p_{T} (GeV)");
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
}
|