Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:20:59

0001 {
0002   gROOT->Reset();
0003   
0004   // Draw histos filled by Geant4 simulation 
0005   //   
0006   TFile f("testem4.root");
0007     
0008   TCanvas* c1 = new TCanvas("c1", "  ");
0009   c1->SetLogy(1);
0010   c1->cd();
0011   c1->Update();
0012   
0013   TH1D* hist = (TH1D*)f.Get("1");
0014   hist->Draw("HIST");    
0015 }