void RatesPerCell_Removing_noisy_cells_run_6689_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:01:42 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14009.59,67.5,126086.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6689",60,0,60); h_SL1L160->SetBinContent(1,19854.84); h_SL1L160->SetBinContent(2,19135.56); h_SL1L160->SetBinContent(3,19488.41); h_SL1L160->SetBinContent(4,19210.2); h_SL1L160->SetBinContent(5,18972.71); h_SL1L160->SetBinContent(6,19434.13); h_SL1L160->SetBinContent(7,19406.99); h_SL1L160->SetBinContent(8,19033.78); h_SL1L160->SetBinContent(9,17120.22); h_SL1L160->SetBinContent(10,15233.81); h_SL1L160->SetBinContent(11,16285.58); h_SL1L160->SetBinContent(12,16523.08); h_SL1L160->SetBinContent(13,17127.01); h_SL1L160->SetBinContent(14,17160.93); h_SL1L160->SetBinContent(15,16543.44); h_SL1L160->SetBinContent(16,16210.94); h_SL1L160->SetBinContent(17,16970.94); h_SL1L160->SetBinContent(18,17853.07); h_SL1L160->SetBinContent(19,18592.71); h_SL1L160->SetBinContent(20,18721.63); h_SL1L160->SetBinContent(21,19373.06); h_SL1L160->SetBinContent(22,20004.12); h_SL1L160->SetBinContent(23,18782.71); h_SL1L160->SetBinContent(24,19060.92); h_SL1L160->SetBinContent(25,18294.14); h_SL1L160->SetBinContent(26,17357.72); h_SL1L160->SetBinContent(27,17656.29); h_SL1L160->SetBinContent(28,18083.78); h_SL1L160->SetBinContent(29,18674.14); h_SL1L160->SetBinContent(30,18945.56); h_SL1L160->SetBinContent(31,18389.14); h_SL1L160->SetBinContent(32,20485.91); h_SL1L160->SetBinContent(33,41630.02); h_SL1L160->SetBinContent(34,56578.83); h_SL1L160->SetBinContent(35,59455.95); h_SL1L160->SetBinContent(36,60758.8); h_SL1L160->SetBinContent(37,65603.76); h_SL1L160->SetBinContent(38,64049.84); h_SL1L160->SetBinContent(39,43781.08); h_SL1L160->SetBinContent(40,19780.2); h_SL1L160->SetBinContent(41,16516.3); h_SL1L160->SetBinContent(42,16183.8); h_SL1L160->SetBinContent(43,16367.01); h_SL1L160->SetBinContent(44,15593.45); h_SL1L160->SetBinContent(45,15559.52); h_SL1L160->SetBinContent(46,14324.53); h_SL1L160->SetBinContent(47,14046.32); h_SL1L160->SetBinContent(48,13001.32); h_SL1L160->SetBinContent(49,14182.03); h_SL1L160->SetBinContent(50,14053.1); h_SL1L160->SetBinContent(51,12567.04); h_SL1L160->SetBinContent(52,13211.68); h_SL1L160->SetBinContent(53,12553.47); h_SL1L160->SetBinContent(54,12634.9); h_SL1L160->SetBinContent(55,12655.26); h_SL1L160->SetBinContent(56,12553.47); h_SL1L160->SetBinContent(57,14358.46); h_SL1L160->SetBinContent(58,14012.39); h_SL1L160->SetBinContent(59,13971.67); h_SL1L160->SetMaximum(112076.7); 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,20526.62); h_SL1L261->SetBinContent(2,20228.05); h_SL1L261->SetBinContent(3,19427.34); h_SL1L261->SetBinContent(4,20234.84); h_SL1L261->SetBinContent(5,19454.49); h_SL1L261->SetBinContent(6,21225.54); h_SL1L261->SetBinContent(7,20906.62); h_SL1L261->SetBinContent(8,20465.55); h_SL1L261->SetBinContent(9,20519.84); h_SL1L261->SetBinContent(10,17513.79); h_SL1L261->SetBinContent(11,17133.79); h_SL1L261->SetBinContent(12,17758.07); h_SL1L261->SetBinContent(13,18511.28); h_SL1L261->SetBinContent(14,19040.56); h_SL1L261->SetBinContent(15,19515.56); h_SL1L261->SetBinContent(16,19617.34); h_SL1L261->SetBinContent(17,18653.78); h_SL1L261->SetBinContent(18,19054.13); h_SL1L261->SetBinContent(19,19881.98); h_SL1L261->SetBinContent(20,20926.97); h_SL1L261->SetBinContent(21,20859.12); h_SL1L261->SetBinContent(22,21748.04); h_SL1L261->SetBinContent(23,22148.39); h_SL1L261->SetBinContent(24,22318.04); h_SL1L261->SetBinContent(25,22603.03); h_SL1L261->SetBinContent(26,21768.4); h_SL1L261->SetBinContent(27,21096.62); h_SL1L261->SetBinContent(28,22426.61); h_SL1L261->SetBinContent(29,22786.25); h_SL1L261->SetBinContent(30,23179.81); h_SL1L261->SetBinContent(31,23424.1); h_SL1L261->SetBinContent(32,24116.23); h_SL1L261->SetBinContent(33,36934.35); h_SL1L261->SetBinContent(34,68345.16); h_SL1L261->SetBinContent(35,75395.47); h_SL1L261->SetBinContent(36,80566.14); h_SL1L261->SetBinContent(37,84583.25); h_SL1L261->SetBinContent(38,83640.04); h_SL1L261->SetBinContent(39,70543.72); h_SL1L261->SetBinContent(40,35170.07); h_SL1L261->SetBinContent(41,23274.81); h_SL1L261->SetBinContent(42,21096.62); h_SL1L261->SetBinContent(43,19461.27); h_SL1L261->SetBinContent(44,19169.49); h_SL1L261->SetBinContent(45,18789.49); h_SL1L261->SetBinContent(46,18674.14); h_SL1L261->SetBinContent(47,18728.42); h_SL1L261->SetBinContent(48,17792); h_SL1L261->SetBinContent(49,29395.48); h_SL1L261->SetBinContent(50,18049.86); h_SL1L261->SetBinContent(51,16265.23); h_SL1L261->SetBinContent(52,15450.95); h_SL1L261->SetBinContent(53,17330.57); h_SL1L261->SetBinContent(54,17011.65); h_SL1L261->SetBinContent(55,15851.3); h_SL1L261->SetBinContent(56,20071.98); h_SL1L261->SetBinContent(57,15389.88); h_SL1L261->SetBinContent(58,15681.66); h_SL1L261->SetBinContent(59,15240.59); h_SL1L261->SetMaximum(97458.02); 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,19678.41); h_SL1L362->SetBinContent(2,18952.35); h_SL1L362->SetBinContent(3,18911.63); h_SL1L362->SetBinContent(4,19162.7); h_SL1L362->SetBinContent(5,19250.92); h_SL1L362->SetBinContent(6,21021.97); h_SL1L362->SetBinContent(7,19943.05); h_SL1L362->SetBinContent(8,19915.91); h_SL1L362->SetBinContent(9,17961.64); h_SL1L362->SetBinContent(10,16909.86); h_SL1L362->SetBinContent(11,16848.79); h_SL1L362->SetBinContent(12,17744.5); h_SL1L362->SetBinContent(13,18389.14); h_SL1L362->SetBinContent(14,18368.78); h_SL1L362->SetBinContent(15,18945.56); h_SL1L362->SetBinContent(16,17880.21); h_SL1L362->SetBinContent(17,18348.42); h_SL1L362->SetBinContent(18,19610.56); h_SL1L362->SetBinContent(19,19481.63); h_SL1L362->SetBinContent(20,19834.48); h_SL1L362->SetBinContent(21,20526.62); h_SL1L362->SetBinContent(22,21700.54); h_SL1L362->SetBinContent(23,21374.83); h_SL1L362->SetBinContent(24,21463.04); h_SL1L362->SetBinContent(25,22087.32); h_SL1L362->SetBinContent(26,20777.69); h_SL1L362->SetBinContent(27,20669.12); h_SL1L362->SetBinContent(28,21205.19); h_SL1L362->SetBinContent(29,21476.61); h_SL1L362->SetBinContent(30,22765.89); h_SL1L362->SetBinContent(31,22514.82); h_SL1L362->SetBinContent(32,25792.29); h_SL1L362->SetBinContent(33,55343.84); h_SL1L362->SetBinContent(34,73814.41); h_SL1L362->SetBinContent(35,77566.88); h_SL1L362->SetBinContent(36,83463.62); h_SL1L362->SetBinContent(37,84746.1); h_SL1L362->SetBinContent(38,77424.38); h_SL1L362->SetBinContent(39,55153.84); h_SL1L362->SetBinContent(40,24883.01); h_SL1L362->SetBinContent(41,20682.69); h_SL1L362->SetBinContent(42,19814.13); h_SL1L362->SetBinContent(43,18769.13); h_SL1L362->SetBinContent(44,18219.5); h_SL1L362->SetBinContent(45,18138.07); h_SL1L362->SetBinContent(46,17473.07); h_SL1L362->SetBinContent(47,17391.65); h_SL1L362->SetBinContent(48,16713.08); h_SL1L362->SetBinContent(49,16713.08); h_SL1L362->SetBinContent(50,16027.73); h_SL1L362->SetBinContent(51,15505.23); h_SL1L362->SetBinContent(52,15708.8); h_SL1L362->SetBinContent(53,18504.49); h_SL1L362->SetBinContent(54,15355.95); h_SL1L362->SetBinContent(55,15491.66); h_SL1L362->SetBinContent(56,19400.2); h_SL1L362->SetBinContent(57,15403.45); h_SL1L362->SetBinContent(58,14813.1); h_SL1L362->SetBinContent(59,14779.17); h_SL1L362->SetMaximum(97458.02); 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,13985.25); h_SL1L463->SetBinContent(3,13170.97); h_SL1L463->SetBinContent(4,12546.68); h_SL1L463->SetBinContent(5,12309.19); h_SL1L463->SetBinContent(6,12804.54); h_SL1L463->SetBinContent(7,13042.04); h_SL1L463->SetBinContent(8,13252.39); h_SL1L463->SetBinContent(9,13103.11); h_SL1L463->SetBinContent(10,12485.61); h_SL1L463->SetBinContent(11,12254.9); h_SL1L463->SetBinContent(12,12594.18); h_SL1L463->SetBinContent(13,12560.26); h_SL1L463->SetBinContent(14,14243.1); h_SL1L463->SetBinContent(15,13415.25); h_SL1L463->SetBinContent(16,13082.75); h_SL1L463->SetBinContent(17,11922.4); h_SL1L463->SetBinContent(18,11732.41); h_SL1L463->SetBinContent(19,12322.76); h_SL1L463->SetBinContent(20,12071.69); h_SL1L463->SetBinContent(21,12343.12); h_SL1L463->SetBinContent(22,12757.04); h_SL1L463->SetBinContent(23,12539.9); h_SL1L463->SetBinContent(24,12064.9); h_SL1L463->SetBinContent(25,11549.19); h_SL1L463->SetBinContent(26,12560.26); h_SL1L463->SetBinContent(27,11393.12); h_SL1L463->SetBinContent(28,11494.91); h_SL1L463->SetBinContent(29,11644.19); h_SL1L463->SetBinContent(30,12431.33); h_SL1L463->SetBinContent(31,13048.82); h_SL1L463->SetBinContent(32,12017.4); h_SL1L463->SetBinContent(33,15254.16); h_SL1L463->SetBinContent(34,32557.6); h_SL1L463->SetBinContent(35,44188.21); h_SL1L463->SetBinContent(36,43536.79); h_SL1L463->SetBinContent(37,40625.75); h_SL1L463->SetBinContent(38,40673.25); h_SL1L463->SetBinContent(39,40415.39); h_SL1L463->SetBinContent(40,16638.44); h_SL1L463->SetBinContent(41,12377.04); h_SL1L463->SetBinContent(42,11053.84); h_SL1L463->SetBinContent(43,10809.56); h_SL1L463->SetBinContent(44,10952.05); h_SL1L463->SetBinContent(45,9506.709); h_SL1L463->SetBinContent(46,10646.7); h_SL1L463->SetBinContent(47,9635.637); h_SL1L463->SetBinContent(48,8834.929); h_SL1L463->SetBinContent(49,7891.722); h_SL1L463->SetBinContent(50,8509.218); h_SL1L463->SetBinContent(51,7742.438); h_SL1L463->SetBinContent(52,7545.654); h_SL1L463->SetBinContent(53,7647.438); h_SL1L463->SetBinContent(54,7661.01); h_SL1L463->SetBinContent(56,7647.438); h_SL1L463->SetBinContent(57,7789.938); h_SL1L463->SetBinContent(58,9622.065); h_SL1L463->SetBinContent(59,9798.493); h_SL1L463->SetMaximum(97458.02); 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 6689"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }