void RatesPerCell_Removing_noisy_cells_run_6879_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:09 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13478.58,67.5,121307.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6879",60,0,60); h_SL3L168->SetBinContent(1,9812.537); h_SL3L168->SetBinContent(2,6696.862); h_SL3L168->SetBinContent(4,11637.84); h_SL3L168->SetBinContent(5,11356.08); h_SL3L168->SetBinContent(6,12115.6); h_SL3L168->SetBinContent(7,12025.77); h_SL3L168->SetBinContent(8,12111.52); h_SL3L168->SetBinContent(9,11433.67); h_SL3L168->SetBinContent(10,10751.73); h_SL3L168->SetBinContent(11,10163.71); h_SL3L168->SetBinContent(12,10396.47); h_SL3L168->SetBinContent(13,10437.3); h_SL3L168->SetBinContent(14,11323.41); h_SL3L168->SetBinContent(15,11580.67); h_SL3L168->SetBinContent(16,11490.84); h_SL3L168->SetBinContent(17,11935.93); h_SL3L168->SetBinContent(18,11490.84); h_SL3L168->SetBinContent(19,12148.27); h_SL3L168->SetBinContent(20,12193.19); h_SL3L168->SetBinContent(21,12642.37); h_SL3L168->SetBinContent(22,13075.22); h_SL3L168->SetBinContent(23,13842.9); h_SL3L168->SetBinContent(24,14010.33); h_SL3L168->SetBinContent(25,13442.73); h_SL3L168->SetBinContent(26,14173.66); h_SL3L168->SetBinContent(27,13814.32); h_SL3L168->SetBinContent(28,13573.4); h_SL3L168->SetBinContent(29,14234.92); h_SL3L168->SetBinContent(30,14226.75); h_SL3L168->SetBinContent(31,14773.93); h_SL3L168->SetBinContent(32,15415.03); h_SL3L168->SetBinContent(33,19686.33); h_SL3L168->SetBinContent(34,48503.25); h_SL3L168->SetBinContent(35,68050.74); h_SL3L168->SetBinContent(36,72750.8); h_SL3L168->SetBinContent(37,77736.69); h_SL3L168->SetBinContent(38,81534.3); h_SL3L168->SetBinContent(39,73199.98); h_SL3L168->SetBinContent(40,49728.29); h_SL3L168->SetBinContent(41,18730.8); h_SL3L168->SetBinContent(42,13879.66); h_SL3L168->SetBinContent(43,12703.62); h_SL3L168->SetBinContent(44,12332.03); h_SL3L168->SetBinContent(45,11764.43); h_SL3L168->SetBinContent(46,11752.18); h_SL3L168->SetBinContent(47,11597.01); h_SL3L168->SetBinContent(48,11413.25); h_SL3L168->SetBinContent(49,11241.75); h_SL3L168->SetBinContent(50,10302.55); h_SL3L168->SetBinContent(51,10531.22); h_SL3L168->SetBinContent(52,10282.13); h_SL3L168->SetBinContent(53,10028.96); h_SL3L168->SetBinContent(54,9763.535); h_SL3L168->SetBinContent(55,9918.707); h_SL3L168->SetBinContent(56,9632.865); h_SL3L168->SetBinContent(57,9534.862); h_SL3L168->SetBinContent(58,7852.479); h_SL3L168->SetBinContent(59,6488.606); h_SL3L168->SetMaximum(107828.6); 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,9269.438); h_SL3L269->SetBinContent(2,6766.281); h_SL3L269->SetBinContent(4,9514.444); h_SL3L269->SetBinContent(5,10931.4); h_SL3L269->SetBinContent(6,11588.84); h_SL3L269->SetBinContent(7,11392.83); h_SL3L269->SetBinContent(8,11376.5); h_SL3L269->SetBinContent(9,11380.58); h_SL3L269->SetBinContent(10,10661.89); h_SL3L269->SetBinContent(11,9967.708); h_SL3L269->SetBinContent(12,9579.78); h_SL3L269->SetBinContent(13,10412.8); h_SL3L269->SetBinContent(14,10804.82); h_SL3L269->SetBinContent(15,11057.99); h_SL3L269->SetBinContent(16,11029.41); h_SL3L269->SetBinContent(17,10784.4); h_SL3L269->SetBinContent(18,10825.23); h_SL3L269->SetBinContent(19,11417.33); h_SL3L269->SetBinContent(20,11723.59); h_SL3L269->SetBinContent(21,11801.18); h_SL3L269->SetBinContent(22,12291.19); h_SL3L269->SetBinContent(23,12540.28); h_SL3L269->SetBinContent(24,13148.72); h_SL3L269->SetBinContent(25,13181.39); h_SL3L269->SetBinContent(26,13148.72); h_SL3L269->SetBinContent(27,13401.89); h_SL3L269->SetBinContent(28,13026.21); h_SL3L269->SetBinContent(29,12809.79); h_SL3L269->SetBinContent(30,13810.24); h_SL3L269->SetBinContent(31,13924.57); h_SL3L269->SetBinContent(32,14447.26); h_SL3L269->SetBinContent(33,17211.75); h_SL3L269->SetBinContent(34,29115.02); h_SL3L269->SetBinContent(35,61170.12); h_SL3L269->SetBinContent(36,69071.6); h_SL3L269->SetBinContent(37,73702.23); h_SL3L269->SetBinContent(38,78488.05); h_SL3L269->SetBinContent(39,78312.45); h_SL3L269->SetBinContent(40,64408.3); h_SL3L269->SetBinContent(41,28678.09); h_SL3L269->SetBinContent(42,16252.14); h_SL3L269->SetBinContent(43,12793.46); h_SL3L269->SetBinContent(44,12479.03); h_SL3L269->SetBinContent(45,11490.84); h_SL3L269->SetBinContent(46,11315.25); h_SL3L269->SetBinContent(47,10919.15); h_SL3L269->SetBinContent(48,11098.82); h_SL3L269->SetBinContent(49,13993.99); h_SL3L269->SetBinContent(50,10653.73); h_SL3L269->SetBinContent(51,9963.625); h_SL3L269->SetBinContent(52,10731.31); h_SL3L269->SetBinContent(53,14533.01); h_SL3L269->SetBinContent(54,9432.775); h_SL3L269->SetBinContent(55,9383.774); h_SL3L269->SetBinContent(56,9804.37); h_SL3L269->SetBinContent(57,9040.765); h_SL3L269->SetBinContent(58,8452.747); h_SL3L269->SetBinContent(59,7060.29); h_SL3L269->SetMaximum(93764.44); 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,8007.651); h_SL3L370->SetBinContent(2,6141.513); h_SL3L370->SetBinContent(3,7787.145); h_SL3L370->SetBinContent(4,10359.72); h_SL3L370->SetBinContent(5,10706.81); h_SL3L370->SetBinContent(6,11380.58); h_SL3L370->SetBinContent(7,10861.98); h_SL3L370->SetBinContent(8,10625.14); h_SL3L370->SetBinContent(9,10298.47); h_SL3L370->SetBinContent(10,9587.947); h_SL3L370->SetBinContent(11,9816.62); h_SL3L370->SetBinContent(12,9849.288); h_SL3L370->SetBinContent(13,9865.622); h_SL3L370->SetBinContent(14,9914.623); h_SL3L370->SetBinContent(15,10551.64); h_SL3L370->SetBinContent(16,10584.31); h_SL3L370->SetBinContent(17,10094.29); h_SL3L370->SetBinContent(18,10951.82); h_SL3L370->SetBinContent(19,10812.98); h_SL3L370->SetBinContent(20,11070.24); h_SL3L370->SetBinContent(21,11429.58); h_SL3L370->SetBinContent(22,12025.77); h_SL3L370->SetBinContent(23,12630.12); h_SL3L370->SetBinContent(24,12332.03); h_SL3L370->SetBinContent(25,12344.28); h_SL3L370->SetBinContent(26,12777.12); h_SL3L370->SetBinContent(27,12270.78); h_SL3L370->SetBinContent(28,11552.09); h_SL3L370->SetBinContent(29,12617.87); h_SL3L370->SetBinContent(30,13111.97); h_SL3L370->SetBinContent(31,13177.3); h_SL3L370->SetBinContent(32,14565.68); h_SL3L370->SetBinContent(33,18379.62); h_SL3L370->SetBinContent(34,46437.02); h_SL3L370->SetBinContent(35,66572.53); h_SL3L370->SetBinContent(36,71178.66); h_SL3L370->SetBinContent(37,76037.98); h_SL3L370->SetBinContent(38,79161.81); h_SL3L370->SetBinContent(39,71889.19); h_SL3L370->SetBinContent(40,48503.25); h_SL3L370->SetBinContent(41,17775.27); h_SL3L370->SetBinContent(42,13111.97); h_SL3L370->SetBinContent(43,12160.52); h_SL3L370->SetBinContent(44,11507.17); h_SL3L370->SetBinContent(45,922.8603); h_SL3L370->SetBinContent(46,10506.72); h_SL3L370->SetBinContent(47,10445.47); h_SL3L370->SetBinContent(48,10245.38); h_SL3L370->SetBinContent(49,10588.39); h_SL3L370->SetBinContent(50,10094.29); h_SL3L370->SetBinContent(51,9869.705); h_SL3L370->SetBinContent(52,9587.947); h_SL3L370->SetBinContent(53,9155.101); h_SL3L370->SetBinContent(54,9077.516); h_SL3L370->SetBinContent(55,8955.012); h_SL3L370->SetBinContent(56,8889.677); h_SL3L370->SetBinContent(57,8464.997); h_SL3L370->SetBinContent(58,7354.298); h_SL3L370->SetBinContent(59,6321.185); h_SL3L370->SetMaximum(93764.44); 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,6321.185); h_SL3L471->SetBinContent(3,6941.87); h_SL3L471->SetBinContent(4,8693.671); h_SL3L471->SetBinContent(5,9955.458); h_SL3L471->SetBinContent(6,10437.3); h_SL3L471->SetBinContent(7,11037.57); h_SL3L471->SetBinContent(8,10445.47); h_SL3L471->SetBinContent(9,10151.46); h_SL3L471->SetBinContent(10,9673.699); h_SL3L471->SetBinContent(11,9012.18); h_SL3L471->SetBinContent(12,9106.1); h_SL3L471->SetBinContent(13,8938.678); h_SL3L471->SetBinContent(14,9538.945); h_SL3L471->SetBinContent(15,10204.55); h_SL3L471->SetBinContent(16,10384.22); h_SL3L471->SetBinContent(17,9632.865); h_SL3L471->SetBinContent(18,9694.117); h_SL3L471->SetBinContent(19,9963.625); h_SL3L471->SetBinContent(20,10637.39); h_SL3L471->SetBinContent(21,10951.82); h_SL3L471->SetBinContent(22,11204.99); h_SL3L471->SetBinContent(23,11523.5); h_SL3L471->SetBinContent(24,11690.92); h_SL3L471->SetBinContent(25,12058.44); h_SL3L471->SetBinContent(26,12005.35); h_SL3L471->SetBinContent(27,12234.02); h_SL3L471->SetBinContent(28,11523.5); h_SL3L471->SetBinContent(29,11903.26); h_SL3L471->SetBinContent(30,12507.62); h_SL3L471->SetBinContent(31,13307.97); h_SL3L471->SetBinContent(32,13271.22); h_SL3L471->SetBinContent(33,16031.64); h_SL3L471->SetBinContent(34,27624.56); h_SL3L471->SetBinContent(35,60496.35); h_SL3L471->SetBinContent(36,68022.16); h_SL3L471->SetBinContent(37,72856.96); h_SL3L471->SetBinContent(38,77650.94); h_SL3L471->SetBinContent(39,77871.45); h_SL3L471->SetBinContent(40,63093.43); h_SL3L471->SetBinContent(41,27898.15); h_SL3L471->SetBinContent(42,15721.29); h_SL3L471->SetBinContent(43,11886.93); h_SL3L471->SetBinContent(44,11029.41); h_SL3L471->SetBinContent(45,10735.4); h_SL3L471->SetBinContent(46,10453.64); h_SL3L471->SetBinContent(47,9837.037); h_SL3L471->SetBinContent(48,9947.291); h_SL3L471->SetBinContent(49,9632.865); h_SL3L471->SetBinContent(50,10037.13); h_SL3L471->SetBinContent(51,9179.602); h_SL3L471->SetBinContent(52,9151.018); h_SL3L471->SetBinContent(53,8906.011); h_SL3L471->SetBinContent(54,8236.324); h_SL3L471->SetBinContent(55,8571.167); h_SL3L471->SetBinContent(56,8403.746); h_SL3L471->SetBinContent(57,8714.088); h_SL3L471->SetBinContent(58,8158.738); h_SL3L471->SetBinContent(59,6431.438); h_SL3L471->SetMaximum(93764.44); 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 6879"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }