Geant4_10
|
Go to the source code of this file.
Functions | |
gROOT | SetStyle ("Plain") |
gStyle | SetOptStat (1111) |
gStyle | SetPalette (1) |
c1 | Divide (2, 2) |
system ("rm -rf nanobeam.root") | |
system ("hadd nanobeam.root nanobeam_*.root") | |
TFile | f ("nanobeam.root") |
c1 | cd (1) |
ntuple0 | SetMarkerSize (.2) |
ntuple0 | SetMarkerColor (2) |
ntuple0 | SetMarkerStyle (20) |
ntuple0 | Draw ("xIn:yIn:zIn","") |
c1 | cd (2) |
gPad | SetLogz () |
ntuple2 | Draw ("yIn:xIn","","hcolz") |
c1 | cd (3) |
ntuple2 | SetMarkerColor (4) |
ntuple2 | Draw ("thetaIn:xIn","","hcolz") |
c1 | cd (4) |
ntuple2 | Draw ("phiIn:yIn","","hcolz") |
Variables | |
c1 = new TCanvas ("c1","",200,10,800,800) | |
TNtuple * | ntuple0 = (TNtuple*)f->Get("ntuple0") |
TNtuple * | ntuple2 = (TNtuple*)f->Get("ntuple2") |
c1 cd | ( | 1 | ) |
c1 cd | ( | 2 | ) |
c1 cd | ( | 3 | ) |
c1 cd | ( | 4 | ) |
c1 Divide | ( | 2 | , |
2 | |||
) |
ntuple0 Draw | ( | "xIn:yIn:zIn" | , |
"" | |||
) |
ntuple2 Draw | ( | "yIn:xIn" | , |
"" | , | ||
"hcolz" | |||
) |
ntuple2 Draw | ( | "thetaIn:xIn" | , |
"" | , | ||
"hcolz" | |||
) |
ntuple2 Draw | ( | "phiIn:yIn" | , |
"" | , | ||
"hcolz" | |||
) |
TFile f | ( | "nanobeam.root" | ) |
gPad SetLogz | ( | ) |
ntuple0 SetMarkerColor | ( | 2 | ) |
ntuple2 SetMarkerColor | ( | 4 | ) |
ntuple0 SetMarkerSize | ( | . | 2 | ) |
ntuple0 SetMarkerStyle | ( | 20 | ) |
gStyle SetOptStat | ( | 1111 | ) |
gStyle SetPalette | ( | 1 | ) |
gROOT SetStyle | ( | "Plain" | ) |
system | ( | "rm -rf nanobeam.root" | ) |
system | ( | "hadd nanobeam.root nanobeam_*.root" | ) |