void RatesPerCell_Removing_noisy_cells_run_6734_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14977.17,67.5,134794.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6734",60,0,60); h_SL2L164->SetBinContent(1,33353.64); h_SL2L164->SetBinContent(2,40811.66); h_SL2L164->SetBinContent(3,49804.72); h_SL2L164->SetBinContent(4,51417.86); h_SL2L164->SetBinContent(5,49785.2); h_SL2L164->SetBinContent(6,46007.38); h_SL2L164->SetBinContent(7,41748.79); h_SL2L164->SetBinContent(8,40750.64); h_SL2L164->SetBinContent(9,46644.33); h_SL2L164->SetBinContent(10,47586.35); h_SL2L164->SetBinContent(11,47398.43); h_SL2L164->SetBinContent(12,45690.12); h_SL2L164->SetBinContent(13,46690.7); h_SL2L164->SetBinContent(14,46405.17); h_SL2L164->SetBinContent(15,45521.73); h_SL2L164->SetBinContent(16,44299.06); h_SL2L164->SetBinContent(17,42278.37); h_SL2L164->SetBinContent(18,42109.98); h_SL2L164->SetBinContent(19,40579.81); h_SL2L164->SetBinContent(20,38290.67); h_SL2L164->SetBinContent(21,35274.27); h_SL2L164->SetBinContent(22,31725.86); h_SL2L164->SetBinContent(23,31174.32); h_SL2L164->SetBinContent(24,29256.12); h_SL2L164->SetBinContent(25,32436.03); h_SL2L164->SetBinContent(26,48379.49); h_SL2L164->SetBinContent(27,61684.83); h_SL2L164->SetBinContent(28,68049.52); h_SL2L164->SetBinContent(29,71270.92); h_SL2L164->SetBinContent(30,68676.72); h_SL2L164->SetBinContent(31,64989.2); h_SL2L164->SetBinContent(32,65382.11); h_SL2L164->SetBinContent(33,64632.89); h_SL2L164->SetBinContent(34,44040.37); h_SL2L164->SetBinContent(35,2.440451); h_SL2L164->SetBinContent(36,20509.55); h_SL2L164->SetBinContent(37,21976.26); h_SL2L164->SetBinContent(38,21195.31); h_SL2L164->SetBinContent(39,20892.7); h_SL2L164->SetBinContent(40,84568.94); h_SL2L164->SetBinContent(41,90599.29); h_SL2L164->SetBinContent(42,23589.4); h_SL2L164->SetBinContent(43,23442.97); h_SL2L164->SetBinContent(44,23189.16); h_SL2L164->SetBinContent(45,16448.64); h_SL2L164->SetBinContent(46,15992.27); h_SL2L164->SetBinContent(47,16172.87); h_SL2L164->SetBinContent(48,15599.36); h_SL2L164->SetBinContent(49,16878.16); h_SL2L164->SetBinContent(50,16150.9); h_SL2L164->SetBinContent(51,17407.73); h_SL2L164->SetBinContent(52,19396.7); h_SL2L164->SetBinContent(53,21319.78); h_SL2L164->SetBinContent(54,22544.88); h_SL2L164->SetBinContent(55,22649.82); h_SL2L164->SetBinContent(56,19936.04); h_SL2L164->SetBinContent(57,23455.17); h_SL2L164->SetMaximum(119817.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,27804.05); h_SL2L265->SetBinContent(2,39779.35); h_SL2L265->SetBinContent(3,43261.87); h_SL2L265->SetBinContent(4,49951.14); h_SL2L265->SetBinContent(5,48974.96); h_SL2L265->SetBinContent(6,47239.8); h_SL2L265->SetBinContent(7,42937.29); h_SL2L265->SetBinContent(8,37775.73); h_SL2L265->SetBinContent(9,43386.33); h_SL2L265->SetBinContent(10,44818.88); h_SL2L265->SetBinContent(11,46117.2); h_SL2L265->SetBinContent(12,45243.52); h_SL2L265->SetBinContent(13,44687.09); h_SL2L265->SetBinContent(14,44862.8); h_SL2L265->SetBinContent(15,44425.96); h_SL2L265->SetBinContent(16,43237.46); h_SL2L265->SetBinContent(17,41431.53); h_SL2L265->SetBinContent(18,40745.77); h_SL2L265->SetBinContent(19,40216.19); h_SL2L265->SetBinContent(20,37026.52); h_SL2L265->SetBinContent(21,35281.59); h_SL2L265->SetBinContent(22,32113.89); h_SL2L265->SetBinContent(23,30315.28); h_SL2L265->SetBinContent(24,29182.91); h_SL2L265->SetBinContent(25,28362.92); h_SL2L265->SetBinContent(26,39545.06); h_SL2L265->SetBinContent(27,54314.67); h_SL2L265->SetBinContent(28,64728.07); h_SL2L265->SetBinContent(29,69330.77); h_SL2L265->SetBinContent(30,69721.23); h_SL2L265->SetBinContent(31,64830.57); h_SL2L265->SetBinContent(32,63790.94); h_SL2L265->SetBinContent(33,65445.57); h_SL2L265->SetBinContent(34,56201.14); h_SL2L265->SetBinContent(35,30476.35); h_SL2L265->SetBinContent(36,20812.16); h_SL2L265->SetBinContent(37,19194.14); h_SL2L265->SetBinContent(38,19538.25); h_SL2L265->SetBinContent(39,19308.85); h_SL2L265->SetBinContent(40,19987.29); h_SL2L265->SetBinContent(41,19638.31); h_SL2L265->SetBinContent(42,18630.4); h_SL2L265->SetBinContent(43,17881.18); h_SL2L265->SetBinContent(44,17961.72); h_SL2L265->SetBinContent(45,16058.17); h_SL2L265->SetBinContent(46,15543.23); h_SL2L265->SetBinContent(47,15243.05); h_SL2L265->SetBinContent(48,15316.27); h_SL2L265->SetBinContent(49,15675.01); h_SL2L265->SetBinContent(50,16412.03); h_SL2L265->SetBinContent(51,15711.62); h_SL2L265->SetBinContent(52,18188.68); h_SL2L265->SetBinContent(53,18913.49); h_SL2L265->SetBinContent(54,21373.47); h_SL2L265->SetBinContent(55,21961.62); h_SL2L265->SetBinContent(56,19445.51); h_SL2L265->SetBinContent(57,18835.4); h_SL2L265->SetMaximum(104189.2); 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,31686.81); h_SL2L366->SetBinContent(2,38149.12); h_SL2L366->SetBinContent(3,47718.13); h_SL2L366->SetBinContent(4,48101.28); h_SL2L366->SetBinContent(5,46141.6); h_SL2L366->SetBinContent(6,43000.74); h_SL2L366->SetBinContent(7,39005.72); h_SL2L366->SetBinContent(8,38395.61); h_SL2L366->SetBinContent(9,42995.86); h_SL2L366->SetBinContent(10,43784.12); h_SL2L366->SetBinContent(11,43852.46); h_SL2L366->SetBinContent(12,42751.82); h_SL2L366->SetBinContent(13,43884.18); h_SL2L366->SetBinContent(14,43354.61); h_SL2L366->SetBinContent(15,41790.28); h_SL2L366->SetBinContent(16,39959.94); h_SL2L366->SetBinContent(17,39588.99); h_SL2L366->SetBinContent(18,39635.36); h_SL2L366->SetBinContent(19,37114.38); h_SL2L366->SetBinContent(20,34398.15); h_SL2L366->SetBinContent(21,32399.42); h_SL2L366->SetBinContent(22,29514.81); h_SL2L366->SetBinContent(23,28641.13); h_SL2L366->SetBinContent(24,27025.55); h_SL2L366->SetBinContent(25,30322.6); h_SL2L366->SetBinContent(26,46649.21); h_SL2L366->SetBinContent(27,59734.91); h_SL2L366->SetBinContent(28,66385.14); h_SL2L366->SetBinContent(29,68837.79); h_SL2L366->SetBinContent(30,67014.77); h_SL2L366->SetBinContent(31,63595.7); h_SL2L366->SetBinContent(32,64056.95); h_SL2L366->SetBinContent(33,62443.81); h_SL2L366->SetBinContent(34,42356.46); h_SL2L366->SetBinContent(35,22635.18); h_SL2L366->SetBinContent(36,19135.57); h_SL2L366->SetBinContent(37,18710.94); h_SL2L366->SetBinContent(38,18061.78); h_SL2L366->SetBinContent(39,17903.15); h_SL2L366->SetBinContent(40,17446.78); h_SL2L366->SetBinContent(41,17200.3); h_SL2L366->SetBinContent(42,16573.1); h_SL2L366->SetBinContent(43,16556.02); h_SL2L366->SetBinContent(44,15965.43); h_SL2L366->SetBinContent(45,14606.1); h_SL2L366->SetBinContent(46,14715.92); h_SL2L366->SetBinContent(47,15177.16); h_SL2L366->SetBinContent(48,15247.94); h_SL2L366->SetBinContent(49,15823.88); h_SL2L366->SetBinContent(50,15389.48); h_SL2L366->SetBinContent(51,15770.19); h_SL2L366->SetBinContent(52,17639.58); h_SL2L366->SetBinContent(53,19062.36); h_SL2L366->SetBinContent(54,20302.11); h_SL2L366->SetBinContent(55,21602.87); h_SL2L366->SetBinContent(56,18174.04); h_SL2L366->SetBinContent(57,17932.43); h_SL2L366->SetMaximum(104189.2); 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,36587.24); h_SL2L467->SetBinContent(3,41582.84); h_SL2L467->SetBinContent(4,45917.08); h_SL2L467->SetBinContent(5,45585.18); h_SL2L467->SetBinContent(6,41807.36); h_SL2L467->SetBinContent(7,39125.3); h_SL2L467->SetBinContent(8,34752.02); h_SL2L467->SetBinContent(9,40557.85); h_SL2L467->SetBinContent(10,41490.1); h_SL2L467->SetBinContent(11,42610.27); h_SL2L467->SetBinContent(12,41695.1); h_SL2L467->SetBinContent(13,41848.85); h_SL2L467->SetBinContent(14,41404.69); h_SL2L467->SetBinContent(15,40828.74); h_SL2L467->SetBinContent(16,39845.24); h_SL2L467->SetBinContent(17,38410.25); h_SL2L467->SetBinContent(18,37207.11); h_SL2L467->SetBinContent(19,37246.16); h_SL2L467->SetBinContent(20,34254.16); h_SL2L467->SetBinContent(21,32384.78); h_SL2L467->SetBinContent(22,29553.86); h_SL2L467->SetBinContent(23,28265.3); h_SL2L467->SetBinContent(24,27042.63); h_SL2L467->SetBinContent(25,26186.04); h_SL2L467->SetBinContent(26,37446.27); h_SL2L467->SetBinContent(27,53172.54); h_SL2L467->SetBinContent(28,63166.18); h_SL2L467->SetBinContent(29,67490.66); h_SL2L467->SetBinContent(30,68803.62); h_SL2L467->SetBinContent(31,64349.8); h_SL2L467->SetBinContent(32,63407.79); h_SL2L467->SetBinContent(33,64357.12); h_SL2L467->SetBinContent(34,54683.18); h_SL2L467->SetBinContent(35,29424.51); h_SL2L467->SetBinContent(36,19145.34); h_SL2L467->SetBinContent(37,17888.5); h_SL2L467->SetBinContent(38,17739.64); h_SL2L467->SetBinContent(39,17510.23); h_SL2L467->SetBinContent(40,16897.68); h_SL2L467->SetBinContent(41,16538.93); h_SL2L467->SetBinContent(42,16878.16); h_SL2L467->SetBinContent(43,16311.97); h_SL2L467->SetBinContent(44,15789.72); h_SL2L467->SetBinContent(45,15284.54); h_SL2L467->SetBinContent(46,14174.14); h_SL2L467->SetBinContent(47,14469.43); h_SL2L467->SetBinContent(48,14342.53); h_SL2L467->SetBinContent(49,14791.57); h_SL2L467->SetBinContent(50,15616.44); h_SL2L467->SetBinContent(51,14308.36); h_SL2L467->SetBinContent(52,16075.25); h_SL2L467->SetBinContent(53,17454.1); h_SL2L467->SetBinContent(54,19091.65); h_SL2L467->SetBinContent(55,20170.32); h_SL2L467->SetBinContent(56,18923.25); h_SL2L467->SetBinContent(57,17478.51); h_SL2L467->SetMaximum(104189.2); 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 6734"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }