void RatesPerCell_Removing_noisy_cells_run_5682_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:46:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1577.081,67.5,14193.73); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5682",60,0,60); h_SL3L168->SetBinContent(1,2234.928); h_SL3L168->SetBinContent(2,3584.928); h_SL3L168->SetBinContent(4,6827.512); h_SL3L168->SetBinContent(5,6672.488); h_SL3L168->SetBinContent(6,8326.077); h_SL3L168->SetBinContent(7,7725.359); h_SL3L168->SetBinContent(8,7738.278); h_SL3L168->SetBinContent(9,6905.024); h_SL3L168->SetBinContent(10,8067.704); h_SL3L168->SetBinContent(11,7615.551); h_SL3L168->SetBinContent(12,7460.527); h_SL3L168->SetBinContent(13,7169.857); h_SL3L168->SetBinContent(14,8255.024); h_SL3L168->SetBinContent(15,8255.024); h_SL3L168->SetBinContent(16,7641.388); h_SL3L168->SetBinContent(17,7389.474); h_SL3L168->SetBinContent(18,8222.728); h_SL3L168->SetBinContent(19,8384.211); h_SL3L168->SetBinContent(20,7783.493); h_SL3L168->SetBinContent(21,7938.517); h_SL3L168->SetBinContent(22,8326.077); h_SL3L168->SetBinContent(23,7957.895); h_SL3L168->SetBinContent(24,8035.407); h_SL3L168->SetBinContent(25,7402.393); h_SL3L168->SetBinContent(26,8875.12); h_SL3L168->SetBinContent(27,8171.053); h_SL3L168->SetBinContent(28,8054.785); h_SL3L168->SetBinContent(29,7447.608); h_SL3L168->SetBinContent(30,8881.579); h_SL3L168->SetBinContent(31,8836.364); h_SL3L168->SetBinContent(32,8274.402); h_SL3L168->SetBinContent(33,7841.627); h_SL3L168->SetBinContent(34,8351.914); h_SL3L168->SetBinContent(35,8687.8); h_SL3L168->SetBinContent(36,7873.924); h_SL3L168->SetBinContent(37,8455.264); h_SL3L168->SetBinContent(38,9030.145); h_SL3L168->SetBinContent(39,8894.498); h_SL3L168->SetBinContent(40,7861.005); h_SL3L168->SetBinContent(41,8022.489); h_SL3L168->SetBinContent(42,8610.288); h_SL3L168->SetBinContent(43,8610.288); h_SL3L168->SetBinContent(44,7880.383); h_SL3L168->SetBinContent(45,7060.048); h_SL3L168->SetBinContent(46,8784.689); h_SL3L168->SetBinContent(47,8100); h_SL3L168->SetBinContent(48,7886.843); h_SL3L168->SetBinContent(50,3972.488); h_SL3L168->SetBinContent(51,4902.632); h_SL3L168->SetBinContent(52,6737.082); h_SL3L168->SetBinContent(53,6769.378); h_SL3L168->SetBinContent(54,7311.962); h_SL3L168->SetBinContent(55,7699.522); h_SL3L168->SetBinContent(56,7428.23); h_SL3L168->SetBinContent(57,7195.694); h_SL3L168->SetBinContent(58,6859.809); h_SL3L168->SetBinContent(59,5477.512); h_SL3L168->SetMaximum(12616.65); 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,529.6651); h_SL3L269->SetBinContent(2,4902.632); h_SL3L269->SetBinContent(4,3849.761); h_SL3L269->SetBinContent(5,6394.737); h_SL3L269->SetBinContent(6,7899.761); h_SL3L269->SetBinContent(7,7873.924); h_SL3L269->SetBinContent(8,7531.58); h_SL3L269->SetBinContent(9,7163.397); h_SL3L269->SetBinContent(10,7783.493); h_SL3L269->SetBinContent(11,7499.283); h_SL3L269->SetBinContent(12,7466.986); h_SL3L269->SetBinContent(13,7156.938); h_SL3L269->SetBinContent(14,8300.24); h_SL3L269->SetBinContent(15,7990.192); h_SL3L269->SetBinContent(16,7893.302); h_SL3L269->SetBinContent(17,7447.608); h_SL3L269->SetBinContent(18,7970.814); h_SL3L269->SetBinContent(19,8429.427); h_SL3L269->SetBinContent(20,8022.489); h_SL3L269->SetBinContent(21,7505.742); h_SL3L269->SetBinContent(22,8287.321); h_SL3L269->SetBinContent(23,8280.861); h_SL3L269->SetBinContent(24,8054.785); h_SL3L269->SetBinContent(25,7363.637); h_SL3L269->SetBinContent(26,8616.747); h_SL3L269->SetBinContent(27,8668.422); h_SL3L269->SetBinContent(28,8171.053); h_SL3L269->SetBinContent(29,7550.958); h_SL3L269->SetBinContent(30,8778.23); h_SL3L269->SetBinContent(31,8674.881); h_SL3L269->SetBinContent(32,8797.608); h_SL3L269->SetBinContent(33,7473.445); h_SL3L269->SetBinContent(34,8597.369); h_SL3L269->SetBinContent(35,8623.206); h_SL3L269->SetBinContent(36,7932.058); h_SL3L269->SetBinContent(37,8016.029); h_SL3L269->SetBinContent(38,9127.034); h_SL3L269->SetBinContent(39,8926.795); h_SL3L269->SetBinContent(40,8410.049); h_SL3L269->SetBinContent(41,7583.254); h_SL3L269->SetBinContent(42,8616.747); h_SL3L269->SetBinContent(43,8552.153); h_SL3L269->SetBinContent(44,8448.805); h_SL3L269->SetBinContent(45,6866.269); h_SL3L269->SetBinContent(46,8410.049); h_SL3L269->SetBinContent(47,8558.613); h_SL3L269->SetBinContent(48,7718.9); h_SL3L269->SetBinContent(49,7047.13); h_SL3L269->SetBinContent(50,7118.182); h_SL3L269->SetBinContent(51,1840.909); h_SL3L269->SetBinContent(52,7208.613); h_SL3L269->SetBinContent(53,6517.464); h_SL3L269->SetBinContent(54,7370.096); h_SL3L269->SetBinContent(55,7815.79); h_SL3L269->SetBinContent(56,7576.795); h_SL3L269->SetBinContent(57,7227.991); h_SL3L269->SetBinContent(58,7137.56); h_SL3L269->SetBinContent(59,6278.469); h_SL3L269->SetMaximum(10971.5); 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,2499.761); h_SL3L370->SetBinContent(2,3223.206); h_SL3L370->SetBinContent(3,1201.435); h_SL3L370->SetBinContent(4,5961.962); h_SL3L370->SetBinContent(5,7014.833); h_SL3L370->SetBinContent(6,7757.656); h_SL3L370->SetBinContent(7,7473.445); h_SL3L370->SetBinContent(8,7350.718); h_SL3L370->SetBinContent(9,7705.981); h_SL3L370->SetBinContent(10,7738.278); h_SL3L370->SetBinContent(11,7292.584); h_SL3L370->SetBinContent(12,7363.637); h_SL3L370->SetBinContent(13,8112.919); h_SL3L370->SetBinContent(14,8003.11); h_SL3L370->SetBinContent(15,7957.895); h_SL3L370->SetBinContent(16,7466.986); h_SL3L370->SetBinContent(17,8125.838); h_SL3L370->SetBinContent(18,7964.354); h_SL3L370->SetBinContent(19,8061.245); h_SL3L370->SetBinContent(20,7518.661); h_SL3L370->SetBinContent(21,8700.719); h_SL3L370->SetBinContent(22,8125.838); h_SL3L370->SetBinContent(23,7815.79); h_SL3L370->SetBinContent(24,7667.226); h_SL3L370->SetBinContent(25,8164.594); h_SL3L370->SetBinContent(26,8881.579); h_SL3L370->SetBinContent(27,8183.972); h_SL3L370->SetBinContent(28,7725.359); h_SL3L370->SetBinContent(29,8384.211); h_SL3L370->SetBinContent(30,8655.503); h_SL3L370->SetBinContent(31,8345.455); h_SL3L370->SetBinContent(32,8171.053); h_SL3L370->SetBinContent(33,8590.909); h_SL3L370->SetBinContent(34,8248.565); h_SL3L370->SetBinContent(35,8519.857); h_SL3L370->SetBinContent(36,7576.795); h_SL3L370->SetBinContent(37,9036.604); h_SL3L370->SetBinContent(38,8713.637); h_SL3L370->SetBinContent(39,8862.201); h_SL3L370->SetBinContent(40,7757.656); h_SL3L370->SetBinContent(41,8984.929); h_SL3L370->SetBinContent(42,8597.369); h_SL3L370->SetBinContent(43,8132.297); h_SL3L370->SetBinContent(44,7757.656); h_SL3L370->SetBinContent(45,9540.432); h_SL3L370->SetBinContent(46,8610.288); h_SL3L370->SetBinContent(47,7919.139); h_SL3L370->SetBinContent(48,7454.067); h_SL3L370->SetBinContent(49,7518.661); h_SL3L370->SetBinContent(50,3894.976); h_SL3L370->SetBinContent(51,4385.885); h_SL3L370->SetBinContent(52,6678.948); h_SL3L370->SetBinContent(53,7383.015); h_SL3L370->SetBinContent(54,7434.689); h_SL3L370->SetBinContent(55,7712.441); h_SL3L370->SetBinContent(56,7182.775); h_SL3L370->SetBinContent(57,7253.828); h_SL3L370->SetBinContent(58,6678.948); h_SL3L370->SetBinContent(59,5044.737); h_SL3L370->SetMaximum(10971.5); 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,4599.043); h_SL3L471->SetBinContent(3,1149.761); h_SL3L471->SetBinContent(4,3591.388); h_SL3L471->SetBinContent(5,6911.484); h_SL3L471->SetBinContent(6,7395.934); h_SL3L471->SetBinContent(7,7835.168); h_SL3L471->SetBinContent(8,7363.637); h_SL3L471->SetBinContent(9,7718.9); h_SL3L471->SetBinContent(10,7983.732); h_SL3L471->SetBinContent(11,7486.364); h_SL3L471->SetBinContent(12,7292.584); h_SL3L471->SetBinContent(13,7609.091); h_SL3L471->SetBinContent(14,8274.402); h_SL3L471->SetBinContent(15,7395.934); h_SL3L471->SetBinContent(16,7654.307); h_SL3L471->SetBinContent(17,7718.9); h_SL3L471->SetBinContent(18,8112.919); h_SL3L471->SetBinContent(19,8074.163); h_SL3L471->SetBinContent(20,7686.604); h_SL3L471->SetBinContent(21,8145.216); h_SL3L471->SetBinContent(22,8293.78); h_SL3L471->SetBinContent(23,8074.163); h_SL3L471->SetBinContent(24,7835.168); h_SL3L471->SetBinContent(25,7576.795); h_SL3L471->SetBinContent(26,8900.957); h_SL3L471->SetBinContent(27,8364.833); h_SL3L471->SetBinContent(28,7861.005); h_SL3L471->SetBinContent(29,8138.756); h_SL3L471->SetBinContent(30,8816.986); h_SL3L471->SetBinContent(31,8171.053); h_SL3L471->SetBinContent(32,8203.35); h_SL3L471->SetBinContent(33,8313.158); h_SL3L471->SetBinContent(34,8590.909); h_SL3L471->SetBinContent(35,8248.565); h_SL3L471->SetBinContent(36,8125.838); h_SL3L471->SetBinContent(37,8112.919); h_SL3L471->SetBinContent(38,9165.79); h_SL3L471->SetBinContent(39,8558.613); h_SL3L471->SetBinContent(40,7970.814); h_SL3L471->SetBinContent(41,8145.216); h_SL3L471->SetBinContent(42,8991.388); h_SL3L471->SetBinContent(43,8306.699); h_SL3L471->SetBinContent(44,8016.029); h_SL3L471->SetBinContent(45,9198.087); h_SL3L471->SetBinContent(46,8603.828); h_SL3L471->SetBinContent(47,8597.369); h_SL3L471->SetBinContent(48,7402.393); h_SL3L471->SetBinContent(49,7460.527); h_SL3L471->SetBinContent(51,1892.584); h_SL3L471->SetBinContent(52,6517.464); h_SL3L471->SetBinContent(53,6982.536); h_SL3L471->SetBinContent(54,7395.934); h_SL3L471->SetBinContent(55,7841.627); h_SL3L471->SetBinContent(56,7279.666); h_SL3L471->SetBinContent(57,7292.584); h_SL3L471->SetBinContent(58,7144.02); h_SL3L471->SetBinContent(59,5606.699); h_SL3L471->SetMaximum(10971.5); 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 5682"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }