void RatesPerCell_Removing_noisy_cells_run_7059_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:05 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3782.207,67.5,34039.86); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7059",60,0,60); h_SL2L164->SetBinContent(1,672.916); h_SL2L164->SetBinContent(2,643.6588); h_SL2L164->SetBinContent(3,438.8583); h_SL2L164->SetBinContent(4,848.4593); h_SL2L164->SetBinContent(5,526.6299); h_SL2L164->SetBinContent(6,965.4882); h_SL2L164->SetBinContent(7,1024.003); h_SL2L164->SetBinContent(8,936.231); h_SL2L164->SetBinContent(9,702.1732); h_SL2L164->SetBinContent(10,585.1443); h_SL2L164->SetBinContent(11,409.601); h_SL2L164->SetBinContent(12,380.3438); h_SL2L164->SetBinContent(13,380.3438); h_SL2L164->SetBinContent(14,292.5722); h_SL2L164->SetBinContent(15,585.1443); h_SL2L164->SetBinContent(16,614.4016); h_SL2L164->SetBinContent(17,906.9738); h_SL2L164->SetBinContent(18,731.4304); h_SL2L164->SetBinContent(19,1082.517); h_SL2L164->SetBinContent(20,994.7454); h_SL2L164->SetBinContent(21,1462.861); h_SL2L164->SetBinContent(22,1989.491); h_SL2L164->SetBinContent(23,2399.092); h_SL2L164->SetBinContent(24,2691.664); h_SL2L164->SetBinContent(25,3247.551); h_SL2L164->SetBinContent(26,4037.496); h_SL2L164->SetBinContent(27,6056.244); h_SL2L164->SetBinContent(28,5646.643); h_SL2L164->SetBinContent(29,7314.304); h_SL2L164->SetBinContent(30,8601.622); h_SL2L164->SetBinContent(31,8513.851); h_SL2L164->SetBinContent(32,9947.454); h_SL2L164->SetBinContent(33,10064.48); h_SL2L164->SetBinContent(34,12785.4); h_SL2L164->SetBinContent(35,29.25722); h_SL2L164->SetBinContent(36,12492.83); h_SL2L164->SetBinContent(37,15008.95); h_SL2L164->SetBinContent(38,14862.67); h_SL2L164->SetBinContent(39,16120.73); h_SL2L164->SetBinContent(40,14511.58); h_SL2L164->SetBinContent(41,16618.1); h_SL2L164->SetBinContent(42,19163.48); h_SL2L164->SetBinContent(43,18958.68); h_SL2L164->SetBinContent(44,18197.99); h_SL2L164->SetBinContent(45,20304.51); h_SL2L164->SetBinContent(46,21708.86); h_SL2L164->SetBinContent(47,20801.88); h_SL2L164->SetBinContent(48,20801.88); h_SL2L164->SetBinContent(49,20333.77); h_SL2L164->SetBinContent(50,21211.48); h_SL2L164->SetBinContent(51,22703.6); h_SL2L164->SetBinContent(52,21006.68); h_SL2L164->SetBinContent(53,18987.93); h_SL2L164->SetBinContent(54,15711.13); h_SL2L164->SetBinContent(55,13750.89); h_SL2L164->SetBinContent(56,10912.94); h_SL2L164->SetBinContent(57,5734.415); h_SL2L164->SetMaximum(30257.65); 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,672.916); h_SL2L265->SetBinContent(2,585.1443); h_SL2L265->SetBinContent(3,438.8583); h_SL2L265->SetBinContent(4,409.601); h_SL2L265->SetBinContent(5,263.3149); h_SL2L265->SetBinContent(6,702.1732); h_SL2L265->SetBinContent(7,672.916); h_SL2L265->SetBinContent(8,555.8871); h_SL2L265->SetBinContent(9,1024.003); h_SL2L265->SetBinContent(10,526.6299); h_SL2L265->SetBinContent(11,438.8583); h_SL2L265->SetBinContent(12,438.8583); h_SL2L265->SetBinContent(13,585.1443); h_SL2L265->SetBinContent(14,409.601); h_SL2L265->SetBinContent(15,555.8871); h_SL2L265->SetBinContent(16,497.3727); h_SL2L265->SetBinContent(17,1141.031); h_SL2L265->SetBinContent(18,819.2021); h_SL2L265->SetBinContent(19,789.9449); h_SL2L265->SetBinContent(20,994.7454); h_SL2L265->SetBinContent(21,1404.346); h_SL2L265->SetBinContent(22,1960.234); h_SL2L265->SetBinContent(23,1843.205); h_SL2L265->SetBinContent(24,2662.407); h_SL2L265->SetBinContent(25,2984.236); h_SL2L265->SetBinContent(26,3832.696); h_SL2L265->SetBinContent(27,4710.412); h_SL2L265->SetBinContent(28,5909.958); h_SL2L265->SetBinContent(29,6085.501); h_SL2L265->SetBinContent(30,7899.449); h_SL2L265->SetBinContent(31,8864.937); h_SL2L265->SetBinContent(32,8484.593); h_SL2L265->SetBinContent(33,10532.6); h_SL2L265->SetBinContent(34,12053.97); h_SL2L265->SetBinContent(35,10708.14); h_SL2L265->SetBinContent(36,10152.25); h_SL2L265->SetBinContent(37,14804.15); h_SL2L265->SetBinContent(38,15272.27); h_SL2L265->SetBinContent(39,15857.41); h_SL2L265->SetBinContent(40,14862.67); h_SL2L265->SetBinContent(41,14979.7); h_SL2L265->SetBinContent(42,19046.45); h_SL2L265->SetBinContent(43,18724.62); h_SL2L265->SetBinContent(44,17232.5); h_SL2L265->SetBinContent(45,19426.79); h_SL2L265->SetBinContent(46,19953.42); h_SL2L265->SetBinContent(47,20480.05); h_SL2L265->SetBinContent(48,18987.93); h_SL2L265->SetBinContent(49,20187.48); h_SL2L265->SetBinContent(50,20450.79); h_SL2L265->SetBinContent(51,20597.08); h_SL2L265->SetBinContent(52,21123.71); h_SL2L265->SetBinContent(53,20333.77); h_SL2L265->SetBinContent(54,16910.67); h_SL2L265->SetBinContent(55,16413.3); h_SL2L265->SetBinContent(56,14101.98); h_SL2L265->SetBinContent(57,8016.478); h_SL2L265->SetMaximum(26311.02); 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,438.8583); h_SL2L366->SetBinContent(2,146.2861); h_SL2L366->SetBinContent(3,380.3438); h_SL2L366->SetBinContent(4,380.3438); h_SL2L366->SetBinContent(5,380.3438); h_SL2L366->SetBinContent(6,438.8583); h_SL2L366->SetBinContent(7,380.3438); h_SL2L366->SetBinContent(8,380.3438); h_SL2L366->SetBinContent(9,555.8871); h_SL2L366->SetBinContent(10,292.5722); h_SL2L366->SetBinContent(11,321.8294); h_SL2L366->SetBinContent(12,351.0866); h_SL2L366->SetBinContent(13,321.8294); h_SL2L366->SetBinContent(14,614.4016); h_SL2L366->SetBinContent(15,497.3727); h_SL2L366->SetBinContent(16,702.1732); h_SL2L366->SetBinContent(17,789.9449); h_SL2L366->SetBinContent(18,789.9449); h_SL2L366->SetBinContent(19,819.2021); h_SL2L366->SetBinContent(20,877.7166); h_SL2L366->SetBinContent(21,1579.89); h_SL2L366->SetBinContent(22,1813.948); h_SL2L366->SetBinContent(23,2282.063); h_SL2L366->SetBinContent(24,2340.577); h_SL2L366->SetBinContent(25,3452.352); h_SL2L366->SetBinContent(26,4505.611); h_SL2L366->SetBinContent(27,5061.499); h_SL2L366->SetBinContent(28,6173.273); h_SL2L366->SetBinContent(29,6787.674); h_SL2L366->SetBinContent(30,8952.709); h_SL2L366->SetBinContent(31,8806.423); h_SL2L366->SetBinContent(32,9976.711); h_SL2L366->SetBinContent(33,10649.63); h_SL2L366->SetBinContent(34,11878.43); h_SL2L366->SetBinContent(35,11176.26); h_SL2L366->SetBinContent(36,11556.6); h_SL2L366->SetBinContent(37,14101.98); h_SL2L366->SetBinContent(38,15798.9); h_SL2L366->SetBinContent(39,15886.67); h_SL2L366->SetBinContent(40,14804.15); h_SL2L366->SetBinContent(41,16939.93); h_SL2L366->SetBinContent(42,18022.45); h_SL2L366->SetBinContent(43,18461.3); h_SL2L366->SetBinContent(44,17963.93); h_SL2L366->SetBinContent(45,19163.48); h_SL2L366->SetBinContent(46,19719.37); h_SL2L366->SetBinContent(47,19514.56); h_SL2L366->SetBinContent(48,19251.25); h_SL2L366->SetBinContent(49,20509.31); h_SL2L366->SetBinContent(50,20918.91); h_SL2L366->SetBinContent(51,21796.63); h_SL2L366->SetBinContent(52,21299.25); h_SL2L366->SetBinContent(53,18607.59); h_SL2L366->SetBinContent(54,17525.07); h_SL2L366->SetBinContent(55,15857.41); h_SL2L366->SetBinContent(56,10269.28); h_SL2L366->SetBinContent(57,7548.362); h_SL2L366->SetMaximum(26311.02); 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,175.5433); h_SL2L467->SetBinContent(3,585.1443); h_SL2L467->SetBinContent(4,438.8583); h_SL2L467->SetBinContent(5,204.8005); h_SL2L467->SetBinContent(6,263.3149); h_SL2L467->SetBinContent(7,380.3438); h_SL2L467->SetBinContent(8,292.5722); h_SL2L467->SetBinContent(9,585.1443); h_SL2L467->SetBinContent(10,380.3438); h_SL2L467->SetBinContent(11,263.3149); h_SL2L467->SetBinContent(12,351.0866); h_SL2L467->SetBinContent(13,321.8294); h_SL2L467->SetBinContent(14,438.8583); h_SL2L467->SetBinContent(15,438.8583); h_SL2L467->SetBinContent(16,555.8871); h_SL2L467->SetBinContent(17,702.1732); h_SL2L467->SetBinContent(18,643.6588); h_SL2L467->SetBinContent(19,760.6876); h_SL2L467->SetBinContent(20,789.9449); h_SL2L467->SetBinContent(21,1111.774); h_SL2L467->SetBinContent(22,1579.89); h_SL2L467->SetBinContent(23,2135.777); h_SL2L467->SetBinContent(24,1960.234); h_SL2L467->SetBinContent(25,3042.75); h_SL2L467->SetBinContent(26,3130.522); h_SL2L467->SetBinContent(27,4534.869); h_SL2L467->SetBinContent(28,4359.325); h_SL2L467->SetBinContent(29,7050.989); h_SL2L467->SetBinContent(30,7928.706); h_SL2L467->SetBinContent(31,8426.078); h_SL2L467->SetBinContent(32,9303.795); h_SL2L467->SetBinContent(33,11029.97); h_SL2L467->SetBinContent(34,9859.683); h_SL2L467->SetBinContent(35,11234.77); h_SL2L467->SetBinContent(36,12053.97); h_SL2L467->SetBinContent(37,13282.78); h_SL2L467->SetBinContent(38,15213.75); h_SL2L467->SetBinContent(39,15360.04); h_SL2L467->SetBinContent(40,15447.81); h_SL2L467->SetBinContent(41,15915.93); h_SL2L467->SetBinContent(42,16413.3); h_SL2L467->SetBinContent(43,18315.02); h_SL2L467->SetBinContent(44,19280.51); h_SL2L467->SetBinContent(45,17203.24); h_SL2L467->SetBinContent(46,19807.14); h_SL2L467->SetBinContent(47,19865.65); h_SL2L467->SetBinContent(48,19924.17); h_SL2L467->SetBinContent(49,20480.05); h_SL2L467->SetBinContent(50,18987.93); h_SL2L467->SetBinContent(51,22879.14); h_SL2L467->SetBinContent(52,22089.2); h_SL2L467->SetBinContent(53,20187.48); h_SL2L467->SetBinContent(54,19660.85); h_SL2L467->SetBinContent(55,17378.79); h_SL2L467->SetBinContent(56,14189.75); h_SL2L467->SetBinContent(57,6699.903); h_SL2L467->SetMaximum(26311.02); 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 7059"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }