void RatesPerCell_Removing_noisy_cells_run_6684_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:05:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11494.39,67.5,103449.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6684",60,0,60); h_SL1L160->SetBinContent(1,369.4294); h_SL1L160->SetBinContent(2,456.8213); h_SL1L160->SetBinContent(3,389.2911); h_SL1L160->SetBinContent(4,425.0424); h_SL1L160->SetBinContent(5,520.379); h_SL1L160->SetBinContent(6,377.3741); h_SL1L160->SetBinContent(7,448.8765); h_SL1L160->SetBinContent(8,540.2408); h_SL1L160->SetBinContent(9,587.9091); h_SL1L160->SetBinContent(10,564.075); h_SL1L160->SetBinContent(11,746.8035); h_SL1L160->SetBinContent(12,786.527); h_SL1L160->SetBinContent(13,854.0571); h_SL1L160->SetBinContent(14,869.9465); h_SL1L160->SetBinContent(15,758.7205); h_SL1L160->SetBinContent(16,921.5872); h_SL1L160->SetBinContent(17,913.6425); h_SL1L160->SetBinContent(18,1302.934); h_SL1L160->SetBinContent(19,1247.321); h_SL1L160->SetBinContent(20,1545.248); h_SL1L160->SetBinContent(21,1656.474); h_SL1L160->SetBinContent(22,1815.368); h_SL1L160->SetBinContent(23,1851.119); h_SL1L160->SetBinContent(24,1843.174); h_SL1L160->SetBinContent(25,2041.792); h_SL1L160->SetBinContent(26,2232.466); h_SL1L160->SetBinContent(27,2450.945); h_SL1L160->SetBinContent(28,3130.219); h_SL1L160->SetBinContent(29,3491.703); h_SL1L160->SetBinContent(30,3896.884); h_SL1L160->SetBinContent(31,5231.596); h_SL1L160->SetBinContent(32,8902.056); h_SL1L160->SetBinContent(33,36978.69); h_SL1L160->SetBinContent(34,54866.22); h_SL1L160->SetBinContent(35,58429.43); h_SL1L160->SetBinContent(36,64121.81); h_SL1L160->SetBinContent(37,67009.72); h_SL1L160->SetBinContent(38,61857.57); h_SL1L160->SetBinContent(39,39072.12); h_SL1L160->SetBinContent(40,9144.37); h_SL1L160->SetBinContent(41,5215.707); h_SL1L160->SetBinContent(42,4310.009); h_SL1L160->SetBinContent(43,4047.833); h_SL1L160->SetBinContent(44,3507.593); h_SL1L160->SetBinContent(45,3110.357); h_SL1L160->SetBinContent(46,3011.048); h_SL1L160->SetBinContent(47,2931.601); h_SL1L160->SetBinContent(48,2625.729); h_SL1L160->SetBinContent(49,2371.498); h_SL1L160->SetBinContent(50,2296.023); h_SL1L160->SetBinContent(51,2101.378); h_SL1L160->SetBinContent(52,1847.147); h_SL1L160->SetBinContent(53,1878.926); h_SL1L160->SetBinContent(54,1704.142); h_SL1L160->SetBinContent(55,1867.009); h_SL1L160->SetBinContent(56,1584.971); h_SL1L160->SetBinContent(57,1426.077); h_SL1L160->SetBinContent(58,1577.026); h_SL1L160->SetBinContent(59,1616.75); h_SL1L160->SetMaximum(91955.15); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,270.1204); h_SL1L261->SetBinContent(2,369.4294); h_SL1L261->SetBinContent(3,345.5952); h_SL1L261->SetBinContent(4,365.457); h_SL1L261->SetBinContent(5,432.9871); h_SL1L261->SetBinContent(6,381.3464); h_SL1L261->SetBinContent(7,377.3741); h_SL1L261->SetBinContent(8,393.2635); h_SL1L261->SetBinContent(9,508.4619); h_SL1L261->SetBinContent(10,444.9042); h_SL1L261->SetBinContent(11,603.7985); h_SL1L261->SetBinContent(12,703.1075); h_SL1L261->SetBinContent(13,810.3612); h_SL1L261->SetBinContent(14,778.5823); h_SL1L261->SetBinContent(15,754.7482); h_SL1L261->SetBinContent(16,742.8311); h_SL1L261->SetBinContent(17,838.1677); h_SL1L261->SetBinContent(18,1096.371); h_SL1L261->SetBinContent(19,1076.509); h_SL1L261->SetBinContent(20,1342.657); h_SL1L261->SetBinContent(21,1549.22); h_SL1L261->SetBinContent(22,1577.026); h_SL1L261->SetBinContent(23,1700.17); h_SL1L261->SetBinContent(24,1831.257); h_SL1L261->SetBinContent(25,1914.677); h_SL1L261->SetBinContent(26,2006.041); h_SL1L261->SetBinContent(27,2272.189); h_SL1L261->SetBinContent(28,2744.9); h_SL1L261->SetBinContent(29,3185.832); h_SL1L261->SetBinContent(30,3698.266); h_SL1L261->SetBinContent(31,4353.705); h_SL1L261->SetBinContent(32,7213.803); h_SL1L261->SetBinContent(33,19679.06); h_SL1L261->SetBinContent(34,51366.57); h_SL1L261->SetBinContent(35,58767.07); h_SL1L261->SetBinContent(36,63815.94); h_SL1L261->SetBinContent(37,68284.84); h_SL1L261->SetBinContent(38,67530.1); h_SL1L261->SetBinContent(39,55378.65); h_SL1L261->SetBinContent(40,20100.13); h_SL1L261->SetBinContent(41,7559.398); h_SL1L261->SetBinContent(42,4456.986); h_SL1L261->SetBinContent(43,4047.833); h_SL1L261->SetBinContent(44,3539.372); h_SL1L261->SetBinContent(45,3308.975); h_SL1L261->SetBinContent(46,2943.518); h_SL1L261->SetBinContent(47,2729.01); h_SL1L261->SetBinContent(48,2752.844); h_SL1L261->SetBinContent(49,12663.88); h_SL1L261->SetBinContent(50,2192.742); h_SL1L261->SetBinContent(51,2192.742); h_SL1L261->SetBinContent(52,1823.313); h_SL1L261->SetBinContent(53,2065.626); h_SL1L261->SetBinContent(54,1767.7); h_SL1L261->SetBinContent(55,1592.916); h_SL1L261->SetBinContent(56,4504.655); h_SL1L261->SetBinContent(57,1497.579); h_SL1L261->SetBinContent(58,1441.966); h_SL1L261->SetBinContent(59,1426.077); h_SL1L261->SetMaximum(79961.99); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,282.0375); h_SL1L362->SetBinContent(2,309.844); h_SL1L362->SetBinContent(3,301.8993); h_SL1L362->SetBinContent(4,353.5399); h_SL1L362->SetBinContent(5,325.7334); h_SL1L362->SetBinContent(6,309.844); h_SL1L362->SetBinContent(7,321.761); h_SL1L362->SetBinContent(8,452.8489); h_SL1L362->SetBinContent(9,429.0147); h_SL1L362->SetBinContent(10,476.683); h_SL1L362->SetBinContent(11,635.5774); h_SL1L362->SetBinContent(12,635.5774); h_SL1L362->SetBinContent(13,758.7205); h_SL1L362->SetBinContent(14,675.301); h_SL1L362->SetBinContent(15,715.0245); h_SL1L362->SetBinContent(16,794.4717); h_SL1L362->SetBinContent(17,834.1953); h_SL1L362->SetBinContent(18,1128.15); h_SL1L362->SetBinContent(19,1072.537); h_SL1L362->SetBinContent(20,1430.049); h_SL1L362->SetBinContent(21,1457.856); h_SL1L362->SetBinContent(22,1509.496); h_SL1L362->SetBinContent(23,1688.252); h_SL1L362->SetBinContent(24,1668.391); h_SL1L362->SetBinContent(25,1886.87); h_SL1L362->SetBinContent(26,2006.041); h_SL1L362->SetBinContent(27,2335.747); h_SL1L362->SetBinContent(28,2891.877); h_SL1L362->SetBinContent(29,3229.528); h_SL1L362->SetBinContent(30,3841.271); h_SL1L362->SetBinContent(31,5156.122); h_SL1L362->SetBinContent(32,8961.642); h_SL1L362->SetBinContent(33,38249.84); h_SL1L362->SetBinContent(34,57281.41); h_SL1L362->SetBinContent(35,60550.66); h_SL1L362->SetBinContent(36,66830.96); h_SL1L362->SetBinContent(37,69532.16); h_SL1L362->SetBinContent(38,63108.86); h_SL1L362->SetBinContent(39,40168.49); h_SL1L362->SetBinContent(40,9335.043); h_SL1L362->SetBinContent(41,5211.734); h_SL1L362->SetBinContent(42,4294.12); h_SL1L362->SetBinContent(43,3896.884); h_SL1L362->SetBinContent(44,3293.085); h_SL1L362->SetBinContent(45,2911.739); h_SL1L362->SetBinContent(46,2641.619); h_SL1L362->SetBinContent(47,2736.955); h_SL1L362->SetBinContent(48,2443); h_SL1L362->SetBinContent(49,2156.991); h_SL1L362->SetBinContent(50,2125.212); h_SL1L362->SetBinContent(51,2006.041); h_SL1L362->SetBinContent(52,1648.529); h_SL1L362->SetBinContent(53,4004.138); h_SL1L362->SetBinContent(54,1596.888); h_SL1L362->SetBinContent(55,1549.22); h_SL1L362->SetBinContent(56,4878.057); h_SL1L362->SetBinContent(57,1537.303); h_SL1L362->SetBinContent(58,1453.883); h_SL1L362->SetBinContent(59,1422.104); h_SL1L362->SetMaximum(79961.99); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,258.2033); h_SL1L463->SetBinContent(3,286.0098); h_SL1L463->SetBinContent(4,262.1757); h_SL1L463->SetBinContent(5,333.6781); h_SL1L463->SetBinContent(6,313.8163); h_SL1L463->SetBinContent(7,282.0375); h_SL1L463->SetBinContent(8,313.8163); h_SL1L463->SetBinContent(9,353.5399); h_SL1L463->SetBinContent(10,365.457); h_SL1L463->SetBinContent(11,504.4896); h_SL1L463->SetBinContent(12,579.9644); h_SL1L463->SetBinContent(13,615.7156); h_SL1L463->SetBinContent(14,627.6327); h_SL1L463->SetBinContent(15,552.1578); h_SL1L463->SetBinContent(16,639.5497); h_SL1L463->SetBinContent(17,659.4116); h_SL1L463->SetBinContent(18,917.6149); h_SL1L463->SetBinContent(19,913.6425); h_SL1L463->SetBinContent(20,1016.924); h_SL1L463->SetBinContent(21,1211.569); h_SL1L463->SetBinContent(22,1314.851); h_SL1L463->SetBinContent(23,1215.542); h_SL1L463->SetBinContent(24,1406.215); h_SL1L463->SetBinContent(25,1398.27); h_SL1L463->SetBinContent(26,1553.192); h_SL1L463->SetBinContent(27,1803.451); h_SL1L463->SetBinContent(28,2256.3); h_SL1L463->SetBinContent(29,2530.393); h_SL1L463->SetBinContent(30,3205.693); h_SL1L463->SetBinContent(31,3781.686); h_SL1L463->SetBinContent(32,5998.262); h_SL1L463->SetBinContent(33,16580.62); h_SL1L463->SetBinContent(34,47501.46); h_SL1L463->SetBinContent(35,55366.73); h_SL1L463->SetBinContent(36,58504.9); h_SL1L463->SetBinContent(37,60634.08); h_SL1L463->SetBinContent(38,61063.1); h_SL1L463->SetBinContent(39,52423.22); h_SL1L463->SetBinContent(40,18090.12); h_SL1L463->SetBinContent(41,6598.088); h_SL1L463->SetBinContent(42,3988.248); h_SL1L463->SetBinContent(43,3575.123); h_SL1L463->SetBinContent(44,3118.302); h_SL1L463->SetBinContent(45,2697.231); h_SL1L463->SetBinContent(46,2510.531); h_SL1L463->SetBinContent(47,2311.913); h_SL1L463->SetBinContent(48,2180.825); h_SL1L463->SetBinContent(49,1914.677); h_SL1L463->SetBinContent(50,1894.815); h_SL1L463->SetBinContent(51,1803.451); h_SL1L463->SetBinContent(52,1366.491); h_SL1L463->SetBinContent(53,1557.165); h_SL1L463->SetBinContent(54,1485.662); h_SL1L463->SetBinContent(56,1326.768); h_SL1L463->SetBinContent(57,1294.989); h_SL1L463->SetBinContent(58,1167.873); h_SL1L463->SetBinContent(59,1171.846); h_SL1L463->SetMaximum(79961.99); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6684"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }