void RatesPerCell_Removing_noisy_cells_run_6638_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12579.13,67.5,113212.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6638",60,0,60); h_SL3L168->SetBinContent(1,5265.691); h_SL3L168->SetBinContent(2,3492.958); h_SL3L168->SetBinContent(4,5914.713); h_SL3L168->SetBinContent(5,6152.058); h_SL3L168->SetBinContent(6,6383.102); h_SL3L168->SetBinContent(7,6305.387); h_SL3L168->SetBinContent(8,6164.661); h_SL3L168->SetBinContent(9,5998.729); h_SL3L168->SetBinContent(10,5696.272); h_SL3L168->SetBinContent(11,5351.808); h_SL3L168->SetBinContent(12,5366.51); h_SL3L168->SetBinContent(13,5652.164); h_SL3L168->SetBinContent(14,6225.572); h_SL3L168->SetBinContent(15,6168.861); h_SL3L168->SetBinContent(16,6036.537); h_SL3L168->SetBinContent(17,5939.918); h_SL3L168->SetBinContent(18,6322.19); h_SL3L168->SetBinContent(19,6263.379); h_SL3L168->SetBinContent(20,6536.431); h_SL3L168->SetBinContent(21,6696.061); h_SL3L168->SetBinContent(22,6914.502); h_SL3L168->SetBinContent(23,7166.549); h_SL3L168->SetBinContent(24,7324.079); h_SL3L168->SetBinContent(25,7630.737); h_SL3L168->SetBinContent(26,7807.17); h_SL3L168->SetBinContent(27,7460.604); h_SL3L168->SetBinContent(28,7912.189); h_SL3L168->SetBinContent(29,7928.993); h_SL3L168->SetBinContent(30,8489.799); h_SL3L168->SetBinContent(31,9172.427); h_SL3L168->SetBinContent(32,10403.26); h_SL3L168->SetBinContent(33,14618.75); h_SL3L168->SetBinContent(34,43931.87); h_SL3L168->SetBinContent(35,62283.03); h_SL3L168->SetBinContent(36,66876.59); h_SL3L168->SetBinContent(37,72308.21); h_SL3L168->SetBinContent(38,76093.12); h_SL3L168->SetBinContent(39,69100.91); h_SL3L168->SetBinContent(40,45824.33); h_SL3L168->SetBinContent(41,13980.23); h_SL3L168->SetBinContent(42,9668.12); h_SL3L168->SetBinContent(43,8111.727); h_SL3L168->SetBinContent(44,7886.985); h_SL3L168->SetBinContent(45,7477.408); h_SL3L168->SetBinContent(46,7027.923); h_SL3L168->SetBinContent(47,6826.285); h_SL3L168->SetBinContent(48,6735.968); h_SL3L168->SetBinContent(49,24125.14); h_SL3L168->SetBinContent(50,6410.407); h_SL3L168->SetBinContent(51,5860.104); h_SL3L168->SetBinContent(52,6002.93); h_SL3L168->SetBinContent(53,5792.891); h_SL3L168->SetBinContent(54,5452.626); h_SL3L168->SetBinContent(55,5643.763); h_SL3L168->SetBinContent(56,5542.943); h_SL3L168->SetBinContent(57,5406.418); h_SL3L168->SetBinContent(58,4387.726); h_SL3L168->SetBinContent(59,3795.415); h_SL3L168->SetMaximum(100633); 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,5024.146); h_SL3L269->SetBinContent(2,3669.391); h_SL3L269->SetBinContent(4,4639.773); h_SL3L269->SetBinContent(5,5736.18); h_SL3L269->SetBinContent(6,6168.861); h_SL3L269->SetBinContent(7,6074.344); h_SL3L269->SetBinContent(8,6309.588); h_SL3L269->SetBinContent(9,5698.373); h_SL3L269->SetBinContent(10,5597.554); h_SL3L269->SetBinContent(11,5286.695); h_SL3L269->SetBinContent(12,4980.038); h_SL3L269->SetBinContent(13,5229.985); h_SL3L269->SetBinContent(14,5591.252); h_SL3L269->SetBinContent(15,5887.408); h_SL3L269->SetBinContent(16,5584.952); h_SL3L269->SetBinContent(17,5872.706); h_SL3L269->SetBinContent(18,5818.095); h_SL3L269->SetBinContent(19,6198.267); h_SL3L269->SetBinContent(20,6504.925); h_SL3L269->SetBinContent(21,6278.082); h_SL3L269->SetBinContent(22,6670.856); h_SL3L269->SetBinContent(23,7021.622); h_SL3L269->SetBinContent(24,7048.927); h_SL3L269->SetBinContent(25,7156.047); h_SL3L269->SetBinContent(26,7206.457); h_SL3L269->SetBinContent(27,7405.994); h_SL3L269->SetBinContent(28,7351.384); h_SL3L269->SetBinContent(29,7639.138); h_SL3L269->SetBinContent(30,7815.571); h_SL3L269->SetBinContent(31,8252.454); h_SL3L269->SetBinContent(32,8737.646); h_SL3L269->SetBinContent(33,12251.61); h_SL3L269->SetBinContent(34,23929.8); h_SL3L269->SetBinContent(35,56395.62); h_SL3L269->SetBinContent(36,64343.52); h_SL3L269->SetBinContent(37,68636.72); h_SL3L269->SetBinContent(38,73568.45); h_SL3L269->SetBinContent(39,73186.18); h_SL3L269->SetBinContent(40,61516.38); h_SL3L269->SetBinContent(41,24393.99); h_SL3L269->SetBinContent(42,11806.32); h_SL3L269->SetBinContent(43,8126.43); h_SL3L269->SetBinContent(44,7868.082); h_SL3L269->SetBinContent(45,7237.963); h_SL3L269->SetBinContent(46,6935.506); h_SL3L269->SetBinContent(47,6786.377); h_SL3L269->SetBinContent(48,6313.789); h_SL3L269->SetBinContent(49,8594.818); h_SL3L269->SetBinContent(50,6351.596); h_SL3L269->SetBinContent(51,6026.035); h_SL3L269->SetBinContent(52,6322.19); h_SL3L269->SetBinContent(53,9103.114); h_SL3L269->SetBinContent(54,5677.369); h_SL3L269->SetBinContent(55,5229.985); h_SL3L269->SetBinContent(56,5702.574); h_SL3L269->SetBinContent(57,5103.961); h_SL3L269->SetBinContent(58,4868.717); h_SL3L269->SetBinContent(59,3978.149); h_SL3L269->SetMaximum(87507.09); 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,4425.533); h_SL3L370->SetBinContent(2,3324.926); h_SL3L370->SetBinContent(3,3948.743); h_SL3L370->SetBinContent(4,5425.321); h_SL3L370->SetBinContent(5,5542.943); h_SL3L370->SetBinContent(6,5694.172); h_SL3L370->SetBinContent(7,5801.292); h_SL3L370->SetBinContent(8,5786.589); h_SL3L370->SetBinContent(9,5299.298); h_SL3L370->SetBinContent(10,5213.182); h_SL3L370->SetBinContent(11,4851.914); h_SL3L370->SetBinContent(12,5145.969); h_SL3L370->SetBinContent(13,5124.965); h_SL3L370->SetBinContent(14,5503.036); h_SL3L370->SetBinContent(15,5517.739); h_SL3L370->SetBinContent(16,5637.461); h_SL3L370->SetBinContent(17,5503.036); h_SL3L370->SetBinContent(18,5584.952); h_SL3L370->SetBinContent(19,5960.922); h_SL3L370->SetBinContent(20,6112.151); h_SL3L370->SetBinContent(21,6261.279); h_SL3L370->SetBinContent(22,6416.708); h_SL3L370->SetBinContent(23,6483.921); h_SL3L370->SetBinContent(24,6803.181); h_SL3L370->SetBinContent(25,7065.73); h_SL3L370->SetBinContent(26,7015.321); h_SL3L370->SetBinContent(27,6918.703); h_SL3L370->SetBinContent(28,7309.376); h_SL3L370->SetBinContent(29,7277.87); h_SL3L370->SetBinContent(30,7599.23); h_SL3L370->SetBinContent(31,8267.156); h_SL3L370->SetBinContent(32,9672.321); h_SL3L370->SetBinContent(33,13860.51); h_SL3L370->SetBinContent(34,42486.8); h_SL3L370->SetBinContent(35,61031.19); h_SL3L370->SetBinContent(36,65841.09); h_SL3L370->SetBinContent(37,71094.19); h_SL3L370->SetBinContent(38,74221.67); h_SL3L370->SetBinContent(39,68405.68); h_SL3L370->SetBinContent(40,45084.99); h_SL3L370->SetBinContent(41,13576.96); h_SL3L370->SetBinContent(42,9539.996); h_SL3L370->SetBinContent(43,7758.861); h_SL3L370->SetBinContent(44,6931.305); h_SL3L370->SetBinContent(45,1211.928); h_SL3L370->SetBinContent(46,6693.96); h_SL3L370->SetBinContent(47,6263.379); h_SL3L370->SetBinContent(48,6028.135); h_SL3L370->SetBinContent(49,6086.946); h_SL3L370->SetBinContent(50,5948.32); h_SL3L370->SetBinContent(51,5639.562); h_SL3L370->SetBinContent(52,5524.04); h_SL3L370->SetBinContent(53,5603.855); h_SL3L370->SetBinContent(54,5131.266); h_SL3L370->SetBinContent(55,5095.56); h_SL3L370->SetBinContent(56,5208.98); h_SL3L370->SetBinContent(57,5051.451); h_SL3L370->SetBinContent(58,4263.803); h_SL3L370->SetBinContent(59,3776.511); h_SL3L370->SetMaximum(87507.09); 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,3322.826); h_SL3L471->SetBinContent(3,3621.082); h_SL3L471->SetBinContent(4,4564.159); h_SL3L471->SetBinContent(5,5120.764); h_SL3L471->SetBinContent(6,5454.727); h_SL3L471->SetBinContent(7,5540.843); h_SL3L471->SetBinContent(8,5435.823); h_SL3L471->SetBinContent(9,5381.213); h_SL3L471->SetBinContent(10,5208.98); h_SL3L471->SetBinContent(11,4778.399); h_SL3L471->SetBinContent(12,4759.496); h_SL3L471->SetBinContent(13,5007.343); h_SL3L471->SetBinContent(14,5169.073); h_SL3L471->SetBinContent(15,5469.43); h_SL3L471->SetBinContent(16,5198.479); h_SL3L471->SetBinContent(17,5248.888); h_SL3L471->SetBinContent(18,5194.278); h_SL3L471->SetBinContent(19,5383.313); h_SL3L471->SetBinContent(20,5687.871); h_SL3L471->SetBinContent(21,5889.509); h_SL3L471->SetBinContent(22,5950.42); h_SL3L471->SetBinContent(23,6502.824); h_SL3L471->SetBinContent(24,6154.159); h_SL3L471->SetBinContent(25,6580.539); h_SL3L471->SetBinContent(26,6943.907); h_SL3L471->SetBinContent(27,6714.964); h_SL3L471->SetBinContent(28,6813.683); h_SL3L471->SetBinContent(29,7067.831); h_SL3L471->SetBinContent(30,7405.994); h_SL3L471->SetBinContent(31,7859.68); h_SL3L471->SetBinContent(32,8546.509); h_SL3L471->SetBinContent(33,11568.98); h_SL3L471->SetBinContent(34,23268.18); h_SL3L471->SetBinContent(35,56593.05); h_SL3L471->SetBinContent(36,63570.57); h_SL3L471->SetBinContent(37,68411.98); h_SL3L471->SetBinContent(38,73232.39); h_SL3L471->SetBinContent(39,72835.41); h_SL3L471->SetBinContent(40,60804.35); h_SL3L471->SetBinContent(41,23637.85); h_SL3L471->SetBinContent(42,11157.3); h_SL3L471->SetBinContent(43,7832.375); h_SL3L471->SetBinContent(44,6973.313); h_SL3L471->SetBinContent(45,6601.543); h_SL3L471->SetBinContent(46,6460.816); h_SL3L471->SetBinContent(47,6185.665); h_SL3L471->SetBinContent(48,6032.336); h_SL3L471->SetBinContent(49,5736.18); h_SL3L471->SetBinContent(50,5721.477); h_SL3L471->SetBinContent(51,5836.999); h_SL3L471->SetBinContent(52,5229.985); h_SL3L471->SetBinContent(53,5377.012); h_SL3L471->SetBinContent(54,4963.234); h_SL3L471->SetBinContent(55,5127.065); h_SL3L471->SetBinContent(56,5015.744); h_SL3L471->SetBinContent(57,5419.02); h_SL3L471->SetBinContent(58,5072.455); h_SL3L471->SetBinContent(59,4475.943); h_SL3L471->SetMaximum(87507.09); 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 6638"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }