Go to the source code of this file.
|
TH1D * | h1 = (TH1D*) f1.Get("8") |
|
ifstream | in |
|
TMarker * | pt |
|
Double_t | x |
|
Double_t | y |
|
int | nbdata = 0 |
|
TLegend * | legend = new TLegend(0.6,0.55,0.8,0.68) |
|
◆ AddEntry() [1/2]
legend AddEntry |
( |
h1 |
, |
|
|
"ref10-opt3 " |
, |
|
|
"l" |
|
|
) |
| |
◆ AddEntry() [2/2]
legend AddEntry |
( |
pt |
, |
|
|
"Sandia data" |
, |
|
|
"P" |
|
|
) |
| |
◆ close()
◆ Draw() [1/2]
◆ Draw() [2/2]
◆ f1()
TFile f1 |
( |
"./Ta_1000keV_opt3.root" |
| ) |
|
◆ for()
Definition at line 35 of file sandia.C.
37 if (!
in.good())
break;
38 pt =
new TMarker(
x,y,22);
39 pt->SetMarkerColor(kRed);
◆ GetXaxis()
◆ GetYaxis()
◆ open()
in open |
( |
"./data/Ta_1000keV.ascii" |
| ) |
|
◆ SetLineColor()
◆ SetStats()
◆ SetTitle()
h1 SetTitle |
( |
"Depth dose distribution of 1000 keV e- in Ta" |
| ) |
|
◆ h1
TH1D* h1 = (TH1D*) f1.Get("8") |
◆ in
◆ legend
TLegend* legend = new TLegend(0.6,0.55,0.8,0.68) |
◆ nbdata
◆ pt