void RatesPerCell_Removing_noisy_cells_run_6799_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:19:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11647.2,67.5,104824.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6799",60,0,60); h_SL1L160->SetBinContent(1,4762.349); h_SL1L160->SetBinContent(2,4560.625); h_SL1L160->SetBinContent(3,4724.916); h_SL1L160->SetBinContent(4,4425.449); h_SL1L160->SetBinContent(5,4479.519); h_SL1L160->SetBinContent(6,4733.234); h_SL1L160->SetBinContent(7,4745.711); h_SL1L160->SetBinContent(8,4706.199); h_SL1L160->SetBinContent(9,4398.414); h_SL1L160->SetBinContent(10,4182.132); h_SL1L160->SetBinContent(11,4034.479); h_SL1L160->SetBinContent(12,4117.664); h_SL1L160->SetBinContent(13,4562.704); h_SL1L160->SetBinContent(14,4558.545); h_SL1L160->SetBinContent(15,4471.201); h_SL1L160->SetBinContent(16,4153.018); h_SL1L160->SetBinContent(17,4385.936); h_SL1L160->SetBinContent(18,4789.384); h_SL1L160->SetBinContent(19,4945.356); h_SL1L160->SetBinContent(20,4959.913); h_SL1L160->SetBinContent(21,5407.033); h_SL1L160->SetBinContent(22,5423.67); h_SL1L160->SetBinContent(23,5298.893); h_SL1L160->SetBinContent(24,5581.722); h_SL1L160->SetBinContent(25,5550.528); h_SL1L160->SetBinContent(26,5379.998); h_SL1L160->SetBinContent(27,5479.82); h_SL1L160->SetBinContent(28,6157.779); h_SL1L160->SetBinContent(29,6053.798); h_SL1L160->SetBinContent(30,6569.545); h_SL1L160->SetBinContent(31,7289.097); h_SL1L160->SetBinContent(32,9926.065); h_SL1L160->SetBinContent(33,32250.88); h_SL1L160->SetBinContent(34,46519.2); h_SL1L160->SetBinContent(35,50341.56); h_SL1L160->SetBinContent(36,52265.21); h_SL1L160->SetBinContent(37,55969.04); h_SL1L160->SetBinContent(38,52075.97); h_SL1L160->SetBinContent(39,34033.12); h_SL1L160->SetBinContent(40,10310.8); h_SL1L160->SetBinContent(41,7183.036); h_SL1L160->SetBinContent(42,6240.964); h_SL1L160->SetBinContent(43,5897.826); h_SL1L160->SetBinContent(44,5802.163); h_SL1L160->SetBinContent(45,5292.654); h_SL1L160->SetBinContent(46,5099.249); h_SL1L160->SetBinContent(47,4731.154); h_SL1L160->SetBinContent(48,4467.042); h_SL1L160->SetBinContent(49,4502.395); h_SL1L160->SetBinContent(50,4448.325); h_SL1L160->SetBinContent(51,4196.69); h_SL1L160->SetBinContent(52,4219.566); h_SL1L160->SetBinContent(53,4113.504); h_SL1L160->SetBinContent(54,3828.595); h_SL1L160->SetBinContent(55,3978.329); h_SL1L160->SetBinContent(56,3920.099); h_SL1L160->SetBinContent(57,4242.441); h_SL1L160->SetBinContent(58,4103.106); h_SL1L160->SetBinContent(59,4119.744); h_SL1L160->SetMaximum(93177.6); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,4922.48); h_SL1L261->SetBinContent(2,4830.977); h_SL1L261->SetBinContent(3,4718.676); h_SL1L261->SetBinContent(4,4662.526); h_SL1L261->SetBinContent(5,4643.81); h_SL1L261->SetBinContent(6,5022.302); h_SL1L261->SetBinContent(7,4978.63); h_SL1L261->SetBinContent(8,5030.621); h_SL1L261->SetBinContent(9,4878.808); h_SL1L261->SetBinContent(10,4568.943); h_SL1L261->SetBinContent(11,4481.599); h_SL1L261->SetBinContent(12,4556.465); h_SL1L261->SetBinContent(13,4941.197); h_SL1L261->SetBinContent(14,5145); h_SL1L261->SetBinContent(15,5132.522); h_SL1L261->SetBinContent(16,4835.136); h_SL1L261->SetBinContent(17,4812.26); h_SL1L261->SetBinContent(18,5196.991); h_SL1L261->SetBinContent(19,5617.076); h_SL1L261->SetBinContent(20,5764.729); h_SL1L261->SetBinContent(21,6234.726); h_SL1L261->SetBinContent(22,6218.088); h_SL1L261->SetBinContent(23,6401.096); h_SL1L261->SetBinContent(24,6789.986); h_SL1L261->SetBinContent(25,6613.218); h_SL1L261->SetBinContent(26,6330.388); h_SL1L261->SetBinContent(27,6509.236); h_SL1L261->SetBinContent(28,6719.279); h_SL1L261->SetBinContent(29,7422.193); h_SL1L261->SetBinContent(30,7842.278); h_SL1L261->SetBinContent(31,8453.688); h_SL1L261->SetBinContent(32,10701.77); h_SL1L261->SetBinContent(33,22746.97); h_SL1L261->SetBinContent(34,53962.19); h_SL1L261->SetBinContent(35,61005.89); h_SL1L261->SetBinContent(36,65967.89); h_SL1L261->SetBinContent(37,70455.73); h_SL1L261->SetBinContent(38,68286.67); h_SL1L261->SetBinContent(39,57351.99); h_SL1L261->SetBinContent(40,21888.09); h_SL1L261->SetBinContent(41,11225.83); h_SL1L261->SetBinContent(42,8210.372); h_SL1L261->SetBinContent(43,7245.425); h_SL1L261->SetBinContent(44,7066.577); h_SL1L261->SetBinContent(45,6735.916); h_SL1L261->SetBinContent(46,6467.644); h_SL1L261->SetBinContent(47,6413.573); h_SL1L261->SetBinContent(48,5918.622); h_SL1L261->SetBinContent(49,5500.617); h_SL1L261->SetBinContent(50,5656.589); h_SL1L261->SetBinContent(51,5379.998); h_SL1L261->SetBinContent(52,5165.796); h_SL1L261->SetBinContent(53,5377.918); h_SL1L261->SetBinContent(54,4955.754); h_SL1L261->SetBinContent(55,4820.578); h_SL1L261->SetBinContent(56,5142.92); h_SL1L261->SetBinContent(57,4812.26); h_SL1L261->SetBinContent(58,4643.81); h_SL1L261->SetBinContent(59,4500.315); h_SL1L261->SetMaximum(81024.09); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,4714.517); h_SL1L362->SetBinContent(2,4514.873); h_SL1L362->SetBinContent(3,4519.032); h_SL1L362->SetBinContent(4,4641.73); h_SL1L362->SetBinContent(5,4845.534); h_SL1L362->SetBinContent(6,4916.241); h_SL1L362->SetBinContent(7,4695.801); h_SL1L362->SetBinContent(8,4687.482); h_SL1L362->SetBinContent(9,4512.793); h_SL1L362->SetBinContent(10,4286.114); h_SL1L362->SetBinContent(11,4215.406); h_SL1L362->SetBinContent(12,4450.404); h_SL1L362->SetBinContent(13,4793.543); h_SL1L362->SetBinContent(14,4747.791); h_SL1L362->SetBinContent(15,4783.145); h_SL1L362->SetBinContent(16,4598.058); h_SL1L362->SetBinContent(17,4841.375); h_SL1L362->SetBinContent(18,5288.495); h_SL1L362->SetBinContent(19,5371.68); h_SL1L362->SetBinContent(20,5386.237); h_SL1L362->SetBinContent(21,5958.135); h_SL1L362->SetBinContent(22,6037.161); h_SL1L362->SetBinContent(23,6136.983); h_SL1L362->SetBinContent(24,6324.149); h_SL1L362->SetBinContent(25,6413.573); h_SL1L362->SetBinContent(26,6184.814); h_SL1L362->SetBinContent(27,6527.953); h_SL1L362->SetBinContent(28,7002.108); h_SL1L362->SetBinContent(29,7141.443); h_SL1L362->SetBinContent(30,7715.421); h_SL1L362->SetBinContent(31,8882.092); h_SL1L362->SetBinContent(32,12325.96); h_SL1L362->SetBinContent(33,41526.02); h_SL1L362->SetBinContent(34,59024.01); h_SL1L362->SetBinContent(35,63530.56); h_SL1L362->SetBinContent(36,68386.49); h_SL1L362->SetBinContent(37,70418.29); h_SL1L362->SetBinContent(38,64056.71); h_SL1L362->SetBinContent(39,41646.64); h_SL1L362->SetBinContent(40,12847.94); h_SL1L362->SetBinContent(41,8615.899); h_SL1L362->SetBinContent(42,7459.626); h_SL1L362->SetBinContent(43,6823.26); h_SL1L362->SetBinContent(44,6887.729); h_SL1L362->SetBinContent(45,6309.592); h_SL1L362->SetBinContent(46,6276.318); h_SL1L362->SetBinContent(47,6001.807); h_SL1L362->SetBinContent(48,5748.092); h_SL1L362->SetBinContent(49,5658.668); h_SL1L362->SetBinContent(50,5267.698); h_SL1L362->SetBinContent(51,4980.709); h_SL1L362->SetBinContent(52,5086.771); h_SL1L362->SetBinContent(53,5090.93); h_SL1L362->SetBinContent(54,4706.199); h_SL1L362->SetBinContent(55,4866.33); h_SL1L362->SetBinContent(56,4595.979); h_SL1L362->SetBinContent(57,4381.777); h_SL1L362->SetBinContent(58,4431.688); h_SL1L362->SetBinContent(59,4383.856); h_SL1L362->SetMaximum(81024.09); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,4429.608); h_SL1L463->SetBinContent(3,4404.653); h_SL1L463->SetBinContent(4,4454.563); h_SL1L463->SetBinContent(5,4367.219); h_SL1L463->SetBinContent(6,4558.545); h_SL1L463->SetBinContent(7,4608.456); h_SL1L463->SetBinContent(8,4577.262); h_SL1L463->SetBinContent(9,4754.03); h_SL1L463->SetBinContent(10,4161.336); h_SL1L463->SetBinContent(11,4223.725); h_SL1L463->SetBinContent(12,4034.479); h_SL1L463->SetBinContent(13,4211.247); h_SL1L463->SetBinContent(14,4379.697); h_SL1L463->SetBinContent(15,4833.056); h_SL1L463->SetBinContent(16,4579.341); h_SL1L463->SetBinContent(17,4433.768); h_SL1L463->SetBinContent(18,4687.482); h_SL1L463->SetBinContent(19,4953.674); h_SL1L463->SetBinContent(20,5095.089); h_SL1L463->SetBinContent(21,5323.848); h_SL1L463->SetBinContent(22,5502.696); h_SL1L463->SetBinContent(23,5571.324); h_SL1L463->SetBinContent(24,5976.852); h_SL1L463->SetBinContent(25,5816.72); h_SL1L463->SetBinContent(26,5827.118); h_SL1L463->SetBinContent(27,5798.003); h_SL1L463->SetBinContent(28,6120.346); h_SL1L463->SetBinContent(29,6654.811); h_SL1L463->SetBinContent(30,7195.514); h_SL1L463->SetBinContent(31,7786.128); h_SL1L463->SetBinContent(32,10173.54); h_SL1L463->SetBinContent(33,21707.16); h_SL1L463->SetBinContent(34,52870.39); h_SL1L463->SetBinContent(35,59629.18); h_SL1L463->SetBinContent(36,64844.89); h_SL1L463->SetBinContent(37,68053.76); h_SL1L463->SetBinContent(38,66111.38); h_SL1L463->SetBinContent(39,56330.89); h_SL1L463->SetBinContent(40,21064.55); h_SL1L463->SetBinContent(41,10470.93); h_SL1L463->SetBinContent(42,7463.786); h_SL1L463->SetBinContent(43,6623.616); h_SL1L463->SetBinContent(44,6338.707); h_SL1L463->SetBinContent(45,5972.692); h_SL1L463->SetBinContent(46,5735.615); h_SL1L463->SetBinContent(47,5689.863); h_SL1L463->SetBinContent(48,5421.591); h_SL1L463->SetBinContent(49,5095.089); h_SL1L463->SetBinContent(50,5032.7); h_SL1L463->SetBinContent(51,4550.227); h_SL1L463->SetBinContent(52,4358.901); h_SL1L463->SetBinContent(53,4421.29); h_SL1L463->SetBinContent(54,4398.414); h_SL1L463->SetBinContent(55,31.19442); h_SL1L463->SetBinContent(56,4354.742); h_SL1L463->SetBinContent(57,4103.106); h_SL1L463->SetBinContent(58,4196.69); h_SL1L463->SetBinContent(59,4227.884); h_SL1L463->SetMaximum(81024.09); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6799"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }