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", " ") |
| TH1D* ha1 = (TH1D*)fa.Get("10") |
| TH1D* hb1 = (TH1D*)fb.Get("10") |
| TLegend* le = new TLegend(0.6,0.6,0.8,0.8) |