void RatesPerCell_Removing_noisy_cells_run_6626_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:45:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20355.86,67.5,183202.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6626",60,0,60); h_SL3L168->SetBinContent(1,34700.9); h_SL3L168->SetBinContent(2,24690.8); h_SL3L168->SetBinContent(4,41490.21); h_SL3L168->SetBinContent(5,42262.25); h_SL3L168->SetBinContent(6,45701.11); h_SL3L168->SetBinContent(7,43900.64); h_SL3L168->SetBinContent(8,44095.13); h_SL3L168->SetBinContent(9,41905.7); h_SL3L168->SetBinContent(10,37980.63); h_SL3L168->SetBinContent(11,36598.61); h_SL3L168->SetBinContent(12,37794.98); h_SL3L168->SetBinContent(13,39100.39); h_SL3L168->SetBinContent(14,41840.87); h_SL3L168->SetBinContent(15,41678.8); h_SL3L168->SetBinContent(16,41982.31); h_SL3L168->SetBinContent(17,40694.58); h_SL3L168->SetBinContent(18,41222.05); h_SL3L168->SetBinContent(19,43756.25); h_SL3L168->SetBinContent(20,44799.4); h_SL3L168->SetBinContent(21,44516.52); h_SL3L168->SetBinContent(22,46157.85); h_SL3L168->SetBinContent(23,47277.62); h_SL3L168->SetBinContent(24,47038.93); h_SL3L168->SetBinContent(25,47413.17); h_SL3L168->SetBinContent(26,47581.13); h_SL3L168->SetBinContent(27,45889.7); h_SL3L168->SetBinContent(28,44970.31); h_SL3L168->SetBinContent(29,45444.74); h_SL3L168->SetBinContent(30,46249.2); h_SL3L168->SetBinContent(31,45880.86); h_SL3L168->SetBinContent(32,45757.1); h_SL3L168->SetBinContent(33,48406.22); h_SL3L168->SetBinContent(34,71859.38); h_SL3L168->SetBinContent(35,88691.21); h_SL3L168->SetBinContent(36,93332.34); h_SL3L168->SetBinContent(37,104008.4); h_SL3L168->SetBinContent(38,108452.1); h_SL3L168->SetBinContent(39,99137.43); h_SL3L168->SetBinContent(40,73515.46); h_SL3L168->SetBinContent(41,44487.05); h_SL3L168->SetBinContent(42,39845.92); h_SL3L168->SetBinContent(43,37615.23); h_SL3L168->SetBinContent(44,37641.75); h_SL3L168->SetBinContent(45,36734.16); h_SL3L168->SetBinContent(46,35520.09); h_SL3L168->SetBinContent(47,35464.11); h_SL3L168->SetBinContent(48,36398.23); h_SL3L168->SetBinContent(49,41540.3); h_SL3L168->SetBinContent(50,35576.08); h_SL3L168->SetBinContent(51,34132.18); h_SL3L168->SetBinContent(52,34662.59); h_SL3L168->SetBinContent(53,33165.64); h_SL3L168->SetBinContent(54,31365.18); h_SL3L168->SetBinContent(55,32558.61); h_SL3L168->SetBinContent(56,32349.39); h_SL3L168->SetBinContent(57,31701.11); h_SL3L168->SetBinContent(58,24846.97); h_SL3L168->SetBinContent(59,20644.91); h_SL3L168->SetMaximum(162846.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,35779.41); h_SL3L269->SetBinContent(2,26078.71); h_SL3L269->SetBinContent(4,33634.18); h_SL3L269->SetBinContent(5,40547.25); h_SL3L269->SetBinContent(6,43134.49); h_SL3L269->SetBinContent(7,42889.91); h_SL3L269->SetBinContent(8,41687.64); h_SL3L269->SetBinContent(9,41563.88); h_SL3L269->SetBinContent(10,37960); h_SL3L269->SetBinContent(11,35649.75); h_SL3L269->SetBinContent(12,35081.03); h_SL3L269->SetBinContent(13,36743); h_SL3L269->SetBinContent(14,38599.45); h_SL3L269->SetBinContent(15,40715.21); h_SL3L269->SetBinContent(16,39952); h_SL3L269->SetBinContent(17,39695.64); h_SL3L269->SetBinContent(18,38832.24); h_SL3L269->SetBinContent(19,39860.65); h_SL3L269->SetBinContent(20,42577.55); h_SL3L269->SetBinContent(21,42347.71); h_SL3L269->SetBinContent(22,42919.38); h_SL3L269->SetBinContent(23,45203.11); h_SL3L269->SetBinContent(24,45521.36); h_SL3L269->SetBinContent(25,44943.79); h_SL3L269->SetBinContent(26,46440.74); h_SL3L269->SetBinContent(27,45648.07); h_SL3L269->SetBinContent(28,43234.68); h_SL3L269->SetBinContent(29,42940); h_SL3L269->SetBinContent(30,43838.76); h_SL3L269->SetBinContent(31,43614.81); h_SL3L269->SetBinContent(32,43393.8); h_SL3L269->SetBinContent(33,46090.08); h_SL3L269->SetBinContent(34,53153.43); h_SL3L269->SetBinContent(35,80982.52); h_SL3L269->SetBinContent(36,90132.16); h_SL3L269->SetBinContent(37,98032.4); h_SL3L269->SetBinContent(38,104871.8); h_SL3L269->SetBinContent(39,104170.5); h_SL3L269->SetBinContent(40,87848.44); h_SL3L269->SetBinContent(41,51450.21); h_SL3L269->SetBinContent(42,40046.3); h_SL3L269->SetBinContent(43,36521.99); h_SL3L269->SetBinContent(44,36303.93); h_SL3L269->SetBinContent(45,35110.5); h_SL3L269->SetBinContent(46,34359.08); h_SL3L269->SetBinContent(47,33312.98); h_SL3L269->SetBinContent(48,34138.07); h_SL3L269->SetBinContent(49,36268.57); h_SL3L269->SetBinContent(50,34877.7); h_SL3L269->SetBinContent(51,33746.15); h_SL3L269->SetBinContent(52,33218.68); h_SL3L269->SetBinContent(53,34998.52); h_SL3L269->SetBinContent(54,31335.71); h_SL3L269->SetBinContent(55,30587.24); h_SL3L269->SetBinContent(56,31512.52); h_SL3L269->SetBinContent(57,30516.52); h_SL3L269->SetBinContent(58,27902.75); h_SL3L269->SetBinContent(59,23037.67); h_SL3L269->SetMaximum(141606.1); 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,30422.22); h_SL3L370->SetBinContent(2,22628.07); h_SL3L370->SetBinContent(3,27328.14); h_SL3L370->SetBinContent(4,38107.34); h_SL3L370->SetBinContent(5,39733.95); h_SL3L370->SetBinContent(6,42335.92); h_SL3L370->SetBinContent(7,40373.39); h_SL3L370->SetBinContent(8,39845.92); h_SL3L370->SetBinContent(9,37694.79); h_SL3L370->SetBinContent(10,34706.79); h_SL3L370->SetBinContent(11,33687.22); h_SL3L370->SetBinContent(12,34535.88); h_SL3L370->SetBinContent(13,35360.97); h_SL3L370->SetBinContent(14,38505.15); h_SL3L370->SetBinContent(15,38001.26); h_SL3L370->SetBinContent(16,38122.07); h_SL3L370->SetBinContent(17,36760.68); h_SL3L370->SetBinContent(18,37146.7); h_SL3L370->SetBinContent(19,38437.38); h_SL3L370->SetBinContent(20,39763.41); h_SL3L370->SetBinContent(21,40270.25); h_SL3L370->SetBinContent(22,41507.89); h_SL3L370->SetBinContent(23,42895.8); h_SL3L370->SetBinContent(24,42153.22); h_SL3L370->SetBinContent(25,43163.96); h_SL3L370->SetBinContent(26,44177.64); h_SL3L370->SetBinContent(27,42556.93); h_SL3L370->SetBinContent(28,41260.36); h_SL3L370->SetBinContent(29,41216.16); h_SL3L370->SetBinContent(30,41799.61); h_SL3L370->SetBinContent(31,41357.6); h_SL3L370->SetBinContent(32,42067.77); h_SL3L370->SetBinContent(33,44439.9); h_SL3L370->SetBinContent(34,67542.4); h_SL3L370->SetBinContent(35,84948.84); h_SL3L370->SetBinContent(36,90553.55); h_SL3L370->SetBinContent(37,99605.96); h_SL3L370->SetBinContent(38,104535.9); h_SL3L370->SetBinContent(39,94926.52); h_SL3L370->SetBinContent(40,69560.92); h_SL3L370->SetBinContent(41,41354.66); h_SL3L370->SetBinContent(42,36545.56); h_SL3L370->SetBinContent(43,34412.12); h_SL3L370->SetBinContent(44,33651.86); h_SL3L370->SetBinContent(45,8359.923); h_SL3L370->SetBinContent(46,32378.86); h_SL3L370->SetBinContent(47,32125.44); h_SL3L370->SetBinContent(48,31975.16); h_SL3L370->SetBinContent(49,32352.34); h_SL3L370->SetBinContent(50,32832.66); h_SL3L370->SetBinContent(51,31612.71); h_SL3L370->SetBinContent(52,31120.6); h_SL3L370->SetBinContent(53,31385.81); h_SL3L370->SetBinContent(54,28816.24); h_SL3L370->SetBinContent(55,29228.79); h_SL3L370->SetBinContent(56,30404.54); h_SL3L370->SetBinContent(57,28524.52); h_SL3L370->SetBinContent(58,23780.25); h_SL3L370->SetBinContent(59,19840.45); h_SL3L370->SetMaximum(141606.1); 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,23373.6); h_SL3L471->SetBinContent(3,25235.95); h_SL3L471->SetBinContent(4,31182.48); h_SL3L471->SetBinContent(5,37052.4); h_SL3L471->SetBinContent(6,123135.7); h_SL3L471->SetBinContent(7,39651.43); h_SL3L471->SetBinContent(8,37865.71); h_SL3L471->SetBinContent(9,37450.21); h_SL3L471->SetBinContent(10,34742.15); h_SL3L471->SetBinContent(11,31872.02); h_SL3L471->SetBinContent(12,32529.15); h_SL3L471->SetBinContent(13,33277.62); h_SL3L471->SetBinContent(14,35027.99); h_SL3L471->SetBinContent(15,36810.77); h_SL3L471->SetBinContent(16,36421.8); h_SL3L471->SetBinContent(17,35098.71); h_SL3L471->SetBinContent(18,35396.33); h_SL3L471->SetBinContent(19,35962.11); h_SL3L471->SetBinContent(20,37441.38); h_SL3L471->SetBinContent(21,38045.46); h_SL3L471->SetBinContent(22,39283.09); h_SL3L471->SetBinContent(23,40491.26); h_SL3L471->SetBinContent(24,40370.44); h_SL3L471->SetBinContent(25,41254.46); h_SL3L471->SetBinContent(26,41997.05); h_SL3L471->SetBinContent(27,41334.03); h_SL3L471->SetBinContent(28,38991.36); h_SL3L471->SetBinContent(29,39150.49); h_SL3L471->SetBinContent(30,39418.64); h_SL3L471->SetBinContent(31,39651.43); h_SL3L471->SetBinContent(32,39701.53); h_SL3L471->SetBinContent(33,41466.63); h_SL3L471->SetBinContent(34,49950.32); h_SL3L471->SetBinContent(35,78507.25); h_SL3L471->SetBinContent(36,86133.43); h_SL3L471->SetBinContent(37,93627.01); h_SL3L471->SetBinContent(38,101668.7); h_SL3L471->SetBinContent(39,100463.5); h_SL3L471->SetBinContent(40,84235.73); h_SL3L471->SetBinContent(41,48126.28); h_SL3L471->SetBinContent(42,37279.3); h_SL3L471->SetBinContent(43,34008.41); h_SL3L471->SetBinContent(44,33030.09); h_SL3L471->SetBinContent(45,31816.03); h_SL3L471->SetBinContent(46,31170.7); h_SL3L471->SetBinContent(47,31082.29); h_SL3L471->SetBinContent(48,31232.58); h_SL3L471->SetBinContent(49,30749.31); h_SL3L471->SetBinContent(50,31256.15); h_SL3L471->SetBinContent(51,30601.97); h_SL3L471->SetBinContent(52,29352.55); h_SL3L471->SetBinContent(53,29429.17); h_SL3L471->SetBinContent(54,28318.24); h_SL3L471->SetBinContent(55,27398.86); h_SL3L471->SetBinContent(56,27460.74); h_SL3L471->SetBinContent(57,27787.83); h_SL3L471->SetBinContent(58,26503.05); h_SL3L471->SetBinContent(59,21066.3); h_SL3L471->SetMaximum(141606.1); 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 6626"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }