void RatesPerCell_Removing_noisy_cells_run_6642_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:00 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12399.16,67.5,111592.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6642",60,0,60); h_SL3L168->SetBinContent(1,4938.578); h_SL3L168->SetBinContent(2,3611.693); h_SL3L168->SetBinContent(4,5747.542); h_SL3L168->SetBinContent(5,5958.377); h_SL3L168->SetBinContent(6,6212.754); h_SL3L168->SetBinContent(7,5910.252); h_SL3L168->SetBinContent(8,6125.67); h_SL3L168->SetBinContent(9,6011.086); h_SL3L168->SetBinContent(10,5442.749); h_SL3L168->SetBinContent(11,5353.373); h_SL3L168->SetBinContent(12,5628.375); h_SL3L168->SetBinContent(13,5720.042); h_SL3L168->SetBinContent(14,6137.129); h_SL3L168->SetBinContent(15,6024.836); h_SL3L168->SetBinContent(16,6224.213); h_SL3L168->SetBinContent(17,6068.378); h_SL3L168->SetBinContent(18,6347.964); h_SL3L168->SetBinContent(19,6604.632); h_SL3L168->SetBinContent(20,6588.59); h_SL3L168->SetBinContent(21,6691.716); h_SL3L168->SetBinContent(22,7088.178); h_SL3L168->SetBinContent(23,7305.888); h_SL3L168->SetBinContent(24,7305.888); h_SL3L168->SetBinContent(25,7335.679); h_SL3L168->SetBinContent(26,7727.557); h_SL3L168->SetBinContent(27,7246.304); h_SL3L168->SetBinContent(28,7784.85); h_SL3L168->SetBinContent(29,7887.975); h_SL3L168->SetBinContent(30,8465.479); h_SL3L168->SetBinContent(31,8598.397); h_SL3L168->SetBinContent(32,9884.031); h_SL3L168->SetBinContent(33,14183.23); h_SL3L168->SetBinContent(34,43672.62); h_SL3L168->SetBinContent(35,62496.5); h_SL3L168->SetBinContent(36,66594.04); h_SL3L168->SetBinContent(37,73003.88); h_SL3L168->SetBinContent(38,75004.52); h_SL3L168->SetBinContent(39,69004.89); h_SL3L168->SetBinContent(40,45322.63); h_SL3L168->SetBinContent(41,13912.81); h_SL3L168->SetBinContent(42,9806.114); h_SL3L168->SetBinContent(43,8165.269); h_SL3L168->SetBinContent(44,7743.599); h_SL3L168->SetBinContent(45,7001.094); h_SL3L168->SetBinContent(46,7184.428); h_SL3L168->SetBinContent(47,6893.384); h_SL3L168->SetBinContent(48,6696.3); h_SL3L168->SetBinContent(49,23036); h_SL3L168->SetBinContent(50,6570.257); h_SL3L168->SetBinContent(51,5999.628); h_SL3L168->SetBinContent(52,6047.753); h_SL3L168->SetBinContent(53,5770.459); h_SL3L168->SetBinContent(54,5534.416); h_SL3L168->SetBinContent(55,5791.084); h_SL3L168->SetBinContent(56,5364.832); h_SL3L168->SetBinContent(57,5263.998); h_SL3L168->SetBinContent(58,4303.782); h_SL3L168->SetBinContent(59,3879.821); h_SL3L168->SetMaximum(99193.25); 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,5241.081); h_SL3L269->SetBinContent(2,3648.36); h_SL3L269->SetBinContent(4,4885.87); h_SL3L269->SetBinContent(5,5667.333); h_SL3L269->SetBinContent(6,6100.462); h_SL3L269->SetBinContent(7,6056.92); h_SL3L269->SetBinContent(8,6070.67); h_SL3L269->SetBinContent(9,5818.585); h_SL3L269->SetBinContent(10,5600.875); h_SL3L269->SetBinContent(11,5229.622); h_SL3L269->SetBinContent(12,5417.54); h_SL3L269->SetBinContent(13,5259.414); h_SL3L269->SetBinContent(14,5646.708); h_SL3L269->SetBinContent(15,5891.919); h_SL3L269->SetBinContent(16,5875.877); h_SL3L269->SetBinContent(17,5841.501); h_SL3L269->SetBinContent(18,5926.294); h_SL3L269->SetBinContent(19,6100.462); h_SL3L269->SetBinContent(20,6419.006); h_SL3L269->SetBinContent(21,6480.881); h_SL3L269->SetBinContent(22,6712.341); h_SL3L269->SetBinContent(23,6948.385); h_SL3L269->SetBinContent(24,6705.466); h_SL3L269->SetBinContent(25,6897.968); h_SL3L269->SetBinContent(26,7349.43); h_SL3L269->SetBinContent(27,7225.679); h_SL3L269->SetBinContent(28,7331.096); h_SL3L269->SetBinContent(29,7519.014); h_SL3L269->SetBinContent(30,7851.308); h_SL3L269->SetBinContent(31,8254.645); h_SL3L269->SetBinContent(32,8930.691); h_SL3L269->SetBinContent(33,12065.71); h_SL3L269->SetBinContent(34,23714.34); h_SL3L269->SetBinContent(35,56244.79); h_SL3L269->SetBinContent(36,63901.31); h_SL3L269->SetBinContent(37,68315.09); h_SL3L269->SetBinContent(38,74869.3); h_SL3L269->SetBinContent(39,72563.88); h_SL3L269->SetBinContent(40,60780.04); h_SL3L269->SetBinContent(41,24342.26); h_SL3L269->SetBinContent(42,11898.42); h_SL3L269->SetBinContent(43,8250.062); h_SL3L269->SetBinContent(44,7486.931); h_SL3L269->SetBinContent(45,6973.593); h_SL3L269->SetBinContent(46,6946.093); h_SL3L269->SetBinContent(47,6604.632); h_SL3L269->SetBinContent(48,6249.421); h_SL3L269->SetBinContent(49,8437.979); h_SL3L269->SetBinContent(50,6400.672); h_SL3L269->SetBinContent(51,6144.004); h_SL3L269->SetBinContent(52,6182.962); h_SL3L269->SetBinContent(53,9258.402); h_SL3L269->SetBinContent(54,5282.331); h_SL3L269->SetBinContent(55,5259.414); h_SL3L269->SetBinContent(56,5621.5); h_SL3L269->SetBinContent(57,4947.745); h_SL3L269->SetBinContent(58,4581.076); h_SL3L269->SetBinContent(59,4095.239); h_SL3L269->SetMaximum(86255.19); 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,4374.824); h_SL3L370->SetBinContent(2,3377.942); h_SL3L370->SetBinContent(3,3971.488); h_SL3L370->SetBinContent(4,5367.123); h_SL3L370->SetBinContent(5,5738.376); h_SL3L370->SetBinContent(6,5775.043); h_SL3L370->SetBinContent(7,5637.542); h_SL3L370->SetBinContent(8,5722.334); h_SL3L370->SetBinContent(9,5465.666); h_SL3L370->SetBinContent(10,5208.997); h_SL3L370->SetBinContent(11,4828.578); h_SL3L370->SetBinContent(12,4970.662); h_SL3L370->SetBinContent(13,5142.538); h_SL3L370->SetBinContent(14,5759.001); h_SL3L370->SetBinContent(15,5621.5); h_SL3L370->SetBinContent(16,5536.708); h_SL3L370->SetBinContent(17,5266.289); h_SL3L370->SetBinContent(18,5717.751); h_SL3L370->SetBinContent(19,5866.71); h_SL3L370->SetBinContent(20,5999.628); h_SL3L370->SetBinContent(21,6066.087); h_SL3L370->SetBinContent(22,6515.257); h_SL3L370->SetBinContent(23,6609.216); h_SL3L370->SetBinContent(24,6758.175); h_SL3L370->SetBinContent(25,6959.843); h_SL3L370->SetBinContent(26,7140.886); h_SL3L370->SetBinContent(27,6941.51); h_SL3L370->SetBinContent(28,6962.135); h_SL3L370->SetBinContent(29,7184.428); h_SL3L370->SetBinContent(30,7638.182); h_SL3L370->SetBinContent(31,8112.56); h_SL3L370->SetBinContent(32,9368.403); h_SL3L370->SetBinContent(33,13789.06); h_SL3L370->SetBinContent(34,42478.65); h_SL3L370->SetBinContent(35,61417.12); h_SL3L370->SetBinContent(36,65468.82); h_SL3L370->SetBinContent(37,71922.2); h_SL3L370->SetBinContent(38,73072.62); h_SL3L370->SetBinContent(39,68464.05); h_SL3L370->SetBinContent(40,44417.41); h_SL3L370->SetBinContent(41,13106.14); h_SL3L370->SetBinContent(42,9198.818); h_SL3L370->SetBinContent(43,7752.766); h_SL3L370->SetBinContent(44,7003.385); h_SL3L370->SetBinContent(45,941.882); h_SL3L370->SetBinContent(46,6386.922); h_SL3L370->SetBinContent(47,6254.005); h_SL3L370->SetBinContent(48,6134.837); h_SL3L370->SetBinContent(49,6221.921); h_SL3L370->SetBinContent(50,5804.835); h_SL3L370->SetBinContent(51,5749.834); h_SL3L370->SetBinContent(52,5454.207); h_SL3L370->SetBinContent(53,5438.166); h_SL3L370->SetBinContent(54,4920.245); h_SL3L370->SetBinContent(55,5241.081); h_SL3L370->SetBinContent(56,4959.204); h_SL3L370->SetBinContent(57,4801.077); h_SL3L370->SetBinContent(58,4177.739); h_SL3L370->SetBinContent(59,3714.819); h_SL3L370->SetMaximum(86255.19); 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,3295.441); h_SL3L471->SetBinContent(3,3536.068); h_SL3L471->SetBinContent(4,4537.534); h_SL3L471->SetBinContent(5,5064.621); h_SL3L471->SetBinContent(6,5607.75); h_SL3L471->SetBinContent(7,5665.042); h_SL3L471->SetBinContent(8,5229.622); h_SL3L471->SetBinContent(9,5390.04); h_SL3L471->SetBinContent(10,4911.078); h_SL3L471->SetBinContent(11,4691.077); h_SL3L471->SetBinContent(12,4810.244); h_SL3L471->SetBinContent(13,4805.661); h_SL3L471->SetBinContent(14,5186.08); h_SL3L471->SetBinContent(15,5428.999); h_SL3L471->SetBinContent(16,5318.998); h_SL3L471->SetBinContent(17,5307.54); h_SL3L471->SetBinContent(18,5511.499); h_SL3L471->SetBinContent(19,5573.375); h_SL3L471->SetBinContent(20,5816.293); h_SL3L471->SetBinContent(21,5894.21); h_SL3L471->SetBinContent(22,5979.003); h_SL3L471->SetBinContent(23,6437.339); h_SL3L471->SetBinContent(24,6380.047); h_SL3L471->SetBinContent(25,6361.714); h_SL3L471->SetBinContent(26,6687.133); h_SL3L471->SetBinContent(27,6739.842); h_SL3L471->SetBinContent(28,6639.008); h_SL3L471->SetBinContent(29,7026.302); h_SL3L471->SetBinContent(30,7447.972); h_SL3L471->SetBinContent(31,7610.682); h_SL3L471->SetBinContent(32,8062.143); h_SL3L471->SetBinContent(33,11309.46); h_SL3L471->SetBinContent(34,23212.46); h_SL3L471->SetBinContent(35,56198.96); h_SL3L471->SetBinContent(36,63335.26); h_SL3L471->SetBinContent(37,67895.71); h_SL3L471->SetBinContent(38,74369.72); h_SL3L471->SetBinContent(39,71977.2); h_SL3L471->SetBinContent(40,60493.57); h_SL3L471->SetBinContent(41,24136.01); h_SL3L471->SetBinContent(42,11389.67); h_SL3L471->SetBinContent(43,7876.517); h_SL3L471->SetBinContent(44,7244.012); h_SL3L471->SetBinContent(45,6650.466); h_SL3L471->SetBinContent(46,6409.839); h_SL3L471->SetBinContent(47,6283.797); h_SL3L471->SetBinContent(48,5937.752); h_SL3L471->SetBinContent(49,5665.042); h_SL3L471->SetBinContent(50,5742.959); h_SL3L471->SetBinContent(51,5536.708); h_SL3L471->SetBinContent(52,5369.415); h_SL3L471->SetBinContent(53,5513.791); h_SL3L471->SetBinContent(54,5018.787); h_SL3L471->SetBinContent(55,4906.495); h_SL3L471->SetBinContent(56,4695.66); h_SL3L471->SetBinContent(57,4810.244); h_SL3L471->SetBinContent(58,4448.158); h_SL3L471->SetBinContent(59,3783.57); h_SL3L471->SetMaximum(86255.19); 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 6642"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }