void RatesPerCell_Removing_noisy_cells_run_6888_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:00:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13566.55,67.5,122099); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6888",60,0,60); h_SL1L160->SetBinContent(1,16860.54); h_SL1L160->SetBinContent(2,15983.82); h_SL1L160->SetBinContent(3,16377.45); h_SL1L160->SetBinContent(4,15655.79); h_SL1L160->SetBinContent(5,14641.89); h_SL1L160->SetBinContent(6,16299.91); h_SL1L160->SetBinContent(7,15625.97); h_SL1L160->SetBinContent(8,15560.36); h_SL1L160->SetBinContent(9,14313.87); h_SL1L160->SetBinContent(10,13431.18); h_SL1L160->SetBinContent(11,12894.41); h_SL1L160->SetBinContent(12,12828.8); h_SL1L160->SetBinContent(13,13848.66); h_SL1L160->SetBinContent(14,13604.14); h_SL1L160->SetBinContent(15,13264.18); h_SL1L160->SetBinContent(16,12524.63); h_SL1L160->SetBinContent(17,13616.06); h_SL1L160->SetBinContent(18,14468.93); h_SL1L160->SetBinContent(19,14898.35); h_SL1L160->SetBinContent(20,13759.2); h_SL1L160->SetBinContent(21,15136.91); h_SL1L160->SetBinContent(22,14612.07); h_SL1L160->SetBinContent(23,15697.54); h_SL1L160->SetBinContent(24,14379.47); h_SL1L160->SetBinContent(25,14862.56); h_SL1L160->SetBinContent(26,14415.25); h_SL1L160->SetBinContent(27,14618.03); h_SL1L160->SetBinContent(28,14212.47); h_SL1L160->SetBinContent(29,14409.29); h_SL1L160->SetBinContent(30,14290.01); h_SL1L160->SetBinContent(31,14439.11); h_SL1L160->SetBinContent(32,15029.56); h_SL1L160->SetBinContent(33,30100.87); h_SL1L160->SetBinContent(34,40544.02); h_SL1L160->SetBinContent(35,43687.11); h_SL1L160->SetBinContent(36,43406.8); h_SL1L160->SetBinContent(37,47677.1); h_SL1L160->SetBinContent(38,48195.98); h_SL1L160->SetBinContent(39,32653.5); h_SL1L160->SetBinContent(40,14922.2); h_SL1L160->SetBinContent(41,13777.09); h_SL1L160->SetBinContent(42,12643.91); h_SL1L160->SetBinContent(43,12494.81); h_SL1L160->SetBinContent(44,12113.11); h_SL1L160->SetBinContent(45,11105.17); h_SL1L160->SetBinContent(46,10532.62); h_SL1L160->SetBinContent(47,10556.48); h_SL1L160->SetBinContent(48,9548.541); h_SL1L160->SetBinContent(49,10067.42); h_SL1L160->SetBinContent(50,9930.244); h_SL1L160->SetBinContent(51,9822.89); h_SL1L160->SetBinContent(52,9971.992); h_SL1L160->SetBinContent(53,10246.34); h_SL1L160->SetBinContent(54,9906.388); h_SL1L160->SetBinContent(55,9804.997); h_SL1L160->SetBinContent(56,9882.531); h_SL1L160->SetBinContent(57,11033.6); h_SL1L160->SetBinContent(58,11659.84); h_SL1L160->SetBinContent(59,11832.79); h_SL1L160->SetMaximum(108532.4); 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,18214.39); h_SL1L261->SetBinContent(2,17272.06); h_SL1L261->SetBinContent(3,17731.3); h_SL1L261->SetBinContent(4,17808.83); h_SL1L261->SetBinContent(5,17552.38); h_SL1L261->SetBinContent(6,19007.62); h_SL1L261->SetBinContent(7,19031.48); h_SL1L261->SetBinContent(8,18840.62); h_SL1L261->SetBinContent(9,17301.88); h_SL1L261->SetBinContent(10,16019.6); h_SL1L261->SetBinContent(11,15130.95); h_SL1L261->SetBinContent(12,16037.49); h_SL1L261->SetBinContent(13,16580.23); h_SL1L261->SetBinContent(14,17558.34); h_SL1L261->SetBinContent(15,17367.49); h_SL1L261->SetBinContent(16,18047.4); h_SL1L261->SetBinContent(17,16681.62); h_SL1L261->SetBinContent(18,17289.96); h_SL1L261->SetBinContent(19,19043.4); h_SL1L261->SetBinContent(20,18751.16); h_SL1L261->SetBinContent(21,19419.14); h_SL1L261->SetBinContent(22,20582.14); h_SL1L261->SetBinContent(23,20629.86); h_SL1L261->SetBinContent(24,20844.57); h_SL1L261->SetBinContent(25,20802.82); h_SL1L261->SetBinContent(26,20254.12); h_SL1L261->SetBinContent(27,19753.13); h_SL1L261->SetBinContent(28,19323.72); h_SL1L261->SetBinContent(29,21321.7); h_SL1L261->SetBinContent(30,21047.35); h_SL1L261->SetBinContent(31,21637.79); h_SL1L261->SetBinContent(32,23230.21); h_SL1L261->SetBinContent(33,34520.27); h_SL1L261->SetBinContent(34,64919.34); h_SL1L261->SetBinContent(35,73102.1); h_SL1L261->SetBinContent(36,76805.81); h_SL1L261->SetBinContent(37,82066.16); h_SL1L261->SetBinContent(38,80724.23); h_SL1L261->SetBinContent(39,68062.43); h_SL1L261->SetBinContent(40,33542.16); h_SL1L261->SetBinContent(41,21458.87); h_SL1L261->SetBinContent(42,18703.45); h_SL1L261->SetBinContent(43,18518.56); h_SL1L261->SetBinContent(44,17570.27); h_SL1L261->SetBinContent(45,16926.14); h_SL1L261->SetBinContent(46,16645.83); h_SL1L261->SetBinContent(47,17552.38); h_SL1L261->SetBinContent(48,16717.4); h_SL1L261->SetBinContent(49,15184.62); h_SL1L261->SetBinContent(50,15566.33); h_SL1L261->SetBinContent(51,14832.74); h_SL1L261->SetBinContent(52,14355.61); h_SL1L261->SetBinContent(53,15399.33); h_SL1L261->SetBinContent(54,15160.77); h_SL1L261->SetBinContent(55,15369.51); h_SL1L261->SetBinContent(56,15506.69); h_SL1L261->SetBinContent(57,14397.36); h_SL1L261->SetBinContent(58,13902.34); h_SL1L261->SetBinContent(59,14295.97); h_SL1L261->SetMaximum(94376.08); 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,5856.756); h_SL1L362->SetBinContent(2,5481.018); h_SL1L362->SetBinContent(3,5749.402); h_SL1L362->SetBinContent(4,5987.967); h_SL1L362->SetBinContent(5,5546.623); h_SL1L362->SetBinContent(6,6345.813); h_SL1L362->SetBinContent(7,5993.931); h_SL1L362->SetBinContent(8,5612.228); h_SL1L362->SetBinContent(9,5296.13); h_SL1L362->SetBinContent(10,5075.458); h_SL1L362->SetBinContent(11,5147.027); h_SL1L362->SetBinContent(12,4956.176); h_SL1L362->SetBinContent(13,5355.771); h_SL1L362->SetBinContent(14,5373.664); h_SL1L362->SetBinContent(15,5540.659); h_SL1L362->SetBinContent(16,5594.335); h_SL1L362->SetBinContent(17,5689.761); h_SL1L362->SetBinContent(18,5916.397); h_SL1L362->SetBinContent(19,5749.402); h_SL1L362->SetBinContent(20,6041.644); h_SL1L362->SetBinContent(21,6608.234); h_SL1L362->SetBinContent(22,6315.993); h_SL1L362->SetBinContent(23,6160.926); h_SL1L362->SetBinContent(24,6172.854); h_SL1L362->SetBinContent(25,6160.926); h_SL1L362->SetBinContent(26,5260.345); h_SL1L362->SetBinContent(27,5940.254); h_SL1L362->SetBinContent(28,5576.443); h_SL1L362->SetBinContent(29,6166.89); h_SL1L362->SetBinContent(30,5671.869); h_SL1L362->SetBinContent(31,5820.972); h_SL1L362->SetBinContent(32,5958.146); h_SL1L362->SetBinContent(33,7807.021); h_SL1L362->SetBinContent(34,10508.76); h_SL1L362->SetBinContent(35,10693.65); h_SL1L362->SetBinContent(36,10168.81); h_SL1L362->SetBinContent(37,12005.75); h_SL1L362->SetBinContent(38,10801); h_SL1L362->SetBinContent(39,8248.364); h_SL1L362->SetBinContent(40,4801.109); h_SL1L362->SetBinContent(41,4836.894); h_SL1L362->SetBinContent(42,5546.623); h_SL1L362->SetBinContent(43,5290.166); h_SL1L362->SetBinContent(44,5063.53); h_SL1L362->SetBinContent(45,4950.211); h_SL1L362->SetBinContent(46,4854.786); h_SL1L362->SetBinContent(47,4914.427); h_SL1L362->SetBinContent(48,4532.724); h_SL1L362->SetBinContent(49,4866.714); h_SL1L362->SetBinContent(50,4657.97); h_SL1L362->SetBinContent(51,4586.401); h_SL1L362->SetBinContent(52,4496.939); h_SL1L362->SetBinContent(53,4365.729); h_SL1L362->SetBinContent(54,4323.98); h_SL1L362->SetBinContent(55,4568.509); h_SL1L362->SetBinContent(56,4473.083); h_SL1L362->SetBinContent(57,4347.836); h_SL1L362->SetBinContent(58,3954.205); h_SL1L362->SetBinContent(59,3852.815); h_SL1L362->SetMaximum(94376.08); 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,12393.42); h_SL1L463->SetBinContent(3,11546.52); h_SL1L463->SetBinContent(4,11880.51); h_SL1L463->SetBinContent(5,11105.17); h_SL1L463->SetBinContent(6,11814.9); h_SL1L463->SetBinContent(7,11731.41); h_SL1L463->SetBinContent(8,12119.07); h_SL1L463->SetBinContent(9,12190.64); h_SL1L463->SetBinContent(10,11940.15); h_SL1L463->SetBinContent(11,11874.54); h_SL1L463->SetBinContent(12,11594.23); h_SL1L463->SetBinContent(13,12089.25); h_SL1L463->SetBinContent(14,12357.64); h_SL1L463->SetBinContent(15,12095.22); h_SL1L463->SetBinContent(16,11802.97); h_SL1L463->SetBinContent(17,10985.89); h_SL1L463->SetBinContent(18,10729.43); h_SL1L463->SetBinContent(19,11248.31); h_SL1L463->SetBinContent(20,10991.86); h_SL1L463->SetBinContent(21,11468.98); h_SL1L463->SetBinContent(22,11981.9); h_SL1L463->SetBinContent(23,11117.1); h_SL1L463->SetBinContent(24,12005.75); h_SL1L463->SetBinContent(25,11021.68); h_SL1L463->SetBinContent(26,11820.87); h_SL1L463->SetBinContent(27,10759.25); h_SL1L463->SetBinContent(28,11057.46); h_SL1L463->SetBinContent(29,10908.36); h_SL1L463->SetBinContent(30,10413.34); h_SL1L463->SetBinContent(31,11379.52); h_SL1L463->SetBinContent(32,12029.61); h_SL1L463->SetBinContent(33,14003.73); h_SL1L463->SetBinContent(34,28639.66); h_SL1L463->SetBinContent(35,34108.75); h_SL1L463->SetBinContent(36,34687.27); h_SL1L463->SetBinContent(37,31150.55); h_SL1L463->SetBinContent(38,35128.61); h_SL1L463->SetBinContent(39,32742.97); h_SL1L463->SetBinContent(40,14057.41); h_SL1L463->SetBinContent(41,10079.35); h_SL1L463->SetBinContent(42,9029.663); h_SL1L463->SetBinContent(43,8641.996); h_SL1L463->SetBinContent(44,8272.221); h_SL1L463->SetBinContent(45,7443.21); h_SL1L463->SetBinContent(46,8248.364); h_SL1L463->SetBinContent(47,7562.492); h_SL1L463->SetBinContent(48,7592.312); h_SL1L463->SetBinContent(49,7085.363); h_SL1L463->SetBinContent(50,7222.538); h_SL1L463->SetBinContent(51,7180.789); h_SL1L463->SetBinContent(52,7216.574); h_SL1L463->SetBinContent(53,6632.091); h_SL1L463->SetBinContent(54,6870.655); h_SL1L463->SetBinContent(56,6954.153); h_SL1L463->SetBinContent(57,7347.784); h_SL1L463->SetBinContent(58,9089.305); h_SL1L463->SetBinContent(59,9488.899); h_SL1L463->SetMaximum(94376.08); 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 6888"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }