void RatesPerCell_Removing_noisy_cells_run_6749_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16289.75,67.5,146607.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6749",60,0,60); h_SL1L160->SetBinContent(1,35011.86); h_SL1L160->SetBinContent(2,34111.17); h_SL1L160->SetBinContent(3,34282.12); h_SL1L160->SetBinContent(4,32391.45); h_SL1L160->SetBinContent(5,30921.78); h_SL1L160->SetBinContent(6,32266.43); h_SL1L160->SetBinContent(7,30605.39); h_SL1L160->SetBinContent(8,30245.63); h_SL1L160->SetBinContent(9,27640.54); h_SL1L160->SetBinContent(10,25897.85); h_SL1L160->SetBinContent(11,26227); h_SL1L160->SetBinContent(12,25425.82); h_SL1L160->SetBinContent(13,27089.41); h_SL1L160->SetBinContent(14,25665.66); h_SL1L160->SetBinContent(15,26308.64); h_SL1L160->SetBinContent(16,24458.8); h_SL1L160->SetBinContent(17,25050.75); h_SL1L160->SetBinContent(18,26494.91); h_SL1L160->SetBinContent(19,27444.07); h_SL1L160->SetBinContent(20,27071.55); h_SL1L160->SetBinContent(21,28365.16); h_SL1L160->SetBinContent(22,28051.33); h_SL1L160->SetBinContent(23,27528.27); h_SL1L160->SetBinContent(24,25563.6); h_SL1L160->SetBinContent(25,26331.61); h_SL1L160->SetBinContent(26,25663.11); h_SL1L160->SetBinContent(27,25060.96); h_SL1L160->SetBinContent(28,25346.72); h_SL1L160->SetBinContent(29,24989.51); h_SL1L160->SetBinContent(30,24264.88); h_SL1L160->SetBinContent(31,23343.79); h_SL1L160->SetBinContent(32,23012.09); h_SL1L160->SetBinContent(33,34567.89); h_SL1L160->SetBinContent(34,42500.54); h_SL1L160->SetBinContent(35,45171.98); h_SL1L160->SetBinContent(36,44447.35); h_SL1L160->SetBinContent(37,48626.73); h_SL1L160->SetBinContent(38,48414.95); h_SL1L160->SetBinContent(39,36721.37); h_SL1L160->SetBinContent(40,22723.77); h_SL1L160->SetBinContent(41,21927.7); h_SL1L160->SetBinContent(42,21565.38); h_SL1L160->SetBinContent(43,21269.41); h_SL1L160->SetBinContent(44,20437.62); h_SL1L160->SetBinContent(45,19730.85); h_SL1L160->SetBinContent(46,19080.21); h_SL1L160->SetBinContent(47,18687.28); h_SL1L160->SetBinContent(48,17217.61); h_SL1L160->SetBinContent(49,17694.74); h_SL1L160->SetBinContent(50,18569.91); h_SL1L160->SetBinContent(51,18256.07); h_SL1L160->SetBinContent(52,17883.55); h_SL1L160->SetBinContent(53,17898.86); h_SL1L160->SetBinContent(54,17607.99); h_SL1L160->SetBinContent(55,17983.06); h_SL1L160->SetBinContent(56,19205.23); h_SL1L160->SetBinContent(57,21243.89); h_SL1L160->SetBinContent(58,22481.38); h_SL1L160->SetBinContent(59,23632.11); h_SL1L160->SetMaximum(130318); 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,39770.43); h_SL1L261->SetBinContent(2,37997.12); h_SL1L261->SetBinContent(3,37770.04); h_SL1L261->SetBinContent(4,38267.59); h_SL1L261->SetBinContent(5,37997.12); h_SL1L261->SetBinContent(6,40676.21); h_SL1L261->SetBinContent(7,39647.95); h_SL1L261->SetBinContent(8,39839.32); h_SL1L261->SetBinContent(9,38252.27); h_SL1L261->SetBinContent(10,33792.23); h_SL1L261->SetBinContent(11,33044.64); h_SL1L261->SetBinContent(12,33891.74); h_SL1L261->SetBinContent(13,34993.99); h_SL1L261->SetBinContent(14,36749.43); h_SL1L261->SetBinContent(15,37341.39); h_SL1L261->SetBinContent(16,36744.33); h_SL1L261->SetBinContent(17,35894.68); h_SL1L261->SetBinContent(18,36996.93); h_SL1L261->SetBinContent(19,38295.65); h_SL1L261->SetBinContent(20,38803.4); h_SL1L261->SetBinContent(21,40433.82); h_SL1L261->SetBinContent(22,41316.64); h_SL1L261->SetBinContent(23,41855.01); h_SL1L261->SetBinContent(24,41954.52); h_SL1L261->SetBinContent(25,42304.08); h_SL1L261->SetBinContent(26,40811.44); h_SL1L261->SetBinContent(27,39252.47); h_SL1L261->SetBinContent(28,38948.84); h_SL1L261->SetBinContent(29,40533.33); h_SL1L261->SetBinContent(30,40984.95); h_SL1L261->SetBinContent(31,40209.29); h_SL1L261->SetBinContent(32,40688.97); h_SL1L261->SetBinContent(33,50912.88); h_SL1L261->SetBinContent(34,83072.14); h_SL1L261->SetBinContent(35,91673.29); h_SL1L261->SetBinContent(36,96260.91); h_SL1L261->SetBinContent(37,98539.41); h_SL1L261->SetBinContent(38,96689.56); h_SL1L261->SetBinContent(39,85820.12); h_SL1L261->SetBinContent(40,49713.67); h_SL1L261->SetBinContent(41,38619.69); h_SL1L261->SetBinContent(42,35407.34); h_SL1L261->SetBinContent(43,34259.16); h_SL1L261->SetBinContent(44,33993.8); h_SL1L261->SetBinContent(45,33422.26); h_SL1L261->SetBinContent(46,33825.4); h_SL1L261->SetBinContent(47,33702.93); h_SL1L261->SetBinContent(48,32437.38); h_SL1L261->SetBinContent(49,30842.68); h_SL1L261->SetBinContent(50,31500.97); h_SL1L261->SetBinContent(51,29949.65); h_SL1L261->SetBinContent(52,28684.1); h_SL1L261->SetBinContent(53,30610.5); h_SL1L261->SetBinContent(54,29952.21); h_SL1L261->SetBinContent(55,29901.17); h_SL1L261->SetBinContent(56,30105.29); h_SL1L261->SetBinContent(57,29207.16); h_SL1L261->SetBinContent(58,28375.37); h_SL1L261->SetBinContent(59,27576.75); h_SL1L261->SetMaximum(113320.3); 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,37468.96); h_SL1L362->SetBinContent(2,36736.68); h_SL1L362->SetBinContent(3,37249.53); h_SL1L362->SetBinContent(4,36170.24); h_SL1L362->SetBinContent(5,37762.38); h_SL1L362->SetBinContent(6,39308.6); h_SL1L362->SetBinContent(7,38696.24); h_SL1L362->SetBinContent(8,37708.8); h_SL1L362->SetBinContent(9,34486.24); h_SL1L362->SetBinContent(10,31978.11); h_SL1L362->SetBinContent(11,31674.48); h_SL1L362->SetBinContent(12,33376.34); h_SL1L362->SetBinContent(13,35300.18); h_SL1L362->SetBinContent(14,36032.46); h_SL1L362->SetBinContent(15,36851.5); h_SL1L362->SetBinContent(16,34131.58); h_SL1L362->SetBinContent(17,34897.04); h_SL1L362->SetBinContent(18,36542.76); h_SL1L362->SetBinContent(19,37785.35); h_SL1L362->SetBinContent(20,37744.52); h_SL1L362->SetBinContent(21,39400.46); h_SL1L362->SetBinContent(22,39709.19); h_SL1L362->SetBinContent(23,41005.36); h_SL1L362->SetBinContent(24,40530.78); h_SL1L362->SetBinContent(25,40916.05); h_SL1L362->SetBinContent(26,38170.62); h_SL1L362->SetBinContent(27,38165.52); h_SL1L362->SetBinContent(28,38874.84); h_SL1L362->SetBinContent(29,39561.2); h_SL1L362->SetBinContent(30,39788.29); h_SL1L362->SetBinContent(31,38474.26); h_SL1L362->SetBinContent(32,40829.3); h_SL1L362->SetBinContent(33,68191.72); h_SL1L362->SetBinContent(34,87950.63); h_SL1L362->SetBinContent(35,91826.38); h_SL1L362->SetBinContent(36,96893.69); h_SL1L362->SetBinContent(37,98297.02); h_SL1L362->SetBinContent(38,91479.38); h_SL1L362->SetBinContent(39,68796.43); h_SL1L362->SetBinContent(40,39558.65); h_SL1L362->SetBinContent(41,34889.38); h_SL1L362->SetBinContent(42,34106.07); h_SL1L362->SetBinContent(43,32462.89); h_SL1L362->SetBinContent(44,32820.11); h_SL1L362->SetBinContent(45,31807.15); h_SL1L362->SetBinContent(46,32689.98); h_SL1L362->SetBinContent(47,32580.26); h_SL1L362->SetBinContent(48,30569.67); h_SL1L362->SetBinContent(49,30232.87); h_SL1L362->SetBinContent(50,30000.68); h_SL1L362->SetBinContent(51,28589.7); h_SL1L362->SetBinContent(52,28939.25); h_SL1L362->SetBinContent(53,29388.32); h_SL1L362->SetBinContent(54,28860.16); h_SL1L362->SetBinContent(55,29431.7); h_SL1L362->SetBinContent(56,29051.52); h_SL1L362->SetBinContent(57,28148.29); h_SL1L362->SetBinContent(58,27201.67); h_SL1L362->SetBinContent(59,27354.77); h_SL1L362->SetMaximum(113320.3); 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,15872.96); h_SL1L463->SetBinContent(3,14069.04); h_SL1L463->SetBinContent(4,13326.55); h_SL1L463->SetBinContent(5,12558.54); h_SL1L463->SetBinContent(6,13104.57); h_SL1L463->SetBinContent(7,13533.22); h_SL1L463->SetBinContent(8,13525.57); h_SL1L463->SetBinContent(9,13864.92); h_SL1L463->SetBinContent(10,13632.73); h_SL1L463->SetBinContent(11,14650.78); h_SL1L463->SetBinContent(12,14599.75); h_SL1L463->SetBinContent(13,14814.08); h_SL1L463->SetBinContent(14,16145.97); h_SL1L463->SetBinContent(15,14977.38); h_SL1L463->SetBinContent(16,14015.46); h_SL1L463->SetBinContent(17,12359.53); h_SL1L463->SetBinContent(18,11816.05); h_SL1L463->SetBinContent(19,12742.25); h_SL1L463->SetBinContent(20,11882.39); h_SL1L463->SetBinContent(21,12114.58); h_SL1L463->SetBinContent(22,12489.65); h_SL1L463->SetBinContent(23,12009.97); h_SL1L463->SetBinContent(24,12305.94); h_SL1L463->SetBinContent(25,10866.89); h_SL1L463->SetBinContent(26,11425.67); h_SL1L463->SetBinContent(27,11341.47); h_SL1L463->SetBinContent(28,10826.07); h_SL1L463->SetBinContent(29,10507.13); h_SL1L463->SetBinContent(30,10777.59); h_SL1L463->SetBinContent(31,10624.5); h_SL1L463->SetBinContent(32,9971.311); h_SL1L463->SetBinContent(33,10231.57); h_SL1L463->SetBinContent(34,13650.59); h_SL1L463->SetBinContent(35,16357.75); h_SL1L463->SetBinContent(36,15551.47); h_SL1L463->SetBinContent(37,12925.96); h_SL1L463->SetBinContent(38,14408.39); h_SL1L463->SetBinContent(39,14288.47); h_SL1L463->SetBinContent(40,8917.536); h_SL1L463->SetBinContent(41,8185.252); h_SL1L463->SetBinContent(42,8333.24); h_SL1L463->SetBinContent(43,8522.052); h_SL1L463->SetBinContent(44,8412.337); h_SL1L463->SetBinContent(45,7664.744); h_SL1L463->SetBinContent(46,8187.804); h_SL1L463->SetBinContent(47,7634.125); h_SL1L463->SetBinContent(48,6876.326); h_SL1L463->SetBinContent(49,6702.823); h_SL1L463->SetBinContent(50,6889.083); h_SL1L463->SetBinContent(51,6508.908); h_SL1L463->SetBinContent(52,6529.32); h_SL1L463->SetBinContent(53,6682.411); h_SL1L463->SetBinContent(54,6937.562); h_SL1L463->SetBinContent(55,2.551512); h_SL1L463->SetBinContent(56,6909.496); h_SL1L463->SetBinContent(57,7639.229); h_SL1L463->SetBinContent(58,9680.438); h_SL1L463->SetBinContent(59,10088.68); h_SL1L463->SetMaximum(113320.3); 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 6749"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }