void RatesPerCell_Removing_noisy_cells_run_6890_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:07 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-30790.25,67.5,277112.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6890",60,0,60); h_SL1L160->SetBinContent(1,18903.06); h_SL1L160->SetBinContent(2,18357.14); h_SL1L160->SetBinContent(3,18448.98); h_SL1L160->SetBinContent(4,18663.27); h_SL1L160->SetBinContent(5,18857.14); h_SL1L160->SetBinContent(6,19581.63); h_SL1L160->SetBinContent(7,19647.96); h_SL1L160->SetBinContent(8,18265.31); h_SL1L160->SetBinContent(9,16765.31); h_SL1L160->SetBinContent(10,15188.78); h_SL1L160->SetBinContent(11,15530.61); h_SL1L160->SetBinContent(12,16918.37); h_SL1L160->SetBinContent(13,16852.04); h_SL1L160->SetBinContent(14,17336.73); h_SL1L160->SetBinContent(15,17489.79); h_SL1L160->SetBinContent(16,16275.51); h_SL1L160->SetBinContent(17,16494.9); h_SL1L160->SetBinContent(18,18551.02); h_SL1L160->SetBinContent(19,19127.55); h_SL1L160->SetBinContent(20,19214.29); h_SL1L160->SetBinContent(21,19765.31); h_SL1L160->SetBinContent(22,19168.37); h_SL1L160->SetBinContent(23,20418.37); h_SL1L160->SetBinContent(24,19326.53); h_SL1L160->SetBinContent(25,19397.96); h_SL1L160->SetBinContent(26,18836.73); h_SL1L160->SetBinContent(27,18448.98); h_SL1L160->SetBinContent(28,19933.67); h_SL1L160->SetBinContent(29,19882.65); h_SL1L160->SetBinContent(30,21806.12); h_SL1L160->SetBinContent(31,20147.96); h_SL1L160->SetBinContent(32,21571.43); h_SL1L160->SetBinContent(33,46846.94); h_SL1L160->SetBinContent(34,67459.18); h_SL1L160->SetBinContent(35,70015.3); h_SL1L160->SetBinContent(36,71229.59); h_SL1L160->SetBinContent(37,77591.84); h_SL1L160->SetBinContent(38,91163.27); h_SL1L160->SetBinContent(39,50188.77); h_SL1L160->SetBinContent(40,21882.65); h_SL1L160->SetBinContent(41,18474.49); h_SL1L160->SetBinContent(42,18280.61); h_SL1L160->SetBinContent(43,17943.88); h_SL1L160->SetBinContent(44,17484.69); h_SL1L160->SetBinContent(45,16326.53); h_SL1L160->SetBinContent(46,15357.14); h_SL1L160->SetBinContent(47,15500); h_SL1L160->SetBinContent(48,14352.04); h_SL1L160->SetBinContent(49,14969.39); h_SL1L160->SetBinContent(50,14673.47); h_SL1L160->SetBinContent(51,12882.65); h_SL1L160->SetBinContent(52,14112.25); h_SL1L160->SetBinContent(53,13994.9); h_SL1L160->SetBinContent(54,13234.69); h_SL1L160->SetBinContent(55,14438.78); h_SL1L160->SetBinContent(56,13494.9); h_SL1L160->SetBinContent(57,13908.16); h_SL1L160->SetBinContent(58,14321.43); h_SL1L160->SetBinContent(59,14454.08); h_SL1L160->SetMaximum(246321.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,19943.88); h_SL1L261->SetBinContent(2,18561.22); h_SL1L261->SetBinContent(3,18346.94); h_SL1L261->SetBinContent(4,18994.9); h_SL1L261->SetBinContent(5,18836.73); h_SL1L261->SetBinContent(6,19903.06); h_SL1L261->SetBinContent(7,19183.67); h_SL1L261->SetBinContent(8,18816.33); h_SL1L261->SetBinContent(9,20290.82); h_SL1L261->SetBinContent(10,16750); h_SL1L261->SetBinContent(11,16000); h_SL1L261->SetBinContent(12,16459.18); h_SL1L261->SetBinContent(13,16234.69); h_SL1L261->SetBinContent(14,18137.76); h_SL1L261->SetBinContent(15,17908.16); h_SL1L261->SetBinContent(16,18117.35); h_SL1L261->SetBinContent(17,17423.47); h_SL1L261->SetBinContent(18,18821.43); h_SL1L261->SetBinContent(19,19540.82); h_SL1L261->SetBinContent(20,19005.1); h_SL1L261->SetBinContent(21,20260.2); h_SL1L261->SetBinContent(22,20515.31); h_SL1L261->SetBinContent(23,21301.02); h_SL1L261->SetBinContent(24,21076.53); h_SL1L261->SetBinContent(25,21704.08); h_SL1L261->SetBinContent(26,21341.84); h_SL1L261->SetBinContent(27,20688.78); h_SL1L261->SetBinContent(28,22061.22); h_SL1L261->SetBinContent(29,21015.31); h_SL1L261->SetBinContent(30,21341.84); h_SL1L261->SetBinContent(31,21938.78); h_SL1L261->SetBinContent(32,23494.9); h_SL1L261->SetBinContent(33,36117.35); h_SL1L261->SetBinContent(34,68581.63); h_SL1L261->SetBinContent(35,77780.61); h_SL1L261->SetBinContent(36,82244.9); h_SL1L261->SetBinContent(37,84596.94); h_SL1L261->SetBinContent(38,82596.94); h_SL1L261->SetBinContent(39,71015.3); h_SL1L261->SetBinContent(40,33984.7); h_SL1L261->SetBinContent(41,23586.73); h_SL1L261->SetBinContent(42,19438.78); h_SL1L261->SetBinContent(43,19071.43); h_SL1L261->SetBinContent(44,18250); h_SL1L261->SetBinContent(45,17897.96); h_SL1L261->SetBinContent(46,18443.88); h_SL1L261->SetBinContent(47,17566.33); h_SL1L261->SetBinContent(48,17244.9); h_SL1L261->SetBinContent(49,186255.1); h_SL1L261->SetBinContent(50,16617.35); h_SL1L261->SetBinContent(51,15913.27); h_SL1L261->SetBinContent(52,34816.33); h_SL1L261->SetBinContent(53,46005.1); h_SL1L261->SetBinContent(54,14989.8); h_SL1L261->SetBinContent(55,15229.59); h_SL1L261->SetBinContent(56,150719.4); h_SL1L261->SetBinContent(57,22413.27); h_SL1L261->SetBinContent(58,14647.96); h_SL1L261->SetBinContent(59,14173.47); h_SL1L261->SetMaximum(214193.4); 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,10229.59); h_SL1L362->SetBinContent(2,9698.979); h_SL1L362->SetBinContent(3,10469.39); h_SL1L362->SetBinContent(4,10612.25); h_SL1L362->SetBinContent(5,10346.94); h_SL1L362->SetBinContent(6,11030.61); h_SL1L362->SetBinContent(7,10341.84); h_SL1L362->SetBinContent(8,10862.25); h_SL1L362->SetBinContent(9,9107.143); h_SL1L362->SetBinContent(10,8500); h_SL1L362->SetBinContent(11,9168.367); h_SL1L362->SetBinContent(12,9372.449); h_SL1L362->SetBinContent(13,9984.693); h_SL1L362->SetBinContent(14,9744.897); h_SL1L362->SetBinContent(15,10239.8); h_SL1L362->SetBinContent(16,9760.204); h_SL1L362->SetBinContent(17,9321.429); h_SL1L362->SetBinContent(18,9954.081); h_SL1L362->SetBinContent(19,9913.266); h_SL1L362->SetBinContent(20,10637.75); h_SL1L362->SetBinContent(21,11372.45); h_SL1L362->SetBinContent(22,11025.51); h_SL1L362->SetBinContent(23,11642.86); h_SL1L362->SetBinContent(24,11173.47); h_SL1L362->SetBinContent(25,10591.84); h_SL1L362->SetBinContent(26,9336.734); h_SL1L362->SetBinContent(27,11020.41); h_SL1L362->SetBinContent(28,9673.47); h_SL1L362->SetBinContent(29,11045.92); h_SL1L362->SetBinContent(30,9704.081); h_SL1L362->SetBinContent(31,11102.04); h_SL1L362->SetBinContent(32,11193.88); h_SL1L362->SetBinContent(33,19142.86); h_SL1L362->SetBinContent(34,27693.88); h_SL1L362->SetBinContent(35,29836.73); h_SL1L362->SetBinContent(36,29010.2); h_SL1L362->SetBinContent(37,30760.2); h_SL1L362->SetBinContent(38,27326.53); h_SL1L362->SetBinContent(39,22255.1); h_SL1L362->SetBinContent(40,10397.96); h_SL1L362->SetBinContent(41,9494.897); h_SL1L362->SetBinContent(42,10663.27); h_SL1L362->SetBinContent(43,10551.02); h_SL1L362->SetBinContent(44,10204.08); h_SL1L362->SetBinContent(45,9714.285); h_SL1L362->SetBinContent(46,9448.979); h_SL1L362->SetBinContent(47,9530.612); h_SL1L362->SetBinContent(48,8581.633); h_SL1L362->SetBinContent(49,14030.61); h_SL1L362->SetBinContent(50,8147.959); h_SL1L362->SetBinContent(51,8255.102); h_SL1L362->SetBinContent(52,8091.836); h_SL1L362->SetBinContent(53,106148); h_SL1L362->SetBinContent(54,7750); h_SL1L362->SetBinContent(55,7382.653); h_SL1L362->SetBinContent(56,140602); h_SL1L362->SetBinContent(57,42280.61); h_SL1L362->SetBinContent(58,7433.673); h_SL1L362->SetBinContent(59,7566.327); h_SL1L362->SetMaximum(214193.4); 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,17255.1); h_SL1L463->SetBinContent(3,17020.41); h_SL1L463->SetBinContent(4,15994.9); h_SL1L463->SetBinContent(5,16219.39); h_SL1L463->SetBinContent(6,17785.71); h_SL1L463->SetBinContent(7,17392.86); h_SL1L463->SetBinContent(8,17336.73); h_SL1L463->SetBinContent(9,17183.67); h_SL1L463->SetBinContent(10,14841.84); h_SL1L463->SetBinContent(11,15020.41); h_SL1L463->SetBinContent(12,15545.92); h_SL1L463->SetBinContent(13,15913.27); h_SL1L463->SetBinContent(14,16505.1); h_SL1L463->SetBinContent(15,16596.94); h_SL1L463->SetBinContent(16,16678.57); h_SL1L463->SetBinContent(17,16168.37); h_SL1L463->SetBinContent(18,16734.69); h_SL1L463->SetBinContent(19,17474.49); h_SL1L463->SetBinContent(20,17275.51); h_SL1L463->SetBinContent(21,18408.16); h_SL1L463->SetBinContent(22,18433.67); h_SL1L463->SetBinContent(23,17969.39); h_SL1L463->SetBinContent(24,18627.55); h_SL1L463->SetBinContent(25,18000); h_SL1L463->SetBinContent(26,18020.41); h_SL1L463->SetBinContent(27,17596.94); h_SL1L463->SetBinContent(28,18234.69); h_SL1L463->SetBinContent(29,18755.1); h_SL1L463->SetBinContent(30,19204.08); h_SL1L463->SetBinContent(31,21142.86); h_SL1L463->SetBinContent(32,20331.63); h_SL1L463->SetBinContent(33,30025.51); h_SL1L463->SetBinContent(34,62831.63); h_SL1L463->SetBinContent(35,95642.86); h_SL1L463->SetBinContent(36,75132.66); h_SL1L463->SetBinContent(37,73280.61); h_SL1L463->SetBinContent(38,74045.91); h_SL1L463->SetBinContent(39,69709.18); h_SL1L463->SetBinContent(40,30627.55); h_SL1L463->SetBinContent(41,19132.65); h_SL1L463->SetBinContent(42,17857.14); h_SL1L463->SetBinContent(43,17117.35); h_SL1L463->SetBinContent(44,15790.82); h_SL1L463->SetBinContent(45,14622.45); h_SL1L463->SetBinContent(46,14984.69); h_SL1L463->SetBinContent(47,15147.96); h_SL1L463->SetBinContent(48,14658.16); h_SL1L463->SetBinContent(49,12663.27); h_SL1L463->SetBinContent(50,14000); h_SL1L463->SetBinContent(51,12729.59); h_SL1L463->SetBinContent(52,12316.33); h_SL1L463->SetBinContent(53,13198.98); h_SL1L463->SetBinContent(54,12852.04); h_SL1L463->SetBinContent(55,5.102041); h_SL1L463->SetBinContent(56,13163.27); h_SL1L463->SetBinContent(57,12872.45); h_SL1L463->SetBinContent(58,13505.1); h_SL1L463->SetBinContent(59,12739.8); h_SL1L463->SetMaximum(214193.4); 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 6890"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }