Go to the source code of this file.
|
| TCanvas * | c1 = new TCanvas("c1", " ") |
| |
| TH1D * | ha1 = (TH1D*)fa.Get("10") |
| |
| TH1D * | hb1 = (TH1D*)fb.Get("10") |
| |
| TLegend * | le = new TLegend(0.6,0.6,0.8,0.8) |
| |
| le AddEntry |
( |
ha1 |
, |
|
|
"opt3" |
, |
|
|
"l" |
|
|
) |
| |
| le AddEntry |
( |
hb1 |
, |
|
|
"100um" |
, |
|
|
"l" |
|
|
) |
| |
| TFile fa |
( |
"water_opt3.root" |
| ) |
|
| TFile fb |
( |
"water_100um.root" |
| ) |
|
| ha1 SetLineColor |
( |
kBlue |
| ) |
|
| hb1 SetLineColor |
( |
kRed |
| ) |
|
| TCanvas* c1 = new TCanvas("c1", " ") |
Definition at line 6 of file plot2.C.
View newest version in sPHENIX GitHub at line 6 of file plot2.C
| TH1D* ha1 = (TH1D*)fa.Get("10") |
Definition at line 15 of file plot2.C.
View newest version in sPHENIX GitHub at line 15 of file plot2.C
| TH1D* hb1 = (TH1D*)fb.Get("10") |
Definition at line 19 of file plot2.C.
View newest version in sPHENIX GitHub at line 19 of file plot2.C
| TLegend* le = new TLegend(0.6,0.6,0.8,0.8) |
Definition at line 24 of file plot2.C.
View newest version in sPHENIX GitHub at line 24 of file plot2.C