![]() |
|
|||
File indexing completed on 2025-02-23 09:20:52
0001 { 0002 gROOT->Reset(); 0003 0004 // Draw histos filled by Geant4 simulation 0005 // 0006 // TFile f("testem12.root"); 0007 TFile f("compton-pen.root"); 0008 TCanvas* c1 = new TCanvas("c1", " "); 0009 0010 TH1D* hist1 = (TH1D*)f.Get("1"); 0011 // hist1->Draw("HIST"); 0012 0013 TH1D* hist2 = (TH1D*)f.Get("2"); 0014 // hist2->Draw("HIST"); 0015 0016 TH1D* hist3 = (TH1D*)f.Get("3"); 0017 hist3->Draw("HIST"); 0018 0019 TH1D* hist4 = (TH1D*)f.Get("4"); 0020 // hist4->Draw("HIST"); 0021 0022 TH1D* hist5 = (TH1D*)f.Get("5"); 0023 // hist5->Draw("HIST"); 0024 0025 TH1D* hist8 = (TH1D*)f.Get("8"); 0026 // hist8->Draw("HIST"); 0027 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |