void hRates() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:16:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,1500,800); gStyle->SetOptStat(0); c->Range(0,0,1,1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); // ------------>Primitives in pad: c_1 TPad *c_1 = new TPad("c_1", "c_1",0.01,0.51,0.3233333,0.99); c_1->Draw(); c_1->cd(); c_1->Range(-7.500001,-15661.05,67.5,140949.4); c_1->SetFillColor(0); c_1->SetBorderMode(0); c_1->SetBorderSize(2); c_1->SetFrameBorderMode(0); c_1->SetFrameBorderMode(0); TH1D *h_SL1L172 = new TH1D("h_SL1L172","Occupancy removing noisy cells",60,0,60); h_SL1L172->SetBinContent(1,84950); h_SL1L172->SetBinContent(2,89360.71); h_SL1L172->SetBinContent(3,89528.57); h_SL1L172->SetBinContent(4,83428.57); h_SL1L172->SetBinContent(5,70946.43); h_SL1L172->SetBinContent(6,73614.28); h_SL1L172->SetBinContent(7,72989.28); h_SL1L172->SetBinContent(8,79110.71); h_SL1L172->SetBinContent(9,76985.71); h_SL1L172->SetBinContent(10,78364.28); h_SL1L172->SetBinContent(11,80617.86); h_SL1L172->SetBinContent(12,79321.43); h_SL1L172->SetBinContent(13,78242.86); h_SL1L172->SetBinContent(14,70150); h_SL1L172->SetBinContent(15,62025); h_SL1L172->SetBinContent(16,60239.29); h_SL1L172->SetBinContent(17,61171.43); h_SL1L172->SetBinContent(18,65214.29); h_SL1L172->SetBinContent(19,65146.43); h_SL1L172->SetBinContent(20,64796.43); h_SL1L172->SetBinContent(21,64442.86); h_SL1L172->SetBinContent(22,65592.86); h_SL1L172->SetBinContent(23,61978.57); h_SL1L172->SetBinContent(24,55167.86); h_SL1L172->SetBinContent(25,48739.29); h_SL1L172->SetBinContent(26,53878.57); h_SL1L172->SetBinContent(27,53178.57); h_SL1L172->SetBinContent(28,53510.71); h_SL1L172->SetBinContent(29,55700); h_SL1L172->SetBinContent(30,47850); h_SL1L172->SetBinContent(31,48914.29); h_SL1L172->SetBinContent(32,46514.29); h_SL1L172->SetBinContent(33,49039.29); h_SL1L172->SetBinContent(34,50328.57); h_SL1L172->SetBinContent(35,52685.71); h_SL1L172->SetBinContent(36,53682.14); h_SL1L172->SetBinContent(37,50507.14); h_SL1L172->SetBinContent(38,52950); h_SL1L172->SetBinContent(39,49978.57); h_SL1L172->SetBinContent(40,44875); h_SL1L172->SetBinContent(41,49342.86); h_SL1L172->SetBinContent(42,50525); h_SL1L172->SetBinContent(43,50792.86); h_SL1L172->SetBinContent(44,50810.71); h_SL1L172->SetBinContent(45,48500); h_SL1L172->SetBinContent(46,46357.14); h_SL1L172->SetBinContent(47,46410.71); h_SL1L172->SetBinContent(48,46478.57); h_SL1L172->SetBinContent(49,51978.57); h_SL1L172->SetBinContent(50,55835.71); h_SL1L172->SetBinContent(51,57742.86); h_SL1L172->SetBinContent(52,55185.71); h_SL1L172->SetBinContent(53,55757.14); h_SL1L172->SetBinContent(54,55085.71); h_SL1L172->SetBinContent(55,56707.14); h_SL1L172->SetBinContent(56,63800); h_SL1L172->SetBinContent(57,83067.86); h_SL1L172->SetBinContent(58,97017.86); h_SL1L172->SetBinContent(59,108946.4); h_SL1L172->SetMaximum(125288.4); h_SL1L172->SetEntries(60); h_SL1L172->SetDirectory(0); h_SL1L172->SetStats(0); h_SL1L172->SetLineWidth(2); h_SL1L172->GetXaxis()->SetTitle("Cell"); h_SL1L172->GetXaxis()->SetLabelFont(42); h_SL1L172->GetXaxis()->SetLabelSize(0.035); h_SL1L172->GetXaxis()->SetTitleSize(0.035); h_SL1L172->GetXaxis()->SetTitleFont(42); h_SL1L172->GetYaxis()->SetTitle("Hz per wire"); h_SL1L172->GetYaxis()->SetLabelFont(42); h_SL1L172->GetYaxis()->SetLabelSize(0.035); h_SL1L172->GetYaxis()->SetTitleSize(0.035); h_SL1L172->GetYaxis()->SetTitleOffset(1.45); h_SL1L172->GetYaxis()->SetTitleFont(42); h_SL1L172->GetZaxis()->SetLabelFont(42); h_SL1L172->GetZaxis()->SetLabelSize(0.035); h_SL1L172->GetZaxis()->SetTitleSize(0.035); h_SL1L172->GetZaxis()->SetTitleFont(42); h_SL1L172->Draw("hist, "); TH1D *h_SL1L273 = new TH1D("h_SL1L273","Occupancy removing noisy cells",60,0,60); h_SL1L273->SetBinContent(49,14.28571); h_SL1L273->SetMaximum(125288.4); h_SL1L273->SetEntries(60); h_SL1L273->SetDirectory(0); h_SL1L273->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L273->SetLineColor(ci); h_SL1L273->SetLineWidth(2); h_SL1L273->GetXaxis()->SetTitle("Cell"); h_SL1L273->GetXaxis()->SetLabelFont(42); h_SL1L273->GetXaxis()->SetLabelSize(0.035); h_SL1L273->GetXaxis()->SetTitleSize(0.035); h_SL1L273->GetXaxis()->SetTitleFont(42); h_SL1L273->GetYaxis()->SetTitle("Hz per wire"); h_SL1L273->GetYaxis()->SetLabelFont(42); h_SL1L273->GetYaxis()->SetLabelSize(0.035); h_SL1L273->GetYaxis()->SetTitleSize(0.035); h_SL1L273->GetYaxis()->SetTitleOffset(1.45); h_SL1L273->GetYaxis()->SetTitleFont(42); h_SL1L273->GetZaxis()->SetLabelFont(42); h_SL1L273->GetZaxis()->SetLabelSize(0.035); h_SL1L273->GetZaxis()->SetTitleSize(0.035); h_SL1L273->GetZaxis()->SetTitleFont(42); h_SL1L273->Draw("hist, same"); TH1D *h_SL1L374 = new TH1D("h_SL1L374","Occupancy removing noisy cells",60,0,60); h_SL1L374->SetBinContent(14,3.571429); h_SL1L374->SetBinContent(15,3.571429); h_SL1L374->SetMaximum(125288.4); h_SL1L374->SetEntries(60); h_SL1L374->SetDirectory(0); h_SL1L374->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L374->SetLineColor(ci); h_SL1L374->SetLineWidth(2); h_SL1L374->GetXaxis()->SetTitle("Cell"); h_SL1L374->GetXaxis()->SetLabelFont(42); h_SL1L374->GetXaxis()->SetLabelSize(0.035); h_SL1L374->GetXaxis()->SetTitleSize(0.035); h_SL1L374->GetXaxis()->SetTitleFont(42); h_SL1L374->GetYaxis()->SetTitle("Hz per wire"); h_SL1L374->GetYaxis()->SetLabelFont(42); h_SL1L374->GetYaxis()->SetLabelSize(0.035); h_SL1L374->GetYaxis()->SetTitleSize(0.035); h_SL1L374->GetYaxis()->SetTitleOffset(1.45); h_SL1L374->GetYaxis()->SetTitleFont(42); h_SL1L374->GetZaxis()->SetLabelFont(42); h_SL1L374->GetZaxis()->SetLabelSize(0.035); h_SL1L374->GetZaxis()->SetTitleSize(0.035); h_SL1L374->GetZaxis()->SetTitleFont(42); h_SL1L374->Draw("hist, same"); TH1D *h_SL1L475 = new TH1D("h_SL1L475","Occupancy removing noisy cells",60,0,60); h_SL1L475->SetBinContent(2,78807.14); h_SL1L475->SetBinContent(3,73746.43); h_SL1L475->SetBinContent(4,68378.57); h_SL1L475->SetBinContent(5,65128.57); h_SL1L475->SetBinContent(6,64550); h_SL1L475->SetBinContent(7,62210.71); h_SL1L475->SetBinContent(8,67157.14); h_SL1L475->SetBinContent(9,71196.43); h_SL1L475->SetBinContent(10,82739.28); h_SL1L475->SetBinContent(11,96464.28); h_SL1L475->SetBinContent(12,101907.1); h_SL1L475->SetBinContent(13,103132.1); h_SL1L475->SetBinContent(14,106964.3); h_SL1L475->SetBinContent(15,98950); h_SL1L475->SetBinContent(16,88132.14); h_SL1L475->SetBinContent(17,81064.28); h_SL1L475->SetBinContent(18,82996.43); h_SL1L475->SetBinContent(19,79578.57); h_SL1L475->SetBinContent(20,77242.86); h_SL1L475->SetBinContent(21,78492.86); h_SL1L475->SetBinContent(22,78567.86); h_SL1L475->SetBinContent(23,75285.71); h_SL1L475->SetBinContent(24,74535.71); h_SL1L475->SetBinContent(25,67392.86); h_SL1L475->SetBinContent(26,67096.43); h_SL1L475->SetBinContent(27,68228.57); h_SL1L475->SetBinContent(28,66578.57); h_SL1L475->SetBinContent(29,63978.57); h_SL1L475->SetBinContent(30,63557.14); h_SL1L475->SetBinContent(31,62367.86); h_SL1L475->SetBinContent(32,58432.14); h_SL1L475->SetBinContent(33,54139.29); h_SL1L475->SetBinContent(34,54503.57); h_SL1L475->SetBinContent(35,57242.86); h_SL1L475->SetBinContent(36,50660.71); h_SL1L475->SetBinContent(37,44025); h_SL1L475->SetBinContent(38,45125); h_SL1L475->SetBinContent(39,48903.57); h_SL1L475->SetBinContent(40,40964.29); h_SL1L475->SetBinContent(41,40164.29); h_SL1L475->SetBinContent(42,44067.86); h_SL1L475->SetBinContent(43,46607.14); h_SL1L475->SetBinContent(44,44328.57); h_SL1L475->SetBinContent(45,39817.86); h_SL1L475->SetBinContent(46,42078.57); h_SL1L475->SetBinContent(47,40864.29); h_SL1L475->SetBinContent(48,40410.71); h_SL1L475->SetBinContent(49,38242.86); h_SL1L475->SetBinContent(50,42828.57); h_SL1L475->SetBinContent(51,43003.57); h_SL1L475->SetBinContent(52,44378.57); h_SL1L475->SetBinContent(53,44103.57); h_SL1L475->SetBinContent(54,45864.29); h_SL1L475->SetBinContent(56,53057.14); h_SL1L475->SetBinContent(57,64782.14); h_SL1L475->SetBinContent(58,86896.43); h_SL1L475->SetBinContent(59,97464.28); h_SL1L475->SetMaximum(125288.4); h_SL1L475->SetEntries(60); h_SL1L475->SetDirectory(0); h_SL1L475->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L475->SetLineColor(ci); h_SL1L475->SetLineWidth(2); h_SL1L475->GetXaxis()->SetTitle("Cell"); h_SL1L475->GetXaxis()->SetLabelFont(42); h_SL1L475->GetXaxis()->SetLabelSize(0.035); h_SL1L475->GetXaxis()->SetTitleSize(0.035); h_SL1L475->GetXaxis()->SetTitleFont(42); h_SL1L475->GetYaxis()->SetTitle("Hz per wire"); h_SL1L475->GetYaxis()->SetLabelFont(42); h_SL1L475->GetYaxis()->SetLabelSize(0.035); h_SL1L475->GetYaxis()->SetTitleSize(0.035); h_SL1L475->GetYaxis()->SetTitleOffset(1.45); h_SL1L475->GetYaxis()->SetTitleFont(42); h_SL1L475->GetZaxis()->SetLabelFont(42); h_SL1L475->GetZaxis()->SetLabelSize(0.035); h_SL1L475->GetZaxis()->SetTitleSize(0.035); h_SL1L475->GetZaxis()->SetTitleFont(42); h_SL1L475->Draw("hist, same"); TPaveText *pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_1->Modified(); c->cd(); // ------------>Primitives in pad: c_2 TPad *c_2 = new TPad("c_2", "c_2",0.3433333,0.51,0.6566667,0.99); c_2->Draw(); c_2->cd(); c_2->Range(-7.500001,-0.125,67.5,1.125); c_2->SetFillColor(0); c_2->SetBorderMode(0); c_2->SetBorderSize(2); c_2->SetFrameBorderMode(0); c_2->SetFrameBorderMode(0); TH1D *h_SL2L176 = new TH1D("h_SL2L176","Occupancy removing noisy cells",60,0,60); h_SL2L176->SetMaximum(0); h_SL2L176->SetEntries(60); h_SL2L176->SetDirectory(0); h_SL2L176->SetStats(0); h_SL2L176->SetLineWidth(2); h_SL2L176->GetXaxis()->SetTitle("Cell"); h_SL2L176->GetXaxis()->SetLabelFont(42); h_SL2L176->GetXaxis()->SetLabelSize(0.035); h_SL2L176->GetXaxis()->SetTitleSize(0.035); h_SL2L176->GetXaxis()->SetTitleFont(42); h_SL2L176->GetYaxis()->SetTitle("Hz per wire"); h_SL2L176->GetYaxis()->SetLabelFont(42); h_SL2L176->GetYaxis()->SetLabelSize(0.035); h_SL2L176->GetYaxis()->SetTitleSize(0.035); h_SL2L176->GetYaxis()->SetTitleOffset(1.45); h_SL2L176->GetYaxis()->SetTitleFont(42); h_SL2L176->GetZaxis()->SetLabelFont(42); h_SL2L176->GetZaxis()->SetLabelSize(0.035); h_SL2L176->GetZaxis()->SetTitleSize(0.035); h_SL2L176->GetZaxis()->SetTitleFont(42); h_SL2L176->Draw("hist, "); TH1D *h_SL2L277 = new TH1D("h_SL2L277","Occupancy removing noisy cells",60,0,60); h_SL2L277->SetMaximum(0); h_SL2L277->SetEntries(60); h_SL2L277->SetDirectory(0); h_SL2L277->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL2L277->SetLineColor(ci); h_SL2L277->SetLineWidth(2); h_SL2L277->GetXaxis()->SetTitle("Cell"); h_SL2L277->GetXaxis()->SetLabelFont(42); h_SL2L277->GetXaxis()->SetLabelSize(0.035); h_SL2L277->GetXaxis()->SetTitleSize(0.035); h_SL2L277->GetXaxis()->SetTitleFont(42); h_SL2L277->GetYaxis()->SetTitle("Hz per wire"); h_SL2L277->GetYaxis()->SetLabelFont(42); h_SL2L277->GetYaxis()->SetLabelSize(0.035); h_SL2L277->GetYaxis()->SetTitleSize(0.035); h_SL2L277->GetYaxis()->SetTitleOffset(1.45); h_SL2L277->GetYaxis()->SetTitleFont(42); h_SL2L277->GetZaxis()->SetLabelFont(42); h_SL2L277->GetZaxis()->SetLabelSize(0.035); h_SL2L277->GetZaxis()->SetTitleSize(0.035); h_SL2L277->GetZaxis()->SetTitleFont(42); h_SL2L277->Draw("hist, same"); TH1D *h_SL2L378 = new TH1D("h_SL2L378","Occupancy removing noisy cells",60,0,60); h_SL2L378->SetMaximum(0); h_SL2L378->SetEntries(60); h_SL2L378->SetDirectory(0); h_SL2L378->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L378->SetLineColor(ci); h_SL2L378->SetLineWidth(2); h_SL2L378->GetXaxis()->SetTitle("Cell"); h_SL2L378->GetXaxis()->SetLabelFont(42); h_SL2L378->GetXaxis()->SetLabelSize(0.035); h_SL2L378->GetXaxis()->SetTitleSize(0.035); h_SL2L378->GetXaxis()->SetTitleFont(42); h_SL2L378->GetYaxis()->SetTitle("Hz per wire"); h_SL2L378->GetYaxis()->SetLabelFont(42); h_SL2L378->GetYaxis()->SetLabelSize(0.035); h_SL2L378->GetYaxis()->SetTitleSize(0.035); h_SL2L378->GetYaxis()->SetTitleOffset(1.45); h_SL2L378->GetYaxis()->SetTitleFont(42); h_SL2L378->GetZaxis()->SetLabelFont(42); h_SL2L378->GetZaxis()->SetLabelSize(0.035); h_SL2L378->GetZaxis()->SetTitleSize(0.035); h_SL2L378->GetZaxis()->SetTitleFont(42); h_SL2L378->Draw("hist, same"); TH1D *h_SL2L479 = new TH1D("h_SL2L479","Occupancy removing noisy cells",60,0,60); h_SL2L479->SetMaximum(0); h_SL2L479->SetEntries(60); h_SL2L479->SetDirectory(0); h_SL2L479->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L479->SetLineColor(ci); h_SL2L479->SetLineWidth(2); h_SL2L479->GetXaxis()->SetTitle("Cell"); h_SL2L479->GetXaxis()->SetLabelFont(42); h_SL2L479->GetXaxis()->SetLabelSize(0.035); h_SL2L479->GetXaxis()->SetTitleSize(0.035); h_SL2L479->GetXaxis()->SetTitleFont(42); h_SL2L479->GetYaxis()->SetTitle("Hz per wire"); h_SL2L479->GetYaxis()->SetLabelFont(42); h_SL2L479->GetYaxis()->SetLabelSize(0.035); h_SL2L479->GetYaxis()->SetTitleSize(0.035); h_SL2L479->GetYaxis()->SetTitleOffset(1.45); h_SL2L479->GetYaxis()->SetTitleFont(42); h_SL2L479->GetZaxis()->SetLabelFont(42); h_SL2L479->GetZaxis()->SetLabelSize(0.035); h_SL2L479->GetZaxis()->SetTitleSize(0.035); h_SL2L479->GetZaxis()->SetTitleFont(42); h_SL2L479->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_2->Modified(); c->cd(); // ------------>Primitives in pad: c_3 TPad *c_3 = new TPad("c_3", "c_3",0.6766667,0.51,0.99,0.99); c_3->Draw(); c_3->cd(); c_3->Range(-7.500001,-0.5133929,67.5,4.620536); c_3->SetFillColor(0); c_3->SetBorderMode(0); c_3->SetBorderSize(2); c_3->SetFrameBorderMode(0); c_3->SetFrameBorderMode(0); TH1D *h_SL3L180 = new TH1D("h_SL3L180","Occupancy removing noisy cells",60,0,60); h_SL3L180->SetMaximum(4.107143); h_SL3L180->SetEntries(60); h_SL3L180->SetDirectory(0); h_SL3L180->SetStats(0); h_SL3L180->SetLineWidth(2); h_SL3L180->GetXaxis()->SetTitle("Cell"); h_SL3L180->GetXaxis()->SetLabelFont(42); h_SL3L180->GetXaxis()->SetLabelSize(0.035); h_SL3L180->GetXaxis()->SetTitleSize(0.035); h_SL3L180->GetXaxis()->SetTitleFont(42); h_SL3L180->GetYaxis()->SetTitle("Hz per wire"); h_SL3L180->GetYaxis()->SetLabelFont(42); h_SL3L180->GetYaxis()->SetLabelSize(0.035); h_SL3L180->GetYaxis()->SetTitleSize(0.035); h_SL3L180->GetYaxis()->SetTitleOffset(1.45); h_SL3L180->GetYaxis()->SetTitleFont(42); h_SL3L180->GetZaxis()->SetLabelFont(42); h_SL3L180->GetZaxis()->SetLabelSize(0.035); h_SL3L180->GetZaxis()->SetTitleSize(0.035); h_SL3L180->GetZaxis()->SetTitleFont(42); h_SL3L180->Draw("hist, "); TH1D *h_SL3L281 = new TH1D("h_SL3L281","Occupancy removing noisy cells",60,0,60); h_SL3L281->SetBinContent(53,3.571429); h_SL3L281->SetMaximum(4.107143); h_SL3L281->SetEntries(60); h_SL3L281->SetDirectory(0); h_SL3L281->SetStats(0); ci = TColor::GetColor("#cc0000"); h_SL3L281->SetLineColor(ci); h_SL3L281->SetLineWidth(2); h_SL3L281->GetXaxis()->SetTitle("Cell"); h_SL3L281->GetXaxis()->SetLabelFont(42); h_SL3L281->GetXaxis()->SetLabelSize(0.035); h_SL3L281->GetXaxis()->SetTitleSize(0.035); h_SL3L281->GetXaxis()->SetTitleFont(42); h_SL3L281->GetYaxis()->SetTitle("Hz per wire"); h_SL3L281->GetYaxis()->SetLabelFont(42); h_SL3L281->GetYaxis()->SetLabelSize(0.035); h_SL3L281->GetYaxis()->SetTitleSize(0.035); h_SL3L281->GetYaxis()->SetTitleOffset(1.45); h_SL3L281->GetYaxis()->SetTitleFont(42); h_SL3L281->GetZaxis()->SetLabelFont(42); h_SL3L281->GetZaxis()->SetLabelSize(0.035); h_SL3L281->GetZaxis()->SetTitleSize(0.035); h_SL3L281->GetZaxis()->SetTitleFont(42); h_SL3L281->Draw("hist, same"); TH1D *h_SL3L382 = new TH1D("h_SL3L382","Occupancy removing noisy cells",60,0,60); h_SL3L382->SetMaximum(4.107143); h_SL3L382->SetEntries(60); h_SL3L382->SetDirectory(0); h_SL3L382->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L382->SetLineColor(ci); h_SL3L382->SetLineWidth(2); h_SL3L382->GetXaxis()->SetTitle("Cell"); h_SL3L382->GetXaxis()->SetLabelFont(42); h_SL3L382->GetXaxis()->SetLabelSize(0.035); h_SL3L382->GetXaxis()->SetTitleSize(0.035); h_SL3L382->GetXaxis()->SetTitleFont(42); h_SL3L382->GetYaxis()->SetTitle("Hz per wire"); h_SL3L382->GetYaxis()->SetLabelFont(42); h_SL3L382->GetYaxis()->SetLabelSize(0.035); h_SL3L382->GetYaxis()->SetTitleSize(0.035); h_SL3L382->GetYaxis()->SetTitleOffset(1.45); h_SL3L382->GetYaxis()->SetTitleFont(42); h_SL3L382->GetZaxis()->SetLabelFont(42); h_SL3L382->GetZaxis()->SetLabelSize(0.035); h_SL3L382->GetZaxis()->SetTitleSize(0.035); h_SL3L382->GetZaxis()->SetTitleFont(42); h_SL3L382->Draw("hist, same"); TH1D *h_SL3L483 = new TH1D("h_SL3L483","Occupancy removing noisy cells",60,0,60); h_SL3L483->SetMaximum(4.107143); h_SL3L483->SetEntries(60); h_SL3L483->SetDirectory(0); h_SL3L483->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L483->SetLineColor(ci); h_SL3L483->SetLineWidth(2); h_SL3L483->GetXaxis()->SetTitle("Cell"); h_SL3L483->GetXaxis()->SetLabelFont(42); h_SL3L483->GetXaxis()->SetLabelSize(0.035); h_SL3L483->GetXaxis()->SetTitleSize(0.035); h_SL3L483->GetXaxis()->SetTitleFont(42); h_SL3L483->GetYaxis()->SetTitle("Hz per wire"); h_SL3L483->GetYaxis()->SetLabelFont(42); h_SL3L483->GetYaxis()->SetLabelSize(0.035); h_SL3L483->GetYaxis()->SetTitleSize(0.035); h_SL3L483->GetYaxis()->SetTitleOffset(1.45); h_SL3L483->GetYaxis()->SetTitleFont(42); h_SL3L483->GetZaxis()->SetLabelFont(42); h_SL3L483->GetZaxis()->SetLabelSize(0.035); h_SL3L483->GetZaxis()->SetTitleSize(0.035); h_SL3L483->GetZaxis()->SetTitleFont(42); h_SL3L483->Draw("hist, same"); pt = new TPaveText(0.1753311,0.9302332,0.8246689,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Occupancy removing noisy cells"); pt->Draw(); c_3->Modified(); c->cd(); // ------------>Primitives in pad: c_4 TPad *c_4 = new TPad("c_4", "c_4",0.01,0.01,0.3233333,0.49); c_4->Draw(); c_4->cd(); c_4->Range(0,0,1,1); c_4->SetFillColor(0); c_4->SetBorderMode(0); c_4->SetBorderSize(2); c_4->SetFrameBorderMode(0); c_4->Modified(); c->cd(); // ------------>Primitives in pad: c_5 TPad *c_5 = new TPad("c_5", "c_5",0.3433333,0.01,0.6566667,0.49); c_5->Draw(); c_5->cd(); c_5->Range(0,0,1,1); c_5->SetFillColor(0); c_5->SetBorderMode(0); c_5->SetBorderSize(2); c_5->SetFrameBorderMode(0); c_5->Modified(); c->cd(); // ------------>Primitives in pad: c_6 TPad *c_6 = new TPad("c_6", "c_6",0.05,0,0.95,0.5); c_6->Draw(); c_6->cd(); c_6->Range(-1,-9506.235,14,85556.11); c_6->SetFillColor(0); c_6->SetBorderMode(0); c_6->SetBorderSize(2); c_6->SetFrameBorderMode(0); c_6->SetFrameBorderMode(0); TH1D *hRateSub84 = new TH1D("hRateSub84","Average rate per layer for run 6134 (no noisy cells)",12,0.5,12.5); hRateSub84->SetBinContent(1,62306.11); hRateSub84->SetBinContent(4,66130.33); hRateSub84->SetMinimum(0); hRateSub84->SetMaximum(76049.88); hRateSub84->SetEntries(2183878); hRateSub84->SetDirectory(0); hRateSub84->SetStats(0); ci = TColor::GetColor("#330066"); hRateSub84->SetLineColor(ci); hRateSub84->SetLineWidth(2); hRateSub84->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub84->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub84->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub84->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub84->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub84->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub84->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub84->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub84->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub84->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub84->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub84->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub84->GetXaxis()->SetLabelFont(42); hRateSub84->GetXaxis()->SetLabelSize(0.035); hRateSub84->GetXaxis()->SetTitleSize(0.035); hRateSub84->GetXaxis()->SetTitleFont(42); hRateSub84->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub84->GetYaxis()->SetLabelFont(42); hRateSub84->GetYaxis()->SetLabelSize(0.06); hRateSub84->GetYaxis()->SetTitleSize(0.035); hRateSub84->GetYaxis()->SetTitleOffset(1.3); hRateSub84->GetYaxis()->SetTitleFont(42); hRateSub84->GetZaxis()->SetLabelFont(42); hRateSub84->GetZaxis()->SetLabelSize(0.035); hRateSub84->GetZaxis()->SetTitleSize(0.035); hRateSub84->GetZaxis()->SetTitleFont(42); hRateSub84->Draw("hist"); TH1D *hRateSub85 = new TH1D("hRateSub85","Average rate per layer for run 6134 (no noisy cells)",12,0.5,12.5); hRateSub85->SetBinContent(1,62158.64); hRateSub85->SetBinContent(4,65980.7); hRateSub85->SetEntries(2183878); hRateSub85->SetDirectory(0); hRateSub85->SetStats(0); ci = TColor::GetColor("#cc6600"); hRateSub85->SetLineColor(ci); hRateSub85->SetLineWidth(2); hRateSub85->GetXaxis()->SetBinLabel(1,"SL1L1"); hRateSub85->GetXaxis()->SetBinLabel(2,"SL1L2"); hRateSub85->GetXaxis()->SetBinLabel(3,"SL1L3"); hRateSub85->GetXaxis()->SetBinLabel(4,"SL1L4"); hRateSub85->GetXaxis()->SetBinLabel(5,"SL2L1"); hRateSub85->GetXaxis()->SetBinLabel(6,"SL2L2"); hRateSub85->GetXaxis()->SetBinLabel(7,"SL2L3"); hRateSub85->GetXaxis()->SetBinLabel(8,"SL2L4"); hRateSub85->GetXaxis()->SetBinLabel(9,"SL3L1"); hRateSub85->GetXaxis()->SetBinLabel(10,"SL3L2"); hRateSub85->GetXaxis()->SetBinLabel(11,"SL3L3"); hRateSub85->GetXaxis()->SetBinLabel(12,"SL3L4"); hRateSub85->GetXaxis()->SetLabelFont(42); hRateSub85->GetXaxis()->SetLabelSize(0.035); hRateSub85->GetXaxis()->SetTitleSize(0.035); hRateSub85->GetXaxis()->SetTitleFont(42); hRateSub85->GetYaxis()->SetTitle("Mean Hz/Cell"); hRateSub85->GetYaxis()->SetLabelFont(42); hRateSub85->GetYaxis()->SetLabelSize(0.035); hRateSub85->GetYaxis()->SetTitleSize(0.035); hRateSub85->GetYaxis()->SetTitleOffset(1.3); hRateSub85->GetYaxis()->SetTitleFont(42); hRateSub85->GetZaxis()->SetLabelFont(42); hRateSub85->GetZaxis()->SetLabelSize(0.035); hRateSub85->GetZaxis()->SetTitleSize(0.035); hRateSub85->GetZaxis()->SetTitleFont(42); hRateSub85->Draw("hist, same"); TLegend *leg = new TLegend(0.7,0.92,0.9,0.97,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("hRateSub","Occupancy","l"); ci = TColor::GetColor("#330066"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("hRateSub","Background","l"); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); pt = new TPaveText(0.91,0.45,1,0.55,"brNDC"); pt->SetFillColor(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.07); AText = pt->AddText("Run 6134"); pt->Draw(); pt = new TPaveText(0.3113755,0.9328238,0.6886245,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Average rate per layer for run 6134 (no noisy cells)"); pt->Draw(); c_6->Modified(); c->cd(); c->Modified(); c->cd(); c->SetSelected(c); }