Geant4
10.02.p03
|
Go to the source code of this file.
Functions | |
gStyle | SetPalette (1) |
gROOT | SetStyle ("Plain") |
gStyle | SetOptStat (00000) |
c1 | Divide (1, 1) |
c1 | cd (1) |
gPad | SetLogx () |
gPad | SetLogy () |
h2 | Draw () |
h2 | GetXaxis () -> SetLabelSize(0.025) |
h2 | GetYaxis () -> SetLabelSize(0.025) |
while (1) | |
fclose (fp) | |
ntuple | SetLineWidth (3) |
ntuple | SetLineColor (2) |
ntuple | Draw ("track:e","","Lsame") |
ntuple | SetLineColor (3) |
ntuple | Draw ("pene:e","","Lsame") |
ntuple | SetLineColor (4) |
ntuple | Draw ("proj:e","","Lsame") |
Variables | |
c1 = new TCanvas ("c1","Range",60,60,700,700) | |
TH2F * | h2 = new TH2F("h2","",2,9.99,1e+4,2,1e-1,1e+4) |
FILE * | fp = fopen("range.txt","r") |
Float_t | e |
Float_t | track |
Float_t | strack |
Float_t | proj |
Float_t | sproj |
Float_t | pene |
Float_t | spene |
Int_t | ncols = 0 |
Int_t | nlines = 0 |
TNtuple * | ntuple = new TNtuple("ntuple","range","e:track:strack:proj:sproj:pene:spene") |
c1 cd | ( | 1 | ) |
c1 Divide | ( | 1 | , |
1 | |||
) |
h2 Draw | ( | ) |
ntuple Draw | ( | "track:e" | , |
"" | , | ||
"Lsame" | |||
) |
ntuple Draw | ( | "pene:e" | , |
"" | , | ||
"Lsame" | |||
) |
ntuple Draw | ( | "proj:e" | , |
"" | , | ||
"Lsame" | |||
) |
fclose | ( | fp | ) |
h2 GetXaxis | ( | ) | -> SetLabelSize(0.025) |
h2 GetYaxis | ( | ) | -> SetLabelSize(0.025) |
ntuple SetLineColor | ( | 2 | ) |
ntuple SetLineColor | ( | 3 | ) |
ntuple SetLineColor | ( | 4 | ) |
ntuple SetLineWidth | ( | 3 | ) |
gPad SetLogx | ( | ) |
gPad SetLogy | ( | ) |
gStyle SetOptStat | ( | 00000 | ) |
gStyle SetPalette | ( | 1 | ) |
gROOT SetStyle | ( | "Plain" | ) |
while | ( | 1 | ) |
Definition at line 43 of file extended/medical/dna/range/plot.C.
c1 = new TCanvas ("c1","Range",60,60,700,700) |
Definition at line 18 of file extended/medical/dna/range/plot.C.
Float_t e |
Definition at line 37 of file extended/medical/dna/range/plot.C.
FILE* fp = fopen("range.txt","r") |
Definition at line 35 of file extended/medical/dna/range/plot.C.
TH2F* h2 = new TH2F("h2","",2,9.99,1e+4,2,1e-1,1e+4) |
Definition at line 24 of file extended/medical/dna/range/plot.C.
Int_t ncols = 0 |
Definition at line 38 of file extended/medical/dna/range/plot.C.
Int_t nlines = 0 |
Definition at line 39 of file extended/medical/dna/range/plot.C.
TNtuple* ntuple = new TNtuple("ntuple","range","e:track:strack:proj:sproj:pene:spene") |
Definition at line 41 of file extended/medical/dna/range/plot.C.
Float_t pene |
Definition at line 37 of file extended/medical/dna/range/plot.C.
Float_t proj |
Definition at line 37 of file extended/medical/dna/range/plot.C.
Float_t spene |
Definition at line 37 of file extended/medical/dna/range/plot.C.
Float_t sproj |
Definition at line 37 of file extended/medical/dna/range/plot.C.
Float_t strack |
Definition at line 37 of file extended/medical/dna/range/plot.C.
Float_t track |
Definition at line 37 of file extended/medical/dna/range/plot.C.