Back to home page

EIC code displayed by LXR

 
 

    


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

0001 {
0002   gROOT->Reset();
0003   
0004   // Draw histos filled by Geant4 simulation 
0005   //   
0006   TFile f = TFile("rdecay02.root");
0007   TCanvas* c1 = new TCanvas("c1", "  ");
0008   
0009   c1->SetLogy(0);
0010   c1->cd();
0011   c1->Update();
0012   
0013   ///TH1D* hist1 = (TH1D*)f.Get("H11");
0014   ///hist1->SetLineColor(kRed); 
0015   ///hist1->Draw("HIST");
0016   
0017   ///TH1D* hist2 = (TH1D*)f.Get("H12");
0018   ///hist2->Draw("HIST");
0019      
0020   ///TH1D* hist3 = (TH1D*)f.Get("H13");
0021   ///hist3->SetLineColor(kRed);   
0022   ///hist3->Draw("HIST");
0023   
0024   ///TH1D* hist4 = (TH1D*)f.Get("H14");
0025   ///hist4->Draw("HIST");
0026   
0027   ///TH1D* hist5 = (TH1D*)f.Get("H15");
0028   ///hist5->Draw("HIST");
0029   
0030   TH1D* hist6 = (TH1D*)f.Get("H16");
0031   hist6->Draw("HIST");        
0032 }