void RatesPerCell_Removing_noisy_cells_run_6931_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-71677.92,67.5,645101.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6931",60,0,60); h_SL2L164->SetBinContent(1,17792.46); h_SL2L164->SetBinContent(2,29659.85); h_SL2L164->SetBinContent(3,28978.51); h_SL2L164->SetBinContent(4,29168.25); h_SL2L164->SetBinContent(5,29539.1); h_SL2L164->SetBinContent(6,28693.9); h_SL2L164->SetBinContent(7,25649.43); h_SL2L164->SetBinContent(8,25666.68); h_SL2L164->SetBinContent(9,29047.5); h_SL2L164->SetBinContent(10,29823.71); h_SL2L164->SetBinContent(11,28831.89); h_SL2L164->SetBinContent(12,29521.85); h_SL2L164->SetBinContent(13,28555.9); h_SL2L164->SetBinContent(14,28461.03); h_SL2L164->SetBinContent(15,28107.43); h_SL2L164->SetBinContent(16,27676.2); h_SL2L164->SetBinContent(17,27538.21); h_SL2L164->SetBinContent(18,28021.18); h_SL2L164->SetBinContent(19,26874.12); h_SL2L164->SetBinContent(20,26477.38); h_SL2L164->SetBinContent(21,26003.04); h_SL2L164->SetBinContent(22,24398.87); h_SL2L164->SetBinContent(23,23450.17); h_SL2L164->SetBinContent(24,22001.24); h_SL2L164->SetBinContent(25,21587.26); h_SL2L164->SetBinContent(26,19724.36); h_SL2L164->SetBinContent(27,20845.55); h_SL2L164->SetBinContent(28,19767.48); h_SL2L164->SetBinContent(29,20198.71); h_SL2L164->SetBinContent(30,19991.72); h_SL2L164->SetBinContent(31,18680.79); h_SL2L164->SetBinContent(32,18922.28); h_SL2L164->SetBinContent(33,18396.18); h_SL2L164->SetBinContent(34,19905.47); h_SL2L164->SetBinContent(36,19569.12); h_SL2L164->SetBinContent(37,25226.82); h_SL2L164->SetBinContent(38,21492.39); h_SL2L164->SetBinContent(39,22855.07); h_SL2L164->SetBinContent(40,433590.9); h_SL2L164->SetBinContent(41,85124.37); h_SL2L164->SetBinContent(42,31229.52); h_SL2L164->SetBinContent(43,30815.54); h_SL2L164->SetBinContent(44,31703.87); h_SL2L164->SetBinContent(45,17016.25); h_SL2L164->SetBinContent(46,17102.49); h_SL2L164->SetBinContent(47,17447.48); h_SL2L164->SetBinContent(48,16930); h_SL2L164->SetBinContent(49,16774.76); h_SL2L164->SetBinContent(50,17387.1); h_SL2L164->SetBinContent(51,17887.33); h_SL2L164->SetBinContent(52,18905.03); h_SL2L164->SetBinContent(53,20129.71); h_SL2L164->SetBinContent(54,20146.96); h_SL2L164->SetBinContent(55,19077.52); h_SL2L164->SetBinContent(56,15256.84); h_SL2L164->SetBinContent(57,24993.96); h_SL2L164->SetMaximum(573423.3); 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,12384.86); h_SL2L265->SetBinContent(2,21587.26); h_SL2L265->SetBinContent(3,24700.73); h_SL2L265->SetBinContent(4,29780.59); h_SL2L265->SetBinContent(5,29504.61); h_SL2L265->SetBinContent(6,28995.76); h_SL2L265->SetBinContent(7,26555.01); h_SL2L265->SetBinContent(8,25192.33); h_SL2L265->SetBinContent(9,27546.83); h_SL2L265->SetBinContent(10,27702.07); h_SL2L265->SetBinContent(11,28538.65); h_SL2L265->SetBinContent(12,27788.32); h_SL2L265->SetBinContent(13,28116.05); h_SL2L265->SetBinContent(14,28072.93); h_SL2L265->SetBinContent(15,28495.53); h_SL2L265->SetBinContent(16,27339.84); h_SL2L265->SetBinContent(17,26693); h_SL2L265->SetBinContent(18,27736.57); h_SL2L265->SetBinContent(19,26658.5); h_SL2L265->SetBinContent(20,26486.01); h_SL2L265->SetBinContent(21,24873.22); h_SL2L265->SetBinContent(22,24812.85); h_SL2L265->SetBinContent(23,23294.92); h_SL2L265->SetBinContent(24,21897.75); h_SL2L265->SetBinContent(25,21250.9); h_SL2L265->SetBinContent(26,19827.85); h_SL2L265->SetBinContent(27,19413.88); h_SL2L265->SetBinContent(28,19551.87); h_SL2L265->SetBinContent(29,20112.46); h_SL2L265->SetBinContent(30,18672.16); h_SL2L265->SetBinContent(31,18189.19); h_SL2L265->SetBinContent(32,18275.43); h_SL2L265->SetBinContent(33,17878.7); h_SL2L265->SetBinContent(34,18698.04); h_SL2L265->SetBinContent(35,17274.98); h_SL2L265->SetBinContent(36,16981.75); h_SL2L265->SetBinContent(37,18611.79); h_SL2L265->SetBinContent(38,19560.49); h_SL2L265->SetBinContent(39,19991.72); h_SL2L265->SetBinContent(40,21354.4); h_SL2L265->SetBinContent(41,21414.77); h_SL2L265->SetBinContent(42,19482.87); h_SL2L265->SetBinContent(43,17826.96); h_SL2L265->SetBinContent(44,19224.13); h_SL2L265->SetBinContent(45,17611.34); h_SL2L265->SetBinContent(46,16809.26); h_SL2L265->SetBinContent(47,16472.9); h_SL2L265->SetBinContent(48,16999); h_SL2L265->SetBinContent(49,16671.27); h_SL2L265->SetBinContent(50,17249.11); h_SL2L265->SetBinContent(51,17214.61); h_SL2L265->SetBinContent(52,18266.81); h_SL2L265->SetBinContent(53,19344.88); h_SL2L265->SetBinContent(54,19163.76); h_SL2L265->SetBinContent(55,19284.51); h_SL2L265->SetBinContent(56,15860.56); h_SL2L265->SetBinContent(57,14394.38); h_SL2L265->SetMaximum(498629.5); 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,15670.82); h_SL2L366->SetBinContent(2,21690.76); h_SL2L366->SetBinContent(3,26555.01); h_SL2L366->SetBinContent(4,29194.12); h_SL2L366->SetBinContent(5,28297.17); h_SL2L366->SetBinContent(6,26865.49); h_SL2L366->SetBinContent(7,26287.64); h_SL2L366->SetBinContent(8,25356.19); h_SL2L366->SetBinContent(9,26580.88); h_SL2L366->SetBinContent(10,27520.96); h_SL2L366->SetBinContent(11,27150.1); h_SL2L366->SetBinContent(12,27520.96); h_SL2L366->SetBinContent(13,27650.33); h_SL2L366->SetBinContent(14,28331.67); h_SL2L366->SetBinContent(15,27417.46); h_SL2L366->SetBinContent(16,26080.66); h_SL2L366->SetBinContent(17,26046.16); h_SL2L366->SetBinContent(18,26511.88); h_SL2L366->SetBinContent(19,24821.47); h_SL2L366->SetBinContent(20,25356.19); h_SL2L366->SetBinContent(21,24002.14); h_SL2L366->SetBinContent(22,23752.03); h_SL2L366->SetBinContent(23,21802.88); h_SL2L366->SetBinContent(24,20604.06); h_SL2L366->SetBinContent(25,19224.13); h_SL2L366->SetBinContent(26,19457); h_SL2L366->SetBinContent(27,30988.03); h_SL2L366->SetBinContent(28,18827.4); h_SL2L366->SetBinContent(29,19250.01); h_SL2L366->SetBinContent(30,17878.7); h_SL2L366->SetBinContent(31,18102.94); h_SL2L366->SetBinContent(32,18154.69); h_SL2L366->SetBinContent(33,17619.97); h_SL2L366->SetBinContent(34,17809.71); h_SL2L366->SetBinContent(35,16585.02); h_SL2L366->SetBinContent(36,17516.47); h_SL2L366->SetBinContent(37,18215.06); h_SL2L366->SetBinContent(38,18844.65); h_SL2L366->SetBinContent(39,17594.09); h_SL2L366->SetBinContent(40,18767.03); h_SL2L366->SetBinContent(41,18077.07); h_SL2L366->SetBinContent(42,16783.38); h_SL2L366->SetBinContent(43,16999); h_SL2L366->SetBinContent(44,16567.77); h_SL2L366->SetBinContent(45,16809.26); h_SL2L366->SetBinContent(46,16274.54); h_SL2L366->SetBinContent(47,16214.16); h_SL2L366->SetBinContent(48,16507.4); h_SL2L366->SetBinContent(49,16817.88); h_SL2L366->SetBinContent(50,16309.03); h_SL2L366->SetBinContent(51,16015.8); h_SL2L366->SetBinContent(52,18275.43); h_SL2L366->SetBinContent(53,18611.79); h_SL2L366->SetBinContent(54,19163.76); h_SL2L366->SetBinContent(55,18568.67); h_SL2L366->SetBinContent(56,13833.79); h_SL2L366->SetBinContent(57,13376.69); h_SL2L366->SetMaximum(498629.5); 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,19862.35); h_SL2L467->SetBinContent(3,24338.5); h_SL2L467->SetBinContent(4,27702.07); h_SL2L467->SetBinContent(5,27520.96); h_SL2L467->SetBinContent(6,27538.21); h_SL2L467->SetBinContent(7,26399.77); h_SL2L467->SetBinContent(8,23286.3); h_SL2L467->SetBinContent(9,25701.18); h_SL2L467->SetBinContent(10,26304.89); h_SL2L467->SetBinContent(11,26684.38); h_SL2L467->SetBinContent(12,27512.33); h_SL2L467->SetBinContent(13,26649.88); h_SL2L467->SetBinContent(14,27831.44); h_SL2L467->SetBinContent(15,27012.11); h_SL2L467->SetBinContent(16,26304.89); h_SL2L467->SetBinContent(17,25951.29); h_SL2L467->SetBinContent(18,25830.54); h_SL2L467->SetBinContent(19,24571.36); h_SL2L467->SetBinContent(20,25097.46); h_SL2L467->SetBinContent(21,24407.49); h_SL2L467->SetBinContent(22,23777.9); h_SL2L467->SetBinContent(23,22441.09); h_SL2L467->SetBinContent(24,20422.95); h_SL2L467->SetBinContent(25,19965.85); h_SL2L467->SetBinContent(26,20336.7); h_SL2L467->SetBinContent(27,19051.64); h_SL2L467->SetBinContent(28,18870.53); h_SL2L467->SetBinContent(29,18672.16); h_SL2L467->SetBinContent(30,18913.65); h_SL2L467->SetBinContent(31,17300.86); h_SL2L467->SetBinContent(32,17999.45); h_SL2L467->SetBinContent(33,16990.38); h_SL2L467->SetBinContent(34,17481.97); h_SL2L467->SetBinContent(35,17835.58); h_SL2L467->SetBinContent(36,17162.87); h_SL2L467->SetBinContent(37,17499.22); h_SL2L467->SetBinContent(38,18439.3); h_SL2L467->SetBinContent(39,17973.57); h_SL2L467->SetBinContent(40,17007.62); h_SL2L467->SetBinContent(41,17162.87); h_SL2L467->SetBinContent(42,18422.05); h_SL2L467->SetBinContent(43,16817.88); h_SL2L467->SetBinContent(44,16981.75); h_SL2L467->SetBinContent(45,16567.77); h_SL2L467->SetBinContent(46,16214.16); h_SL2L467->SetBinContent(47,16507.4); h_SL2L467->SetBinContent(48,15955.43); h_SL2L467->SetBinContent(49,16714.39); h_SL2L467->SetBinContent(50,16429.78); h_SL2L467->SetBinContent(51,16705.76); h_SL2L467->SetBinContent(52,17430.23); h_SL2L467->SetBinContent(53,18180.56); h_SL2L467->SetBinContent(54,18922.28); h_SL2L467->SetBinContent(55,18215.06); h_SL2L467->SetBinContent(56,16654.02); h_SL2L467->SetBinContent(57,12333.11); h_SL2L467->SetMaximum(498629.5); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6931"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }