Go to the source code of this file.
legend AddEntry |
( |
h1 |
, |
|
|
"local (Urban90)" |
, |
|
|
"l" |
|
|
) |
| |
legend AddEntry |
( |
h1f |
, |
|
|
"Mars14 simul " |
, |
|
|
"L" |
|
|
) |
| |
TFile f1 |
( |
"./opt3.root" |
| ) |
|
in open |
( |
"mars14.ascii" |
| ) |
|
h1 SetLineColor |
( |
kBlue |
| ) |
|
h1f SetLineColor |
( |
kRed |
| ) |
|
h1 SetTitle |
( |
"1 TeV muon in 3 m iron : kinetic energy at exit (GeV)" |
| ) |
|
Definition at line 37 of file tramu.C.
References y.
39 if (!
in.good())
break;
TH1D* h1 = (TH1D*) f1.Get("10") |
TH1F* h1f = new TH1F("h1f","",nb_bins,x_min,x_max) |
TLegend* legend = new TLegend(0.2,0.55,0.45,0.70) |