void RatesPerCell_Removing_noisy_cells_run_6647_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12504.24,67.5,112538.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6647",60,0,60); h_SL3L168->SetBinContent(1,4917.022); h_SL3L168->SetBinContent(2,3555.689); h_SL3L168->SetBinContent(4,5793.887); h_SL3L168->SetBinContent(5,5929.802); h_SL3L168->SetBinContent(6,6394.54); h_SL3L168->SetBinContent(7,6256.434); h_SL3L168->SetBinContent(8,5971.453); h_SL3L168->SetBinContent(9,6041.602); h_SL3L168->SetBinContent(10,5513.291); h_SL3L168->SetBinContent(11,5359.839); h_SL3L168->SetBinContent(12,5625.091); h_SL3L168->SetBinContent(13,5708.393); h_SL3L168->SetBinContent(14,6081.061); h_SL3L168->SetBinContent(15,6120.52); h_SL3L168->SetBinContent(16,6122.712); h_SL3L168->SetBinContent(17,6162.171); h_SL3L168->SetBinContent(18,6241.089); h_SL3L168->SetBinContent(19,6580.874); h_SL3L168->SetBinContent(20,6510.725); h_SL3L168->SetBinContent(21,6822.012); h_SL3L168->SetBinContent(22,7214.409); h_SL3L168->SetBinContent(23,7391.975); h_SL3L168->SetBinContent(24,7486.237); h_SL3L168->SetBinContent(25,7457.739); h_SL3L168->SetBinContent(26,8069.353); h_SL3L168->SetBinContent(27,7433.625); h_SL3L168->SetBinContent(28,8025.51); h_SL3L168->SetBinContent(29,8115.388); h_SL3L168->SetBinContent(30,8781.806); h_SL3L168->SetBinContent(31,9386.843); h_SL3L168->SetBinContent(32,10476.35); h_SL3L168->SetBinContent(33,14336.75); h_SL3L168->SetBinContent(34,43922.18); h_SL3L168->SetBinContent(35,62476.65); h_SL3L168->SetBinContent(36,66937.7); h_SL3L168->SetBinContent(37,73036.3); h_SL3L168->SetBinContent(38,75640.59); h_SL3L168->SetBinContent(39,68980.8); h_SL3L168->SetBinContent(40,45930.2); h_SL3L168->SetBinContent(41,14281.94); h_SL3L168->SetBinContent(42,9790.201); h_SL3L168->SetBinContent(43,8349.95); h_SL3L168->SetBinContent(44,7733.952); h_SL3L168->SetBinContent(45,7508.159); h_SL3L168->SetBinContent(46,7065.342); h_SL3L168->SetBinContent(47,7106.993); h_SL3L168->SetBinContent(48,6848.318); h_SL3L168->SetBinContent(49,24190.52); h_SL3L168->SetBinContent(50,6569.913); h_SL3L168->SetBinContent(51,5910.072); h_SL3L168->SetBinContent(52,6138.057); h_SL3L168->SetBinContent(53,5828.962); h_SL3L168->SetBinContent(54,5592.208); h_SL3L168->SetBinContent(55,5679.895); h_SL3L168->SetBinContent(56,5631.667); h_SL3L168->SetBinContent(57,5423.412); h_SL3L168->SetBinContent(58,4491.743); h_SL3L168->SetBinContent(59,3774.905); h_SL3L168->SetMaximum(100033.9); 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,5031.015); h_SL3L269->SetBinContent(2,3807.788); h_SL3L269->SetBinContent(3,2.192163); h_SL3L269->SetBinContent(4,4807.414); h_SL3L269->SetBinContent(5,5427.796); h_SL3L269->SetBinContent(6,5899.111); h_SL3L269->SetBinContent(7,5956.107); h_SL3L269->SetBinContent(8,5923.225); h_SL3L269->SetBinContent(9,6017.488); h_SL3L269->SetBinContent(10,5594.4); h_SL3L269->SetBinContent(11,5261.192); h_SL3L269->SetBinContent(12,5193.235); h_SL3L269->SetBinContent(13,5394.914); h_SL3L269->SetBinContent(14,5671.126); h_SL3L269->SetBinContent(15,6021.873); h_SL3L269->SetBinContent(16,5690.856); h_SL3L269->SetBinContent(17,5896.919); h_SL3L269->SetBinContent(18,5940.762); h_SL3L269->SetBinContent(19,6024.064); h_SL3L269->SetBinContent(20,6243.281); h_SL3L269->SetBinContent(21,6341.928); h_SL3L269->SetBinContent(22,6666.368); h_SL3L269->SetBinContent(23,7256.06); h_SL3L269->SetBinContent(24,7021.499); h_SL3L269->SetBinContent(25,7374.437); h_SL3L269->SetBinContent(26,7345.939); h_SL3L269->SetBinContent(27,7505.967); h_SL3L269->SetBinContent(28,7457.739); h_SL3L269->SetBinContent(29,7602.422); h_SL3L269->SetBinContent(30,8200.883); h_SL3L269->SetBinContent(31,8569.166); h_SL3L269->SetBinContent(32,9018.56); h_SL3L269->SetBinContent(33,12425.18); h_SL3L269->SetBinContent(34,24072.14); h_SL3L269->SetBinContent(35,56505.2); h_SL3L269->SetBinContent(36,64390.41); h_SL3L269->SetBinContent(37,69377.58); h_SL3L269->SetBinContent(38,74055.66); h_SL3L269->SetBinContent(39,73213.87); h_SL3L269->SetBinContent(40,60786.5); h_SL3L269->SetBinContent(41,24541.27); h_SL3L269->SetBinContent(42,11710.54); h_SL3L269->SetBinContent(43,8435.444); h_SL3L269->SetBinContent(44,7637.497); h_SL3L269->SetBinContent(45,7339.362); h_SL3L269->SetBinContent(46,6931.62); h_SL3L269->SetBinContent(47,6835.165); h_SL3L269->SetBinContent(48,6598.411); h_SL3L269->SetBinContent(49,8025.51); h_SL3L269->SetBinContent(50,6157.787); h_SL3L269->SetBinContent(51,6043.794); h_SL3L269->SetBinContent(52,6495.38); h_SL3L269->SetBinContent(53,9016.367); h_SL3L269->SetBinContent(54,5370.8); h_SL3L269->SetBinContent(55,5399.298); h_SL3L269->SetBinContent(56,5870.613); h_SL3L269->SetBinContent(57,5208.58); h_SL3L269->SetBinContent(58,4943.328); h_SL3L269->SetBinContent(59,4018.235); h_SL3L269->SetMaximum(86986.68); 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,4143.188); h_SL3L370->SetBinContent(2,3347.433); h_SL3L370->SetBinContent(3,3831.901); h_SL3L370->SetBinContent(4,5454.102); h_SL3L370->SetBinContent(5,5546.173); h_SL3L370->SetBinContent(6,5695.24); h_SL3L370->SetBinContent(7,5736.891); h_SL3L370->SetBinContent(8,5533.02); h_SL3L370->SetBinContent(9,5491.369); h_SL3L370->SetBinContent(10,5077.05); h_SL3L370->SetBinContent(11,5004.708); h_SL3L370->SetBinContent(12,4899.485); h_SL3L370->SetBinContent(13,5206.388); h_SL3L370->SetBinContent(14,5451.91); h_SL3L370->SetBinContent(15,5541.789); h_SL3L370->SetBinContent(16,5484.792); h_SL3L370->SetBinContent(17,5344.494); h_SL3L370->SetBinContent(18,5782.927); h_SL3L370->SetBinContent(19,5649.205); h_SL3L370->SetBinContent(20,6030.641); h_SL3L370->SetBinContent(21,6199.438); h_SL3L370->SetBinContent(22,6604.988); h_SL3L370->SetBinContent(23,6666.368); h_SL3L370->SetBinContent(24,6865.855); h_SL3L370->SetBinContent(25,7170.566); h_SL3L370->SetBinContent(26,7174.95); h_SL3L370->SetBinContent(27,7199.064); h_SL3L370->SetBinContent(28,7179.334); h_SL3L370->SetBinContent(29,7442.394); h_SL3L370->SetBinContent(30,8143.886); h_SL3L370->SetBinContent(31,8540.668); h_SL3L370->SetBinContent(32,9939.269); h_SL3L370->SetBinContent(33,13964.08); h_SL3L370->SetBinContent(34,42755.95); h_SL3L370->SetBinContent(35,61038.59); h_SL3L370->SetBinContent(36,66152.91); h_SL3L370->SetBinContent(37,71824.04); h_SL3L370->SetBinContent(38,73987.7); h_SL3L370->SetBinContent(39,68217.93); h_SL3L370->SetBinContent(40,45084.03); h_SL3L370->SetBinContent(41,13578.26); h_SL3L370->SetBinContent(42,9229.007); h_SL3L370->SetBinContent(43,7727.375); h_SL3L370->SetBinContent(44,7383.206); h_SL3L370->SetBinContent(45,876.8653); h_SL3L370->SetBinContent(46,6585.258); h_SL3L370->SetBinContent(47,6490.995); h_SL3L370->SetBinContent(48,6162.171); h_SL3L370->SetBinContent(49,5918.841); h_SL3L370->SetBinContent(50,6041.602); h_SL3L370->SetBinContent(51,6004.335); h_SL3L370->SetBinContent(52,5440.949); h_SL3L370->SetBinContent(53,5362.031); h_SL3L370->SetBinContent(54,5035.399); h_SL3L370->SetBinContent(55,5259); h_SL3L370->SetBinContent(56,5206.388); h_SL3L370->SetBinContent(57,5041.976); h_SL3L370->SetBinContent(58,4149.765); h_SL3L370->SetBinContent(59,3785.866); h_SL3L370->SetMaximum(86986.68); 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,3318.935); h_SL3L471->SetBinContent(3,3630.222); h_SL3L471->SetBinContent(4,4355.828); h_SL3L471->SetBinContent(5,5055.128); h_SL3L471->SetBinContent(6,5232.694); h_SL3L471->SetBinContent(7,5405.875); h_SL3L471->SetBinContent(8,5259); h_SL3L471->SetBinContent(9,5730.314); h_SL3L471->SetBinContent(10,5044.167); h_SL3L471->SetBinContent(11,4689.037); h_SL3L471->SetBinContent(12,4875.371); h_SL3L471->SetBinContent(13,4870.987); h_SL3L471->SetBinContent(14,5046.36); h_SL3L471->SetBinContent(15,5484.792); h_SL3L471->SetBinContent(16,5276.537); h_SL3L471->SetBinContent(17,5548.365); h_SL3L471->SetBinContent(18,5364.224); h_SL3L471->SetBinContent(19,5693.048); h_SL3L471->SetBinContent(20,5714.97); h_SL3L471->SetBinContent(21,5837.73); h_SL3L471->SetBinContent(22,6212.591); h_SL3L471->SetBinContent(23,6447.152); h_SL3L471->SetBinContent(24,6677.329); h_SL3L471->SetBinContent(25,6653.215); h_SL3L471->SetBinContent(26,6795.706); h_SL3L471->SetBinContent(27,6949.157); h_SL3L471->SetBinContent(28,6655.408); h_SL3L471->SetBinContent(29,6760.631); h_SL3L471->SetBinContent(30,7545.426); h_SL3L471->SetBinContent(31,7931.247); h_SL3L471->SetBinContent(32,8588.896); h_SL3L471->SetBinContent(33,11697.38); h_SL3L471->SetBinContent(34,23717.01); h_SL3L471->SetBinContent(35,56042.65); h_SL3L471->SetBinContent(36,63965.13); h_SL3L471->SetBinContent(37,68796.66); h_SL3L471->SetBinContent(38,73711.49); h_SL3L471->SetBinContent(39,72071.75); h_SL3L471->SetBinContent(40,60328.33); h_SL3L471->SetBinContent(41,24411.93); h_SL3L471->SetBinContent(42,11348.83); h_SL3L471->SetBinContent(43,7929.054); h_SL3L471->SetBinContent(44,7207.833); h_SL3L471->SetBinContent(45,7047.805); h_SL3L471->SetBinContent(46,6412.078); h_SL3L471->SetBinContent(47,6252.049); h_SL3L471->SetBinContent(48,5864.037); h_SL3L471->SetBinContent(49,5837.73); h_SL3L471->SetBinContent(50,5813.617); h_SL3L471->SetBinContent(51,5603.169); h_SL3L471->SetBinContent(52,5506.714); h_SL3L471->SetBinContent(53,5427.796); h_SL3L471->SetBinContent(54,5147.199); h_SL3L471->SetBinContent(55,4903.869); h_SL3L471->SetBinContent(56,4998.132); h_SL3L471->SetBinContent(57,5079.242); h_SL3L471->SetBinContent(58,4651.771); h_SL3L471->SetBinContent(59,4000.698); h_SL3L471->SetMaximum(86986.68); 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 6647"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }