void RatesPerCell_Removing_noisy_cells_run_6613_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:57:14 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9978.407,67.5,89805.66); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6613",60,0,60); h_SL2L164->SetBinContent(1,326.0962); h_SL2L164->SetBinContent(2,423.5503); h_SL2L164->SetBinContent(3,461.0326); h_SL2L164->SetBinContent(4,588.4725); h_SL2L164->SetBinContent(5,640.9478); h_SL2L164->SetBinContent(6,708.416); h_SL2L164->SetBinContent(7,629.7031); h_SL2L164->SetBinContent(8,708.416); h_SL2L164->SetBinContent(9,764.6395); h_SL2L164->SetBinContent(10,903.324); h_SL2L164->SetBinContent(11,952.0511); h_SL2L164->SetBinContent(12,1109.477); h_SL2L164->SetBinContent(13,1176.945); h_SL2L164->SetBinContent(14,1128.218); h_SL2L164->SetBinContent(15,1229.42); h_SL2L164->SetBinContent(16,1431.825); h_SL2L164->SetBinContent(17,1596.747); h_SL2L164->SetBinContent(18,2001.556); h_SL2L164->SetBinContent(19,2057.78); h_SL2L164->SetBinContent(20,2162.73); h_SL2L164->SetBinContent(21,2245.191); h_SL2L164->SetBinContent(22,2653.749); h_SL2L164->SetBinContent(23,3066.054); h_SL2L164->SetBinContent(24,3632.037); h_SL2L164->SetBinContent(25,8467.258); h_SL2L164->SetBinContent(26,28591.52); h_SL2L164->SetBinContent(27,45477.3); h_SL2L164->SetBinContent(28,56886.93); h_SL2L164->SetBinContent(29,60361.54); h_SL2L164->SetBinContent(30,56718.25); h_SL2L164->SetBinContent(31,49536.64); h_SL2L164->SetBinContent(32,44469.03); h_SL2L164->SetBinContent(33,40139.82); h_SL2L164->SetBinContent(34,20484.09); h_SL2L164->SetBinContent(35,3.748233); h_SL2L164->SetBinContent(36,3354.668); h_SL2L164->SetBinContent(37,2556.295); h_SL2L164->SetBinContent(38,2132.744); h_SL2L164->SetBinContent(39,1600.495); h_SL2L164->SetBinContent(40,1499.293); h_SL2L164->SetBinContent(41,1330.623); h_SL2L164->SetBinContent(42,1135.714); h_SL2L164->SetBinContent(43,1015.771); h_SL2L164->SetBinContent(44,914.5687); h_SL2L164->SetBinContent(45,805.87); h_SL2L164->SetBinContent(46,802.1218); h_SL2L164->SetBinContent(47,659.689); h_SL2L164->SetBinContent(48,637.1995); h_SL2L164->SetBinContent(49,565.9831); h_SL2L164->SetBinContent(50,506.0114); h_SL2L164->SetBinContent(51,438.5432); h_SL2L164->SetBinContent(52,367.3268); h_SL2L164->SetBinContent(53,348.5856); h_SL2L164->SetBinContent(54,356.0821); h_SL2L164->SetBinContent(55,363.5786); h_SL2L164->SetBinContent(56,337.3409); h_SL2L164->SetBinContent(57,9198.163); h_SL2L164->SetMaximum(79827.25); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,311.1033); h_SL2L265->SetBinContent(2,389.8162); h_SL2L265->SetBinContent(3,431.0468); h_SL2L265->SetBinContent(4,412.3056); h_SL2L265->SetBinContent(5,622.2066); h_SL2L265->SetBinContent(6,760.8912); h_SL2L265->SetBinContent(7,565.9831); h_SL2L265->SetBinContent(8,652.1924); h_SL2L265->SetBinContent(9,704.6677); h_SL2L265->SetBinContent(10,719.6606); h_SL2L265->SetBinContent(11,929.5617); h_SL2L265->SetBinContent(12,1053.253); h_SL2L265->SetBinContent(13,1105.729); h_SL2L265->SetBinContent(14,1143.211); h_SL2L265->SetBinContent(15,1173.197); h_SL2L265->SetBinContent(16,1311.881); h_SL2L265->SetBinContent(17,1506.79); h_SL2L265->SetBinContent(18,1716.691); h_SL2L265->SetBinContent(19,1994.06); h_SL2L265->SetBinContent(20,2046.535); h_SL2L265->SetBinContent(21,2327.652); h_SL2L265->SetBinContent(22,2353.89); h_SL2L265->SetBinContent(23,2672.49); h_SL2L265->SetBinContent(24,3152.264); h_SL2L265->SetBinContent(25,4377.936); h_SL2L265->SetBinContent(26,17897.81); h_SL2L265->SetBinContent(27,37433.6); h_SL2L265->SetBinContent(28,51856.8); h_SL2L265->SetBinContent(29,58873.49); h_SL2L265->SetBinContent(30,59188.34); h_SL2L265->SetBinContent(31,52565.21); h_SL2L265->SetBinContent(32,46744.21); h_SL2L265->SetBinContent(33,42913.52); h_SL2L265->SetBinContent(34,32373.48); h_SL2L265->SetBinContent(35,10360.12); h_SL2L265->SetBinContent(36,3999.364); h_SL2L265->SetBinContent(37,2841.16); h_SL2L265->SetBinContent(38,2290.17); h_SL2L265->SetBinContent(39,1851.627); h_SL2L265->SetBinContent(40,1555.516); h_SL2L265->SetBinContent(41,1503.041); h_SL2L265->SetBinContent(42,1154.456); h_SL2L265->SetBinContent(43,1053.253); h_SL2L265->SetBinContent(44,884.5829); h_SL2L265->SetBinContent(45,910.8205); h_SL2L265->SetBinContent(46,790.8771); h_SL2L265->SetBinContent(47,700.9195); h_SL2L265->SetBinContent(48,562.2349); h_SL2L265->SetBinContent(49,584.7243); h_SL2L265->SetBinContent(50,457.2844); h_SL2L265->SetBinContent(51,464.7809); h_SL2L265->SetBinContent(52,374.8233); h_SL2L265->SetBinContent(53,348.5856); h_SL2L265->SetBinContent(54,344.8374); h_SL2L265->SetBinContent(55,303.6068); h_SL2L265->SetBinContent(56,341.0892); h_SL2L265->SetBinContent(57,288.6139); h_SL2L265->SetMaximum(69415.77); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,419.8021); h_SL2L366->SetBinContent(2,408.5573); h_SL2L366->SetBinContent(3,382.3197); h_SL2L366->SetBinContent(4,509.7596); h_SL2L366->SetBinContent(5,678.4301); h_SL2L366->SetBinContent(6,637.1995); h_SL2L366->SetBinContent(7,595.969); h_SL2L366->SetBinContent(8,670.9337); h_SL2L366->SetBinContent(9,652.1924); h_SL2L366->SetBinContent(10,813.3665); h_SL2L366->SetBinContent(11,877.0864); h_SL2L366->SetBinContent(12,1004.526); h_SL2L366->SetBinContent(13,1053.253); h_SL2L366->SetBinContent(14,1146.959); h_SL2L366->SetBinContent(15,1210.679); h_SL2L366->SetBinContent(16,1323.126); h_SL2L366->SetBinContent(17,1563.013); h_SL2L366->SetBinContent(18,1761.669); h_SL2L366->SetBinContent(19,2012.801); h_SL2L366->SetBinContent(20,2080.269); h_SL2L366->SetBinContent(21,2215.206); h_SL2L366->SetBinContent(22,2451.344); h_SL2L366->SetBinContent(23,2822.419); h_SL2L366->SetBinContent(24,3568.317); h_SL2L366->SetBinContent(25,8444.768); h_SL2L366->SetBinContent(26,28823.91); h_SL2L366->SetBinContent(27,45492.3); h_SL2L366->SetBinContent(28,56568.33); h_SL2L366->SetBinContent(29,59889.26); h_SL2L366->SetBinContent(30,56497.11); h_SL2L366->SetBinContent(31,49311.75); h_SL2L366->SetBinContent(32,44386.57); h_SL2L366->SetBinContent(33,39911.18); h_SL2L366->SetBinContent(34,20285.44); h_SL2L366->SetBinContent(35,5543.636); h_SL2L366->SetBinContent(36,3358.417); h_SL2L366->SetBinContent(37,2515.064); h_SL2L366->SetBinContent(38,2072.773); h_SL2L366->SetBinContent(39,1563.013); h_SL2L366->SetBinContent(40,1495.545); h_SL2L366->SetBinContent(41,1240.665); h_SL2L366->SetBinContent(42,1004.526); h_SL2L366->SetBinContent(43,967.044); h_SL2L366->SetBinContent(44,922.0652); h_SL2L366->SetBinContent(45,832.1077); h_SL2L366->SetBinContent(46,790.8771); h_SL2L366->SetBinContent(47,550.9902); h_SL2L366->SetBinContent(48,535.9973); h_SL2L366->SetBinContent(49,506.0114); h_SL2L366->SetBinContent(50,434.795); h_SL2L366->SetBinContent(51,393.5644); h_SL2L366->SetBinContent(52,307.3551); h_SL2L366->SetBinContent(53,314.8515); h_SL2L366->SetBinContent(54,326.0962); h_SL2L366->SetBinContent(55,363.5786); h_SL2L366->SetBinContent(56,288.6139); h_SL2L366->SetBinContent(57,307.3551); h_SL2L366->SetMaximum(69415.77); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,374.8233); h_SL2L467->SetBinContent(3,393.5644); h_SL2L467->SetBinContent(4,446.0397); h_SL2L467->SetBinContent(5,535.9973); h_SL2L467->SetBinContent(6,730.9053); h_SL2L467->SetBinContent(7,607.2137); h_SL2L467->SetBinContent(8,580.9761); h_SL2L467->SetBinContent(9,592.2208); h_SL2L467->SetBinContent(10,715.9124); h_SL2L467->SetBinContent(11,839.6041); h_SL2L467->SetBinContent(12,892.0793); h_SL2L467->SetBinContent(13,1101.98); h_SL2L467->SetBinContent(14,1027.016); h_SL2L467->SetBinContent(15,1150.707); h_SL2L467->SetBinContent(16,1203.183); h_SL2L467->SetBinContent(17,1379.35); h_SL2L467->SetBinContent(18,1712.942); h_SL2L467->SetBinContent(19,1949.081); h_SL2L467->SetBinContent(20,1994.06); h_SL2L467->SetBinContent(21,2061.528); h_SL2L467->SetBinContent(22,2200.213); h_SL2L467->SetBinContent(23,2687.483); h_SL2L467->SetBinContent(24,3051.061); h_SL2L467->SetBinContent(25,4231.754); h_SL2L467->SetBinContent(26,17965.28); h_SL2L467->SetBinContent(27,37467.33); h_SL2L467->SetBinContent(28,51347.04); h_SL2L467->SetBinContent(29,58806.02); h_SL2L467->SetBinContent(30,59510.69); h_SL2L467->SetBinContent(31,52553.97); h_SL2L467->SetBinContent(32,46628.01); h_SL2L467->SetBinContent(33,43040.95); h_SL2L467->SetBinContent(34,32328.51); h_SL2L467->SetBinContent(35,10360.12); h_SL2L467->SetBinContent(36,3894.414); h_SL2L467->SetBinContent(37,2747.455); h_SL2L467->SetBinContent(38,2196.464); h_SL2L467->SetBinContent(39,1731.683); h_SL2L467->SetBinContent(40,1454.314); h_SL2L467->SetBinContent(41,1465.559); h_SL2L467->SetBinContent(42,1083.239); h_SL2L467->SetBinContent(43,1012.023); h_SL2L467->SetBinContent(44,820.8629); h_SL2L467->SetBinContent(45,914.5687); h_SL2L467->SetBinContent(46,787.1288); h_SL2L467->SetBinContent(47,652.1924); h_SL2L467->SetBinContent(48,558.4866); h_SL2L467->SetBinContent(49,547.2419); h_SL2L467->SetBinContent(50,434.795); h_SL2L467->SetBinContent(51,412.3056); h_SL2L467->SetBinContent(52,356.0821); h_SL2L467->SetBinContent(53,303.6068); h_SL2L467->SetBinContent(54,363.5786); h_SL2L467->SetBinContent(55,296.1104); h_SL2L467->SetBinContent(56,326.0962); h_SL2L467->SetBinContent(57,221.1457); h_SL2L467->SetMaximum(69415.77); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6613"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }