![]() |
|
|||
File indexing completed on 2025-02-23 09:22:41
0001 { 0002 gROOT->Reset(); 0003 0004 // Draw histos filled by Geant4 simulation 0005 // 0006 TCanvas* c1 = new TCanvas("c1", " "); 0007 0008 c1->SetLogy(1); 0009 c1->cd(); 0010 c1->Update(); 0011 0012 TFile fa("Co60.root"); 0013 0014 TH1D* ha1 = (TH1D*)fa.Get("4"); 0015 ha1->SetStats(kFALSE); 0016 ha1->SetLineColor(kRed); 0017 ha1->Draw("HIST"); 0018 0019 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |