void RatesPerCell_Removing_noisy_cells_run_6719_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:55:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14664.37,67.5,131979.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 6719",60,0,60); h_SL2L164->SetBinContent(1,48324.38); h_SL2L164->SetBinContent(2,59460.4); h_SL2L164->SetBinContent(3,72928.01); h_SL2L164->SetBinContent(4,74215.75); h_SL2L164->SetBinContent(5,71664.66); h_SL2L164->SetBinContent(6,66596.62); h_SL2L164->SetBinContent(7,59250.65); h_SL2L164->SetBinContent(8,58079.98); h_SL2L164->SetBinContent(9,66635.65); h_SL2L164->SetBinContent(10,67455.12); h_SL2L164->SetBinContent(11,68064.84); h_SL2L164->SetBinContent(12,65562.53); h_SL2L164->SetBinContent(13,65996.66); h_SL2L164->SetBinContent(14,65123.53); h_SL2L164->SetBinContent(15,64591.85); h_SL2L164->SetBinContent(16,62694.38); h_SL2L164->SetBinContent(17,59918.91); h_SL2L164->SetBinContent(18,59421.38); h_SL2L164->SetBinContent(19,57392.21); h_SL2L164->SetBinContent(20,53114.38); h_SL2L164->SetBinContent(21,48773.14); h_SL2L164->SetBinContent(22,43992.89); h_SL2L164->SetBinContent(23,43070.99); h_SL2L164->SetBinContent(24,40802.81); h_SL2L164->SetBinContent(25,42202.74); h_SL2L164->SetBinContent(26,57255.63); h_SL2L164->SetBinContent(27,70425.7); h_SL2L164->SetBinContent(28,76040.05); h_SL2L164->SetBinContent(29,76566.85); h_SL2L164->SetBinContent(30,73630.41); h_SL2L164->SetBinContent(31,71386.62); h_SL2L164->SetBinContent(32,70737.88); h_SL2L164->SetBinContent(33,71020.79); h_SL2L164->SetBinContent(34,51299.84); h_SL2L164->SetBinContent(36,26398.66); h_SL2L164->SetBinContent(37,27818.1); h_SL2L164->SetBinContent(38,26749.86); h_SL2L164->SetBinContent(39,26905.95); h_SL2L164->SetBinContent(40,41710.08); h_SL2L164->SetBinContent(41,88707.7); h_SL2L164->SetBinContent(42,28101.01); h_SL2L164->SetBinContent(43,28325.39); h_SL2L164->SetBinContent(44,27779.08); h_SL2L164->SetBinContent(45,22793.97); h_SL2L164->SetBinContent(46,21691.58); h_SL2L164->SetBinContent(47,22711.04); h_SL2L164->SetBinContent(48,22130.59); h_SL2L164->SetBinContent(49,23535.39); h_SL2L164->SetBinContent(50,22881.77); h_SL2L164->SetBinContent(51,24574.36); h_SL2L164->SetBinContent(52,27847.37); h_SL2L164->SetBinContent(53,29637.52); h_SL2L164->SetBinContent(54,32047.16); h_SL2L164->SetBinContent(55,32217.88); h_SL2L164->SetBinContent(56,28242.47); h_SL2L164->SetBinContent(57,23520.76); h_SL2L164->SetMaximum(117314.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,38680.96); h_SL2L265->SetBinContent(2,56602.01); h_SL2L265->SetBinContent(3,62606.58); h_SL2L265->SetBinContent(4,71986.59); h_SL2L265->SetBinContent(5,69640.37); h_SL2L265->SetBinContent(6,67450.23); h_SL2L265->SetBinContent(7,60094.51); h_SL2L265->SetBinContent(8,53802.15); h_SL2L265->SetBinContent(9,61426.15); h_SL2L265->SetBinContent(10,64889.39); h_SL2L265->SetBinContent(11,66538.09); h_SL2L265->SetBinContent(12,64669.89); h_SL2L265->SetBinContent(13,65284.5); h_SL2L265->SetBinContent(14,64518.68); h_SL2L265->SetBinContent(15,63191.92); h_SL2L265->SetBinContent(16,60484.74); h_SL2L265->SetBinContent(17,58831.16); h_SL2L265->SetBinContent(18,56767.85); h_SL2L265->SetBinContent(19,56299.58); h_SL2L265->SetBinContent(20,52251.01); h_SL2L265->SetBinContent(21,49851.13); h_SL2L265->SetBinContent(22,45100.15); h_SL2L265->SetBinContent(23,41553.99); h_SL2L265->SetBinContent(24,40436.97); h_SL2L265->SetBinContent(25,38256.6); h_SL2L265->SetBinContent(26,47480.52); h_SL2L265->SetBinContent(27,61865.16); h_SL2L265->SetBinContent(28,71918.3); h_SL2L265->SetBinContent(29,75323.01); h_SL2L265->SetBinContent(30,74576.7); h_SL2L265->SetBinContent(31,69303.8); h_SL2L265->SetBinContent(32,70776.9); h_SL2L265->SetBinContent(33,70674.46); h_SL2L265->SetBinContent(34,62645.61); h_SL2L265->SetBinContent(35,36666.43); h_SL2L265->SetBinContent(36,27618.11); h_SL2L265->SetBinContent(37,26169.4); h_SL2L265->SetBinContent(38,25091.41); h_SL2L265->SetBinContent(39,25930.39); h_SL2L265->SetBinContent(40,25725.53); h_SL2L265->SetBinContent(41,24174.38); h_SL2L265->SetBinContent(42,24223.16); h_SL2L265->SetBinContent(43,24593.88); h_SL2L265->SetBinContent(44,23945.13); h_SL2L265->SetBinContent(45,22750.07); h_SL2L265->SetBinContent(46,20950.16); h_SL2L265->SetBinContent(47,21106.25); h_SL2L265->SetBinContent(48,21008.69); h_SL2L265->SetBinContent(49,22028.15); h_SL2L265->SetBinContent(50,23257.36); h_SL2L265->SetBinContent(51,21837.92); h_SL2L265->SetBinContent(52,25193.84); h_SL2L265->SetBinContent(53,27262.03); h_SL2L265->SetBinContent(54,29725.32); h_SL2L265->SetBinContent(55,30993.55); h_SL2L265->SetBinContent(56,27081.55); h_SL2L265->SetBinContent(57,26827.91); h_SL2L265->SetMaximum(102013.8); 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,45353.8); h_SL2L366->SetBinContent(2,54958.19); h_SL2L366->SetBinContent(3,68645.3); h_SL2L366->SetBinContent(4,67640.47); h_SL2L366->SetBinContent(5,65923.48); h_SL2L366->SetBinContent(6,61016.42); h_SL2L366->SetBinContent(7,54148.47); h_SL2L366->SetBinContent(8,55616.69); h_SL2L366->SetBinContent(9,62845.59); h_SL2L366->SetBinContent(10,62699.26); h_SL2L366->SetBinContent(11,63821.15); h_SL2L366->SetBinContent(12,60440.84); h_SL2L366->SetBinContent(13,61455.42); h_SL2L366->SetBinContent(14,60679.85); h_SL2L366->SetBinContent(15,59548.2); h_SL2L366->SetBinContent(16,57450.75); h_SL2L366->SetBinContent(17,55733.76); h_SL2L366->SetBinContent(18,55460.6); h_SL2L366->SetBinContent(19,52968.05); h_SL2L366->SetBinContent(20,48378.04); h_SL2L366->SetBinContent(21,44592.86); h_SL2L366->SetBinContent(22,41363.76); h_SL2L366->SetBinContent(23,39485.8); h_SL2L366->SetBinContent(24,37588.34); h_SL2L366->SetBinContent(25,39524.82); h_SL2L366->SetBinContent(26,54636.25); h_SL2L366->SetBinContent(27,66972.21); h_SL2L366->SetBinContent(28,73015.81); h_SL2L366->SetBinContent(29,74162.09); h_SL2L366->SetBinContent(30,71113.47); h_SL2L366->SetBinContent(31,70298.88); h_SL2L366->SetBinContent(32,69898.89); h_SL2L366->SetBinContent(33,69415.99); h_SL2L366->SetBinContent(34,48856.06); h_SL2L366->SetBinContent(35,28686.35); h_SL2L366->SetBinContent(36,25145.07); h_SL2L366->SetBinContent(37,25130.43); h_SL2L366->SetBinContent(38,24647.53); h_SL2L366->SetBinContent(39,23925.62); h_SL2L366->SetBinContent(40,24198.77); h_SL2L366->SetBinContent(41,23193.95); h_SL2L366->SetBinContent(42,22554.95); h_SL2L366->SetBinContent(43,22647.63); h_SL2L366->SetBinContent(44,21520.86); h_SL2L366->SetBinContent(45,21125.76); h_SL2L366->SetBinContent(46,19935.57); h_SL2L366->SetBinContent(47,21047.71); h_SL2L366->SetBinContent(48,20608.71); h_SL2L366->SetBinContent(49,21828.16); h_SL2L366->SetBinContent(50,21345.26); h_SL2L366->SetBinContent(51,22096.44); h_SL2L366->SetBinContent(52,24896.3); h_SL2L366->SetBinContent(53,26701.09); h_SL2L366->SetBinContent(54,29837.51); h_SL2L366->SetBinContent(55,30257); h_SL2L366->SetBinContent(56,24959.71); h_SL2L366->SetBinContent(57,25203.6); h_SL2L366->SetMaximum(102013.8); 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,51992.48); h_SL2L467->SetBinContent(3,59392.11); h_SL2L467->SetBinContent(4,66518.58); h_SL2L467->SetBinContent(5,64777.2); h_SL2L467->SetBinContent(6,60509.12); h_SL2L467->SetBinContent(7,56138.62); h_SL2L467->SetBinContent(8,49597.48); h_SL2L467->SetBinContent(9,57548.3); h_SL2L467->SetBinContent(10,59816.48); h_SL2L467->SetBinContent(11,60650.58); h_SL2L467->SetBinContent(12,58943.35); h_SL2L467->SetBinContent(13,59128.71); h_SL2L467->SetBinContent(14,58840.92); h_SL2L467->SetBinContent(15,59045.79); h_SL2L467->SetBinContent(16,55860.58); h_SL2L467->SetBinContent(17,54533.82); h_SL2L467->SetBinContent(18,52192.48); h_SL2L467->SetBinContent(19,52285.15); h_SL2L467->SetBinContent(20,48573.15); h_SL2L467->SetBinContent(21,45817.19); h_SL2L467->SetBinContent(22,40895.49); h_SL2L467->SetBinContent(23,38788.28); h_SL2L467->SetBinContent(24,37144.46); h_SL2L467->SetBinContent(25,35529.91); h_SL2L467->SetBinContent(26,45202.59); h_SL2L467->SetBinContent(27,59860.38); h_SL2L467->SetBinContent(28,69640.37); h_SL2L467->SetBinContent(29,73791.38); h_SL2L467->SetBinContent(30,73474.32); h_SL2L467->SetBinContent(31,68059.96); h_SL2L467->SetBinContent(32,69679.39); h_SL2L467->SetBinContent(33,69079.42); h_SL2L467->SetBinContent(34,61245.68); h_SL2L467->SetBinContent(35,35525.03); h_SL2L467->SetBinContent(36,25471.88); h_SL2L467->SetBinContent(37,23876.84); h_SL2L467->SetBinContent(38,23940.25); h_SL2L467->SetBinContent(39,23730.5); h_SL2L467->SetBinContent(40,22423.25); h_SL2L467->SetBinContent(41,21915.96); h_SL2L467->SetBinContent(42,22150.1); h_SL2L467->SetBinContent(43,21437.94); h_SL2L467->SetBinContent(44,21267.21); h_SL2L467->SetBinContent(45,20803.82); h_SL2L467->SetBinContent(46,19584.37); h_SL2L467->SetBinContent(47,19481.94); h_SL2L467->SetBinContent(48,20203.85); h_SL2L467->SetBinContent(49,20311.17); h_SL2L467->SetBinContent(50,22130.59); h_SL2L467->SetBinContent(51,19725.83); h_SL2L467->SetBinContent(52,22906.16); h_SL2L467->SetBinContent(53,24788.99); h_SL2L467->SetBinContent(54,27383.98); h_SL2L467->SetBinContent(55,28203.45); h_SL2L467->SetBinContent(56,26359.64); h_SL2L467->SetBinContent(57,24706.06); h_SL2L467->SetMaximum(102013.8); 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 6719"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }