Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -0,0 +1,24 @@
{
gROOT->Reset();
// Draw histos filled by Geant4 simulation
//
TFile f("run01.root");
TCanvas* c1 = new TCanvas("c1", " ");
c1->Divide(3,1);
TH1D* hist1 = (TH1D*)f.Get("1");
c1->cd(1);
hist1->Draw("HIST");
gPad->SetLogy();
TH1D* hist2 = (TH1D*)f.Get("2");
c1->cd(2);
hist2->Draw("HIST");
gPad->SetLogy();
TH1D* hist3 = (TH1D*)f.Get("3");
c1->cd(3);
hist3->Draw("HIST");
gPad->SetLogy();
}