void RatesPerCell_Removing_noisy_cells_run_6833_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20456.49,67.5,184108.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6833",60,0,60); h_SL2L164->SetBinContent(1,48137.75); h_SL2L164->SetBinContent(2,59765.3); h_SL2L164->SetBinContent(3,72683.67); h_SL2L164->SetBinContent(4,74443.88); h_SL2L164->SetBinContent(5,72397.96); h_SL2L164->SetBinContent(6,67683.67); h_SL2L164->SetBinContent(7,59198.98); h_SL2L164->SetBinContent(8,58295.92); h_SL2L164->SetBinContent(9,67500); h_SL2L164->SetBinContent(10,68030.61); h_SL2L164->SetBinContent(11,68142.86); h_SL2L164->SetBinContent(12,67153.06); h_SL2L164->SetBinContent(13,67081.63); h_SL2L164->SetBinContent(14,65918.37); h_SL2L164->SetBinContent(15,65020.41); h_SL2L164->SetBinContent(16,61188.77); h_SL2L164->SetBinContent(17,61209.18); h_SL2L164->SetBinContent(18,60209.18); h_SL2L164->SetBinContent(19,57357.14); h_SL2L164->SetBinContent(20,53622.45); h_SL2L164->SetBinContent(21,48647.96); h_SL2L164->SetBinContent(22,46219.39); h_SL2L164->SetBinContent(23,43984.7); h_SL2L164->SetBinContent(24,40933.67); h_SL2L164->SetBinContent(25,42596.94); h_SL2L164->SetBinContent(26,58714.29); h_SL2L164->SetBinContent(27,71010.2); h_SL2L164->SetBinContent(28,76602.04); h_SL2L164->SetBinContent(29,78709.18); h_SL2L164->SetBinContent(30,75051.02); h_SL2L164->SetBinContent(31,71178.57); h_SL2L164->SetBinContent(32,71071.43); h_SL2L164->SetBinContent(33,70214.28); h_SL2L164->SetBinContent(34,50913.27); h_SL2L164->SetBinContent(36,27153.06); h_SL2L164->SetBinContent(37,27734.69); h_SL2L164->SetBinContent(38,27867.35); h_SL2L164->SetBinContent(39,27270.41); h_SL2L164->SetBinContent(40,76448.98); h_SL2L164->SetBinContent(41,123744.9); h_SL2L164->SetBinContent(42,28739.79); h_SL2L164->SetBinContent(43,29158.16); h_SL2L164->SetBinContent(44,28989.79); h_SL2L164->SetBinContent(45,23433.67); h_SL2L164->SetBinContent(46,22392.86); h_SL2L164->SetBinContent(47,22443.88); h_SL2L164->SetBinContent(48,22382.65); h_SL2L164->SetBinContent(49,23464.29); h_SL2L164->SetBinContent(50,22071.43); h_SL2L164->SetBinContent(51,24882.65); h_SL2L164->SetBinContent(52,27994.9); h_SL2L164->SetBinContent(53,30183.67); h_SL2L164->SetBinContent(54,32112.24); h_SL2L164->SetBinContent(55,32433.67); h_SL2L164->SetBinContent(56,28321.43); h_SL2L164->SetBinContent(57,41979.59); h_SL2L164->SetMaximum(163651.9); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,41056.12); h_SL2L265->SetBinContent(2,58586.73); h_SL2L265->SetBinContent(3,62688.77); h_SL2L265->SetBinContent(4,72387.76); h_SL2L265->SetBinContent(5,70882.66); h_SL2L265->SetBinContent(6,66908.16); h_SL2L265->SetBinContent(7,62591.84); h_SL2L265->SetBinContent(8,54647.96); h_SL2L265->SetBinContent(9,63295.92); h_SL2L265->SetBinContent(10,64913.27); h_SL2L265->SetBinContent(11,68469.39); h_SL2L265->SetBinContent(12,65459.18); h_SL2L265->SetBinContent(13,64403.06); h_SL2L265->SetBinContent(14,64581.63); h_SL2L265->SetBinContent(15,63306.12); h_SL2L265->SetBinContent(16,60739.8); h_SL2L265->SetBinContent(17,59510.2); h_SL2L265->SetBinContent(18,58632.65); h_SL2L265->SetBinContent(19,56683.67); h_SL2L265->SetBinContent(20,53443.88); h_SL2L265->SetBinContent(21,50173.47); h_SL2L265->SetBinContent(22,45653.06); h_SL2L265->SetBinContent(23,41346.94); h_SL2L265->SetBinContent(24,41076.53); h_SL2L265->SetBinContent(25,38948.98); h_SL2L265->SetBinContent(26,48403.06); h_SL2L265->SetBinContent(27,63183.67); h_SL2L265->SetBinContent(28,73831.63); h_SL2L265->SetBinContent(29,77622.45); h_SL2L265->SetBinContent(30,76346.94); h_SL2L265->SetBinContent(31,70653.06); h_SL2L265->SetBinContent(32,70693.88); h_SL2L265->SetBinContent(33,69750); h_SL2L265->SetBinContent(34,63336.73); h_SL2L265->SetBinContent(35,37561.22); h_SL2L265->SetBinContent(36,26877.55); h_SL2L265->SetBinContent(37,26280.61); h_SL2L265->SetBinContent(38,26244.9); h_SL2L265->SetBinContent(39,25653.06); h_SL2L265->SetBinContent(40,27030.61); h_SL2L265->SetBinContent(41,25535.71); h_SL2L265->SetBinContent(42,24770.41); h_SL2L265->SetBinContent(43,24510.2); h_SL2L265->SetBinContent(44,23709.18); h_SL2L265->SetBinContent(45,22270.41); h_SL2L265->SetBinContent(46,21698.98); h_SL2L265->SetBinContent(47,20688.78); h_SL2L265->SetBinContent(48,22005.1); h_SL2L265->SetBinContent(49,21765.31); h_SL2L265->SetBinContent(50,22821.43); h_SL2L265->SetBinContent(51,21489.79); h_SL2L265->SetBinContent(52,25040.82); h_SL2L265->SetBinContent(53,27734.69); h_SL2L265->SetBinContent(54,30321.43); h_SL2L265->SetBinContent(55,31862.24); h_SL2L265->SetBinContent(56,27903.06); h_SL2L265->SetBinContent(57,27255.1); h_SL2L265->SetMaximum(142306.6); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,45275.51); h_SL2L366->SetBinContent(2,55127.55); h_SL2L366->SetBinContent(3,69132.66); h_SL2L366->SetBinContent(4,68653.06); h_SL2L366->SetBinContent(5,65862.24); h_SL2L366->SetBinContent(6,60418.37); h_SL2L366->SetBinContent(7,54994.9); h_SL2L366->SetBinContent(8,55193.88); h_SL2L366->SetBinContent(9,62239.8); h_SL2L366->SetBinContent(10,64510.2); h_SL2L366->SetBinContent(11,63663.27); h_SL2L366->SetBinContent(12,61872.45); h_SL2L366->SetBinContent(13,61260.2); h_SL2L366->SetBinContent(14,61617.35); h_SL2L366->SetBinContent(15,59433.67); h_SL2L366->SetBinContent(16,57693.88); h_SL2L366->SetBinContent(17,57142.86); h_SL2L366->SetBinContent(18,55494.9); h_SL2L366->SetBinContent(19,53602.04); h_SL2L366->SetBinContent(20,48882.65); h_SL2L366->SetBinContent(21,46408.16); h_SL2L366->SetBinContent(22,40979.59); h_SL2L366->SetBinContent(23,40387.75); h_SL2L366->SetBinContent(24,38153.06); h_SL2L366->SetBinContent(25,40051.02); h_SL2L366->SetBinContent(26,56153.06); h_SL2L366->SetBinContent(27,68234.7); h_SL2L366->SetBinContent(28,74204.08); h_SL2L366->SetBinContent(29,76816.33); h_SL2L366->SetBinContent(30,72066.33); h_SL2L366->SetBinContent(31,69275.51); h_SL2L366->SetBinContent(32,69316.33); h_SL2L366->SetBinContent(33,67683.67); h_SL2L366->SetBinContent(34,48734.7); h_SL2L366->SetBinContent(35,29178.57); h_SL2L366->SetBinContent(36,25352.04); h_SL2L366->SetBinContent(37,25285.71); h_SL2L366->SetBinContent(38,24750); h_SL2L366->SetBinContent(39,24255.1); h_SL2L366->SetBinContent(40,24581.63); h_SL2L366->SetBinContent(41,24214.29); h_SL2L366->SetBinContent(42,23423.47); h_SL2L366->SetBinContent(43,22765.31); h_SL2L366->SetBinContent(44,22658.16); h_SL2L366->SetBinContent(45,21632.65); h_SL2L366->SetBinContent(46,20311.22); h_SL2L366->SetBinContent(47,21096.94); h_SL2L366->SetBinContent(48,21081.63); h_SL2L366->SetBinContent(49,21744.9); h_SL2L366->SetBinContent(50,21346.94); h_SL2L366->SetBinContent(51,22178.57); h_SL2L366->SetBinContent(52,25301.02); h_SL2L366->SetBinContent(53,27081.63); h_SL2L366->SetBinContent(54,29688.78); h_SL2L366->SetBinContent(55,30673.47); h_SL2L366->SetBinContent(56,25566.33); h_SL2L366->SetBinContent(57,26045.92); h_SL2L366->SetMaximum(142306.6); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,52673.47); h_SL2L467->SetBinContent(3,58836.73); h_SL2L467->SetBinContent(4,65770.41); h_SL2L467->SetBinContent(5,65678.57); h_SL2L467->SetBinContent(6,61423.47); h_SL2L467->SetBinContent(7,57255.1); h_SL2L467->SetBinContent(8,49928.57); h_SL2L467->SetBinContent(9,58260.2); h_SL2L467->SetBinContent(10,60137.75); h_SL2L467->SetBinContent(11,61984.69); h_SL2L467->SetBinContent(12,59403.06); h_SL2L467->SetBinContent(13,59346.94); h_SL2L467->SetBinContent(14,60096.94); h_SL2L467->SetBinContent(15,58709.18); h_SL2L467->SetBinContent(16,57173.47); h_SL2L467->SetBinContent(17,54903.06); h_SL2L467->SetBinContent(18,53673.47); h_SL2L467->SetBinContent(19,52423.47); h_SL2L467->SetBinContent(20,49561.22); h_SL2L467->SetBinContent(21,45714.29); h_SL2L467->SetBinContent(22,41040.82); h_SL2L467->SetBinContent(23,40209.18); h_SL2L467->SetBinContent(24,37918.37); h_SL2L467->SetBinContent(25,35862.25); h_SL2L467->SetBinContent(26,46693.88); h_SL2L467->SetBinContent(27,61418.37); h_SL2L467->SetBinContent(28,70867.34); h_SL2L467->SetBinContent(29,75923.47); h_SL2L467->SetBinContent(30,75382.65); h_SL2L467->SetBinContent(31,68142.86); h_SL2L467->SetBinContent(32,68913.27); h_SL2L467->SetBinContent(33,68397.96); h_SL2L467->SetBinContent(34,60494.9); h_SL2L467->SetBinContent(35,35571.43); h_SL2L467->SetBinContent(36,25346.94); h_SL2L467->SetBinContent(37,23760.2); h_SL2L467->SetBinContent(38,22948.98); h_SL2L467->SetBinContent(39,23112.24); h_SL2L467->SetBinContent(40,23265.31); h_SL2L467->SetBinContent(41,22413.27); h_SL2L467->SetBinContent(42,22459.18); h_SL2L467->SetBinContent(43,21775.51); h_SL2L467->SetBinContent(44,22250); h_SL2L467->SetBinContent(45,20964.29); h_SL2L467->SetBinContent(46,19913.27); h_SL2L467->SetBinContent(47,20494.9); h_SL2L467->SetBinContent(48,19755.1); h_SL2L467->SetBinContent(49,20056.12); h_SL2L467->SetBinContent(50,21459.18); h_SL2L467->SetBinContent(51,20280.61); h_SL2L467->SetBinContent(52,23000); h_SL2L467->SetBinContent(53,24989.79); h_SL2L467->SetBinContent(54,27117.35); h_SL2L467->SetBinContent(55,29000); h_SL2L467->SetBinContent(56,26663.27); h_SL2L467->SetBinContent(57,25270.41); h_SL2L467->SetMaximum(142306.6); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6833"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }