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("run1.root");
0007   TFile f("Ni60.root");      
0008   TCanvas* c1 = new TCanvas("c1", "  ");
0009   
0010   c1->SetLogy(1);
0011   c1->cd();
0012   c1->Update();
0013   
0014   ///TH1D* hist1 = (TH1D*)f.Get("1");
0015   ///hist1->Draw("HIST");
0016   
0017   ///TH1D* hist2 = (TH1D*)f.Get("2");
0018   ///hist2->Draw("HIST");
0019      
0020   ///TH1D* hist3 = (TH1D*)f.Get("3");
0021   ///hist3->Draw("HIST");
0022   
0023   ///TH1D* hist6 = (TH1D*)f.Get("6");
0024   ///hist6->Draw("HIST");
0025   
0026   ///TH1D* hist7 = (TH1D*)f.Get("7");
0027   ///hist7->Draw("HIST");
0028   
0029   TH1D* hist8 = (TH1D*)f.Get("8");
0030   hist8->Draw("HIST");        
0031 }