void RatesPerCell_Removing_noisy_cells_run_6741_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:46 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15308.94,67.5,137780.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6741",60,0,60); h_SL3L168->SetBinContent(1,20940.01); h_SL3L168->SetBinContent(2,14421.29); h_SL3L168->SetBinContent(3,2.601243); h_SL3L168->SetBinContent(4,22948.17); h_SL3L168->SetBinContent(5,24547.93); h_SL3L168->SetBinContent(6,26178.91); h_SL3L168->SetBinContent(7,25468.77); h_SL3L168->SetBinContent(8,25401.14); h_SL3L168->SetBinContent(9,24293.01); h_SL3L168->SetBinContent(10,22771.28); h_SL3L168->SetBinContent(11,21252.16); h_SL3L168->SetBinContent(12,21845.24); h_SL3L168->SetBinContent(13,22503.35); h_SL3L168->SetBinContent(14,24584.35); h_SL3L168->SetBinContent(15,24568.74); h_SL3L168->SetBinContent(16,24649.38); h_SL3L168->SetBinContent(17,23564.66); h_SL3L168->SetBinContent(18,23996.47); h_SL3L168->SetBinContent(19,24501.11); h_SL3L168->SetBinContent(20,25611.84); h_SL3L168->SetBinContent(21,26225.73); h_SL3L168->SetBinContent(22,26883.85); h_SL3L168->SetBinContent(23,27263.63); h_SL3L168->SetBinContent(24,27362.47); h_SL3L168->SetBinContent(25,27406.7); h_SL3L168->SetBinContent(26,27656.42); h_SL3L168->SetBinContent(27,27391.09); h_SL3L168->SetBinContent(28,26662.74); h_SL3L168->SetBinContent(29,26639.33); h_SL3L168->SetBinContent(30,27404.1); h_SL3L168->SetBinContent(31,27565.37); h_SL3L168->SetBinContent(32,28283.31); h_SL3L168->SetBinContent(33,31503.65); h_SL3L168->SetBinContent(34,60426.88); h_SL3L168->SetBinContent(35,79400.34); h_SL3L168->SetBinContent(36,84210.04); h_SL3L168->SetBinContent(37,88871.47); h_SL3L168->SetBinContent(38,92606.85); h_SL3L168->SetBinContent(39,84116.4); h_SL3L168->SetBinContent(40,60996.55); h_SL3L168->SetBinContent(41,30330.49); h_SL3L168->SetBinContent(42,25013.55); h_SL3L168->SetBinContent(43,23086.03); h_SL3L168->SetBinContent(44,23153.66); h_SL3L168->SetBinContent(45,22833.71); h_SL3L168->SetBinContent(46,21676.16); h_SL3L168->SetBinContent(47,21840.04); h_SL3L168->SetBinContent(48,22196.41); h_SL3L168->SetBinContent(49,40667.83); h_SL3L168->SetBinContent(50,20622.65); h_SL3L168->SetBinContent(51,20924.4); h_SL3L168->SetBinContent(52,20828.15); h_SL3L168->SetBinContent(53,19082.72); h_SL3L168->SetBinContent(54,19233.59); h_SL3L168->SetBinContent(55,19987.95); h_SL3L168->SetBinContent(56,19173.76); h_SL3L168->SetBinContent(57,18419.4); h_SL3L168->SetBinContent(58,14795.87); h_SL3L168->SetBinContent(59,12707.07); h_SL3L168->SetMaximum(122471.5); 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,20799.54); h_SL3L269->SetBinContent(2,15563.24); h_SL3L269->SetBinContent(3,2.601243); h_SL3L269->SetBinContent(4,19550.94); h_SL3L269->SetBinContent(5,22914.35); h_SL3L269->SetBinContent(6,24430.88); h_SL3L269->SetBinContent(7,24521.92); h_SL3L269->SetBinContent(8,24477.7); h_SL3L269->SetBinContent(9,23372.17); h_SL3L269->SetBinContent(10,21855.64); h_SL3L269->SetBinContent(11,20882.78); h_SL3L269->SetBinContent(12,20739.71); h_SL3L269->SetBinContent(13,21434.24); h_SL3L269->SetBinContent(14,22586.59); h_SL3L269->SetBinContent(15,23229.1); h_SL3L269->SetBinContent(16,22740.07); h_SL3L269->SetBinContent(17,22794.69); h_SL3L269->SetBinContent(18,22677.64); h_SL3L269->SetBinContent(19,22984.58); h_SL3L269->SetBinContent(20,23944.44); h_SL3L269->SetBinContent(21,24227.98); h_SL3L269->SetBinContent(22,25624.85); h_SL3L269->SetBinContent(23,26113.88); h_SL3L269->SetBinContent(24,25989.02); h_SL3L269->SetBinContent(25,26168.5); h_SL3L269->SetBinContent(26,26569.1); h_SL3L269->SetBinContent(27,26314.17); h_SL3L269->SetBinContent(28,25224.25); h_SL3L269->SetBinContent(29,25981.21); h_SL3L269->SetBinContent(30,26012.43); h_SL3L269->SetBinContent(31,26387.01); h_SL3L269->SetBinContent(32,26277.76); h_SL3L269->SetBinContent(33,28972.64); h_SL3L269->SetBinContent(34,40074.75); h_SL3L269->SetBinContent(35,72418.61); h_SL3L269->SetBinContent(36,80430.44); h_SL3L269->SetBinContent(37,83801.65); h_SL3L269->SetBinContent(38,90312.55); h_SL3L269->SetBinContent(39,88413.65); h_SL3L269->SetBinContent(40,75722.19); h_SL3L269->SetBinContent(41,39702.77); h_SL3L269->SetBinContent(42,26691.36); h_SL3L269->SetBinContent(43,22789.49); h_SL3L269->SetBinContent(44,22225.02); h_SL3L269->SetBinContent(45,21650.15); h_SL3L269->SetBinContent(46,20812.54); h_SL3L269->SetBinContent(47,21275.57); h_SL3L269->SetBinContent(48,20932.2); h_SL3L269->SetBinContent(49,22940.36); h_SL3L269->SetBinContent(50,19821.47); h_SL3L269->SetBinContent(51,19678.4); h_SL3L269->SetBinContent(52,20310.51); h_SL3L269->SetBinContent(53,22050.74); h_SL3L269->SetBinContent(54,18708.14); h_SL3L269->SetBinContent(55,18533.86); h_SL3L269->SetBinContent(56,18689.93); h_SL3L269->SetBinContent(57,18372.58); h_SL3L269->SetBinContent(58,16408.64); h_SL3L269->SetBinContent(59,13620.11); h_SL3L269->SetMaximum(106497.9); 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,17495.96); h_SL3L370->SetBinContent(2,13796.99); h_SL3L370->SetBinContent(3,15435.78); h_SL3L370->SetBinContent(4,21663.15); h_SL3L370->SetBinContent(5,22966.38); h_SL3L370->SetBinContent(6,23871.61); h_SL3L370->SetBinContent(7,23273.32); h_SL3L370->SetBinContent(8,23143.26); h_SL3L370->SetBinContent(9,21717.78); h_SL3L370->SetBinContent(10,20071.19); h_SL3L370->SetBinContent(11,19946.33); h_SL3L370->SetBinContent(12,19649.79); h_SL3L370->SetBinContent(13,20601.84); h_SL3L370->SetBinContent(14,21387.42); h_SL3L370->SetBinContent(15,22003.91); h_SL3L370->SetBinContent(16,22186); h_SL3L370->SetBinContent(17,21064.87); h_SL3L370->SetBinContent(18,21722.98); h_SL3L370->SetBinContent(19,22451.33); h_SL3L370->SetBinContent(20,22604.8); h_SL3L370->SetBinContent(21,23114.64); h_SL3L370->SetBinContent(22,23887.21); h_SL3L370->SetBinContent(23,24558.34); h_SL3L370->SetBinContent(24,24410.06); h_SL3L370->SetBinContent(25,24727.42); h_SL3L370->SetBinContent(26,25359.52); h_SL3L370->SetBinContent(27,24371.04); h_SL3L370->SetBinContent(28,24391.86); h_SL3L370->SetBinContent(29,24178.55); h_SL3L370->SetBinContent(30,24891.29); h_SL3L370->SetBinContent(31,25232.06); h_SL3L370->SetBinContent(32,25747.1); h_SL3L370->SetBinContent(33,29336.82); h_SL3L370->SetBinContent(34,57596.72); h_SL3L370->SetBinContent(35,76156.59); h_SL3L370->SetBinContent(36,81655.62); h_SL3L370->SetBinContent(37,85856.62); h_SL3L370->SetBinContent(38,89074.37); h_SL3L370->SetBinContent(39,82357.95); h_SL3L370->SetBinContent(40,59222.5); h_SL3L370->SetBinContent(41,27666.82); h_SL3L370->SetBinContent(42,23333.15); h_SL3L370->SetBinContent(43,21673.56); h_SL3L370->SetBinContent(44,20958.21); h_SL3L370->SetBinContent(45,2390.542); h_SL3L370->SetBinContent(46,20110.21); h_SL3L370->SetBinContent(47,19548.34); h_SL3L370->SetBinContent(48,20219.46); h_SL3L370->SetBinContent(49,19790.26); h_SL3L370->SetBinContent(50,19506.72); h_SL3L370->SetBinContent(51,18676.93); h_SL3L370->SetBinContent(52,18944.85); h_SL3L370->SetBinContent(53,17639.03); h_SL3L370->SetBinContent(54,17683.25); h_SL3L370->SetBinContent(55,18011.01); h_SL3L370->SetBinContent(56,17719.67); h_SL3L370->SetBinContent(57,16720.79); h_SL3L370->SetBinContent(58,14241.81); h_SL3L370->SetBinContent(59,12220.64); h_SL3L370->SetMaximum(106497.9); 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,13555.08); h_SL3L471->SetBinContent(3,14905.12); h_SL3L471->SetBinContent(4,17789.9); h_SL3L471->SetBinContent(5,20516); h_SL3L471->SetBinContent(6,22420.11); h_SL3L471->SetBinContent(7,22461.73); h_SL3L471->SetBinContent(8,21585.12); h_SL3L471->SetBinContent(9,21340.6); h_SL3L471->SetBinContent(10,20055.58); h_SL3L471->SetBinContent(11,18822.59); h_SL3L471->SetBinContent(12,18286.74); h_SL3L471->SetBinContent(13,19545.74); h_SL3L471->SetBinContent(14,20203.86); h_SL3L471->SetBinContent(15,20880.18); h_SL3L471->SetBinContent(16,20000.96); h_SL3L471->SetBinContent(17,20287.09); h_SL3L471->SetBinContent(18,20281.89); h_SL3L471->SetBinContent(19,20898.39); h_SL3L471->SetBinContent(20,21847.84); h_SL3L471->SetBinContent(21,21668.35); h_SL3L471->SetBinContent(22,22716.66); h_SL3L471->SetBinContent(23,23405.98); h_SL3L471->SetBinContent(24,23138.06); h_SL3L471->SetBinContent(25,23255.11); h_SL3L471->SetBinContent(26,24475.1); h_SL3L471->SetBinContent(27,24001.67); h_SL3L471->SetBinContent(28,22994.99); h_SL3L471->SetBinContent(29,23262.92); h_SL3L471->SetBinContent(30,23988.66); h_SL3L471->SetBinContent(31,23991.26); h_SL3L471->SetBinContent(32,23564.66); h_SL3L471->SetBinContent(33,26043.64); h_SL3L471->SetBinContent(34,38149.83); h_SL3L471->SetBinContent(35,71141.4); h_SL3L471->SetBinContent(36,78086.71); h_SL3L471->SetBinContent(37,82428.19); h_SL3L471->SetBinContent(38,88226.36); h_SL3L471->SetBinContent(39,86470.52); h_SL3L471->SetBinContent(40,73820.67); h_SL3L471->SetBinContent(41,36909.04); h_SL3L471->SetBinContent(42,25172.23); h_SL3L471->SetBinContent(43,21119.49); h_SL3L471->SetBinContent(44,20224.66); h_SL3L471->SetBinContent(45,19522.33); h_SL3L471->SetBinContent(46,19194.57); h_SL3L471->SetBinContent(47,18754.96); h_SL3L471->SetBinContent(48,18692.53); h_SL3L471->SetBinContent(49,19098.33); h_SL3L471->SetBinContent(50,18351.77); h_SL3L471->SetBinContent(51,18549.46); h_SL3L471->SetBinContent(52,17438.73); h_SL3L471->SetBinContent(53,18013.61); h_SL3L471->SetBinContent(54,16374.83); h_SL3L471->SetBinContent(55,17202.02); h_SL3L471->SetBinContent(56,16918.48); h_SL3L471->SetBinContent(57,16390.43); h_SL3L471->SetBinContent(58,15144.44); h_SL3L471->SetBinContent(59,12772.1); h_SL3L471->SetMaximum(106497.9); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 6741"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }