Geant4_10
|
Go to the source code of this file.
Functions | |
TFile | f1 ("./Ta_1000keV_opt3.root") |
h1 | SetTitle ("Depth dose distribution of 1000 keV e- in Ta") |
h1 | GetXaxis () -> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0") |
h1 | GetYaxis () -> SetTitle("MeV*cm2/g") |
h1 | SetStats (kFALSE) |
h1 | SetLineColor (4) |
h1 | Draw ("HIST") |
in | open ("./data/Ta_1000keV.ascii") |
for (int i=0;i< nbdata;i++) | |
in | close () |
legend | AddEntry (h1,"ref10-opt3 ","l") |
legend | AddEntry (pt,"Sandia data","P") |
legend | Draw () |
Variables | |
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) |
in close | ( | ) |
h1 Draw | ( | "HIST" | ) |
legend Draw | ( | ) |
TFile f1 | ( | "./Ta_1000keV_opt3.root" | ) |
in open | ( | "./data/Ta_1000keV.ascii" | ) |
h1 SetLineColor | ( | 4 | ) |
h1 SetStats | ( | kFALSE | ) |