void RatesPerCell_Removing_noisy_cells_run_5748_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:41:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3475.3,67.5,31277.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5748",60,0,60); h_SL3L168->SetBinContent(1,2169.94); h_SL3L168->SetBinContent(2,3555.534); h_SL3L168->SetBinContent(4,6431.906); h_SL3L168->SetBinContent(5,6855.246); h_SL3L168->SetBinContent(6,7952.552); h_SL3L168->SetBinContent(7,7790.229); h_SL3L168->SetBinContent(8,7472.075); h_SL3L168->SetBinContent(9,7170.802); h_SL3L168->SetBinContent(10,21022.84); h_SL3L168->SetBinContent(11,7891.519); h_SL3L168->SetBinContent(12,7685.043); h_SL3L168->SetBinContent(13,7217.552); h_SL3L168->SetBinContent(14,8347.323); h_SL3L168->SetBinContent(15,7930.477); h_SL3L168->SetBinContent(16,7686.342); h_SL3L168->SetBinContent(17,7388.965); h_SL3L168->SetBinContent(18,8500.557); h_SL3L168->SetBinContent(19,8305.769); h_SL3L168->SetBinContent(20,7701.925); h_SL3L168->SetBinContent(21,7530.511); h_SL3L168->SetBinContent(22,8384.982); h_SL3L168->SetBinContent(23,8349.92); h_SL3L168->SetBinContent(24,8040.856); h_SL3L168->SetBinContent(25,7740.883); h_SL3L168->SetBinContent(26,8675.866); h_SL3L168->SetBinContent(27,8405.76); h_SL3L168->SetBinContent(28,8178.507); h_SL3L168->SetBinContent(29,7703.224); h_SL3L168->SetBinContent(30,8827.801); h_SL3L168->SetBinContent(31,8721.316); h_SL3L168->SetBinContent(32,8203.18); h_SL3L168->SetBinContent(33,7986.316); h_SL3L168->SetBinContent(34,8981.034); h_SL3L168->SetBinContent(35,8774.559); h_SL3L168->SetBinContent(36,8294.081); h_SL3L168->SetBinContent(37,7947.358); h_SL3L168->SetBinContent(38,9051.158); h_SL3L168->SetBinContent(39,8633.013); h_SL3L168->SetBinContent(40,8295.38); h_SL3L168->SetBinContent(41,7753.869); h_SL3L168->SetBinContent(42,8877.147); h_SL3L168->SetBinContent(43,8805.725); h_SL3L168->SetBinContent(44,8235.645); h_SL3L168->SetBinContent(45,7166.907); h_SL3L168->SetBinContent(46,8800.53); h_SL3L168->SetBinContent(47,8269.408); h_SL3L168->SetBinContent(48,7730.494); h_SL3L168->SetBinContent(50,3819.147); h_SL3L168->SetBinContent(51,5108.645); h_SL3L168->SetBinContent(52,6899.397); h_SL3L168->SetBinContent(53,6607.215); h_SL3L168->SetBinContent(54,7408.444); h_SL3L168->SetBinContent(55,7278.585); h_SL3L168->SetBinContent(56,7222.746); h_SL3L168->SetBinContent(57,6957.834); h_SL3L168->SetBinContent(58,7105.873); h_SL3L168->SetBinContent(59,5180.067); h_SL3L168->SetMaximum(27802.4); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,601.2462); h_SL3L269->SetBinContent(2,5064.493); h_SL3L269->SetBinContent(4,3706.17); h_SL3L269->SetBinContent(5,6268.284); h_SL3L269->SetBinContent(6,7883.727); h_SL3L269->SetBinContent(7,7761.66); h_SL3L269->SetBinContent(8,7759.063); h_SL3L269->SetBinContent(9,7108.47); h_SL3L269->SetBinContent(10,7733.091); h_SL3L269->SetBinContent(11,8155.132); h_SL3L269->SetBinContent(12,7811.006); h_SL3L269->SetBinContent(13,7218.85); h_SL3L269->SetBinContent(14,8286.289); h_SL3L269->SetBinContent(15,8081.113); h_SL3L269->SetBinContent(16,7900.609); h_SL3L269->SetBinContent(17,7238.329); h_SL3L269->SetBinContent(18,8151.236); h_SL3L269->SetBinContent(19,8275.9); h_SL3L269->SetBinContent(20,7890.22); h_SL3L269->SetBinContent(21,7530.511); h_SL3L269->SetBinContent(22,8366.802); h_SL3L269->SetBinContent(23,8370.697); h_SL3L269->SetBinContent(24,8395.371); h_SL3L269->SetBinContent(25,7560.379); h_SL3L269->SetBinContent(26,8548.604); h_SL3L269->SetBinContent(27,8484.974); h_SL3L269->SetBinContent(28,8204.479); h_SL3L269->SetBinContent(29,7775.944); h_SL3L269->SetBinContent(30,8614.832); h_SL3L269->SetBinContent(31,8697.941); h_SL3L269->SetBinContent(32,8464.196); h_SL3L269->SetBinContent(33,7757.764); h_SL3L269->SetBinContent(34,8935.583); h_SL3L269->SetBinContent(35,8901.82); h_SL3L269->SetBinContent(36,8565.486); h_SL3L269->SetBinContent(37,7744.778); h_SL3L269->SetBinContent(38,8981.034); h_SL3L269->SetBinContent(39,8816.113); h_SL3L269->SetBinContent(40,8469.391); h_SL3L269->SetBinContent(41,7738.286); h_SL3L269->SetBinContent(42,8644.7); h_SL3L269->SetBinContent(43,8614.832); h_SL3L269->SetBinContent(44,8540.812); h_SL3L269->SetBinContent(45,7314.946); h_SL3L269->SetBinContent(46,8340.83); h_SL3L269->SetBinContent(47,8322.65); h_SL3L269->SetBinContent(48,8110.98); h_SL3L269->SetBinContent(49,6791.615); h_SL3L269->SetBinContent(50,6998.09); h_SL3L269->SetBinContent(51,1946.583); h_SL3L269->SetBinContent(52,7160.414); h_SL3L269->SetBinContent(53,6568.258); h_SL3L269->SetBinContent(54,7473.374); h_SL3L269->SetBinContent(55,7224.044); h_SL3L269->SetBinContent(56,7374.681); h_SL3L269->SetBinContent(57,7104.575); h_SL3L269->SetBinContent(58,6994.194); h_SL3L269->SetBinContent(59,6300.749); h_SL3L269->SetMaximum(24176.27); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,2617.953); h_SL3L370->SetBinContent(2,3237.38); h_SL3L370->SetBinContent(3,1302.484); h_SL3L370->SetBinContent(4,5673.531); h_SL3L370->SetBinContent(5,7366.889); h_SL3L370->SetBinContent(6,7862.95); h_SL3L370->SetBinContent(7,7582.455); h_SL3L370->SetBinContent(8,7275.988); h_SL3L370->SetBinContent(9,7731.792); h_SL3L370->SetBinContent(10,7809.708); h_SL3L370->SetBinContent(11,7657.773); h_SL3L370->SetBinContent(12,7544.796); h_SL3L370->SetBinContent(13,8083.71); h_SL3L370->SetBinContent(14,8179.805); h_SL3L370->SetBinContent(15,12019.73); h_SL3L370->SetBinContent(16,7546.094); h_SL3L370->SetBinContent(17,7953.851); h_SL3L370->SetBinContent(18,8136.952); h_SL3L370->SetBinContent(19,8040.856); h_SL3L370->SetBinContent(20,7507.137); h_SL3L370->SetBinContent(21,8259.02); h_SL3L370->SetBinContent(22,8286.289); h_SL3L370->SetBinContent(23,8284.991); h_SL3L370->SetBinContent(24,7813.604); h_SL3L370->SetBinContent(25,8397.968); h_SL3L370->SetBinContent(26,8516.14); h_SL3L370->SetBinContent(27,8165.521); h_SL3L370->SetBinContent(28,7991.51); h_SL3L370->SetBinContent(29,8547.306); h_SL3L370->SetBinContent(30,8575.875); h_SL3L370->SetBinContent(31,8461.599); h_SL3L370->SetBinContent(32,7986.316); h_SL3L370->SetBinContent(33,8649.895); h_SL3L370->SetBinContent(34,8753.781); h_SL3L370->SetBinContent(35,8569.382); h_SL3L370->SetBinContent(36,8055.141); h_SL3L370->SetBinContent(37,8817.412); h_SL3L370->SetBinContent(38,8781.052); h_SL3L370->SetBinContent(39,8629.117); h_SL3L370->SetBinContent(40,7977.226); h_SL3L370->SetBinContent(41,8571.979); h_SL3L370->SetBinContent(42,8747.288); h_SL3L370->SetBinContent(43,8430.433); h_SL3L370->SetBinContent(44,8016.183); h_SL3L370->SetBinContent(45,9016.096); h_SL3L370->SetBinContent(46,8412.253); h_SL3L370->SetBinContent(47,8114.876); h_SL3L370->SetBinContent(48,7348.709); h_SL3L370->SetBinContent(49,7630.502); h_SL3L370->SetBinContent(50,3873.688); h_SL3L370->SetBinContent(51,4654.139); h_SL3L370->SetBinContent(52,6681.235); h_SL3L370->SetBinContent(53,7466.88); h_SL3L370->SetBinContent(54,7403.25); h_SL3L370->SetBinContent(55,7170.802); h_SL3L370->SetBinContent(56,7392.861); h_SL3L370->SetBinContent(57,7013.673); h_SL3L370->SetBinContent(58,6798.108); h_SL3L370->SetBinContent(59,4882.69); h_SL3L370->SetMaximum(24176.27); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,4755.429); h_SL3L471->SetBinContent(3,1088.217); h_SL3L471->SetBinContent(4,3333.475); h_SL3L471->SetBinContent(5,6630.59); h_SL3L471->SetBinContent(6,7595.441); h_SL3L471->SetBinContent(7,7546.094); h_SL3L471->SetBinContent(8,7370.785); h_SL3L471->SetBinContent(9,7418.833); h_SL3L471->SetBinContent(10,7857.755); h_SL3L471->SetBinContent(11,7653.877); h_SL3L471->SetBinContent(12,7473.374); h_SL3L471->SetBinContent(13,7627.905); h_SL3L471->SetBinContent(14,8242.138); h_SL3L471->SetBinContent(15,7773.347); h_SL3L471->SetBinContent(16,7543.497); h_SL3L471->SetBinContent(17,7644.787); h_SL3L471->SetBinContent(18,8361.607); h_SL3L471->SetBinContent(19,8023.975); h_SL3L471->SetBinContent(20,7538.303); h_SL3L471->SetBinContent(21,7974.628); h_SL3L471->SetBinContent(22,8421.343); h_SL3L471->SetBinContent(23,8116.174); h_SL3L471->SetBinContent(24,8151.236); h_SL3L471->SetBinContent(25,7959.045); h_SL3L471->SetBinContent(26,8722.615); h_SL3L471->SetBinContent(27,9117.386); h_SL3L471->SetBinContent(28,7896.713); h_SL3L471->SetBinContent(29,8129.16); h_SL3L471->SetBinContent(30,8677.164); h_SL3L471->SetBinContent(31,8335.636); h_SL3L471->SetBinContent(32,8172.014); h_SL3L471->SetBinContent(33,8336.935); h_SL3L471->SetBinContent(34,8745.989); h_SL3L471->SetBinContent(35,8577.173); h_SL3L471->SetBinContent(36,8188.896); h_SL3L471->SetBinContent(37,8186.298); h_SL3L471->SetBinContent(38,9009.603); h_SL3L471->SetBinContent(39,8452.509); h_SL3L471->SetBinContent(40,8075.918); h_SL3L471->SetBinContent(41,8227.854); h_SL3L471->SetBinContent(42,8799.231); h_SL3L471->SetBinContent(43,8505.751); h_SL3L471->SetBinContent(44,8216.166); h_SL3L471->SetBinContent(45,10439.35); h_SL3L471->SetBinContent(46,8495.362); h_SL3L471->SetBinContent(47,7986.316); h_SL3L471->SetBinContent(48,7746.077); h_SL3L471->SetBinContent(49,7295.467); h_SL3L471->SetBinContent(51,1932.299); h_SL3L471->SetBinContent(52,6664.353); h_SL3L471->SetBinContent(53,12902.77); h_SL3L471->SetBinContent(54,7582.455); h_SL3L471->SetBinContent(55,7165.608); h_SL3L471->SetBinContent(56,7177.295); h_SL3L471->SetBinContent(57,7140.935); h_SL3L471->SetBinContent(58,6934.459); h_SL3L471->SetBinContent(59,5783.911); h_SL3L471->SetMaximum(24176.27); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 5748"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }