Geant4_10
|
Go to the source code of this file.
Functions | |
c1 | Divide (3, 1) |
c1 | cd (1) |
hist1 | Draw ("HIST") |
hist11 | SetLineColor (2) |
hist11 | Draw ("HIST SAME") |
c1 | cd (2) |
c1 | cd (3) |
c1 | Print ("allproc.gif") |
c1 | Close () |
Variables | |
TFile | f = TFile("allproc.root") |
TCanvas * | c1 = new TCanvas("c1", " ") |
TH1D * | hist1 = (TH1D*)f.Get("1") |
TH1D * | hist11 = (TH1D*)f.Get("11") |
TH1D * | hist2 = (TH1D*)f.Get("2") |
TH1D * | hist12 = (TH1D*)f.Get("12") |
TH1D * | hist3 = (TH1D*)f.Get("3") |
TH1D * | hist13 = (TH1D*)f.Get("13") |
c1 cd | ( | 1 | ) |
c1 cd | ( | 2 | ) |
c1 cd | ( | 3 | ) |
input_file_2 Close | ( | ) |
c1 Divide | ( | 3 | , |
1 | |||
) |
hist1 Draw | ( | "HIST" | ) |
hist13 Draw | ( | "HIST SAME" | ) |
c1 Print | ( | "allproc.gif" | ) |
hist11 SetLineColor | ( | 2 | ) |
TCanvas* c1 = new TCanvas("c1", " ") |
Definition at line 7 of file plotHisto.C.
TFile f = TFile("allproc.root") |
Definition at line 6 of file plotHisto.C.
TH1D* hist1 = (TH1D*)f.Get("1") |
Definition at line 12 of file plotHisto.C.
TH1D* hist11 = (TH1D*)f.Get("11") |
Definition at line 16 of file plotHisto.C.
TH1D* hist12 = (TH1D*)f.Get("12") |
Definition at line 25 of file plotHisto.C.
TH1D* hist13 = (TH1D*)f.Get("13") |
Definition at line 34 of file plotHisto.C.
TH1D* hist2 = (TH1D*)f.Get("2") |
Definition at line 22 of file plotHisto.C.
TH1D* hist3 = (TH1D*)f.Get("3") |
Definition at line 31 of file plotHisto.C.