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