Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -3,24 +3,25 @@
|
||||
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
TFile f = TFile("testem12.root");
|
||||
// TFile f = TFile("testem12.root");
|
||||
TFile f = TFile("compton-pen.root");
|
||||
TCanvas* c1 = new TCanvas("c1", " ");
|
||||
|
||||
TH1D* hist1 = (TH1D*)f.Get("1");
|
||||
hist1->Draw("HIST");
|
||||
// hist1->Draw("HIST");
|
||||
|
||||
TH1D* hist2 = (TH1D*)f.Get("2");
|
||||
hist2->Draw("HIST");
|
||||
// hist2->Draw("HIST");
|
||||
|
||||
TH1D* hist3 = (TH1D*)f.Get("3");
|
||||
hist3->Draw("HIST");
|
||||
|
||||
TH1D* hist4 = (TH1D*)f.Get("4");
|
||||
hist4->Draw("HIST");
|
||||
// hist4->Draw("HIST");
|
||||
|
||||
TH1D* hist5 = (TH1D*)f.Get("5");
|
||||
hist5->Draw("HIST");
|
||||
// hist5->Draw("HIST");
|
||||
|
||||
TH1D* hist8 = (TH1D*)f.Get("8");
|
||||
hist8->Draw("HIST");
|
||||
// hist8->Draw("HIST");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user