Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -3,21 +3,21 @@
|
||||
|
||||
// Draw histos filled by Geant4 simulation
|
||||
//
|
||||
TFile f("C12.root");
|
||||
TFile f("pixe.root");
|
||||
TCanvas* c1 = new TCanvas("c1", " ");
|
||||
|
||||
c1->SetLogy(1);
|
||||
c1->cd();
|
||||
c1->Update();
|
||||
|
||||
TH1D* hist1 = (TH1D*)f.Get("1");
|
||||
hist1->Draw("HIST");
|
||||
///TH1D* hist1 = (TH1D*)f.Get("1");
|
||||
///hist1->Draw("HIST");
|
||||
|
||||
TH1D* hist2 = (TH1D*)f.Get("2");
|
||||
hist2->Draw("HIST");
|
||||
///TH1D* hist2 = (TH1D*)f.Get("2");
|
||||
///hist2->Draw("HIST");
|
||||
|
||||
TH1D* hist3 = (TH1D*)f.Get("3");
|
||||
hist3->Draw("HIST");
|
||||
///TH1D* hist3 = (TH1D*)f.Get("3");
|
||||
///hist3->Draw("HIST");
|
||||
|
||||
///TH1D* hist4 = (TH1D*)f.Get("4");
|
||||
///hist4->Draw("HIST");
|
||||
@@ -25,8 +25,8 @@
|
||||
///TH1D* hist5 = (TH1D*)f.Get("5");
|
||||
///hist5->Draw("HIST");
|
||||
|
||||
TH1D* hist6 = (TH1D*)f.Get("6");
|
||||
hist6->Draw("HIST");
|
||||
///TH1D* hist6 = (TH1D*)f.Get("6");
|
||||
///hist6->Draw("HIST");
|
||||
|
||||
TH1D* hist7 = (TH1D*)f.Get("7");
|
||||
hist7->Draw("HIST");
|
||||
@@ -37,9 +37,12 @@
|
||||
///TH1D* hist9 = (TH1D*)f.Get("9");
|
||||
///hist9->Draw("HIST");
|
||||
|
||||
TH1D* hist10 = (TH1D*)f.Get("10");
|
||||
hist10->Draw("HIST");
|
||||
///TH1D* hist10 = (TH1D*)f.Get("10");
|
||||
///hist10->Draw("HIST SAME");
|
||||
|
||||
///TH1D* hist11 = (TH1D*)f.Get("11");
|
||||
///hist11->Draw("HIST");
|
||||
TH1D* hist11 = (TH1D*)f.Get("11");
|
||||
hist11->Draw("HIST");
|
||||
|
||||
TH1D* hist12 = (TH1D*)f.Get("12");
|
||||
hist12->Draw("HIST");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user