void RatesPerCell_Removing_noisy_cells_run_6538_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:42:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11759.04,67.5,105831.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6538",60,0,60); h_SL3L168->SetBinContent(1,417.8722); h_SL3L168->SetBinContent(2,190.3264); h_SL3L168->SetBinContent(4,221.6245); h_SL3L168->SetBinContent(5,466.9341); h_SL3L168->SetBinContent(6,225.0081); h_SL3L168->SetBinContent(7,243.6178); h_SL3L168->SetBinContent(8,243.6178); h_SL3L168->SetBinContent(9,264.7652); h_SL3L168->SetBinContent(10,312.9812); h_SL3L168->SetBinContent(11,356.9678); h_SL3L168->SetBinContent(12,394.1872); h_SL3L168->SetBinContent(13,453.3998); h_SL3L168->SetBinContent(14,503.3076); h_SL3L168->SetBinContent(15,476.239); h_SL3L168->SetBinContent(16,520.2255); h_SL3L168->SetBinContent(17,614.9658); h_SL3L168->SetBinContent(18,695.3258); h_SL3L168->SetBinContent(19,724.9322); h_SL3L168->SetBinContent(20,785.8366); h_SL3L168->SetBinContent(21,838.2821); h_SL3L168->SetBinContent(22,983.7761); h_SL3L168->SetBinContent(23,1070.057); h_SL3L168->SetBinContent(24,1162.26); h_SL3L168->SetBinContent(25,1287.452); h_SL3L168->SetBinContent(26,1444.789); h_SL3L168->SetBinContent(27,1512.461); h_SL3L168->SetBinContent(28,1854.202); h_SL3L168->SetBinContent(29,2070.751); h_SL3L168->SetBinContent(30,2568.984); h_SL3L168->SetBinContent(31,3062.986); h_SL3L168->SetBinContent(32,4476.477); h_SL3L168->SetBinContent(33,8761.782); h_SL3L168->SetBinContent(34,38572.82); h_SL3L168->SetBinContent(35,57465.89); h_SL3L168->SetBinContent(36,61187.83); h_SL3L168->SetBinContent(37,66393.47); h_SL3L168->SetBinContent(38,71133.02); h_SL3L168->SetBinContent(39,64751.58); h_SL3L168->SetBinContent(40,41121.5); h_SL3L168->SetBinContent(41,9225.333); h_SL3L168->SetBinContent(42,4810.606); h_SL3L168->SetBinContent(43,3375.122); h_SL3L168->SetBinContent(44,2974.167); h_SL3L168->SetBinContent(45,2549.528); h_SL3L168->SetBinContent(46,2328.75); h_SL3L168->SetBinContent(47,2146.036); h_SL3L168->SetBinContent(48,1956.556); h_SL3L168->SetBinContent(49,17975.27); h_SL3L168->SetBinContent(50,1671.489); h_SL3L168->SetBinContent(51,1618.198); h_SL3L168->SetBinContent(52,1480.317); h_SL3L168->SetBinContent(53,1424.487); h_SL3L168->SetBinContent(54,1315.367); h_SL3L168->SetBinContent(55,1289.144); h_SL3L168->SetBinContent(56,1278.148); h_SL3L168->SetBinContent(57,1110.66); h_SL3L168->SetBinContent(58,1011.691); h_SL3L168->SetBinContent(59,1069.212); h_SL3L168->SetMaximum(94072.3); 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,197.0936); h_SL3L269->SetBinContent(2,182.7134); h_SL3L269->SetBinContent(4,213.1656); h_SL3L269->SetBinContent(5,210.6279); h_SL3L269->SetBinContent(6,418.7181); h_SL3L269->SetBinContent(7,236.8506); h_SL3L269->SetBinContent(8,247.8473); h_SL3L269->SetBinContent(9,252.0768); h_SL3L269->SetBinContent(10,282.529); h_SL3L269->SetBinContent(11,329.0532); h_SL3L269->SetBinContent(12,356.1219); h_SL3L269->SetBinContent(13,403.492); h_SL3L269->SetBinContent(14,452.5539); h_SL3L269->SetBinContent(15,483.0061); h_SL3L269->SetBinContent(16,506.6912); h_SL3L269->SetBinContent(17,549.8318); h_SL3L269->SetBinContent(18,630.1919); h_SL3L269->SetBinContent(19,695.3258); h_SL3L269->SetBinContent(20,716.4732); h_SL3L269->SetBinContent(21,814.597); h_SL3L269->SetBinContent(22,896.6489); h_SL3L269->SetBinContent(23,1026.917); h_SL3L269->SetBinContent(24,1058.215); h_SL3L269->SetBinContent(25,1234.161); h_SL3L269->SetBinContent(26,1326.364); h_SL3L269->SetBinContent(27,1384.73); h_SL3L269->SetBinContent(28,1652.879); h_SL3L269->SetBinContent(29,1866.891); h_SL3L269->SetBinContent(30,2260.232); h_SL3L269->SetBinContent(31,2650.189); h_SL3L269->SetBinContent(32,3395.423); h_SL3L269->SetBinContent(33,6528.619); h_SL3L269->SetBinContent(34,18884.61); h_SL3L269->SetBinContent(35,51139.44); h_SL3L269->SetBinContent(36,59063.79); h_SL3L269->SetBinContent(37,62740.89); h_SL3L269->SetBinContent(38,69138.4); h_SL3L269->SetBinContent(39,68391.47); h_SL3L269->SetBinContent(40,57026.87); h_SL3L269->SetBinContent(41,19963.13); h_SL3L269->SetBinContent(42,7062.379); h_SL3L269->SetBinContent(43,3712.634); h_SL3L269->SetBinContent(44,3101.898); h_SL3L269->SetBinContent(45,2640.039); h_SL3L269->SetBinContent(46,2382.887); h_SL3L269->SetBinContent(47,2203.557); h_SL3L269->SetBinContent(48,1958.247); h_SL3L269->SetBinContent(49,4248.932); h_SL3L269->SetBinContent(50,1762); h_SL3L269->SetBinContent(51,1602.971); h_SL3L269->SetBinContent(52,1921.028); h_SL3L269->SetBinContent(53,5244.55); h_SL3L269->SetBinContent(54,1322.98); h_SL3L269->SetBinContent(55,1257); h_SL3L269->SetBinContent(56,1667.259); h_SL3L269->SetBinContent(57,1206.246); h_SL3L269->SetBinContent(58,1022.687); h_SL3L269->SetBinContent(59,953.3239); h_SL3L269->SetMaximum(81802.97); 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,184.4052); h_SL3L370->SetBinContent(2,206.3984); h_SL3L370->SetBinContent(3,235.1589); h_SL3L370->SetBinContent(4,204.7066); h_SL3L370->SetBinContent(5,596.3561); h_SL3L370->SetBinContent(6,753.6926); h_SL3L370->SetBinContent(7,256.3062); h_SL3L370->SetBinContent(8,252.0768); h_SL3L370->SetBinContent(9,246.1555); h_SL3L370->SetBinContent(10,325.6696); h_SL3L370->SetBinContent(11,325.6696); h_SL3L370->SetBinContent(12,366.2726); h_SL3L370->SetBinContent(13,420.4099); h_SL3L370->SetBinContent(14,523.6091); h_SL3L370->SetBinContent(15,483.0061); h_SL3L370->SetBinContent(16,518.5338); h_SL3L370->SetBinContent(17,539.6811); h_SL3L370->SetBinContent(18,659.7982); h_SL3L370->SetBinContent(19,710.5519); h_SL3L370->SetBinContent(20,755.3844); h_SL3L370->SetBinContent(21,827.2855); h_SL3L370->SetBinContent(22,982.9302); h_SL3L370->SetBinContent(23,1034.53); h_SL3L370->SetBinContent(24,1114.044); h_SL3L370->SetBinContent(25,1240.082); h_SL3L370->SetBinContent(26,1355.124); h_SL3L370->SetBinContent(27,1438.022); h_SL3L370->SetBinContent(28,1750.157); h_SL3L370->SetBinContent(29,2074.135); h_SL3L370->SetBinContent(30,2396.421); h_SL3L370->SetBinContent(31,2893.807); h_SL3L370->SetBinContent(32,4325.062); h_SL3L370->SetBinContent(33,8675.501); h_SL3L370->SetBinContent(34,37818.28); h_SL3L370->SetBinContent(35,56810.32); h_SL3L370->SetBinContent(36,60887.54); h_SL3L370->SetBinContent(37,65824.18); h_SL3L370->SetBinContent(38,69693.3); h_SL3L370->SetBinContent(39,64327.79); h_SL3L370->SetBinContent(40,40970.93); h_SL3L370->SetBinContent(41,9101.832); h_SL3L370->SetBinContent(42,4717.557); h_SL3L370->SetBinContent(43,3309.988); h_SL3L370->SetBinContent(44,2851.513); h_SL3L370->SetBinContent(45,761.3057); h_SL3L370->SetBinContent(46,2244.16); h_SL3L370->SetBinContent(47,2048.758); h_SL3L370->SetBinContent(48,1858.432); h_SL3L370->SetBinContent(49,1772.996); h_SL3L370->SetBinContent(50,1634.27); h_SL3L370->SetBinContent(51,1555.601); h_SL3L370->SetBinContent(52,1402.494); h_SL3L370->SetBinContent(53,1498.08); h_SL3L370->SetBinContent(54,1300.141); h_SL3L370->SetBinContent(55,1227.394); h_SL3L370->SetBinContent(56,1239.236); h_SL3L370->SetBinContent(57,1180.024); h_SL3L370->SetBinContent(58,1056.523); h_SL3L370->SetBinContent(59,1262.922); h_SL3L370->SetMaximum(81802.97); 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,204.7066); h_SL3L471->SetBinContent(3,214.0115); h_SL3L471->SetBinContent(4,208.0902); h_SL3L471->SetBinContent(5,1409.261); h_SL3L471->SetBinContent(7,1762.846); h_SL3L471->SetBinContent(8,1581.824); h_SL3L471->SetBinContent(9,252.0768); h_SL3L471->SetBinContent(10,277.4536); h_SL3L471->SetBinContent(11,334.1286); h_SL3L471->SetBinContent(12,373.8857); h_SL3L471->SetBinContent(13,400.9543); h_SL3L471->SetBinContent(14,480.4684); h_SL3L471->SetBinContent(15,529.5304); h_SL3L471->SetBinContent(16,511.7666); h_SL3L471->SetBinContent(17,558.2908); h_SL3L471->SetBinContent(18,621.733); h_SL3L471->SetBinContent(19,682.6374); h_SL3L471->SetBinContent(20,710.5519); h_SL3L471->SetBinContent(21,806.984); h_SL3L471->SetBinContent(22,924.5634); h_SL3L471->SetBinContent(23,1020.15); h_SL3L471->SetBinContent(24,1063.29); h_SL3L471->SetBinContent(25,1185.945); h_SL3L471->SetBinContent(26,1291.682); h_SL3L471->SetBinContent(27,1377.117); h_SL3L471->SetBinContent(28,1607.201); h_SL3L471->SetBinContent(29,1815.291); h_SL3L471->SetBinContent(30,2183.255); h_SL3L471->SetBinContent(31,2577.443); h_SL3L471->SetBinContent(32,3258.388); h_SL3L471->SetBinContent(33,6438.954); h_SL3L471->SetBinContent(34,18671.44); h_SL3L471->SetBinContent(35,51356.83); h_SL3L471->SetBinContent(36,58782.95); h_SL3L471->SetBinContent(37,62609.78); h_SL3L471->SetBinContent(38,68866.87); h_SL3L471->SetBinContent(39,68130.94); h_SL3L471->SetBinContent(40,56635.22); h_SL3L471->SetBinContent(41,19863.31); h_SL3L471->SetBinContent(42,7023.468); h_SL3L471->SetBinContent(43,3641.579); h_SL3L471->SetBinContent(44,2992.777); h_SL3L471->SetBinContent(45,2523.305); h_SL3L471->SetBinContent(46,2286.455); h_SL3L471->SetBinContent(47,2130.81); h_SL3L471->SetBinContent(48,1878.733); h_SL3L471->SetBinContent(49,1778.072); h_SL3L471->SetBinContent(50,1674.026); h_SL3L471->SetBinContent(51,1540.375); h_SL3L471->SetBinContent(52,1425.333); h_SL3L471->SetBinContent(53,1394.881); h_SL3L471->SetBinContent(54,1286.607); h_SL3L471->SetBinContent(55,1230.777); h_SL3L471->SetBinContent(56,1177.486); h_SL3L471->SetBinContent(57,2167.183); h_SL3L471->SetBinContent(58,1896.497); h_SL3L471->SetBinContent(59,1895.651); h_SL3L471->SetMaximum(81802.97); 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 6538"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }