void RatesPerCell_Removing_noisy_cells_run_6735_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16814.73,67.5,151332.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6735",60,0,60); h_SL1L160->SetBinContent(1,39004.55); h_SL1L160->SetBinContent(2,37366.21); h_SL1L160->SetBinContent(3,37640.48); h_SL1L160->SetBinContent(4,36924.47); h_SL1L160->SetBinContent(5,35698.75); h_SL1L160->SetBinContent(6,37628.35); h_SL1L160->SetBinContent(7,35815.25); h_SL1L160->SetBinContent(8,35514.29); h_SL1L160->SetBinContent(9,32832.27); h_SL1L160->SetBinContent(10,30002.19); h_SL1L160->SetBinContent(11,30002.19); h_SL1L160->SetBinContent(12,30419.67); h_SL1L160->SetBinContent(13,33463.33); h_SL1L160->SetBinContent(14,31798.29); h_SL1L160->SetBinContent(15,30871.12); h_SL1L160->SetBinContent(16,29926.95); h_SL1L160->SetBinContent(17,31138.11); h_SL1L160->SetBinContent(18,32414.79); h_SL1L160->SetBinContent(19,33786.14); h_SL1L160->SetBinContent(20,32757.03); h_SL1L160->SetBinContent(21,34693.9); h_SL1L160->SetBinContent(22,35099.24); h_SL1L160->SetBinContent(23,33900.22); h_SL1L160->SetBinContent(24,32009.46); h_SL1L160->SetBinContent(25,32737.61); h_SL1L160->SetBinContent(26,31943.93); h_SL1L160->SetBinContent(27,31538.59); h_SL1L160->SetBinContent(28,32339.55); h_SL1L160->SetBinContent(29,31358.98); h_SL1L160->SetBinContent(30,31346.84); h_SL1L160->SetBinContent(31,30686.65); h_SL1L160->SetBinContent(32,30674.52); h_SL1L160->SetBinContent(33,49014.18); h_SL1L160->SetBinContent(34,62443.69); h_SL1L160->SetBinContent(35,67273.75); h_SL1L160->SetBinContent(36,66145.12); h_SL1L160->SetBinContent(37,73137.78); h_SL1L160->SetBinContent(38,72108.66); h_SL1L160->SetBinContent(39,52567.55); h_SL1L160->SetBinContent(40,30485.2); h_SL1L160->SetBinContent(41,28803.17); h_SL1L160->SetBinContent(42,28276.48); h_SL1L160->SetBinContent(43,27359.01); h_SL1L160->SetBinContent(44,26890.57); h_SL1L160->SetBinContent(45,25822.61); h_SL1L160->SetBinContent(46,24565.34); h_SL1L160->SetBinContent(47,24169.71); h_SL1L160->SetBinContent(48,22470.7); h_SL1L160->SetBinContent(49,23509.53); h_SL1L160->SetBinContent(50,24283.79); h_SL1L160->SetBinContent(51,23179.43); h_SL1L160->SetBinContent(52,23259.53); h_SL1L160->SetBinContent(53,23310.5); h_SL1L160->SetBinContent(54,22611.47); h_SL1L160->SetBinContent(55,23436.71); h_SL1L160->SetBinContent(56,23640.59); h_SL1L160->SetBinContent(57,25808.05); h_SL1L160->SetBinContent(58,26084.75); h_SL1L160->SetBinContent(59,27186.68); h_SL1L160->SetMaximum(134517.8); 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,40468.13); h_SL1L261->SetBinContent(2,38837.07); h_SL1L261->SetBinContent(3,38883.19); h_SL1L261->SetBinContent(4,38905.04); h_SL1L261->SetBinContent(5,38642.9); h_SL1L261->SetBinContent(6,41837.05); h_SL1L261->SetBinContent(7,40667.16); h_SL1L261->SetBinContent(8,40781.23); h_SL1L261->SetBinContent(9,39053.09); h_SL1L261->SetBinContent(10,34713.32); h_SL1L261->SetBinContent(11,33621.1); h_SL1L261->SetBinContent(12,34271.58); h_SL1L261->SetBinContent(13,35783.7); h_SL1L261->SetBinContent(14,38378.34); h_SL1L261->SetBinContent(15,37936.6); h_SL1L261->SetBinContent(16,37519.12); h_SL1L261->SetBinContent(17,36383.21); h_SL1L261->SetBinContent(18,37407.48); h_SL1L261->SetBinContent(19,39987.55); h_SL1L261->SetBinContent(20,40324.93); h_SL1L261->SetBinContent(21,41443.85); h_SL1L261->SetBinContent(22,42664.71); h_SL1L261->SetBinContent(23,42062.78); h_SL1L261->SetBinContent(24,42800.64); h_SL1L261->SetBinContent(25,43460.82); h_SL1L261->SetBinContent(26,41531.23); h_SL1L261->SetBinContent(27,39752.12); h_SL1L261->SetBinContent(28,41232.69); h_SL1L261->SetBinContent(29,42429.28); h_SL1L261->SetBinContent(30,41628.32); h_SL1L261->SetBinContent(31,41079.78); h_SL1L261->SetBinContent(32,41601.62); h_SL1L261->SetBinContent(33,52858.81); h_SL1L261->SetBinContent(34,85603.7); h_SL1L261->SetBinContent(35,93103.64); h_SL1L261->SetBinContent(36,99261.36); h_SL1L261->SetBinContent(37,101715.2); h_SL1L261->SetBinContent(38,99635.14); h_SL1L261->SetBinContent(39,86894.95); h_SL1L261->SetBinContent(40,51574.84); h_SL1L261->SetBinContent(41,40553.08); h_SL1L261->SetBinContent(42,35883.21); h_SL1L261->SetBinContent(43,34880.8); h_SL1L261->SetBinContent(44,34252.16); h_SL1L261->SetBinContent(45,34497.3); h_SL1L261->SetBinContent(46,34276.43); h_SL1L261->SetBinContent(47,34858.95); h_SL1L261->SetBinContent(48,33055.57); h_SL1L261->SetBinContent(49,44273.93); h_SL1L261->SetBinContent(50,32077.42); h_SL1L261->SetBinContent(51,31465.77); h_SL1L261->SetBinContent(52,30541.02); h_SL1L261->SetBinContent(53,31562.86); h_SL1L261->SetBinContent(54,30422.09); h_SL1L261->SetBinContent(55,31240.05); h_SL1L261->SetBinContent(56,34186.62); h_SL1L261->SetBinContent(57,29892.97); h_SL1L261->SetBinContent(58,29815.3); h_SL1L261->SetBinContent(59,27987.64); h_SL1L261->SetMaximum(116972.5); 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,38150.19); h_SL1L362->SetBinContent(2,36982.72); h_SL1L362->SetBinContent(3,38060.38); h_SL1L362->SetBinContent(4,36970.59); h_SL1L362->SetBinContent(5,39072.51); h_SL1L362->SetBinContent(6,40373.47); h_SL1L362->SetBinContent(7,39070.08); h_SL1L362->SetBinContent(8,38259.41); h_SL1L362->SetBinContent(9,35351.66); h_SL1L362->SetBinContent(10,32441.49); h_SL1L362->SetBinContent(11,33072.56); h_SL1L362->SetBinContent(12,33638.09); h_SL1L362->SetBinContent(13,36099.23); h_SL1L362->SetBinContent(14,36973.01); h_SL1L362->SetBinContent(15,37565.24); h_SL1L362->SetBinContent(16,34970.6); h_SL1L362->SetBinContent(17,35871.08); h_SL1L362->SetBinContent(18,37349.22); h_SL1L362->SetBinContent(19,38477.86); h_SL1L362->SetBinContent(20,38788.53); h_SL1L362->SetBinContent(21,40451.14); h_SL1L362->SetBinContent(22,40965.7); h_SL1L362->SetBinContent(23,41504.53); h_SL1L362->SetBinContent(24,41880.74); h_SL1L362->SetBinContent(25,41526.38); h_SL1L362->SetBinContent(26,38951.15); h_SL1L362->SetBinContent(27,39118.62); h_SL1L362->SetBinContent(28,39912.31); h_SL1L362->SetBinContent(29,39718.14); h_SL1L362->SetBinContent(30,40516.68); h_SL1L362->SetBinContent(31,40388.04); h_SL1L362->SetBinContent(32,41844.33); h_SL1L362->SetBinContent(33,70290.71); h_SL1L362->SetBinContent(34,90035.7); h_SL1L362->SetBinContent(35,96387.59); h_SL1L362->SetBinContent(36,99353.59); h_SL1L362->SetBinContent(37,101062.3); h_SL1L362->SetBinContent(38,94241.98); h_SL1L362->SetBinContent(39,70086.83); h_SL1L362->SetBinContent(40,40523.96); h_SL1L362->SetBinContent(41,35749.72); h_SL1L362->SetBinContent(42,34380.8); h_SL1L362->SetBinContent(43,33424.5); h_SL1L362->SetBinContent(44,33193.91); h_SL1L362->SetBinContent(45,32827.41); h_SL1L362->SetBinContent(46,33628.38); h_SL1L362->SetBinContent(47,33686.63); h_SL1L362->SetBinContent(48,30890.54); h_SL1L362->SetBinContent(49,31291.02); h_SL1L362->SetBinContent(50,30429.37); h_SL1L362->SetBinContent(51,29291.03); h_SL1L362->SetBinContent(52,29276.47); h_SL1L362->SetBinContent(53,32259.46); h_SL1L362->SetBinContent(54,29468.22); h_SL1L362->SetBinContent(55,29878.41); h_SL1L362->SetBinContent(56,32757.03); h_SL1L362->SetBinContent(57,29356.57); h_SL1L362->SetBinContent(58,28274.05); h_SL1L362->SetBinContent(59,27589.59); h_SL1L362->SetMaximum(116972.5); 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,34373.52); h_SL1L463->SetBinContent(3,33193.91); h_SL1L463->SetBinContent(4,32220.62); h_SL1L463->SetBinContent(5,30822.57); h_SL1L463->SetBinContent(6,33038.58); h_SL1L463->SetBinContent(7,31939.07); h_SL1L463->SetBinContent(8,32218.2); h_SL1L463->SetBinContent(9,32021.59); h_SL1L463->SetBinContent(10,30286.17); h_SL1L463->SetBinContent(11,29538.6); h_SL1L463->SetBinContent(12,30426.95); h_SL1L463->SetBinContent(13,31125.97); h_SL1L463->SetBinContent(14,33812.84); h_SL1L463->SetBinContent(15,33070.13); h_SL1L463->SetBinContent(16,31798.29); h_SL1L463->SetBinContent(17,30366.27); h_SL1L463->SetBinContent(18,31091.99); h_SL1L463->SetBinContent(19,31504.61); h_SL1L463->SetBinContent(20,32244.89); h_SL1L463->SetBinContent(21,31681.79); h_SL1L463->SetBinContent(22,33128.38); h_SL1L463->SetBinContent(23,33218.19); h_SL1L463->SetBinContent(24,33572.55); h_SL1L463->SetBinContent(25,32363.82); h_SL1L463->SetBinContent(26,31985.19); h_SL1L463->SetBinContent(27,30875.97); h_SL1L463->SetBinContent(28,30514.32); h_SL1L463->SetBinContent(29,31252.18); h_SL1L463->SetBinContent(30,32220.62); h_SL1L463->SetBinContent(31,31562.86); h_SL1L463->SetBinContent(32,30803.16); h_SL1L463->SetBinContent(33,34128.38); h_SL1L463->SetBinContent(34,58795.66); h_SL1L463->SetBinContent(35,70011.59); h_SL1L463->SetBinContent(36,67989.76); h_SL1L463->SetBinContent(37,63244.65); h_SL1L463->SetBinContent(38,65560.16); h_SL1L463->SetBinContent(39,64125.71); h_SL1L463->SetBinContent(40,33536.14); h_SL1L463->SetBinContent(41,26210.96); h_SL1L463->SetBinContent(42,25553.2); h_SL1L463->SetBinContent(43,24834.76); h_SL1L463->SetBinContent(44,24514.37); h_SL1L463->SetBinContent(45,21448.86); h_SL1L463->SetBinContent(46,23143.02); h_SL1L463->SetBinContent(47,22577.49); h_SL1L463->SetBinContent(48,20839.64); h_SL1L463->SetBinContent(49,19201.31); h_SL1L463->SetBinContent(50,20948.87); h_SL1L463->SetBinContent(51,19992.56); h_SL1L463->SetBinContent(52,19169.75); h_SL1L463->SetBinContent(53,19606.64); h_SL1L463->SetBinContent(54,19655.19); h_SL1L463->SetBinContent(55,4.854331); h_SL1L463->SetBinContent(56,21089.64); h_SL1L463->SetBinContent(57,21808.08); h_SL1L463->SetBinContent(58,23936.71); h_SL1L463->SetBinContent(59,23718.26); h_SL1L463->SetMaximum(116972.5); 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 6735"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }