void RatesPerCell_Removing_noisy_cells_run_7080_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Dec 23 11:46:16 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11862.68,67.5,106764.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7080",60,0,60); h_SL1L160->SetBinContent(1,334.9151); h_SL1L160->SetBinContent(2,317.288); h_SL1L160->SetBinContent(3,317.288); h_SL1L160->SetBinContent(4,493.5591); h_SL1L160->SetBinContent(5,405.4235); h_SL1L160->SetBinContent(6,370.1693); h_SL1L160->SetBinContent(7,299.6609); h_SL1L160->SetBinContent(8,564.0675); h_SL1L160->SetBinContent(9,405.4235); h_SL1L160->SetBinContent(10,581.6946); h_SL1L160->SetBinContent(11,370.1693); h_SL1L160->SetBinContent(12,546.4404); h_SL1L160->SetBinContent(13,1057.627); h_SL1L160->SetBinContent(14,1339.66); h_SL1L160->SetBinContent(15,1551.186); h_SL1L160->SetBinContent(16,828.4741); h_SL1L160->SetBinContent(17,1181.016); h_SL1L160->SetBinContent(18,1515.931); h_SL1L160->SetBinContent(19,1498.304); h_SL1L160->SetBinContent(20,2027.118); h_SL1L160->SetBinContent(21,2732.202); h_SL1L160->SetBinContent(22,3278.642); h_SL1L160->SetBinContent(23,4018.981); h_SL1L160->SetBinContent(24,7526.776); h_SL1L160->SetBinContent(25,20465.07); h_SL1L160->SetBinContent(26,33597.27); h_SL1L160->SetBinContent(27,44420.32); h_SL1L160->SetBinContent(28,56724.04); h_SL1L160->SetBinContent(29,59209.46); h_SL1L160->SetBinContent(30,47610.82); h_SL1L160->SetBinContent(31,31023.71); h_SL1L160->SetBinContent(32,10717.28); h_SL1L160->SetBinContent(33,8319.996); h_SL1L160->SetBinContent(34,3842.71); h_SL1L160->SetBinContent(35,3172.88); h_SL1L160->SetBinContent(36,2626.439); h_SL1L160->SetBinContent(37,2397.287); h_SL1L160->SetBinContent(38,1498.304); h_SL1L160->SetBinContent(39,1745.084); h_SL1L160->SetBinContent(41,1445.423); h_SL1L160->SetBinContent(42,1304.406); h_SL1L160->SetBinContent(43,1145.762); h_SL1L160->SetBinContent(44,898.9826); h_SL1L160->SetBinContent(45,846.1013); h_SL1L160->SetBinContent(46,687.4573); h_SL1L160->SetBinContent(47,1004.745); h_SL1L160->SetBinContent(48,705.0844); h_SL1L160->SetBinContent(49,652.2031); h_SL1L160->SetBinContent(50,634.5759); h_SL1L160->SetBinContent(51,616.9489); h_SL1L160->SetBinContent(52,528.8133); h_SL1L160->SetBinContent(53,634.5759); h_SL1L160->SetBinContent(54,581.6946); h_SL1L160->SetBinContent(55,511.1862); h_SL1L160->SetBinContent(56,387.7964); h_SL1L160->SetMaximum(94901.45); 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,282.0338); h_SL1L261->SetBinContent(2,511.1862); h_SL1L261->SetBinContent(3,916.6097); h_SL1L261->SetBinContent(4,352.5422); h_SL1L261->SetBinContent(5,475.9319); h_SL1L261->SetBinContent(6,387.7964); h_SL1L261->SetBinContent(7,370.1693); h_SL1L261->SetBinContent(8,440.6777); h_SL1L261->SetBinContent(9,6292.878); h_SL1L261->SetBinContent(10,528.8133); h_SL1L261->SetBinContent(11,440.6777); h_SL1L261->SetBinContent(12,599.3217); h_SL1L261->SetBinContent(13,475.9319); h_SL1L261->SetBinContent(14,546.4404); h_SL1L261->SetBinContent(15,1092.881); h_SL1L261->SetBinContent(16,951.8639); h_SL1L261->SetBinContent(17,1286.779); h_SL1L261->SetBinContent(18,1339.66); h_SL1L261->SetBinContent(19,1304.406); h_SL1L261->SetBinContent(20,1974.236); h_SL1L261->SetBinContent(21,2626.439); h_SL1L261->SetBinContent(22,3190.507); h_SL1L261->SetBinContent(23,3349.151); h_SL1L261->SetBinContent(24,5887.455); h_SL1L261->SetBinContent(25,12321.35); h_SL1L261->SetBinContent(26,33156.59); h_SL1L261->SetBinContent(27,43768.11); h_SL1L261->SetBinContent(28,55084.72); h_SL1L261->SetBinContent(29,69468.44); h_SL1L261->SetBinContent(30,64180.3); h_SL1L261->SetBinContent(31,45671.84); h_SL1L261->SetBinContent(32,26863.71); h_SL1L261->SetBinContent(33,9395.249); h_SL1L261->SetBinContent(34,4477.286); h_SL1L261->SetBinContent(35,2996.609); h_SL1L261->SetBinContent(36,2802.71); h_SL1L261->SetBinContent(37,2203.389); h_SL1L261->SetBinContent(38,1938.982); h_SL1L261->SetBinContent(39,1163.389); h_SL1L261->SetBinContent(40,1656.948); h_SL1L261->SetBinContent(41,1269.152); h_SL1L261->SetBinContent(42,1269.152); h_SL1L261->SetBinContent(43,1568.813); h_SL1L261->SetBinContent(44,863.7284); h_SL1L261->SetBinContent(45,951.8639); h_SL1L261->SetBinContent(46,863.7284); h_SL1L261->SetBinContent(47,1004.745); h_SL1L261->SetBinContent(48,828.4741); h_SL1L261->SetBinContent(49,916.6097); h_SL1L261->SetBinContent(50,687.4573); h_SL1L261->SetBinContent(51,564.0675); h_SL1L261->SetBinContent(52,669.8301); h_SL1L261->SetBinContent(53,916.6097); h_SL1L261->SetBinContent(54,652.2031); h_SL1L261->SetBinContent(55,423.0506); h_SL1L261->SetBinContent(56,475.9319); h_SL1L261->SetMaximum(82523.96); 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,229.1524); h_SL1L362->SetBinContent(2,229.1524); h_SL1L362->SetBinContent(3,387.7964); h_SL1L362->SetBinContent(4,352.5422); h_SL1L362->SetBinContent(5,176.2711); h_SL1L362->SetBinContent(6,440.6777); h_SL1L362->SetBinContent(7,352.5422); h_SL1L362->SetBinContent(8,475.9319); h_SL1L362->SetBinContent(9,370.1693); h_SL1L362->SetBinContent(10,511.1862); h_SL1L362->SetBinContent(11,405.4235); h_SL1L362->SetBinContent(12,511.1862); h_SL1L362->SetBinContent(13,370.1693); h_SL1L362->SetBinContent(14,828.4741); h_SL1L362->SetBinContent(15,1480.677); h_SL1L362->SetBinContent(16,846.1013); h_SL1L362->SetBinContent(17,1251.525); h_SL1L362->SetBinContent(18,1357.287); h_SL1L362->SetBinContent(19,1533.558); h_SL1L362->SetBinContent(20,1815.592); h_SL1L362->SetBinContent(21,2943.727); h_SL1L362->SetBinContent(22,3067.117); h_SL1L362->SetBinContent(23,3789.829); h_SL1L362->SetBinContent(24,8760.674); h_SL1L362->SetBinContent(25,23479.31); h_SL1L362->SetBinContent(26,37616.25); h_SL1L362->SetBinContent(27,53533.53); h_SL1L362->SetBinContent(28,66119.29); h_SL1L362->SetBinContent(29,71759.96); h_SL1L362->SetBinContent(30,55719.29); h_SL1L362->SetBinContent(31,38074.55); h_SL1L362->SetBinContent(32,13202.71); h_SL1L362->SetBinContent(33,7791.183); h_SL1L362->SetBinContent(34,3613.557); h_SL1L362->SetBinContent(35,2943.727); h_SL1L362->SetBinContent(36,2467.795); h_SL1L362->SetBinContent(37,2397.287); h_SL1L362->SetBinContent(38,1410.169); h_SL1L362->SetBinContent(39,1480.677); h_SL1L362->SetBinContent(40,1286.779); h_SL1L362->SetBinContent(41,1233.898); h_SL1L362->SetBinContent(42,1410.169); h_SL1L362->SetBinContent(43,1233.898); h_SL1L362->SetBinContent(44,1092.881); h_SL1L362->SetBinContent(45,881.3555); h_SL1L362->SetBinContent(46,846.1013); h_SL1L362->SetBinContent(47,863.7284); h_SL1L362->SetBinContent(48,740.3386); h_SL1L362->SetBinContent(49,810.847); h_SL1L362->SetBinContent(50,581.6946); h_SL1L362->SetBinContent(51,652.2031); h_SL1L362->SetBinContent(52,881.3555); h_SL1L362->SetBinContent(53,599.3217); h_SL1L362->SetBinContent(54,423.0506); h_SL1L362->SetBinContent(55,528.8133); h_SL1L362->SetBinContent(56,370.1693); h_SL1L362->SetMaximum(82523.96); 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,193.8982); h_SL1L463->SetBinContent(3,246.7795); h_SL1L463->SetBinContent(4,264.4066); h_SL1L463->SetBinContent(5,193.8982); h_SL1L463->SetBinContent(6,299.6609); h_SL1L463->SetBinContent(7,211.5253); h_SL1L463->SetBinContent(8,423.0506); h_SL1L463->SetBinContent(9,352.5422); h_SL1L463->SetBinContent(10,352.5422); h_SL1L463->SetBinContent(11,475.9319); h_SL1L463->SetBinContent(12,440.6777); h_SL1L463->SetBinContent(13,317.288); h_SL1L463->SetBinContent(14,1463.05); h_SL1L463->SetBinContent(15,1533.558); h_SL1L463->SetBinContent(16,1410.169); h_SL1L463->SetBinContent(17,951.8639); h_SL1L463->SetBinContent(18,828.4741); h_SL1L463->SetBinContent(19,1057.627); h_SL1L463->SetBinContent(20,1374.915); h_SL1L463->SetBinContent(21,2027.118); h_SL1L463->SetBinContent(22,2538.304); h_SL1L463->SetBinContent(23,2855.592); h_SL1L463->SetBinContent(24,5482.031); h_SL1L463->SetBinContent(25,10435.25); h_SL1L463->SetBinContent(26,31816.93); h_SL1L463->SetBinContent(27,40877.27); h_SL1L463->SetBinContent(28,54820.31); h_SL1L463->SetBinContent(29,65061.66); h_SL1L463->SetBinContent(30,57728.79); h_SL1L463->SetBinContent(31,42428.45); h_SL1L463->SetBinContent(32,23444.06); h_SL1L463->SetBinContent(33,7456.267); h_SL1L463->SetBinContent(34,3772.201); h_SL1L463->SetBinContent(35,2696.948); h_SL1L463->SetBinContent(36,2009.49); h_SL1L463->SetBinContent(41,863.7284); h_SL1L463->SetBinContent(42,934.2368); h_SL1L463->SetBinContent(43,1145.762); h_SL1L463->SetBinContent(44,898.9826); h_SL1L463->SetBinContent(45,863.7284); h_SL1L463->SetBinContent(46,599.3217); h_SL1L463->SetBinContent(47,528.8133); h_SL1L463->SetBinContent(48,740.3386); h_SL1L463->SetBinContent(49,652.2031); h_SL1L463->SetBinContent(50,370.1693); h_SL1L463->SetBinContent(51,564.0675); h_SL1L463->SetBinContent(52,528.8133); h_SL1L463->SetBinContent(53,546.4404); h_SL1L463->SetBinContent(54,475.9319); h_SL1L463->SetBinContent(56,352.5422); h_SL1L463->SetMaximum(82523.96); 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 7080"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }