File indexing completed on 2025-02-23 09:20:57
0001 {
0002 gROOT->Reset();
0003
0004
0005
0006 TFile f("run01.root");
0007 TCanvas* c1 = new TCanvas("c1", " ");
0008
0009 TH1D* hist1 = (TH1D*)f.Get("h1");
0010 hist1->Draw("HIST");
0011
0012 TH1D* hist4 = (TH1D*)f.Get("h4");
0013 hist4->Draw("HIST");
0014
0015 TH1D* prof4 = (TH1D*)f.Get("p4");
0016 prof4->Draw(" ");
0017
0018 TH1D* hist5 = (TH1D*)f.Get("h5");
0019 hist5->Draw("HIST");
0020
0021 TH1D* hist8 = (TH1D*)f.Get("h8");
0022 hist8->Draw("HIST");
0023
0024 TH1D* prof8 = (TH1D*)f.Get("p8");
0025 prof8->Draw(" ");
0026 }