void RatesPerCell_Removing_noisy_cells_run_6644_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:01:52 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12565.04,67.5,113085.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 6644",60,0,60); h_SL3L168->SetBinContent(1,5025.337); h_SL3L168->SetBinContent(2,3587.479); h_SL3L168->SetBinContent(4,6092.982); h_SL3L168->SetBinContent(5,5794.423); h_SL3L168->SetBinContent(6,6618.445); h_SL3L168->SetBinContent(7,6358.102); h_SL3L168->SetBinContent(8,6212.405); h_SL3L168->SetBinContent(9,6083.428); h_SL3L168->SetBinContent(10,5643.95); h_SL3L168->SetBinContent(11,5417.045); h_SL3L168->SetBinContent(12,5517.361); h_SL3L168->SetBinContent(13,5794.423); h_SL3L168->SetBinContent(14,6243.456); h_SL3L168->SetBinContent(15,6176.578); h_SL3L168->SetBinContent(16,6298.39); h_SL3L168->SetBinContent(17,5887.574); h_SL3L168->SetBinContent(18,6267.34); h_SL3L168->SetBinContent(19,6494.245); h_SL3L168->SetBinContent(20,6396.317); h_SL3L168->SetBinContent(21,6778.472); h_SL3L168->SetBinContent(22,7423.358); h_SL3L168->SetBinContent(23,7311.101); h_SL3L168->SetBinContent(24,7237.058); h_SL3L168->SetBinContent(25,7509.343); h_SL3L168->SetBinContent(26,7729.083); h_SL3L168->SetBinContent(27,7392.309); h_SL3L168->SetBinContent(28,7920.16); h_SL3L168->SetBinContent(29,7917.771); h_SL3L168->SetBinContent(30,8364.415); h_SL3L168->SetBinContent(31,8928.094); h_SL3L168->SetBinContent(32,10227.42); h_SL3L168->SetBinContent(33,14297.37); h_SL3L168->SetBinContent(34,44033.8); h_SL3L168->SetBinContent(35,62501.43); h_SL3L168->SetBinContent(36,66478.23); h_SL3L168->SetBinContent(37,72504.34); h_SL3L168->SetBinContent(38,76008.22); h_SL3L168->SetBinContent(39,69342); h_SL3L168->SetBinContent(40,44886.48); h_SL3L168->SetBinContent(41,13767.13); h_SL3L168->SetBinContent(42,9845.266); h_SL3L168->SetBinContent(43,7946.433); h_SL3L168->SetBinContent(44,7764.91); h_SL3L168->SetBinContent(45,7313.489); h_SL3L168->SetBinContent(46,6883.565); h_SL3L168->SetBinContent(47,6694.876); h_SL3L168->SetBinContent(48,6637.553); h_SL3L168->SetBinContent(49,23497.75); h_SL3L168->SetBinContent(50,6429.756); h_SL3L168->SetBinContent(51,6040.436); h_SL3L168->SetBinContent(52,6307.944); h_SL3L168->SetBinContent(53,5801.589); h_SL3L168->SetBinContent(54,5479.146); h_SL3L168->SetBinContent(55,5684.554); h_SL3L168->SetBinContent(56,5498.253); h_SL3L168->SetBinContent(57,5448.096); h_SL3L168->SetBinContent(58,4308.796); h_SL3L168->SetBinContent(59,3730.787); h_SL3L168->SetMaximum(100520.3); 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,4991.898); h_SL3L269->SetBinContent(2,3747.506); h_SL3L269->SetBinContent(4,4676.621); h_SL3L269->SetBinContent(5,5636.785); h_SL3L269->SetBinContent(6,5885.185); h_SL3L269->SetBinContent(7,6069.097); h_SL3L269->SetBinContent(8,5944.897); h_SL3L269->SetBinContent(9,6049.99); h_SL3L269->SetBinContent(10,5622.454); h_SL3L269->SetBinContent(11,5381.218); h_SL3L269->SetBinContent(12,5137.595); h_SL3L269->SetBinContent(13,5400.326); h_SL3L269->SetBinContent(14,5481.534); h_SL3L269->SetBinContent(15,6047.601); h_SL3L269->SetBinContent(16,5729.935); h_SL3L269->SetBinContent(17,5663.058); h_SL3L269->SetBinContent(18,5846.97); h_SL3L269->SetBinContent(19,5899.516); h_SL3L269->SetBinContent(20,6207.628); h_SL3L269->SetBinContent(21,6210.017); h_SL3L269->SetBinContent(22,6627.999); h_SL3L269->SetBinContent(23,7148.685); h_SL3L269->SetBinContent(24,6933.723); h_SL3L269->SetBinContent(25,7270.497); h_SL3L269->SetBinContent(26,7349.316); h_SL3L269->SetBinContent(27,7413.805); h_SL3L269->SetBinContent(28,7299.158); h_SL3L269->SetBinContent(29,7633.544); h_SL3L269->SetBinContent(30,8010.922); h_SL3L269->SetBinContent(31,8209.165); h_SL3L269->SetBinContent(32,9252.925); h_SL3L269->SetBinContent(33,12138.19); h_SL3L269->SetBinContent(34,24190.4); h_SL3L269->SetBinContent(35,56532.65); h_SL3L269->SetBinContent(36,64106.48); h_SL3L269->SetBinContent(37,68348.4); h_SL3L269->SetBinContent(38,74410.34); h_SL3L269->SetBinContent(39,72752.73); h_SL3L269->SetBinContent(40,60855.78); h_SL3L269->SetBinContent(41,24123.53); h_SL3L269->SetBinContent(42,11412.1); h_SL3L269->SetBinContent(43,8395.465); h_SL3L269->SetBinContent(44,7903.441); h_SL3L269->SetBinContent(45,7084.196); h_SL3L269->SetBinContent(46,6768.918); h_SL3L269->SetBinContent(47,6613.668); h_SL3L269->SetBinContent(48,6465.583); h_SL3L269->SetBinContent(49,7991.814); h_SL3L269->SetBinContent(50,6257.786); h_SL3L269->SetBinContent(51,6028.493); h_SL3L269->SetBinContent(52,6284.06); h_SL3L269->SetBinContent(53,8708.354); h_SL3L269->SetBinContent(54,5347.78); h_SL3L269->SetBinContent(55,5393.161); h_SL3L269->SetBinContent(56,5799.2); h_SL3L269->SetBinContent(57,5402.715); h_SL3L269->SetBinContent(58,4762.605); h_SL3L269->SetBinContent(59,3993.519); h_SL3L269->SetMaximum(87409.45); 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,4289.688); h_SL3L370->SetBinContent(2,3310.417); h_SL3L370->SetBinContent(3,3871.707); h_SL3L370->SetBinContent(4,5512.584); h_SL3L370->SetBinContent(5,5538.857); h_SL3L370->SetBinContent(6,6021.328); h_SL3L370->SetBinContent(7,5875.631); h_SL3L370->SetBinContent(8,5586.627); h_SL3L370->SetBinContent(9,5326.284); h_SL3L370->SetBinContent(10,4905.913); h_SL3L370->SetBinContent(11,4913.079); h_SL3L370->SetBinContent(12,4989.51); h_SL3L370->SetBinContent(13,5051.61); h_SL3L370->SetBinContent(14,5732.323); h_SL3L370->SetBinContent(15,5524.526); h_SL3L370->SetBinContent(16,5390.772); h_SL3L370->SetBinContent(17,5400.326); h_SL3L370->SetBinContent(18,5608.123); h_SL3L370->SetBinContent(19,5964.005); h_SL3L370->SetBinContent(20,6107.313); h_SL3L370->SetBinContent(21,6315.109); h_SL3L370->SetBinContent(22,6542.014); h_SL3L370->SetBinContent(23,6424.979); h_SL3L370->SetBinContent(24,6735.48); h_SL3L370->SetBinContent(25,6745.034); h_SL3L370->SetBinContent(26,6864.457); h_SL3L370->SetBinContent(27,6974.327); h_SL3L370->SetBinContent(28,7115.246); h_SL3L370->SetBinContent(29,7409.028); h_SL3L370->SetBinContent(30,7889.11); h_SL3L370->SetBinContent(31,8438.458); h_SL3L370->SetBinContent(32,9527.599); h_SL3L370->SetBinContent(33,13671.59); h_SL3L370->SetBinContent(34,42963.76); h_SL3L370->SetBinContent(35,61044.46); h_SL3L370->SetBinContent(36,65709.14); h_SL3L370->SetBinContent(37,71837.95); h_SL3L370->SetBinContent(38,74138.05); h_SL3L370->SetBinContent(39,68422.45); h_SL3L370->SetBinContent(40,43954.98); h_SL3L370->SetBinContent(41,13256); h_SL3L370->SetBinContent(42,9389.067); h_SL3L370->SetBinContent(43,7547.559); h_SL3L370->SetBinContent(44,7198.843); h_SL3L370->SetBinContent(45,1084.365); h_SL3L370->SetBinContent(46,6479.914); h_SL3L370->SetBinContent(47,6393.929); h_SL3L370->SetBinContent(48,6245.844); h_SL3L370->SetBinContent(49,6059.543); h_SL3L370->SetBinContent(50,5932.955); h_SL3L370->SetBinContent(51,5629.619); h_SL3L370->SetBinContent(52,5569.907); h_SL3L370->SetBinContent(53,5531.692); h_SL3L370->SetBinContent(54,4927.41); h_SL3L370->SetBinContent(55,4927.41); h_SL3L370->SetBinContent(56,5046.833); h_SL3L370->SetBinContent(57,5018.171); h_SL3L370->SetBinContent(58,4265.804); h_SL3L370->SetBinContent(59,3608.975); h_SL3L370->SetMaximum(87409.45); 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,3274.59); h_SL3L471->SetBinContent(3,3365.352); h_SL3L471->SetBinContent(4,4394.781); h_SL3L471->SetBinContent(5,5175.81); h_SL3L471->SetBinContent(6,5522.138); h_SL3L471->SetBinContent(7,5653.504); h_SL3L471->SetBinContent(8,5285.68); h_SL3L471->SetBinContent(9,5190.141); h_SL3L471->SetBinContent(10,5175.81); h_SL3L471->SetBinContent(11,4781.713); h_SL3L471->SetBinContent(12,4483.154); h_SL3L471->SetBinContent(13,4872.475); h_SL3L471->SetBinContent(14,5106.544); h_SL3L471->SetBinContent(15,5271.349); h_SL3L471->SetBinContent(16,5216.414); h_SL3L471->SetBinContent(17,5431.376); h_SL3L471->SetBinContent(18,5230.745); h_SL3L471->SetBinContent(19,5436.153); h_SL3L471->SetBinContent(20,5756.208); h_SL3L471->SetBinContent(21,5944.897); h_SL3L471->SetBinContent(22,6023.716); h_SL3L471->SetBinContent(23,6405.871); h_SL3L471->SetBinContent(24,6542.014); h_SL3L471->SetBinContent(25,6530.072); h_SL3L471->SetBinContent(26,6716.372); h_SL3L471->SetBinContent(27,6928.946); h_SL3L471->SetBinContent(28,6795.191); h_SL3L471->SetBinContent(29,6864.457); h_SL3L471->SetBinContent(30,7284.828); h_SL3L471->SetBinContent(31,7850.895); h_SL3L471->SetBinContent(32,8123.18); h_SL3L471->SetBinContent(33,11259.24); h_SL3L471->SetBinContent(34,23485.81); h_SL3L471->SetBinContent(35,56429.95); h_SL3L471->SetBinContent(36,63463.98); h_SL3L471->SetBinContent(37,68033.12); h_SL3L471->SetBinContent(38,74047.29); h_SL3L471->SetBinContent(39,72289.38); h_SL3L471->SetBinContent(40,60249.11); h_SL3L471->SetBinContent(41,23664.94); h_SL3L471->SetBinContent(42,11149.37); h_SL3L471->SetBinContent(43,7915.383); h_SL3L471->SetBinContent(44,7110.469); h_SL3L471->SetBinContent(45,6355.713); h_SL3L471->SetBinContent(46,6436.921); h_SL3L471->SetBinContent(47,6262.563); h_SL3L471->SetBinContent(48,5856.523); h_SL3L471->SetBinContent(49,5772.927); h_SL3L471->SetBinContent(50,5567.519); h_SL3L471->SetBinContent(51,5672.611); h_SL3L471->SetBinContent(52,5405.103); h_SL3L471->SetBinContent(53,5510.196); h_SL3L471->SetBinContent(54,4865.31); h_SL3L471->SetBinContent(55,5027.725); h_SL3L471->SetBinContent(56,4848.59); h_SL3L471->SetBinContent(57,5338.226); h_SL3L471->SetBinContent(58,4628.851); h_SL3L471->SetBinContent(59,3811.995); h_SL3L471->SetMaximum(87409.45); 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 6644"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }