void RatesPerCell_Removing_noisy_cells_run_6827_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:03:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12554.12,67.5,112987.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6827",60,0,60); h_SL2L164->SetBinContent(1,46220.09); h_SL2L164->SetBinContent(2,58585.68); h_SL2L164->SetBinContent(3,71418.34); h_SL2L164->SetBinContent(4,71868.38); h_SL2L164->SetBinContent(5,70603.52); h_SL2L164->SetBinContent(6,65090.65); h_SL2L164->SetBinContent(7,57791.31); h_SL2L164->SetBinContent(8,57071.94); h_SL2L164->SetBinContent(9,65025.88); h_SL2L164->SetBinContent(10,66324.83); h_SL2L164->SetBinContent(11,66229.37); h_SL2L164->SetBinContent(12,64763.36); h_SL2L164->SetBinContent(13,65186.11); h_SL2L164->SetBinContent(14,63324.63); h_SL2L164->SetBinContent(15,62185.92); h_SL2L164->SetBinContent(16,61504.05); h_SL2L164->SetBinContent(17,58074.28); h_SL2L164->SetBinContent(18,58224.29); h_SL2L164->SetBinContent(19,56134.38); h_SL2L164->SetBinContent(20,51180.64); h_SL2L164->SetBinContent(21,47802.02); h_SL2L164->SetBinContent(22,43008.52); h_SL2L164->SetBinContent(23,41815.25); h_SL2L164->SetBinContent(24,40281.06); h_SL2L164->SetBinContent(25,41845.94); h_SL2L164->SetBinContent(26,56720.79); h_SL2L164->SetBinContent(27,69140.92); h_SL2L164->SetBinContent(28,74237.84); h_SL2L164->SetBinContent(29,75942.51); h_SL2L164->SetBinContent(30,72379.77); h_SL2L164->SetBinContent(31,69171.6); h_SL2L164->SetBinContent(32,68813.62); h_SL2L164->SetBinContent(33,67074.88); h_SL2L164->SetBinContent(34,48275.91); h_SL2L164->SetBinContent(36,25044.83); h_SL2L164->SetBinContent(37,26398.33); h_SL2L164->SetBinContent(38,26538.11); h_SL2L164->SetBinContent(39,25143.7); h_SL2L164->SetBinContent(40,40485.62); h_SL2L164->SetBinContent(41,48163.4); h_SL2L164->SetBinContent(42,26579.02); h_SL2L164->SetBinContent(43,26411.97); h_SL2L164->SetBinContent(44,26456.29); h_SL2L164->SetBinContent(45,21799.16); h_SL2L164->SetBinContent(46,21376.41); h_SL2L164->SetBinContent(47,21921.9); h_SL2L164->SetBinContent(48,21880.99); h_SL2L164->SetBinContent(49,22886.74); h_SL2L164->SetBinContent(50,21768.48); h_SL2L164->SetBinContent(51,23554.96); h_SL2L164->SetBinContent(52,26514.25); h_SL2L164->SetBinContent(53,28467.79); h_SL2L164->SetBinContent(54,31423.66); h_SL2L164->SetBinContent(55,31515.71); h_SL2L164->SetBinContent(56,27114.29); h_SL2L164->SetBinContent(57,23687.92); h_SL2L164->SetMaximum(100432.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,38020.69); h_SL2L265->SetBinContent(2,56840.11); h_SL2L265->SetBinContent(3,61476.78); h_SL2L265->SetBinContent(4,70678.52); h_SL2L265->SetBinContent(5,68997.73); h_SL2L265->SetBinContent(6,64551.98); h_SL2L265->SetBinContent(7,59455.05); h_SL2L265->SetBinContent(8,51637.49); h_SL2L265->SetBinContent(9,60443.76); h_SL2L265->SetBinContent(10,62250.69); h_SL2L265->SetBinContent(11,64657.67); h_SL2L265->SetBinContent(12,62615.49); h_SL2L265->SetBinContent(13,62127.96); h_SL2L265->SetBinContent(14,63641.7); h_SL2L265->SetBinContent(15,60375.57); h_SL2L265->SetBinContent(16,59519.83); h_SL2L265->SetBinContent(17,56870.79); h_SL2L265->SetBinContent(18,55077.49); h_SL2L265->SetBinContent(19,55384.33); h_SL2L265->SetBinContent(20,50761.3); h_SL2L265->SetBinContent(21,48391.82); h_SL2L265->SetBinContent(22,43976.76); h_SL2L265->SetBinContent(23,41085.66); h_SL2L265->SetBinContent(24,39633.29); h_SL2L265->SetBinContent(25,37792.26); h_SL2L265->SetBinContent(26,46949.68); h_SL2L265->SetBinContent(27,61960.9); h_SL2L265->SetBinContent(28,71009.23); h_SL2L265->SetBinContent(29,74595.83); h_SL2L265->SetBinContent(30,73341.2); h_SL2L265->SetBinContent(31,68779.53); h_SL2L265->SetBinContent(32,68046.53); h_SL2L265->SetBinContent(33,67347.62); h_SL2L265->SetBinContent(34,60010.77); h_SL2L265->SetBinContent(35,35589.84); h_SL2L265->SetBinContent(36,26459.7); h_SL2L265->SetBinContent(37,25215.3); h_SL2L265->SetBinContent(38,24911.87); h_SL2L265->SetBinContent(39,24881.19); h_SL2L265->SetBinContent(40,24437.97); h_SL2L265->SetBinContent(41,23974.31); h_SL2L265->SetBinContent(42,23527.69); h_SL2L265->SetBinContent(43,23115.16); h_SL2L265->SetBinContent(44,22808.32); h_SL2L265->SetBinContent(45,22058.27); h_SL2L265->SetBinContent(46,20704.77); h_SL2L265->SetBinContent(47,20080.87); h_SL2L265->SetBinContent(48,20643.41); h_SL2L265->SetBinContent(49,21175.26); h_SL2L265->SetBinContent(50,22375.34); h_SL2L265->SetBinContent(51,20622.95); h_SL2L265->SetBinContent(52,24512.98); h_SL2L265->SetBinContent(53,26357.42); h_SL2L265->SetBinContent(54,29074.64); h_SL2L265->SetBinContent(55,30659.97); h_SL2L265->SetBinContent(56,27772.29); h_SL2L265->SetBinContent(57,26504.02); h_SL2L265->SetMaximum(87333.88); 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,44327.92); h_SL2L366->SetBinContent(2,53631.95); h_SL2L366->SetBinContent(3,66856.68); h_SL2L366->SetBinContent(4,66318.01); h_SL2L366->SetBinContent(5,64582.66); h_SL2L366->SetBinContent(6,59284.59); h_SL2L366->SetBinContent(7,53243.28); h_SL2L366->SetBinContent(8,54150.16); h_SL2L366->SetBinContent(9,60351.7); h_SL2L366->SetBinContent(10,60760.82); h_SL2L366->SetBinContent(11,60702.86); h_SL2L366->SetBinContent(12,59918.72); h_SL2L366->SetBinContent(13,60583.54); h_SL2L366->SetBinContent(14,60239.2); h_SL2L366->SetBinContent(15,58350.44); h_SL2L366->SetBinContent(16,56887.84); h_SL2L366->SetBinContent(17,53369.43); h_SL2L366->SetBinContent(18,53546.71); h_SL2L366->SetBinContent(19,51320.43); h_SL2L366->SetBinContent(20,47195.16); h_SL2L366->SetBinContent(21,43881.3); h_SL2L366->SetBinContent(22,40448.12); h_SL2L366->SetBinContent(23,38876.43); h_SL2L366->SetBinContent(24,36803.56); h_SL2L366->SetBinContent(25,38893.47); h_SL2L366->SetBinContent(26,53478.52); h_SL2L366->SetBinContent(27,67371.48); h_SL2L366->SetBinContent(28,72195.66); h_SL2L366->SetBinContent(29,73375.29); h_SL2L366->SetBinContent(30,70252.36); h_SL2L366->SetBinContent(31,67081.7); h_SL2L366->SetBinContent(32,66757.8); h_SL2L366->SetBinContent(33,65267.94); h_SL2L366->SetBinContent(34,46949.68); h_SL2L366->SetBinContent(35,28208.68); h_SL2L366->SetBinContent(36,24475.48); h_SL2L366->SetBinContent(37,24417.52); h_SL2L366->SetBinContent(38,23895.89); h_SL2L366->SetBinContent(39,22989.02); h_SL2L366->SetBinContent(40,22975.38); h_SL2L366->SetBinContent(41,22300.33); h_SL2L366->SetBinContent(42,21884.4); h_SL2L366->SetBinContent(43,22000.31); h_SL2L366->SetBinContent(44,21226.4); h_SL2L366->SetBinContent(45,20472.94); h_SL2L366->SetBinContent(46,19484.24); h_SL2L366->SetBinContent(47,19825.17); h_SL2L366->SetBinContent(48,20466.12); h_SL2L366->SetBinContent(49,21151.39); h_SL2L366->SetBinContent(50,20278.61); h_SL2L366->SetBinContent(51,21693.47); h_SL2L366->SetBinContent(52,23987.95); h_SL2L366->SetBinContent(53,26248.32); h_SL2L366->SetBinContent(54,28300.73); h_SL2L366->SetBinContent(55,29436.03); h_SL2L366->SetBinContent(56,24836.86); h_SL2L366->SetBinContent(57,24550.48); h_SL2L366->SetMaximum(87333.88); 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,52050.02); h_SL2L467->SetBinContent(3,57733.35); h_SL2L467->SetBinContent(4,64753.13); h_SL2L467->SetBinContent(5,63447.36); h_SL2L467->SetBinContent(6,59086.85); h_SL2L467->SetBinContent(7,54167.21); h_SL2L467->SetBinContent(8,47795.2); h_SL2L467->SetBinContent(9,57218.54); h_SL2L467->SetBinContent(10,58302.71); h_SL2L467->SetBinContent(11,59032.3); h_SL2L467->SetBinContent(12,58173.15); h_SL2L467->SetBinContent(13,58210.66); h_SL2L467->SetBinContent(14,57665.16); h_SL2L467->SetBinContent(15,56263.93); h_SL2L467->SetBinContent(16,54116.07); h_SL2L467->SetBinContent(17,53011.45); h_SL2L467->SetBinContent(18,51780.68); h_SL2L467->SetBinContent(19,51242.01); h_SL2L467->SetBinContent(20,47580.41); h_SL2L467->SetBinContent(21,44419.97); h_SL2L467->SetBinContent(22,40052.64); h_SL2L467->SetBinContent(23,37724.08); h_SL2L467->SetBinContent(24,36108.06); h_SL2L467->SetBinContent(25,34696.61); h_SL2L467->SetBinContent(26,45077.97); h_SL2L467->SetBinContent(27,60549.45); h_SL2L467->SetBinContent(28,68786.35); h_SL2L467->SetBinContent(29,72505.91); h_SL2L467->SetBinContent(30,72004.74); h_SL2L467->SetBinContent(31,66839.63); h_SL2L467->SetBinContent(32,66778.27); h_SL2L467->SetBinContent(33,66635.07); h_SL2L467->SetBinContent(34,58104.96); h_SL2L467->SetBinContent(35,33240.83); h_SL2L467->SetBinContent(36,24717.54); h_SL2L467->SetBinContent(37,23640.19); h_SL2L467->SetBinContent(38,23128.8); h_SL2L467->SetBinContent(39,22658.31); h_SL2L467->SetBinContent(40,22027.59); h_SL2L467->SetBinContent(41,21471.87); h_SL2L467->SetBinContent(42,21465.05); h_SL2L467->SetBinContent(43,21366.18); h_SL2L467->SetBinContent(44,20865.01); h_SL2L467->SetBinContent(45,20241.11); h_SL2L467->SetBinContent(46,19797.9); h_SL2L467->SetBinContent(47,18935.34); h_SL2L467->SetBinContent(48,19606.97); h_SL2L467->SetBinContent(49,19774.03); h_SL2L467->SetBinContent(50,20496.8); h_SL2L467->SetBinContent(51,19426.28); h_SL2L467->SetBinContent(52,22337.84); h_SL2L467->SetBinContent(53,23800.43); h_SL2L467->SetBinContent(54,26674.48); h_SL2L467->SetBinContent(55,27670.01); h_SL2L467->SetBinContent(56,26630.16); h_SL2L467->SetBinContent(57,24915.28); h_SL2L467->SetMaximum(87333.88); 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 6827"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }