void RatesPerCell_Removing_noisy_cells_run_6886_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-31315.65,67.5,281840.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6886",60,0,60); h_SL1L160->SetBinContent(1,18520.41); h_SL1L160->SetBinContent(2,18852.04); h_SL1L160->SetBinContent(3,18653.06); h_SL1L160->SetBinContent(4,18331.63); h_SL1L160->SetBinContent(5,18433.67); h_SL1L160->SetBinContent(6,19341.84); h_SL1L160->SetBinContent(7,19474.49); h_SL1L160->SetBinContent(8,18846.94); h_SL1L160->SetBinContent(9,17183.67); h_SL1L160->SetBinContent(10,15403.06); h_SL1L160->SetBinContent(11,14836.73); h_SL1L160->SetBinContent(12,16790.82); h_SL1L160->SetBinContent(13,17418.37); h_SL1L160->SetBinContent(14,16887.76); h_SL1L160->SetBinContent(15,17744.9); h_SL1L160->SetBinContent(16,16576.53); h_SL1L160->SetBinContent(17,17484.69); h_SL1L160->SetBinContent(18,18260.2); h_SL1L160->SetBinContent(19,18535.71); h_SL1L160->SetBinContent(20,18270.41); h_SL1L160->SetBinContent(21,20127.55); h_SL1L160->SetBinContent(22,20464.29); h_SL1L160->SetBinContent(23,20183.67); h_SL1L160->SetBinContent(24,18954.08); h_SL1L160->SetBinContent(25,19147.96); h_SL1L160->SetBinContent(26,18867.35); h_SL1L160->SetBinContent(27,17892.86); h_SL1L160->SetBinContent(28,19142.86); h_SL1L160->SetBinContent(29,19877.55); h_SL1L160->SetBinContent(30,20443.88); h_SL1L160->SetBinContent(31,20265.31); h_SL1L160->SetBinContent(32,21382.65); h_SL1L160->SetBinContent(33,47107.14); h_SL1L160->SetBinContent(34,67112.24); h_SL1L160->SetBinContent(35,70785.71); h_SL1L160->SetBinContent(36,69301.02); h_SL1L160->SetBinContent(37,79295.91); h_SL1L160->SetBinContent(38,88015.3); h_SL1L160->SetBinContent(39,49989.8); h_SL1L160->SetBinContent(40,22005.1); h_SL1L160->SetBinContent(41,18846.94); h_SL1L160->SetBinContent(42,18219.39); h_SL1L160->SetBinContent(43,17831.63); h_SL1L160->SetBinContent(44,17193.88); h_SL1L160->SetBinContent(45,15811.22); h_SL1L160->SetBinContent(46,15545.92); h_SL1L160->SetBinContent(47,15790.82); h_SL1L160->SetBinContent(48,14178.57); h_SL1L160->SetBinContent(49,14352.04); h_SL1L160->SetBinContent(50,14668.37); h_SL1L160->SetBinContent(51,13607.14); h_SL1L160->SetBinContent(52,14352.04); h_SL1L160->SetBinContent(53,13806.12); h_SL1L160->SetBinContent(54,13658.16); h_SL1L160->SetBinContent(55,14214.29); h_SL1L160->SetBinContent(56,13734.69); h_SL1L160->SetBinContent(57,14790.82); h_SL1L160->SetBinContent(58,14178.57); h_SL1L160->SetBinContent(59,14520.41); h_SL1L160->SetMaximum(250525.2); 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,19311.22); h_SL1L261->SetBinContent(2,18290.82); h_SL1L261->SetBinContent(3,19025.51); h_SL1L261->SetBinContent(4,18862.24); h_SL1L261->SetBinContent(5,18219.39); h_SL1L261->SetBinContent(6,19867.35); h_SL1L261->SetBinContent(7,19244.9); h_SL1L261->SetBinContent(8,18816.33); h_SL1L261->SetBinContent(9,19520.41); h_SL1L261->SetBinContent(10,16954.08); h_SL1L261->SetBinContent(11,16214.29); h_SL1L261->SetBinContent(12,17045.92); h_SL1L261->SetBinContent(13,17224.49); h_SL1L261->SetBinContent(14,18765.31); h_SL1L261->SetBinContent(15,18331.63); h_SL1L261->SetBinContent(16,18362.24); h_SL1L261->SetBinContent(17,17719.39); h_SL1L261->SetBinContent(18,17846.94); h_SL1L261->SetBinContent(19,19500); h_SL1L261->SetBinContent(20,19209.18); h_SL1L261->SetBinContent(21,19892.86); h_SL1L261->SetBinContent(22,21112.24); h_SL1L261->SetBinContent(23,20244.9); h_SL1L261->SetBinContent(24,21418.37); h_SL1L261->SetBinContent(25,21918.37); h_SL1L261->SetBinContent(26,20877.55); h_SL1L261->SetBinContent(27,20566.33); h_SL1L261->SetBinContent(28,21892.86); h_SL1L261->SetBinContent(29,22173.47); h_SL1L261->SetBinContent(30,21586.73); h_SL1L261->SetBinContent(31,22025.51); h_SL1L261->SetBinContent(32,23678.57); h_SL1L261->SetBinContent(33,35663.27); h_SL1L261->SetBinContent(34,68081.63); h_SL1L261->SetBinContent(35,77540.81); h_SL1L261->SetBinContent(36,80653.06); h_SL1L261->SetBinContent(37,84882.65); h_SL1L261->SetBinContent(38,84658.16); h_SL1L261->SetBinContent(39,71811.23); h_SL1L261->SetBinContent(40,34132.65); h_SL1L261->SetBinContent(41,23408.16); h_SL1L261->SetBinContent(42,19035.71); h_SL1L261->SetBinContent(43,18729.59); h_SL1L261->SetBinContent(44,18306.12); h_SL1L261->SetBinContent(45,18326.53); h_SL1L261->SetBinContent(46,18423.47); h_SL1L261->SetBinContent(47,17974.49); h_SL1L261->SetBinContent(48,17464.29); h_SL1L261->SetBinContent(49,189433.7); h_SL1L261->SetBinContent(50,16265.31); h_SL1L261->SetBinContent(51,15760.2); h_SL1L261->SetBinContent(52,36571.43); h_SL1L261->SetBinContent(53,47071.43); h_SL1L261->SetBinContent(54,15377.55); h_SL1L261->SetBinContent(55,15673.47); h_SL1L261->SetBinContent(56,154403.1); h_SL1L261->SetBinContent(57,23056.12); h_SL1L261->SetBinContent(58,14877.55); h_SL1L261->SetBinContent(59,13943.88); h_SL1L261->SetMaximum(217848.7); 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,10295.92); h_SL1L362->SetBinContent(2,10224.49); h_SL1L362->SetBinContent(3,10209.18); h_SL1L362->SetBinContent(4,10484.69); h_SL1L362->SetBinContent(5,10183.67); h_SL1L362->SetBinContent(6,10959.18); h_SL1L362->SetBinContent(7,10459.18); h_SL1L362->SetBinContent(8,10423.47); h_SL1L362->SetBinContent(9,9642.857); h_SL1L362->SetBinContent(10,8520.408); h_SL1L362->SetBinContent(11,8698.979); h_SL1L362->SetBinContent(12,9045.918); h_SL1L362->SetBinContent(13,10142.86); h_SL1L362->SetBinContent(14,9540.816); h_SL1L362->SetBinContent(15,10571.43); h_SL1L362->SetBinContent(16,10066.33); h_SL1L362->SetBinContent(17,9989.796); h_SL1L362->SetBinContent(18,9622.449); h_SL1L362->SetBinContent(19,10275.51); h_SL1L362->SetBinContent(20,10311.22); h_SL1L362->SetBinContent(21,11903.06); h_SL1L362->SetBinContent(22,10989.8); h_SL1L362->SetBinContent(23,11403.06); h_SL1L362->SetBinContent(24,11428.57); h_SL1L362->SetBinContent(25,10209.18); h_SL1L362->SetBinContent(26,9489.796); h_SL1L362->SetBinContent(27,10918.37); h_SL1L362->SetBinContent(28,9852.041); h_SL1L362->SetBinContent(29,11765.31); h_SL1L362->SetBinContent(30,10168.37); h_SL1L362->SetBinContent(31,11744.9); h_SL1L362->SetBinContent(32,11494.9); h_SL1L362->SetBinContent(33,18959.18); h_SL1L362->SetBinContent(34,28265.31); h_SL1L362->SetBinContent(35,29321.43); h_SL1L362->SetBinContent(36,28158.16); h_SL1L362->SetBinContent(37,31581.63); h_SL1L362->SetBinContent(38,28229.59); h_SL1L362->SetBinContent(39,22387.76); h_SL1L362->SetBinContent(40,9811.225); h_SL1L362->SetBinContent(41,9443.878); h_SL1L362->SetBinContent(42,10892.86); h_SL1L362->SetBinContent(43,11153.06); h_SL1L362->SetBinContent(44,10326.53); h_SL1L362->SetBinContent(45,9647.959); h_SL1L362->SetBinContent(46,9826.53); h_SL1L362->SetBinContent(47,9403.062); h_SL1L362->SetBinContent(48,8903.062); h_SL1L362->SetBinContent(49,14071.43); h_SL1L362->SetBinContent(50,8653.062); h_SL1L362->SetBinContent(51,8127.551); h_SL1L362->SetBinContent(52,8454.082); h_SL1L362->SetBinContent(53,108112.2); h_SL1L362->SetBinContent(54,8051.021); h_SL1L362->SetBinContent(55,7647.959); h_SL1L362->SetBinContent(56,143153.1); h_SL1L362->SetBinContent(57,41877.55); h_SL1L362->SetBinContent(58,7530.612); h_SL1L362->SetBinContent(59,7357.143); h_SL1L362->SetMaximum(217848.7); 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,15933.67); h_SL1L463->SetBinContent(3,15683.67); h_SL1L463->SetBinContent(4,14867.35); h_SL1L463->SetBinContent(5,14841.84); h_SL1L463->SetBinContent(6,15836.73); h_SL1L463->SetBinContent(7,15198.98); h_SL1L463->SetBinContent(8,15290.82); h_SL1L463->SetBinContent(9,15801.02); h_SL1L463->SetBinContent(10,14086.73); h_SL1L463->SetBinContent(11,14244.9); h_SL1L463->SetBinContent(12,14484.69); h_SL1L463->SetBinContent(13,14617.35); h_SL1L463->SetBinContent(14,16056.12); h_SL1L463->SetBinContent(15,16061.22); h_SL1L463->SetBinContent(16,15714.29); h_SL1L463->SetBinContent(17,14438.78); h_SL1L463->SetBinContent(18,14591.84); h_SL1L463->SetBinContent(19,15816.33); h_SL1L463->SetBinContent(20,16112.25); h_SL1L463->SetBinContent(21,16086.73); h_SL1L463->SetBinContent(22,15857.14); h_SL1L463->SetBinContent(23,16418.37); h_SL1L463->SetBinContent(24,16882.65); h_SL1L463->SetBinContent(25,15826.53); h_SL1L463->SetBinContent(26,15596.94); h_SL1L463->SetBinContent(27,15693.88); h_SL1L463->SetBinContent(28,15596.94); h_SL1L463->SetBinContent(29,16295.92); h_SL1L463->SetBinContent(30,16729.59); h_SL1L463->SetBinContent(31,18739.79); h_SL1L463->SetBinContent(32,17362.24); h_SL1L463->SetBinContent(33,24556.12); h_SL1L463->SetBinContent(34,53464.29); h_SL1L463->SetBinContent(35,89061.23); h_SL1L463->SetBinContent(36,62193.88); h_SL1L463->SetBinContent(37,59387.75); h_SL1L463->SetBinContent(38,63005.1); h_SL1L463->SetBinContent(39,63387.75); h_SL1L463->SetBinContent(40,24969.39); h_SL1L463->SetBinContent(41,15642.86); h_SL1L463->SetBinContent(42,15494.9); h_SL1L463->SetBinContent(43,15918.37); h_SL1L463->SetBinContent(44,14030.61); h_SL1L463->SetBinContent(45,12622.45); h_SL1L463->SetBinContent(46,13413.27); h_SL1L463->SetBinContent(47,12647.96); h_SL1L463->SetBinContent(48,12474.49); h_SL1L463->SetBinContent(49,10785.71); h_SL1L463->SetBinContent(50,11704.08); h_SL1L463->SetBinContent(51,10642.86); h_SL1L463->SetBinContent(52,10474.49); h_SL1L463->SetBinContent(53,10234.69); h_SL1L463->SetBinContent(54,10418.37); h_SL1L463->SetBinContent(55,10.20408); h_SL1L463->SetBinContent(56,10918.37); h_SL1L463->SetBinContent(57,10846.94); h_SL1L463->SetBinContent(58,12204.08); h_SL1L463->SetBinContent(59,11846.94); h_SL1L463->SetMaximum(217848.7); 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 6886"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }