Files
geant4/examples/extended/hadronic/NeutronSource/plotHisto.C
T
2016-12-09 12:35:28 +01:00

15 lines
283 B
C++

{
gROOT->Reset();
// Draw histos filled by Geant4 simulation
//
TFile f("NeutronSource.root");
TCanvas* c1 = new TCanvas("c1", " ");
///TH1D* hist4 = (TH1D*)f.Get("4");
///hist4->Draw("HIST");
TH1D* hist6 = (TH1D*)f.Get("6");
hist6->Draw("HIST");
}