void RatesPerCell_Removing_noisy_cells_run_6694_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14039.34,67.5,126354.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6694",60,0,60); h_SL1L160->SetBinContent(1,20013.57); h_SL1L160->SetBinContent(2,19523.3); h_SL1L160->SetBinContent(3,19571.45); h_SL1L160->SetBinContent(4,19396.35); h_SL1L160->SetBinContent(5,18685.02); h_SL1L160->SetBinContent(6,19402.92); h_SL1L160->SetBinContent(7,18739.74); h_SL1L160->SetBinContent(8,18755.06); h_SL1L160->SetBinContent(9,17498.74); h_SL1L160->SetBinContent(10,16233.67); h_SL1L160->SetBinContent(11,16032.31); h_SL1L160->SetBinContent(12,16308.08); h_SL1L160->SetBinContent(13,17201.08); h_SL1L160->SetBinContent(14,17137.61); h_SL1L160->SetBinContent(15,16962.51); h_SL1L160->SetBinContent(16,16336.54); h_SL1L160->SetBinContent(17,16572.92); h_SL1L160->SetBinContent(18,17676.03); h_SL1L160->SetBinContent(19,18453.02); h_SL1L160->SetBinContent(20,17877.39); h_SL1L160->SetBinContent(21,19453.26); h_SL1L160->SetBinContent(22,18814.16); h_SL1L160->SetBinContent(23,19302.24); h_SL1L160->SetBinContent(24,18188.19); h_SL1L160->SetBinContent(25,18685.02); h_SL1L160->SetBinContent(26,18070); h_SL1L160->SetBinContent(27,17789.84); h_SL1L160->SetBinContent(28,18494.61); h_SL1L160->SetBinContent(29,18501.17); h_SL1L160->SetBinContent(30,18503.36); h_SL1L160->SetBinContent(31,18542.76); h_SL1L160->SetBinContent(32,20280.59); h_SL1L160->SetBinContent(33,41233.12); h_SL1L160->SetBinContent(34,56490.62); h_SL1L160->SetBinContent(35,60559.44); h_SL1L160->SetBinContent(36,61566.24); h_SL1L160->SetBinContent(37,66797.26); h_SL1L160->SetBinContent(38,64280.25); h_SL1L160->SetBinContent(39,44378.3); h_SL1L160->SetBinContent(40,20214.93); h_SL1L160->SetBinContent(41,17695.73); h_SL1L160->SetBinContent(42,16511.63); h_SL1L160->SetBinContent(43,16299.33); h_SL1L160->SetBinContent(44,16378.12); h_SL1L160->SetBinContent(45,14951.08); h_SL1L160->SetBinContent(46,14447.68); h_SL1L160->SetBinContent(47,14283.53); h_SL1L160->SetBinContent(48,13348.95); h_SL1L160->SetBinContent(49,13983.67); h_SL1L160->SetBinContent(50,13725.4); h_SL1L160->SetBinContent(51,13241.7); h_SL1L160->SetBinContent(52,13254.83); h_SL1L160->SetBinContent(53,13108.19); h_SL1L160->SetBinContent(54,12976.87); h_SL1L160->SetBinContent(55,13316.12); h_SL1L160->SetBinContent(56,13296.42); h_SL1L160->SetBinContent(57,14349.19); h_SL1L160->SetBinContent(58,13946.46); h_SL1L160->SetBinContent(59,13891.75); h_SL1L160->SetMaximum(112314.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,20396.6); h_SL1L261->SetBinContent(2,19726.85); h_SL1L261->SetBinContent(3,19915.08); h_SL1L261->SetBinContent(4,19930.4); h_SL1L261->SetBinContent(5,19453.26); h_SL1L261->SetBinContent(6,21495.33); h_SL1L261->SetBinContent(7,20534.48); h_SL1L261->SetBinContent(8,20519.16); h_SL1L261->SetBinContent(9,19880.06); h_SL1L261->SetBinContent(10,17647.57); h_SL1L261->SetBinContent(11,17299.57); h_SL1L261->SetBinContent(12,17879.58); h_SL1L261->SetBinContent(13,18223.21); h_SL1L261->SetBinContent(14,19173.11); h_SL1L261->SetBinContent(15,19685.26); h_SL1L261->SetBinContent(16,19173.11); h_SL1L261->SetBinContent(17,18768.19); h_SL1L261->SetBinContent(18,19138.09); h_SL1L261->SetBinContent(19,20652.67); h_SL1L261->SetBinContent(20,20808.07); h_SL1L261->SetBinContent(21,21469.06); h_SL1L261->SetBinContent(22,22070.96); h_SL1L261->SetBinContent(23,22688.18); h_SL1L261->SetBinContent(24,22530.59); h_SL1L261->SetBinContent(25,22460.55); h_SL1L261->SetBinContent(26,21843.33); h_SL1L261->SetBinContent(27,21339.93); h_SL1L261->SetBinContent(28,22517.46); h_SL1L261->SetBinContent(29,22552.47); h_SL1L261->SetBinContent(30,22861.08); h_SL1L261->SetBinContent(31,23071.2); h_SL1L261->SetBinContent(32,24682.09); h_SL1L261->SetBinContent(33,36242.86); h_SL1L261->SetBinContent(34,68123.62); h_SL1L261->SetBinContent(35,76335.66); h_SL1L261->SetBinContent(36,80713.09); h_SL1L261->SetBinContent(37,84223.77); h_SL1L261->SetBinContent(38,83674.41); h_SL1L261->SetBinContent(39,71570.84); h_SL1L261->SetBinContent(40,34868.35); h_SL1L261->SetBinContent(41,24141.48); h_SL1L261->SetBinContent(42,20175.54); h_SL1L261->SetBinContent(43,20193.04); h_SL1L261->SetBinContent(44,18792.27); h_SL1L261->SetBinContent(45,18667.51); h_SL1L261->SetBinContent(46,19098.69); h_SL1L261->SetBinContent(47,18610.61); h_SL1L261->SetBinContent(48,18236.34); h_SL1L261->SetBinContent(49,31296.38); h_SL1L261->SetBinContent(50,17452.78); h_SL1L261->SetBinContent(51,16502.88); h_SL1L261->SetBinContent(52,16542.28); h_SL1L261->SetBinContent(53,16859.64); h_SL1L261->SetBinContent(54,16470.05); h_SL1L261->SetBinContent(55,16115.48); h_SL1L261->SetBinContent(56,20066.1); h_SL1L261->SetBinContent(57,16025.74); h_SL1L261->SetBinContent(58,15524.53); h_SL1L261->SetBinContent(59,14281.34); h_SL1L261->SetMaximum(97665.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,19669.94); h_SL1L362->SetBinContent(2,19192.8); h_SL1L362->SetBinContent(3,19037.41); h_SL1L362->SetBinContent(4,19074.61); h_SL1L362->SetBinContent(5,19893.19); h_SL1L362->SetBinContent(6,20265.27); h_SL1L362->SetBinContent(7,19694.02); h_SL1L362->SetBinContent(8,19779.38); h_SL1L362->SetBinContent(9,18118.15); h_SL1L362->SetBinContent(10,16811.49); h_SL1L362->SetBinContent(11,16953.75); h_SL1L362->SetBinContent(12,17647.57); h_SL1L362->SetBinContent(13,18472.72); h_SL1L362->SetBinContent(14,18713.48); h_SL1L362->SetBinContent(15,18965.18); h_SL1L362->SetBinContent(16,18030.6); h_SL1L362->SetBinContent(17,18415.81); h_SL1L362->SetBinContent(18,19144.65); h_SL1L362->SetBinContent(19,20055.16); h_SL1L362->SetBinContent(20,20234.63); h_SL1L362->SetBinContent(21,21381.52); h_SL1L362->SetBinContent(22,21344.31); h_SL1L362->SetBinContent(23,21602.57); h_SL1L362->SetBinContent(24,22068.77); h_SL1L362->SetBinContent(25,21744.84); h_SL1L362->SetBinContent(26,20188.67); h_SL1L362->SetBinContent(27,20805.88); h_SL1L362->SetBinContent(28,21545.67); h_SL1L362->SetBinContent(29,22276.7); h_SL1L362->SetBinContent(30,22235.11); h_SL1L362->SetBinContent(31,22648.78); h_SL1L362->SetBinContent(32,25441.57); h_SL1L362->SetBinContent(33,53967.04); h_SL1L362->SetBinContent(34,73253.96); h_SL1L362->SetBinContent(35,78158.86); h_SL1L362->SetBinContent(36,82652.28); h_SL1L362->SetBinContent(37,84926.35); h_SL1L362->SetBinContent(38,78261.73); h_SL1L362->SetBinContent(39,55240.87); h_SL1L362->SetBinContent(40,24986.32); h_SL1L362->SetBinContent(41,21267.7); h_SL1L362->SetBinContent(42,19602.09); h_SL1L362->SetBinContent(43,18700.34); h_SL1L362->SetBinContent(44,17936.48); h_SL1L362->SetBinContent(45,17654.14); h_SL1L362->SetBinContent(46,18094.07); h_SL1L362->SetBinContent(47,18061.24); h_SL1L362->SetBinContent(48,16588.24); h_SL1L362->SetBinContent(49,16546.65); h_SL1L362->SetBinContent(50,16277.44); h_SL1L362->SetBinContent(51,15793.74); h_SL1L362->SetBinContent(52,15590.19); h_SL1L362->SetBinContent(53,19094.31); h_SL1L362->SetBinContent(54,15776.23); h_SL1L362->SetBinContent(55,15502.64); h_SL1L362->SetBinContent(56,20158.03); h_SL1L362->SetBinContent(57,15250.94); h_SL1L362->SetBinContent(58,14848.21); h_SL1L362->SetBinContent(59,13570.01); h_SL1L362->SetMaximum(97665.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,1508.022); h_SL1L463->SetBinContent(3,1335.114); h_SL1L463->SetBinContent(4,1383.265); h_SL1L463->SetBinContent(5,1157.828); h_SL1L463->SetBinContent(6,1230.055); h_SL1L463->SetBinContent(7,1433.605); h_SL1L463->SetBinContent(8,1341.68); h_SL1L463->SetBinContent(9,1361.378); h_SL1L463->SetBinContent(10,1247.565); h_SL1L463->SetBinContent(11,1589.004); h_SL1L463->SetBinContent(12,1464.247); h_SL1L463->SetBinContent(13,1383.265); h_SL1L463->SetBinContent(14,1505.833); h_SL1L463->SetBinContent(15,1582.438); h_SL1L463->SetBinContent(16,1553.985); h_SL1L463->SetBinContent(17,1127.186); h_SL1L463->SetBinContent(18,1098.733); h_SL1L463->SetBinContent(19,1166.583); h_SL1L463->SetBinContent(20,1160.017); h_SL1L463->SetBinContent(21,1054.958); h_SL1L463->SetBinContent(22,1124.997); h_SL1L463->SetBinContent(23,1002.43); h_SL1L463->SetBinContent(24,1030.883); h_SL1L463->SetBinContent(25,796.6907); h_SL1L463->SetBinContent(26,923.6359); h_SL1L463->SetBinContent(27,919.2585); h_SL1L463->SetBinContent(28,1068.091); h_SL1L463->SetBinContent(29,928.0133); h_SL1L463->SetBinContent(30,936.7682); h_SL1L463->SetBinContent(31,1343.868); h_SL1L463->SetBinContent(32,866.7294); h_SL1L463->SetBinContent(33,912.6924); h_SL1L463->SetBinContent(34,1564.928); h_SL1L463->SetBinContent(35,2689.926); h_SL1L463->SetBinContent(36,2057.388); h_SL1L463->SetBinContent(37,1422.662); h_SL1L463->SetBinContent(38,1650.288); h_SL1L463->SetBinContent(39,2742.455); h_SL1L463->SetBinContent(40,969.5988); h_SL1L463->SetBinContent(41,925.8246); h_SL1L463->SetBinContent(42,1100.922); h_SL1L463->SetBinContent(43,1210.357); h_SL1L463->SetBinContent(44,1339.491); h_SL1L463->SetBinContent(45,908.3149); h_SL1L463->SetBinContent(46,1085.6); h_SL1L463->SetBinContent(47,1026.505); h_SL1L463->SetBinContent(48,890.8052); h_SL1L463->SetBinContent(49,709.1423); h_SL1L463->SetBinContent(50,713.5197); h_SL1L463->SetBinContent(51,704.7648); h_SL1L463->SetBinContent(52,720.0858); h_SL1L463->SetBinContent(53,597.518); h_SL1L463->SetBinContent(54,595.3293); h_SL1L463->SetBinContent(55,4.377421); h_SL1L463->SetBinContent(56,615.0277); h_SL1L463->SetBinContent(57,538.4229); h_SL1L463->SetBinContent(58,822.9552); h_SL1L463->SetBinContent(59,814.2004); h_SL1L463->SetMaximum(97665.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 6694"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }