{ //=========Macro generated from canvas: c1/c1 //========= (Mon Mar 26 12:43:12 2007) by ROOT version5.13/04e TCanvas *c1 = new TCanvas("c1", "c1",1,1,696,448); c1->SetHighLightColor(2); c1->Range(0,0,1,1); c1->SetBorderSize(2); c1->SetFrameFillColor(0); TH1 *h_occupancy_vr = new TH1F("Software ZS (red)","Occupancy",50,0,0.05); h_occupancy_vr->SetBinContent(1,2184); h_occupancy_vr->SetBinContent(2,166); h_occupancy_vr->SetBinContent(4,2241); h_occupancy_vr->SetBinContent(6,4871); h_occupancy_vr->SetBinContent(8,4469); h_occupancy_vr->SetBinContent(10,2989); h_occupancy_vr->SetBinContent(12,1746); h_occupancy_vr->SetBinContent(14,899); h_occupancy_vr->SetBinContent(16,443); h_occupancy_vr->SetBinContent(18,201); h_occupancy_vr->SetBinContent(20,102); h_occupancy_vr->SetBinContent(22,54); h_occupancy_vr->SetBinContent(24,16); h_occupancy_vr->SetBinContent(26,9); h_occupancy_vr->SetBinContent(28,3); h_occupancy_vr->SetBinContent(30,4); h_occupancy_vr->SetBinContent(32,2); h_occupancy_vr->SetBinContent(34,1); h_occupancy_vr->SetEntries(20400); h_occupancy_vr->SetLineColor(2); h_occupancy_vr->GetXaxis()->SetTitle("Occupancy"); h_occupancy_vr->Draw(""); TH1 *h_occupancy_zs = new TH1F("Hardware ZS (blue)","Occupancy",50,0,0.05); h_occupancy_zs->SetBinContent(1,1527); h_occupancy_zs->SetBinContent(2,119); h_occupancy_zs->SetBinContent(4,2154); h_occupancy_zs->SetBinContent(6,3612); h_occupancy_zs->SetBinContent(8,3839); h_occupancy_zs->SetBinContent(10,3153); h_occupancy_zs->SetBinContent(12,2315); h_occupancy_zs->SetBinContent(14,1532); h_occupancy_zs->SetBinContent(16,941); h_occupancy_zs->SetBinContent(18,529); h_occupancy_zs->SetBinContent(20,329); h_occupancy_zs->SetBinContent(22,162); h_occupancy_zs->SetBinContent(24,104); h_occupancy_zs->SetBinContent(26,36); h_occupancy_zs->SetBinContent(28,25); h_occupancy_zs->SetBinContent(30,5); h_occupancy_zs->SetBinContent(32,3); h_occupancy_zs->SetBinContent(34,7); h_occupancy_zs->SetBinContent(36,3); h_occupancy_zs->SetBinContent(38,2); h_occupancy_zs->SetBinContent(42,3); h_occupancy_zs->SetEntries(20400); h_occupancy_zs->SetLineColor(4); h_occupancy_zs->SetLineStyle(2); h_occupancy_zs->GetXaxis()->SetTitle("Occupancy"); h_occupancy_zs->Draw("sames"); c1->Modified(); c1->cd(); c1->SetSelected(c1); }