Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:22:41

0001 {
0002   gROOT->Reset();
0003   
0004   // Draw histos filled by Geant4 simulation 
0005   //   
0006   TFile f("Co60.root");      
0007   TCanvas* c1 = new TCanvas("c1", "  ");
0008   
0009   ///TH1D* hist1 = (TH1D*)f.Get("1");
0010   ///hist1->Draw("HIST");
0011   
0012   TH1D* hist4 = (TH1D*)f.Get("4");
0013   hist4->Draw("HIST");  
0014      
0015   TH1D* hist14 = (TH1D*)f.Get("14");
0016   hist14->Draw("HIST");
0017   
0018   TH1D* hist24 = (TH1D*)f.Get("24");
0019   hist24->Draw("HIST");  
0020      
0021   TH1D* hist27 = (TH1D*)f.Get("27");
0022   hist27->Draw("HIST");
0023   
0024   TH1D* hist28 = (TH1D*)f.Get("28");
0025   hist28->Draw("HIST");  
0026 }