void RatesPerCell_Removing_noisy_cells_run_6604_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11904.23,67.5,107138); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6604",60,0,60); h_SL2L164->SetBinContent(1,830.4818); h_SL2L164->SetBinContent(2,937.5027); h_SL2L164->SetBinContent(3,1071.635); h_SL2L164->SetBinContent(4,1259.992); h_SL2L164->SetBinContent(5,1182.937); h_SL2L164->SetBinContent(6,1238.588); h_SL2L164->SetBinContent(7,1334.193); h_SL2L164->SetBinContent(8,1468.326); h_SL2L164->SetBinContent(9,1484.022); h_SL2L164->SetBinContent(10,1629.571); h_SL2L164->SetBinContent(11,1782.254); h_SL2L164->SetBinContent(12,1833.624); h_SL2L164->SetBinContent(13,1989.161); h_SL2L164->SetBinContent(14,2126.148); h_SL2L164->SetBinContent(15,2196.068); h_SL2L164->SetBinContent(16,2194.641); h_SL2L164->SetBinContent(17,2353.032); h_SL2L164->SetBinContent(18,2430.087); h_SL2L164->SetBinContent(19,2669.813); h_SL2L164->SetBinContent(20,2756.857); h_SL2L164->SetBinContent(21,3002.292); h_SL2L164->SetBinContent(22,3109.312); h_SL2L164->SetBinContent(23,3421.813); h_SL2L164->SetBinContent(24,3814.223); h_SL2L164->SetBinContent(25,8875.597); h_SL2L164->SetBinContent(26,27905.33); h_SL2L164->SetBinContent(27,42804.06); h_SL2L164->SetBinContent(28,50429.65); h_SL2L164->SetBinContent(29,53954.21); h_SL2L164->SetBinContent(30,52685.65); h_SL2L164->SetBinContent(31,50052.94); h_SL2L164->SetBinContent(32,49620.57); h_SL2L164->SetBinContent(33,47297.51); h_SL2L164->SetBinContent(34,27086.27); h_SL2L164->SetBinContent(36,3815.65); h_SL2L164->SetBinContent(37,9193.805); h_SL2L164->SetBinContent(38,5575.073); h_SL2L164->SetBinContent(39,7067.657); h_SL2L164->SetBinContent(40,55796.39); h_SL2L164->SetBinContent(41,72010.77); h_SL2L164->SetBinContent(42,14367.91); h_SL2L164->SetBinContent(43,14527.72); h_SL2L164->SetBinContent(44,15098.5); h_SL2L164->SetBinContent(45,1496.865); h_SL2L164->SetBinContent(46,1338.474); h_SL2L164->SetBinContent(47,1212.903); h_SL2L164->SetBinContent(48,1175.802); h_SL2L164->SetBinContent(49,1121.579); h_SL2L164->SetBinContent(50,997.4344); h_SL2L164->SetBinContent(51,960.3338); h_SL2L164->SetBinContent(52,851.886); h_SL2L164->SetBinContent(53,963.1877); h_SL2L164->SetBinContent(54,769.1232); h_SL2L164->SetBinContent(55,727.7418); h_SL2L164->SetBinContent(56,689.2143); h_SL2L164->SetBinContent(57,6668.113); h_SL2L164->SetMaximum(95233.8); 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,753.4268); h_SL2L265->SetBinContent(2,887.5596); h_SL2L265->SetBinContent(3,920.3793); h_SL2L265->SetBinContent(4,1170.095); h_SL2L265->SetBinContent(5,1164.387); h_SL2L265->SetBinContent(6,1261.419); h_SL2L265->SetBinContent(7,1217.184); h_SL2L265->SetBinContent(8,1425.518); h_SL2L265->SetBinContent(9,1491.157); h_SL2L265->SetBinContent(10,1492.584); h_SL2L265->SetBinContent(11,1690.93); h_SL2L265->SetBinContent(12,1766.558); h_SL2L265->SetBinContent(13,1790.816); h_SL2L265->SetBinContent(14,2061.935); h_SL2L265->SetBinContent(15,2156.114); h_SL2L265->SetBinContent(16,2171.81); h_SL2L265->SetBinContent(17,2236.022); h_SL2L265->SetBinContent(18,2390.132); h_SL2L265->SetBinContent(19,2558.512); h_SL2L265->SetBinContent(20,2726.891); h_SL2L265->SetBinContent(21,2893.844); h_SL2L265->SetBinContent(22,2939.506); h_SL2L265->SetBinContent(23,3223.468); h_SL2L265->SetBinContent(24,3514.565); h_SL2L265->SetBinContent(25,4581.919); h_SL2L265->SetBinContent(26,18057.99); h_SL2L265->SetBinContent(27,36235.84); h_SL2L265->SetBinContent(28,47250.42); h_SL2L265->SetBinContent(29,52611.45); h_SL2L265->SetBinContent(30,53209.34); h_SL2L265->SetBinContent(31,50762.13); h_SL2L265->SetBinContent(32,49487.87); h_SL2L265->SetBinContent(33,49911.67); h_SL2L265->SetBinContent(34,39997.26); h_SL2L265->SetBinContent(35,14497.76); h_SL2L265->SetBinContent(36,4865.881); h_SL2L265->SetBinContent(37,3397.555); h_SL2L265->SetBinContent(38,2845.328); h_SL2L265->SetBinContent(39,4002.58); h_SL2L265->SetBinContent(40,5533.692); h_SL2L265->SetBinContent(41,3720.045); h_SL2L265->SetBinContent(42,3680.091); h_SL2L265->SetBinContent(43,2614.163); h_SL2L265->SetBinContent(44,3748.584); h_SL2L265->SetBinContent(45,1501.146); h_SL2L265->SetBinContent(46,1358.451); h_SL2L265->SetBinContent(47,1312.789); h_SL2L265->SetBinContent(48,1154.398); h_SL2L265->SetBinContent(49,1187.218); h_SL2L265->SetBinContent(50,1023.119); h_SL2L265->SetBinContent(51,931.7949); h_SL2L265->SetBinContent(52,907.5369); h_SL2L265->SetBinContent(53,857.5938); h_SL2L265->SetBinContent(54,847.6052); h_SL2L265->SetBinContent(55,716.3262); h_SL2L265->SetBinContent(56,690.6412); h_SL2L265->SetBinContent(57,650.6868); h_SL2L265->SetMaximum(82812.38); 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,844.7513); h_SL2L366->SetBinContent(2,927.5141); h_SL2L366->SetBinContent(3,1028.827); h_SL2L366->SetBinContent(4,1204.341); h_SL2L366->SetBinContent(5,1198.634); h_SL2L366->SetBinContent(6,1214.33); h_SL2L366->SetBinContent(7,1295.666); h_SL2L366->SetBinContent(8,1439.787); h_SL2L366->SetBinContent(9,1461.191); h_SL2L366->SetBinContent(10,1636.706); h_SL2L366->SetBinContent(11,1685.222); h_SL2L366->SetBinContent(12,1782.254); h_SL2L366->SetBinContent(13,1856.455); h_SL2L366->SetBinContent(14,2109.024); h_SL2L366->SetBinContent(15,2153.26); h_SL2L366->SetBinContent(16,2190.36); h_SL2L366->SetBinContent(17,2274.55); h_SL2L366->SetBinContent(18,2373.009); h_SL2L366->SetBinContent(19,2628.432); h_SL2L366->SetBinContent(20,2721.184); h_SL2L366->SetBinContent(21,2856.743); h_SL2L366->SetBinContent(22,2950.922); h_SL2L366->SetBinContent(23,3331.916); h_SL2L366->SetBinContent(24,3710.056); h_SL2L366->SetBinContent(25,8735.756); h_SL2L366->SetBinContent(26,28050.88); h_SL2L366->SetBinContent(27,42527.23); h_SL2L366->SetBinContent(28,50314.07); h_SL2L366->SetBinContent(29,53520.42); h_SL2L366->SetBinContent(30,52471.61); h_SL2L366->SetBinContent(31,50237.02); h_SL2L366->SetBinContent(32,49766.12); h_SL2L366->SetBinContent(33,47273.25); h_SL2L366->SetBinContent(34,27143.34); h_SL2L366->SetBinContent(35,7343.058); h_SL2L366->SetBinContent(36,3931.233); h_SL2L366->SetBinContent(37,2955.203); h_SL2L366->SetBinContent(38,2611.309); h_SL2L366->SetBinContent(39,2290.246); h_SL2L366->SetBinContent(40,4011.142); h_SL2L366->SetBinContent(41,2367.301); h_SL2L366->SetBinContent(42,1825.062); h_SL2L366->SetBinContent(43,1686.649); h_SL2L366->SetBinContent(44,1585.336); h_SL2L366->SetBinContent(45,1425.518); h_SL2L366->SetBinContent(46,1324.205); h_SL2L366->SetBinContent(47,1167.241); h_SL2L366->SetBinContent(48,1127.286); h_SL2L366->SetBinContent(49,1083.051); h_SL2L366->SetBinContent(50,951.7722); h_SL2L366->SetBinContent(51,897.5482); h_SL2L366->SetBinContent(52,831.9088); h_SL2L366->SetBinContent(53,861.8746); h_SL2L366->SetBinContent(54,770.5502); h_SL2L366->SetBinContent(55,686.3604); h_SL2L366->SetBinContent(56,690.6412); h_SL2L366->SetBinContent(57,647.8329); h_SL2L366->SetMaximum(82812.38); 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,876.144); h_SL2L467->SetBinContent(3,946.0643); h_SL2L467->SetBinContent(4,1158.679); h_SL2L467->SetBinContent(5,1134.421); h_SL2L467->SetBinContent(6,1194.353); h_SL2L467->SetBinContent(7,1212.903); h_SL2L467->SetBinContent(8,1367.013); h_SL2L467->SetBinContent(9,1451.203); h_SL2L467->SetBinContent(10,1468.326); h_SL2L467->SetBinContent(11,1703.772); h_SL2L467->SetBinContent(12,1776.546); h_SL2L467->SetBinContent(13,1802.231); h_SL2L467->SetBinContent(14,2020.554); h_SL2L467->SetBinContent(15,2111.878); h_SL2L467->SetBinContent(16,2084.766); h_SL2L467->SetBinContent(17,2163.248); h_SL2L467->SetBinContent(18,2348.751); h_SL2L467->SetBinContent(19,2428.66); h_SL2L467->SetBinContent(20,2675.521); h_SL2L467->SetBinContent(21,2755.43); h_SL2L467->SetBinContent(22,2866.732); h_SL2L467->SetBinContent(23,3167.817); h_SL2L467->SetBinContent(24,3381.859); h_SL2L467->SetBinContent(25,4494.876); h_SL2L467->SetBinContent(26,17980.93); h_SL2L467->SetBinContent(27,36441.32); h_SL2L467->SetBinContent(28,47187.64); h_SL2L467->SetBinContent(29,52467.33); h_SL2L467->SetBinContent(30,53538.96); h_SL2L467->SetBinContent(31,50770.7); h_SL2L467->SetBinContent(32,49814.64); h_SL2L467->SetBinContent(33,49934.5); h_SL2L467->SetBinContent(34,39995.83); h_SL2L467->SetBinContent(35,14345.08); h_SL2L467->SetBinContent(36,4817.365); h_SL2L467->SetBinContent(37,3350.466); h_SL2L467->SetBinContent(38,2726.891); h_SL2L467->SetBinContent(39,2343.043); h_SL2L467->SetBinContent(40,2120.44); h_SL2L467->SetBinContent(41,1944.926); h_SL2L467->SetBinContent(42,2318.785); h_SL2L467->SetBinContent(43,1660.964); h_SL2L467->SetBinContent(44,1553.943); h_SL2L467->SetBinContent(45,1451.203); h_SL2L467->SetBinContent(46,1312.789); h_SL2L467->SetBinContent(47,1258.565); h_SL2L467->SetBinContent(48,1091.613); h_SL2L467->SetBinContent(49,1125.859); h_SL2L467->SetBinContent(50,1005.996); h_SL2L467->SetBinContent(51,944.6374); h_SL2L467->SetBinContent(52,869.0093); h_SL2L467->SetBinContent(53,834.7627); h_SL2L467->SetBinContent(54,797.6621); h_SL2L467->SetBinContent(55,702.0568); h_SL2L467->SetBinContent(56,699.2029); h_SL2L467->SetBinContent(57,637.8443); h_SL2L467->SetMaximum(82812.38); 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 6604"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }