void RatesPerCell_Removing_noisy_cells_run_6654_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:57:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16325.11,67.5,146926); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6654",60,0,60); h_SL1L160->SetBinContent(1,31655.32); h_SL1L160->SetBinContent(2,30820.81); h_SL1L160->SetBinContent(3,30551.96); h_SL1L160->SetBinContent(4,28880.8); h_SL1L160->SetBinContent(5,27426.87); h_SL1L160->SetBinContent(6,28844.23); h_SL1L160->SetBinContent(7,27248.35); h_SL1L160->SetBinContent(8,27213.94); h_SL1L160->SetBinContent(9,25119.07); h_SL1L160->SetBinContent(10,23239.28); h_SL1L160->SetBinContent(11,22449.94); h_SL1L160->SetBinContent(12,22563.93); h_SL1L160->SetBinContent(13,23819.99); h_SL1L160->SetBinContent(14,23280.14); h_SL1L160->SetBinContent(15,22839.23); h_SL1L160->SetBinContent(16,22103.66); h_SL1L160->SetBinContent(17,22882.25); h_SL1L160->SetBinContent(18,23643.63); h_SL1L160->SetBinContent(19,25108.31); h_SL1L160->SetBinContent(20,24009.26); h_SL1L160->SetBinContent(21,25682.57); h_SL1L160->SetBinContent(22,25557.83); h_SL1L160->SetBinContent(23,24736.23); h_SL1L160->SetBinContent(24,23348.97); h_SL1L160->SetBinContent(25,23632.87); h_SL1L160->SetBinContent(26,23766.22); h_SL1L160->SetBinContent(27,23215.62); h_SL1L160->SetBinContent(28,23295.2); h_SL1L160->SetBinContent(29,22908.06); h_SL1L160->SetBinContent(30,22695.13); h_SL1L160->SetBinContent(31,22353.15); h_SL1L160->SetBinContent(32,22082.15); h_SL1L160->SetBinContent(33,34502.96); h_SL1L160->SetBinContent(34,42738.33); h_SL1L160->SetBinContent(35,44119.14); h_SL1L160->SetBinContent(36,43923.42); h_SL1L160->SetBinContent(37,47521.69); h_SL1L160->SetBinContent(38,47310.91); h_SL1L160->SetBinContent(39,36163.37); h_SL1L160->SetBinContent(40,21643.39); h_SL1L160->SetBinContent(41,20129.24); h_SL1L160->SetBinContent(42,19580.79); h_SL1L160->SetBinContent(43,19376.46); h_SL1L160->SetBinContent(44,19060.29); h_SL1L160->SetBinContent(45,18227.94); h_SL1L160->SetBinContent(46,17062.21); h_SL1L160->SetBinContent(47,17040.7); h_SL1L160->SetBinContent(48,15748.08); h_SL1L160->SetBinContent(49,15778.19); h_SL1L160->SetBinContent(50,16668.62); h_SL1L160->SetBinContent(51,15795.4); h_SL1L160->SetBinContent(52,15339.43); h_SL1L160->SetBinContent(53,16141.67); h_SL1L160->SetBinContent(54,15657.75); h_SL1L160->SetBinContent(55,16468.59); h_SL1L160->SetBinContent(56,17378.38); h_SL1L160->SetBinContent(57,19346.35); h_SL1L160->SetBinContent(58,20658.33); h_SL1L160->SetBinContent(59,21987.52); h_SL1L160->SetMaximum(130600.9); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,36619.34); h_SL1L261->SetBinContent(2,34502.96); h_SL1L261->SetBinContent(3,34825.58); h_SL1L261->SetBinContent(4,34746); h_SL1L261->SetBinContent(5,34638.46); h_SL1L261->SetBinContent(6,37520.52); h_SL1L261->SetBinContent(7,36673.11); h_SL1L261->SetBinContent(8,36335.43); h_SL1L261->SetBinContent(9,34500.81); h_SL1L261->SetBinContent(10,31358.51); h_SL1L261->SetBinContent(11,29917.48); h_SL1L261->SetBinContent(12,30962.76); h_SL1L261->SetBinContent(13,32251.09); h_SL1L261->SetBinContent(14,34281.43); h_SL1L261->SetBinContent(15,34528.77); h_SL1L261->SetBinContent(16,34442.74); h_SL1L261->SetBinContent(17,33511.45); h_SL1L261->SetBinContent(18,34210.45); h_SL1L261->SetBinContent(19,36819.36); h_SL1L261->SetBinContent(20,35969.8); h_SL1L261->SetBinContent(21,38124.89); h_SL1L261->SetBinContent(22,39062.63); h_SL1L261->SetBinContent(23,39507.85); h_SL1L261->SetBinContent(24,39058.33); h_SL1L261->SetBinContent(25,40019.73); h_SL1L261->SetBinContent(26,38191.57); h_SL1L261->SetBinContent(27,37232.31); h_SL1L261->SetBinContent(28,37393.62); h_SL1L261->SetBinContent(29,39634.75); h_SL1L261->SetBinContent(30,39073.39); h_SL1L261->SetBinContent(31,39510); h_SL1L261->SetBinContent(32,40168.14); h_SL1L261->SetBinContent(33,50777.98); h_SL1L261->SetBinContent(34,80286.81); h_SL1L261->SetBinContent(35,88178.05); h_SL1L261->SetBinContent(36,93374.37); h_SL1L261->SetBinContent(37,98753.49); h_SL1L261->SetBinContent(38,96443.54); h_SL1L261->SetBinContent(39,84498.05); h_SL1L261->SetBinContent(40,48304.57); h_SL1L261->SetBinContent(41,36662.36); h_SL1L261->SetBinContent(42,33240.45); h_SL1L261->SetBinContent(43,32313.46); h_SL1L261->SetBinContent(44,31749.95); h_SL1L261->SetBinContent(45,31470.35); h_SL1L261->SetBinContent(46,31244.52); h_SL1L261->SetBinContent(47,31539.17); h_SL1L261->SetBinContent(48,31726.29); h_SL1L261->SetBinContent(49,29627.12); h_SL1L261->SetBinContent(50,29777.68); h_SL1L261->SetBinContent(51,28670.02); h_SL1L261->SetBinContent(52,26914.98); h_SL1L261->SetBinContent(53,27753.79); h_SL1L261->SetBinContent(54,28654.96); h_SL1L261->SetBinContent(55,28652.81); h_SL1L261->SetBinContent(56,29070.07); h_SL1L261->SetBinContent(57,28033.39); h_SL1L261->SetBinContent(58,27076.29); h_SL1L261->SetBinContent(59,25861.09); h_SL1L261->SetMaximum(113566.5); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,33730.83); h_SL1L362->SetBinContent(2,33238.3); h_SL1L362->SetBinContent(3,33616.84); h_SL1L362->SetBinContent(4,33588.88); h_SL1L362->SetBinContent(5,35397.69); h_SL1L362->SetBinContent(6,36208.54); h_SL1L362->SetBinContent(7,35440.71); h_SL1L362->SetBinContent(8,34715.89); h_SL1L362->SetBinContent(9,32137.09); h_SL1L362->SetBinContent(10,28730.24); h_SL1L362->SetBinContent(11,29074.37); h_SL1L362->SetBinContent(12,30726.18); h_SL1L362->SetBinContent(13,32485.52); h_SL1L362->SetBinContent(14,33505); h_SL1L362->SetBinContent(15,32947.94); h_SL1L362->SetBinContent(16,31810.17); h_SL1L362->SetBinContent(17,33156.57); h_SL1L362->SetBinContent(18,34363.16); h_SL1L362->SetBinContent(19,35354.68); h_SL1L362->SetBinContent(20,35602.02); h_SL1L362->SetBinContent(21,37021.54); h_SL1L362->SetBinContent(22,37679.68); h_SL1L362->SetBinContent(23,37920.57); h_SL1L362->SetBinContent(24,37797.97); h_SL1L362->SetBinContent(25,38380.84); h_SL1L362->SetBinContent(26,36294.57); h_SL1L362->SetBinContent(27,36006.36); h_SL1L362->SetBinContent(28,37167.79); h_SL1L362->SetBinContent(29,37606.55); h_SL1L362->SetBinContent(30,37651.72); h_SL1L362->SetBinContent(31,38869.06); h_SL1L362->SetBinContent(32,40501.51); h_SL1L362->SetBinContent(33,67046.55); h_SL1L362->SetBinContent(34,84844.34); h_SL1L362->SetBinContent(35,89900.84); h_SL1L362->SetBinContent(36,95593.98); h_SL1L362->SetBinContent(37,98364.2); h_SL1L362->SetBinContent(38,90619.2); h_SL1L362->SetBinContent(39,67898.27); h_SL1L362->SetBinContent(40,38051.76); h_SL1L362->SetBinContent(41,33175.93); h_SL1L362->SetBinContent(42,32100.53); h_SL1L362->SetBinContent(43,31362.81); h_SL1L362->SetBinContent(44,30485.29); h_SL1L362->SetBinContent(45,29736.81); h_SL1L362->SetBinContent(46,29934.69); h_SL1L362->SetBinContent(47,31255.27); h_SL1L362->SetBinContent(48,29429.25); h_SL1L362->SetBinContent(49,28627.01); h_SL1L362->SetBinContent(50,28779.71); h_SL1L362->SetBinContent(51,26854.75); h_SL1L362->SetBinContent(52,26394.49); h_SL1L362->SetBinContent(53,27936.6); h_SL1L362->SetBinContent(54,26667.64); h_SL1L362->SetBinContent(55,27921.55); h_SL1L362->SetBinContent(56,27261.25); h_SL1L362->SetBinContent(57,26631.07); h_SL1L362->SetBinContent(58,26110.58); h_SL1L362->SetBinContent(59,25856.79); h_SL1L362->SetMaximum(113566.5); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,3806.897); h_SL1L463->SetBinContent(3,3157.359); h_SL1L463->SetBinContent(4,2912.169); h_SL1L463->SetBinContent(5,2785.272); h_SL1L463->SetBinContent(6,3011.105); h_SL1L463->SetBinContent(7,3206.827); h_SL1L463->SetBinContent(8,3282.104); h_SL1L463->SetBinContent(9,3219.731); h_SL1L463->SetBinContent(10,3256.295); h_SL1L463->SetBinContent(11,3512.239); h_SL1L463->SetBinContent(12,3677.85); h_SL1L463->SetBinContent(13,3619.778); h_SL1L463->SetBinContent(14,3791.842); h_SL1L463->SetBinContent(15,3609.024); h_SL1L463->SetBinContent(16,3329.422); h_SL1L463->SetBinContent(17,2955.184); h_SL1L463->SetBinContent(18,2544.384); h_SL1L463->SetBinContent(19,2744.407); h_SL1L463->SetBinContent(20,2632.566); h_SL1L463->SetBinContent(21,2447.598); h_SL1L463->SetBinContent(22,2671.28); h_SL1L463->SetBinContent(23,2404.582); h_SL1L463->SetBinContent(24,2600.304); h_SL1L463->SetBinContent(25,2185.202); h_SL1L463->SetBinContent(26,2441.146); h_SL1L463->SetBinContent(27,2535.781); h_SL1L463->SetBinContent(28,2387.376); h_SL1L463->SetBinContent(29,2217.464); h_SL1L463->SetBinContent(30,2256.178); h_SL1L463->SetBinContent(31,2503.519); h_SL1L463->SetBinContent(32,2167.996); h_SL1L463->SetBinContent(33,2204.559); h_SL1L463->SetBinContent(34,3185.319); h_SL1L463->SetBinContent(35,4034.881); h_SL1L463->SetBinContent(36,3804.746); h_SL1L463->SetBinContent(37,3062.724); h_SL1L463->SetBinContent(38,3449.866); h_SL1L463->SetBinContent(39,3656.342); h_SL1L463->SetBinContent(40,2206.71); h_SL1L463->SetBinContent(41,2069.059); h_SL1L463->SetBinContent(42,2219.615); h_SL1L463->SetBinContent(43,2297.043); h_SL1L463->SetBinContent(44,2404.582); h_SL1L463->SetBinContent(45,2069.059); h_SL1L463->SetBinContent(46,2221.765); h_SL1L463->SetBinContent(47,1866.885); h_SL1L463->SetBinContent(48,1851.83); h_SL1L463->SetBinContent(49,1641.052); h_SL1L463->SetBinContent(50,1783.004); h_SL1L463->SetBinContent(51,1512.005); h_SL1L463->SetBinContent(52,1544.267); h_SL1L463->SetBinContent(53,1378.656); h_SL1L463->SetBinContent(54,1550.719); h_SL1L463->SetBinContent(56,1436.727); h_SL1L463->SetBinContent(57,1441.029); h_SL1L463->SetBinContent(58,2129.281); h_SL1L463->SetBinContent(59,2428.241); h_SL1L463->SetMaximum(113566.5); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6654"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }