Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
@@ -0,0 +1,18 @@
{
gROOT->Reset();
// Draw histos filled by Geant4 simulation
//
TFile f = TFile("pixe.root");
TCanvas* c1 = new TCanvas("c1", " ");
TH1D* hist3 = (TH1D*)f.Get("3");
hist3->Draw("HIST");
c1->SetLogy(1);
c1->cd();
c1->Update();
TH1D* hist5 = (TH1D*)f.Get("5");
hist5->Draw("HIST");
}