Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -3,25 +3,21 @@
// Draw histos filled by Geant4 simulation
//
TFile f = TFile("run01.root");
TFile f = TFile("water_100um.root");
TCanvas* c1 = new TCanvas("c1", " ");
c1->SetLogy(0);
c1->cd();
c1->Update();
TH1D* hist1 = (TH1D*)f.Get("1");
hist1->Draw("HIST");
TH1D* hist3 = (TH1D*)f.Get("3");
hist3->Draw("HIST");
TH1D* hist2 = (TH1D*)f.Get("2");
c1->SetLogy(1);
c1->cd();
c1->Update();
hist2->Draw("HIST");
TH1D* hist4 = (TH1D*)f.Get("4");
hist4->Draw("HIST");
TH1D* hist5 = (TH1D*)f.Get("5");
hist5->Draw("HIST");
hist5->Draw("HIST");
}