Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -0,0 +1,27 @@
{
gROOT->Reset();
// Draw histos filled by Geant4 simulation
//
TFile f = TFile("e-.root");
TCanvas* c1 = new TCanvas("c1", " ");
c1->Divide(2,2);
TDirectory* dir = (TDirectory*)f.Get("histo");
c1->cd(1);
TH1D* hist1 = (TH1D*)dir->Get("EAbs");
hist1->Draw("HIST");
c1->cd(2);
TH1D* hist2 = (TH1D*)dir->Get("EGap");
hist2->Draw("HIST");
c1->cd(3);
TH1D* hist3 = (TH1D*)dir->Get("LAbs");
hist3->Draw("HIST");
c1->cd(4);
TH1D* hist4 = (TH1D*)dir->Get("LGap");
hist4->Draw("HIST");
}