Go to the source code of this file.
| legend AddEntry |
( |
pt |
, |
|
|
"Hanson data" |
, |
|
|
"P" |
|
|
) |
| |
| TFile f1 |
( |
"./19um.opt0.root" |
| ) |
|
| TFile f2 |
( |
"./19um.opt3.root" |
| ) |
|
| TFile f3 |
( |
"./19um.local.root" |
| ) |
|
Definition at line 43 of file hanson.C.
References y.
45 if (!
in.good())
break;
46 pt =
new TMarker(
x,y,22);
47 pt->SetMarkerColor(kRed);
| in open |
( |
"./19um.ascii" |
| ) |
|
| h1 SetLineColor |
( |
kBlack |
| ) |
|
| h16 SetLineColor |
( |
kBlue |
| ) |
|
| h3 SetLineColor |
( |
kGreen |
| ) |
|
| h1 SetTitle |
( |
"Angular distribution of 15.7 MeV e- after 19um Au foil" |
| ) |
|
| TH1D* h1 = (TH1D*) f1.Get("12") |
| TH1D* h2 = (TH1D*) f2.Get("12") |
| TH1D* h3 = (TH1D*) f3.Get("12") |
| TLegend* legend = new TLegend(0.6,0.5,0.8,0.68) |