void RatesPerCell_Removing_noisy_cells_run_7359_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:45:16 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6809.582,67.5,61286.23); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7359",60,0,60); h_SL3L168->SetBinContent(1,14362.65); h_SL3L168->SetBinContent(2,13705.4); h_SL3L168->SetBinContent(4,20789.86); h_SL3L168->SetBinContent(5,22201.22); h_SL3L168->SetBinContent(6,23667.93); h_SL3L168->SetBinContent(7,23128.29); h_SL3L168->SetBinContent(8,22830.8); h_SL3L168->SetBinContent(9,22706.27); h_SL3L168->SetBinContent(10,22422.61); h_SL3L168->SetBinContent(11,23225.15); h_SL3L168->SetBinContent(12,21972.91); h_SL3L168->SetBinContent(13,22471.04); h_SL3L168->SetBinContent(14,22332.67); h_SL3L168->SetBinContent(15,22367.26); h_SL3L168->SetBinContent(16,22464.12); h_SL3L168->SetBinContent(17,22097.45); h_SL3L168->SetBinContent(18,22471.04); h_SL3L168->SetBinContent(19,23287.41); h_SL3L168->SetBinContent(20,23764.79); h_SL3L168->SetBinContent(21,22768.53); h_SL3L168->SetBinContent(22,23370.44); h_SL3L168->SetBinContent(23,23833.97); h_SL3L168->SetBinContent(24,23411.95); h_SL3L168->SetBinContent(25,23052.19); h_SL3L168->SetBinContent(26,22678.59); h_SL3L168->SetBinContent(27,22159.71); h_SL3L168->SetBinContent(28,22263.49); h_SL3L168->SetBinContent(29,21613.16); h_SL3L168->SetBinContent(30,22989.92); h_SL3L168->SetBinContent(31,22249.65); h_SL3L168->SetBinContent(32,22215.06); h_SL3L168->SetBinContent(33,22152.79); h_SL3L168->SetBinContent(34,24221.4); h_SL3L168->SetBinContent(35,23730.19); h_SL3L168->SetBinContent(36,24269.83); h_SL3L168->SetBinContent(37,23488.05); h_SL3L168->SetBinContent(38,25328.35); h_SL3L168->SetBinContent(39,24885.57); h_SL3L168->SetBinContent(40,25231.49); h_SL3L168->SetBinContent(41,25660.43); h_SL3L168->SetBinContent(42,26462.97); h_SL3L168->SetBinContent(43,26303.85); h_SL3L168->SetBinContent(44,26601.34); h_SL3L168->SetBinContent(45,23889.32); h_SL3L168->SetBinContent(46,28773.72); h_SL3L168->SetBinContent(47,29541.67); h_SL3L168->SetBinContent(48,30655.54); h_SL3L168->SetBinContent(49,30157.41); h_SL3L168->SetBinContent(50,28171.82); h_SL3L168->SetBinContent(51,29569.34); h_SL3L168->SetBinContent(52,34965.71); h_SL3L168->SetBinContent(53,35138.67); h_SL3L168->SetBinContent(54,38155.11); h_SL3L168->SetBinContent(55,38819.27); h_SL3L168->SetBinContent(56,39421.18); h_SL3L168->SetBinContent(57,40528.12); h_SL3L168->SetBinContent(58,40452.02); h_SL3L168->SetBinContent(59,40694.17); h_SL3L168->SetMaximum(54476.65); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,11823.59); h_SL3L269->SetBinContent(2,14300.38); h_SL3L269->SetBinContent(4,17192.28); h_SL3L269->SetBinContent(5,19122.52); h_SL3L269->SetBinContent(6,22049.02); h_SL3L269->SetBinContent(7,22298.08); h_SL3L269->SetBinContent(8,21564.73); h_SL3L269->SetBinContent(9,21371.01); h_SL3L269->SetBinContent(10,21696.18); h_SL3L269->SetBinContent(11,21260.32); h_SL3L269->SetBinContent(12,21294.91); h_SL3L269->SetBinContent(13,20561.55); h_SL3L269->SetBinContent(14,20091.1); h_SL3L269->SetBinContent(15,21626.99); h_SL3L269->SetBinContent(16,21474.79); h_SL3L269->SetBinContent(17,20194.88); h_SL3L269->SetBinContent(18,21025.09); h_SL3L269->SetBinContent(19,21599.32); h_SL3L269->SetBinContent(20,22263.49); h_SL3L269->SetBinContent(21,21806.87); h_SL3L269->SetBinContent(22,22159.71); h_SL3L269->SetBinContent(23,22049.02); h_SL3L269->SetBinContent(24,22422.61); h_SL3L269->SetBinContent(25,21156.54); h_SL3L269->SetBinContent(26,22104.36); h_SL3L269->SetBinContent(27,21557.81); h_SL3L269->SetBinContent(28,21820.71); h_SL3L269->SetBinContent(29,20603.07); h_SL3L269->SetBinContent(30,21876.05); h_SL3L269->SetBinContent(31,22471.04); h_SL3L269->SetBinContent(32,21744.61); h_SL3L269->SetBinContent(33,21703.1); h_SL3L269->SetBinContent(34,22540.22); h_SL3L269->SetBinContent(35,22699.35); h_SL3L269->SetBinContent(36,23079.86); h_SL3L269->SetBinContent(37,21876.05); h_SL3L269->SetBinContent(38,23993.09); h_SL3L269->SetBinContent(39,24601.91); h_SL3L269->SetBinContent(40,24304.42); h_SL3L269->SetBinContent(41,24096.87); h_SL3L269->SetBinContent(42,24823.3); h_SL3L269->SetBinContent(43,25079.29); h_SL3L269->SetBinContent(44,26068.62); h_SL3L269->SetBinContent(45,24283.67); h_SL3L269->SetBinContent(46,25397.53); h_SL3L269->SetBinContent(47,28877.5); h_SL3L269->SetBinContent(48,29057.38); h_SL3L269->SetBinContent(49,29244.18); h_SL3L269->SetBinContent(50,30157.41); h_SL3L269->SetBinContent(51,25196.9); h_SL3L269->SetBinContent(52,33319.13); h_SL3L269->SetBinContent(53,33464.41); h_SL3L269->SetBinContent(54,36667.64); h_SL3L269->SetBinContent(55,37387.16); h_SL3L269->SetBinContent(56,38881.54); h_SL3L269->SetBinContent(57,39386.59); h_SL3L269->SetBinContent(58,41192.29); h_SL3L269->SetBinContent(59,40659.57); h_SL3L269->SetMaximum(47371.14); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,12522.35); h_SL3L370->SetBinContent(2,12688.39); h_SL3L370->SetBinContent(3,13124.25); h_SL3L370->SetBinContent(4,18243.88); h_SL3L370->SetBinContent(5,20333.25); h_SL3L370->SetBinContent(6,20817.54); h_SL3L370->SetBinContent(7,20810.62); h_SL3L370->SetBinContent(8,20208.71); h_SL3L370->SetBinContent(9,20084.18); h_SL3L370->SetBinContent(10,20049.59); h_SL3L370->SetBinContent(11,20513.13); h_SL3L370->SetBinContent(12,20277.9); h_SL3L370->SetBinContent(13,20264.06); h_SL3L370->SetBinContent(14,20319.41); h_SL3L370->SetBinContent(15,20104.94); h_SL3L370->SetBinContent(16,19945.81); h_SL3L370->SetBinContent(17,20063.43); h_SL3L370->SetBinContent(18,20250.23); h_SL3L370->SetBinContent(19,20962.82); h_SL3L370->SetBinContent(20,20962.82); h_SL3L370->SetBinContent(21,21384.85); h_SL3L370->SetBinContent(22,20935.15); h_SL3L370->SetBinContent(23,21004.33); h_SL3L370->SetBinContent(24,20506.21); h_SL3L370->SetBinContent(25,21274.15); h_SL3L370->SetBinContent(26,20181.04); h_SL3L370->SetBinContent(27,19869.71); h_SL3L370->SetBinContent(28,20125.7); h_SL3L370->SetBinContent(29,20485.45); h_SL3L370->SetBinContent(30,21447.11); h_SL3L370->SetBinContent(31,21004.33); h_SL3L370->SetBinContent(32,20637.66); h_SL3L370->SetBinContent(33,21198.05); h_SL3L370->SetBinContent(34,21433.28); h_SL3L370->SetBinContent(35,22242.73); h_SL3L370->SetBinContent(36,21744.61); h_SL3L370->SetBinContent(37,21550.89); h_SL3L370->SetBinContent(38,23446.54); h_SL3L370->SetBinContent(39,22540.22); h_SL3L370->SetBinContent(40,22906.9); h_SL3L370->SetBinContent(41,24290.59); h_SL3L370->SetBinContent(42,24567.32); h_SL3L370->SetBinContent(43,25452.88); h_SL3L370->SetBinContent(44,24823.3); h_SL3L370->SetBinContent(45,13096.58); h_SL3L370->SetBinContent(46,27120.22); h_SL3L370->SetBinContent(47,28649.19); h_SL3L370->SetBinContent(48,28704.54); h_SL3L370->SetBinContent(49,29721.55); h_SL3L370->SetBinContent(50,26815.81); h_SL3L370->SetBinContent(51,28939.77); h_SL3L370->SetBinContent(52,32931.7); h_SL3L370->SetBinContent(53,34778.91); h_SL3L370->SetBinContent(54,35733.66); h_SL3L370->SetBinContent(55,36972.05); h_SL3L370->SetBinContent(56,38521.78); h_SL3L370->SetBinContent(57,39462.69); h_SL3L370->SetBinContent(58,39960.82); h_SL3L370->SetBinContent(59,40002.32); h_SL3L370->SetMaximum(47371.14); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,12999.72); h_SL3L471->SetBinContent(3,10564.43); h_SL3L471->SetBinContent(4,15767.09); h_SL3L471->SetBinContent(5,17579.71); h_SL3L471->SetBinContent(6,19855.88); h_SL3L471->SetBinContent(7,20042.67); h_SL3L471->SetBinContent(8,19226.3); h_SL3L471->SetBinContent(9,19426.93); h_SL3L471->SetBinContent(10,19385.42); h_SL3L471->SetBinContent(11,19240.14); h_SL3L471->SetBinContent(12,18901.13); h_SL3L471->SetBinContent(13,19115.61); h_SL3L471->SetBinContent(14,18652.07); h_SL3L471->SetBinContent(15,18908.05); h_SL3L471->SetBinContent(16,19385.42); h_SL3L471->SetBinContent(17,18728.17); h_SL3L471->SetBinContent(18,18735.09); h_SL3L471->SetBinContent(19,19288.56); h_SL3L471->SetBinContent(20,20104.94); h_SL3L471->SetBinContent(21,20257.14); h_SL3L471->SetBinContent(22,19772.86); h_SL3L471->SetBinContent(23,20229.47); h_SL3L471->SetBinContent(24,20021.92); h_SL3L471->SetBinContent(25,20098.02); h_SL3L471->SetBinContent(26,19579.14); h_SL3L471->SetBinContent(27,19025.67); h_SL3L471->SetBinContent(28,18804.28); h_SL3L471->SetBinContent(29,19745.18); h_SL3L471->SetBinContent(30,19648.32); h_SL3L471->SetBinContent(31,20443.94); h_SL3L471->SetBinContent(32,20236.39); h_SL3L471->SetBinContent(33,19918.14); h_SL3L471->SetBinContent(34,20437.02); h_SL3L471->SetBinContent(35,21018.17); h_SL3L471->SetBinContent(36,21377.93); h_SL3L471->SetBinContent(37,20430.11); h_SL3L471->SetBinContent(38,22422.61); h_SL3L471->SetBinContent(39,22554.06); h_SL3L471->SetBinContent(40,22547.14); h_SL3L471->SetBinContent(41,22436.45); h_SL3L471->SetBinContent(42,23910.07); h_SL3L471->SetBinContent(43,23861.64); h_SL3L471->SetBinContent(44,23709.44); h_SL3L471->SetBinContent(45,22408.77); h_SL3L471->SetBinContent(46,23757.87); h_SL3L471->SetBinContent(47,27383.12); h_SL3L471->SetBinContent(48,27390.04); h_SL3L471->SetBinContent(49,27964.27); h_SL3L471->SetBinContent(50,28573.09); h_SL3L471->SetBinContent(51,23854.72); h_SL3L471->SetBinContent(52,31637.95); h_SL3L471->SetBinContent(53,32938.61); h_SL3L471->SetBinContent(54,35346.23); h_SL3L471->SetBinContent(55,35422.33); h_SL3L471->SetBinContent(56,38072.09); h_SL3L471->SetBinContent(57,38120.52); h_SL3L471->SetBinContent(58,40417.43); h_SL3L471->SetBinContent(59,40659.57); h_SL3L471->SetMaximum(47371.14); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL3L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL3L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL3L3","Layer 3","l"); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL3L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 7359"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }