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) |
| |
| legend AddEntry |
( |
h1 |
, |
|
|
"ref10-opt3 " |
, |
|
|
"l" |
|
|
) |
| |
| legend AddEntry |
( |
pt |
, |
|
|
"Sandia data" |
, |
|
|
"P" |
|
|
) |
| |
| TFile f1 |
( |
"./Ta_1000keV_opt3.root" |
| ) |
|
Definition at line 35 of file sandia.C.
References y.
37 if (!
in.good())
break;
38 pt =
new TMarker(
x,y,22);
39 pt->SetMarkerColor(kRed);
| h1 GetXaxis |
( |
| ) |
-> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0") |
| in open |
( |
"./data/Ta_1000keV.ascii" |
| ) |
|
| h1 SetTitle |
( |
"Depth dose distribution of 1000 keV e- in Ta" |
| ) |
|
| TH1D* h1 = (TH1D*) f1.Get("8") |
| TLegend* legend = new TLegend(0.6,0.55,0.8,0.68) |