Go to the source code of this file.
legend AddEntry |
( |
h1 |
, |
|
|
"Urban93 " |
, |
|
|
"l" |
|
|
) |
| |
legend AddEntry |
( |
h2 |
, |
|
|
"Urban95 " |
, |
|
|
"l" |
|
|
) |
| |
TFile f1 |
( |
"./Ta.1000keV.msc93.root" |
) | |
|
TFile f2 |
( |
"./Ta.1000keV.local.root" |
) | |
|
Definition at line 33 of file egs.C.
h1 GetXaxis |
( |
) | |
-> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0") |
in open |
( |
"./EGSnrc/Ta_1000keV_EGSnrc.ascii" |
) | |
|
h1 SetLineColor |
( |
kBlack |
) | |
|
h2 SetLineColor |
( |
kBlue |
) | |
|
h1 SetTitle |
( |
"Depth dose distribution of 1000 keV e- in Ta" |
) | |
|
TH1D* h1 = (TH1D*) f1.Get("8") |
Definition at line 7 of file egs.C.
TH1D* h2 = (TH1D*) f2.Get("8") |
Definition at line 16 of file egs.C.
Definition at line 25 of file egs.C.
TLegend* legend = new TLegend(0.6,0.5,0.8,0.70) |
Definition at line 43 of file egs.C.
Definition at line 31 of file egs.C.
Definition at line 28 of file egs.C.
Definition at line 29 of file egs.C.
Definition at line 29 of file egs.C.