void RatesPerCell_Removing_noisy_cells_run_6754_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:56:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14639.93,67.5,131759.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 6754",60,0,60); h_SL3L168->SetBinContent(1,19603.32); h_SL3L168->SetBinContent(2,14171.36); h_SL3L168->SetBinContent(4,22808.79); h_SL3L168->SetBinContent(5,23634.8); h_SL3L168->SetBinContent(6,25497.58); h_SL3L168->SetBinContent(7,24593.38); h_SL3L168->SetBinContent(8,24923.11); h_SL3L168->SetBinContent(9,23345.87); h_SL3L168->SetBinContent(10,21591.87); h_SL3L168->SetBinContent(11,21037.8); h_SL3L168->SetBinContent(12,21479.7); h_SL3L168->SetBinContent(13,21989.58); h_SL3L168->SetBinContent(14,23611.01); h_SL3L168->SetBinContent(15,24008.72); h_SL3L168->SetBinContent(16,23420.65); h_SL3L168->SetBinContent(17,23084.13); h_SL3L168->SetBinContent(18,23315.28); h_SL3L168->SetBinContent(19,24256.86); h_SL3L168->SetBinContent(20,25011.49); h_SL3L168->SetBinContent(21,24817.73); h_SL3L168->SetBinContent(22,26554.74); h_SL3L168->SetBinContent(23,26585.33); h_SL3L168->SetBinContent(24,25895.29); h_SL3L168->SetBinContent(25,26425.57); h_SL3L168->SetBinContent(26,27224.38); h_SL3L168->SetBinContent(27,25813.71); h_SL3L168->SetBinContent(28,25653.94); h_SL3L168->SetBinContent(29,25864.69); h_SL3L168->SetBinContent(30,26962.64); h_SL3L168->SetBinContent(31,26442.56); h_SL3L168->SetBinContent(32,27921.22); h_SL3L168->SetBinContent(33,30157.91); h_SL3L168->SetBinContent(34,59207.68); h_SL3L168->SetBinContent(35,76020.24); h_SL3L168->SetBinContent(36,81605.16); h_SL3L168->SetBinContent(37,86544.23); h_SL3L168->SetBinContent(38,88559.98); h_SL3L168->SetBinContent(39,84011.81); h_SL3L168->SetBinContent(40,59394.64); h_SL3L168->SetBinContent(41,29063.36); h_SL3L168->SetBinContent(42,24644.37); h_SL3L168->SetBinContent(43,22805.39); h_SL3L168->SetBinContent(44,22227.53); h_SL3L168->SetBinContent(45,21432.11); h_SL3L168->SetBinContent(46,21292.74); h_SL3L168->SetBinContent(47,20884.83); h_SL3L168->SetBinContent(48,21299.54); h_SL3L168->SetBinContent(49,36517.86); h_SL3L168->SetBinContent(50,20035.03); h_SL3L168->SetBinContent(51,20259.37); h_SL3L168->SetBinContent(52,19729.1); h_SL3L168->SetBinContent(53,19151.23); h_SL3L168->SetBinContent(54,18610.75); h_SL3L168->SetBinContent(55,18454.39); h_SL3L168->SetBinContent(56,18372.8); h_SL3L168->SetBinContent(57,18104.27); h_SL3L168->SetBinContent(58,14674.45); h_SL3L168->SetBinContent(59,12546.54); h_SL3L168->SetMaximum(117119.4); 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,20912.03); h_SL3L269->SetBinContent(2,14953.19); h_SL3L269->SetBinContent(4,19297.39); h_SL3L269->SetBinContent(5,22346.5); h_SL3L269->SetBinContent(6,23954.33); h_SL3L269->SetBinContent(7,24324.85); h_SL3L269->SetBinContent(8,23770.77); h_SL3L269->SetBinContent(9,23022.94); h_SL3L269->SetBinContent(10,22067.76); h_SL3L269->SetBinContent(11,20157.4); h_SL3L269->SetBinContent(12,19963.64); h_SL3L269->SetBinContent(13,20555.11); h_SL3L269->SetBinContent(14,21972.58); h_SL3L269->SetBinContent(15,21945.39); h_SL3L269->SetBinContent(16,22190.13); h_SL3L269->SetBinContent(17,22737.41); h_SL3L269->SetBinContent(18,21595.27); h_SL3L269->SetBinContent(19,22203.73); h_SL3L269->SetBinContent(20,23131.72); h_SL3L269->SetBinContent(21,24046.11); h_SL3L269->SetBinContent(22,25031.88); h_SL3L269->SetBinContent(23,24923.11); h_SL3L269->SetBinContent(24,25548.57); h_SL3L269->SetBinContent(25,25208.64); h_SL3L269->SetBinContent(26,25670.94); h_SL3L269->SetBinContent(27,25494.18); h_SL3L269->SetBinContent(28,24256.86); h_SL3L269->SetBinContent(29,24776.94); h_SL3L269->SetBinContent(30,25276.63); h_SL3L269->SetBinContent(31,25922.48); h_SL3L269->SetBinContent(32,25579.16); h_SL3L269->SetBinContent(33,27778.46); h_SL3L269->SetBinContent(34,39135.26); h_SL3L269->SetBinContent(35,70408.12); h_SL3L269->SetBinContent(36,77672.27); h_SL3L269->SetBinContent(37,83369.36); h_SL3L269->SetBinContent(38,86826.38); h_SL3L269->SetBinContent(39,86523.84); h_SL3L269->SetBinContent(40,74837.31); h_SL3L269->SetBinContent(41,38540.4); h_SL3L269->SetBinContent(42,25881.69); h_SL3L269->SetBinContent(43,23111.32); h_SL3L269->SetBinContent(44,21435.51); h_SL3L269->SetBinContent(45,21564.68); h_SL3L269->SetBinContent(46,20487.12); h_SL3L269->SetBinContent(47,20249.18); h_SL3L269->SetBinContent(48,19501.35); h_SL3L269->SetBinContent(49,20170.99); h_SL3L269->SetBinContent(50,19562.53); h_SL3L269->SetBinContent(51,19134.23); h_SL3L269->SetBinContent(52,19069.65); h_SL3L269->SetBinContent(53,18845.3); h_SL3L269->SetBinContent(54,17641.97); h_SL3L269->SetBinContent(55,17451.62); h_SL3L269->SetBinContent(56,18226.64); h_SL3L269->SetBinContent(57,17754.15); h_SL3L269->SetBinContent(58,16146.31); h_SL3L269->SetBinContent(59,13263.77); h_SL3L269->SetMaximum(101844); 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,17533.2); h_SL3L370->SetBinContent(2,13185.59); h_SL3L370->SetBinContent(3,14888.6); h_SL3L370->SetBinContent(4,21370.92); h_SL3L370->SetBinContent(5,21999.78); h_SL3L370->SetBinContent(6,23281.28); h_SL3L370->SetBinContent(7,23056.94); h_SL3L370->SetBinContent(8,22975.35); h_SL3L370->SetBinContent(9,21347.12); h_SL3L370->SetBinContent(10,19518.34); h_SL3L370->SetBinContent(11,19022.06); h_SL3L370->SetBinContent(12,19429.96); h_SL3L370->SetBinContent(13,19484.35); h_SL3L370->SetBinContent(14,21119.38); h_SL3L370->SetBinContent(15,21557.88); h_SL3L370->SetBinContent(16,21156.77); h_SL3L370->SetBinContent(17,20810.05); h_SL3L370->SetBinContent(18,20884.83); h_SL3L370->SetBinContent(19,21979.38); h_SL3L370->SetBinContent(20,22047.37); h_SL3L370->SetBinContent(21,22516.46); h_SL3L370->SetBinContent(22,23539.62); h_SL3L370->SetBinContent(23,23848.96); h_SL3L370->SetBinContent(24,23746.98); h_SL3L370->SetBinContent(25,24736.15); h_SL3L370->SetBinContent(26,24290.85); h_SL3L370->SetBinContent(27,23556.62); h_SL3L370->SetBinContent(28,23787.77); h_SL3L370->SetBinContent(29,23478.44); h_SL3L370->SetBinContent(30,24052.91); h_SL3L370->SetBinContent(31,24518.6); h_SL3L370->SetBinContent(32,25035.28); h_SL3L370->SetBinContent(33,28383.52); h_SL3L370->SetBinContent(34,57409.49); h_SL3L370->SetBinContent(35,74106.48); h_SL3L370->SetBinContent(36,79361.68); h_SL3L370->SetBinContent(37,84623.68); h_SL3L370->SetBinContent(38,87057.52); h_SL3L370->SetBinContent(39,82166.04); h_SL3L370->SetBinContent(40,57402.69); h_SL3L370->SetBinContent(41,26989.84); h_SL3L370->SetBinContent(42,22288.71); h_SL3L370->SetBinContent(43,20850.84); h_SL3L370->SetBinContent(44,20096.21); h_SL3L370->SetBinContent(45,1142.139); h_SL3L370->SetBinContent(46,19627.12); h_SL3L370->SetBinContent(47,19045.85); h_SL3L370->SetBinContent(48,19657.71); h_SL3L370->SetBinContent(49,19062.85); h_SL3L370->SetBinContent(50,18685.53); h_SL3L370->SetBinContent(51,18029.48); h_SL3L370->SetBinContent(52,18277.63); h_SL3L370->SetBinContent(53,17427.82); h_SL3L370->SetBinContent(54,16761.57); h_SL3L370->SetBinContent(55,16785.37); h_SL3L370->SetBinContent(56,16846.55); h_SL3L370->SetBinContent(57,16173.51); h_SL3L370->SetBinContent(58,13875.63); h_SL3L370->SetBinContent(59,12091.04); h_SL3L370->SetMaximum(101844); 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,13668.28); h_SL3L471->SetBinContent(3,13981.01); h_SL3L471->SetBinContent(4,17995.49); h_SL3L471->SetBinContent(5,20204.99); h_SL3L471->SetBinContent(6,21568.07); h_SL3L471->SetBinContent(7,21663.25); h_SL3L471->SetBinContent(8,21421.91); h_SL3L471->SetBinContent(9,20867.83); h_SL3L471->SetBinContent(10,19627.12); h_SL3L471->SetBinContent(11,18345.61); h_SL3L471->SetBinContent(12,18145.06); h_SL3L471->SetBinContent(13,18733.12); h_SL3L471->SetBinContent(14,19681.51); h_SL3L471->SetBinContent(15,19892.26); h_SL3L471->SetBinContent(16,20398.74); h_SL3L471->SetBinContent(17,19705.3); h_SL3L471->SetBinContent(18,19902.46); h_SL3L471->SetBinContent(19,20116.61); h_SL3L471->SetBinContent(20,21272.34); h_SL3L471->SetBinContent(21,21262.14); h_SL3L471->SetBinContent(22,21799.22); h_SL3L471->SetBinContent(23,22356.7); h_SL3L471->SetBinContent(24,22961.76); h_SL3L471->SetBinContent(25,22550.45); h_SL3L471->SetBinContent(26,23356.07); h_SL3L471->SetBinContent(27,23628); h_SL3L471->SetBinContent(28,22489.27); h_SL3L471->SetBinContent(29,22383.89); h_SL3L471->SetBinContent(30,22839.38); h_SL3L471->SetBinContent(31,22934.56); h_SL3L471->SetBinContent(32,23383.26); h_SL3L471->SetBinContent(33,25300.42); h_SL3L471->SetBinContent(34,37088.93); h_SL3L471->SetBinContent(35,68711.91); h_SL3L471->SetBinContent(36,75945.46); h_SL3L471->SetBinContent(37,80565); h_SL3L471->SetBinContent(38,84946.6); h_SL3L471->SetBinContent(39,85286.52); h_SL3L471->SetBinContent(40,72665.21); h_SL3L471->SetBinContent(41,36568.85); h_SL3L471->SetBinContent(42,23624.61); h_SL3L471->SetBinContent(43,20565.3); h_SL3L471->SetBinContent(44,19657.71); h_SL3L471->SetBinContent(45,19310.99); h_SL3L471->SetBinContent(46,18726.32); h_SL3L471->SetBinContent(47,18325.21); h_SL3L471->SetBinContent(48,18335.41); h_SL3L471->SetBinContent(49,18264.03); h_SL3L471->SetBinContent(50,18168.85); h_SL3L471->SetBinContent(51,17713.36); h_SL3L471->SetBinContent(52,17101.49); h_SL3L471->SetBinContent(53,17057.3); h_SL3L471->SetBinContent(54,16465.84); h_SL3L471->SetBinContent(55,15612.63); h_SL3L471->SetBinContent(56,16312.88); h_SL3L471->SetBinContent(57,15942.36); h_SL3L471->SetBinContent(58,14756.03); h_SL3L471->SetBinContent(59,11924.48); h_SL3L471->SetMaximum(101844); 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 6754"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }