void RatesPerCell_Removing_noisy_cells_run_6595_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:27:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11874.04,67.5,106866.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 6595",60,0,60); h_SL3L168->SetBinContent(1,547.1429); h_SL3L168->SetBinContent(2,262.8571); h_SL3L168->SetBinContent(4,248.5714); h_SL3L168->SetBinContent(5,471.4286); h_SL3L168->SetBinContent(6,267.1429); h_SL3L168->SetBinContent(7,288.5714); h_SL3L168->SetBinContent(8,328.5714); h_SL3L168->SetBinContent(9,295.7143); h_SL3L168->SetBinContent(10,340); h_SL3L168->SetBinContent(11,371.4286); h_SL3L168->SetBinContent(12,455.7143); h_SL3L168->SetBinContent(13,518.5714); h_SL3L168->SetBinContent(14,550); h_SL3L168->SetBinContent(15,621.4286); h_SL3L168->SetBinContent(16,638.5715); h_SL3L168->SetBinContent(17,657.1429); h_SL3L168->SetBinContent(18,791.4286); h_SL3L168->SetBinContent(19,832.8572); h_SL3L168->SetBinContent(20,940); h_SL3L168->SetBinContent(21,968.5715); h_SL3L168->SetBinContent(22,1028.571); h_SL3L168->SetBinContent(23,1174.286); h_SL3L168->SetBinContent(24,1311.429); h_SL3L168->SetBinContent(25,1482.857); h_SL3L168->SetBinContent(26,1598.571); h_SL3L168->SetBinContent(27,1764.286); h_SL3L168->SetBinContent(28,2075.714); h_SL3L168->SetBinContent(29,2375.714); h_SL3L168->SetBinContent(30,2947.143); h_SL3L168->SetBinContent(31,3200); h_SL3L168->SetBinContent(32,4754.286); h_SL3L168->SetBinContent(33,9365.715); h_SL3L168->SetBinContent(34,39387.14); h_SL3L168->SetBinContent(35,57711.43); h_SL3L168->SetBinContent(36,62131.43); h_SL3L168->SetBinContent(37,67351.43); h_SL3L168->SetBinContent(38,71828.57); h_SL3L168->SetBinContent(39,64875.71); h_SL3L168->SetBinContent(40,41085.71); h_SL3L168->SetBinContent(41,9604.286); h_SL3L168->SetBinContent(42,5340); h_SL3L168->SetBinContent(43,3664.286); h_SL3L168->SetBinContent(44,3277.143); h_SL3L168->SetBinContent(45,3005.714); h_SL3L168->SetBinContent(46,2655.714); h_SL3L168->SetBinContent(47,2454.286); h_SL3L168->SetBinContent(48,2284.286); h_SL3L168->SetBinContent(49,22425.71); h_SL3L168->SetBinContent(50,1988.572); h_SL3L168->SetBinContent(51,1947.143); h_SL3L168->SetBinContent(52,1771.429); h_SL3L168->SetBinContent(53,1734.286); h_SL3L168->SetBinContent(54,1605.714); h_SL3L168->SetBinContent(55,1497.143); h_SL3L168->SetBinContent(56,1405.714); h_SL3L168->SetBinContent(57,1348.571); h_SL3L168->SetBinContent(58,1240); h_SL3L168->SetBinContent(59,1190); h_SL3L168->SetMaximum(94992.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,264.2857); h_SL3L269->SetBinContent(2,248.5714); h_SL3L269->SetBinContent(4,272.8571); h_SL3L269->SetBinContent(5,285.7143); h_SL3L269->SetBinContent(6,422.8571); h_SL3L269->SetBinContent(7,292.8571); h_SL3L269->SetBinContent(8,268.5714); h_SL3L269->SetBinContent(9,290); h_SL3L269->SetBinContent(10,331.4286); h_SL3L269->SetBinContent(11,340); h_SL3L269->SetBinContent(12,435.7143); h_SL3L269->SetBinContent(13,500); h_SL3L269->SetBinContent(14,518.5714); h_SL3L269->SetBinContent(15,591.4286); h_SL3L269->SetBinContent(16,602.8572); h_SL3L269->SetBinContent(17,650); h_SL3L269->SetBinContent(18,745.7143); h_SL3L269->SetBinContent(19,805.7143); h_SL3L269->SetBinContent(20,892.8572); h_SL3L269->SetBinContent(21,944.2858); h_SL3L269->SetBinContent(22,958.5715); h_SL3L269->SetBinContent(23,1121.429); h_SL3L269->SetBinContent(24,1250); h_SL3L269->SetBinContent(25,1391.429); h_SL3L269->SetBinContent(26,1482.857); h_SL3L269->SetBinContent(27,1642.857); h_SL3L269->SetBinContent(28,1887.143); h_SL3L269->SetBinContent(29,2220); h_SL3L269->SetBinContent(30,2440); h_SL3L269->SetBinContent(31,3012.857); h_SL3L269->SetBinContent(32,3692.857); h_SL3L269->SetBinContent(33,6952.857); h_SL3L269->SetBinContent(34,19288.57); h_SL3L269->SetBinContent(35,52150); h_SL3L269->SetBinContent(36,59591.43); h_SL3L269->SetBinContent(37,63622.86); h_SL3L269->SetBinContent(38,69664.29); h_SL3L269->SetBinContent(39,69080); h_SL3L269->SetBinContent(40,56628.57); h_SL3L269->SetBinContent(41,20215.71); h_SL3L269->SetBinContent(42,7607.143); h_SL3L269->SetBinContent(43,4132.857); h_SL3L269->SetBinContent(44,3304.286); h_SL3L269->SetBinContent(45,3072.857); h_SL3L269->SetBinContent(46,2774.286); h_SL3L269->SetBinContent(47,2451.429); h_SL3L269->SetBinContent(48,2398.572); h_SL3L269->SetBinContent(49,4061.429); h_SL3L269->SetBinContent(50,2067.143); h_SL3L269->SetBinContent(51,1978.572); h_SL3L269->SetBinContent(52,2270); h_SL3L269->SetBinContent(53,4878.572); h_SL3L269->SetBinContent(54,1641.429); h_SL3L269->SetBinContent(55,1508.571); h_SL3L269->SetBinContent(56,1745.714); h_SL3L269->SetBinContent(57,1385.714); h_SL3L269->SetBinContent(58,1280); h_SL3L269->SetBinContent(59,1197.143); h_SL3L269->SetMaximum(82602.86); 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,260); h_SL3L370->SetBinContent(2,254.2857); h_SL3L370->SetBinContent(3,251.4286); h_SL3L370->SetBinContent(4,240); h_SL3L370->SetBinContent(5,587.1429); h_SL3L370->SetBinContent(6,650); h_SL3L370->SetBinContent(7,307.1429); h_SL3L370->SetBinContent(8,317.1429); h_SL3L370->SetBinContent(9,307.1429); h_SL3L370->SetBinContent(10,335.7143); h_SL3L370->SetBinContent(11,380); h_SL3L370->SetBinContent(12,441.4286); h_SL3L370->SetBinContent(13,545.7143); h_SL3L370->SetBinContent(14,540); h_SL3L370->SetBinContent(15,602.8572); h_SL3L370->SetBinContent(16,640); h_SL3L370->SetBinContent(17,650); h_SL3L370->SetBinContent(18,737.1429); h_SL3L370->SetBinContent(19,811.4286); h_SL3L370->SetBinContent(20,887.1429); h_SL3L370->SetBinContent(21,985.7143); h_SL3L370->SetBinContent(22,1042.857); h_SL3L370->SetBinContent(23,1128.571); h_SL3L370->SetBinContent(24,1287.143); h_SL3L370->SetBinContent(25,1490); h_SL3L370->SetBinContent(26,1540); h_SL3L370->SetBinContent(27,1768.571); h_SL3L370->SetBinContent(28,2025.714); h_SL3L370->SetBinContent(29,2271.429); h_SL3L370->SetBinContent(30,2747.143); h_SL3L370->SetBinContent(31,3034.286); h_SL3L370->SetBinContent(32,4648.572); h_SL3L370->SetBinContent(33,9250); h_SL3L370->SetBinContent(34,38602.86); h_SL3L370->SetBinContent(35,57032.86); h_SL3L370->SetBinContent(36,61775.71); h_SL3L370->SetBinContent(37,66730); h_SL3L370->SetBinContent(38,70404.29); h_SL3L370->SetBinContent(39,64584.29); h_SL3L370->SetBinContent(40,40757.14); h_SL3L370->SetBinContent(41,9551.429); h_SL3L370->SetBinContent(42,5234.286); h_SL3L370->SetBinContent(43,3675.714); h_SL3L370->SetBinContent(44,3168.572); h_SL3L370->SetBinContent(45,225.7143); h_SL3L370->SetBinContent(46,2578.572); h_SL3L370->SetBinContent(47,2368.572); h_SL3L370->SetBinContent(48,2190); h_SL3L370->SetBinContent(49,2011.429); h_SL3L370->SetBinContent(50,1925.714); h_SL3L370->SetBinContent(51,1884.286); h_SL3L370->SetBinContent(52,1681.429); h_SL3L370->SetBinContent(53,1805.714); h_SL3L370->SetBinContent(54,1500); h_SL3L370->SetBinContent(55,1430); h_SL3L370->SetBinContent(56,1377.143); h_SL3L370->SetBinContent(57,1375.714); h_SL3L370->SetBinContent(58,1262.857); h_SL3L370->SetBinContent(59,1221.429); h_SL3L370->SetMaximum(82602.86); 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,268.5714); h_SL3L471->SetBinContent(3,217.1429); h_SL3L471->SetBinContent(4,264.2857); h_SL3L471->SetBinContent(5,1122.857); h_SL3L471->SetBinContent(7,1278.571); h_SL3L471->SetBinContent(8,1181.429); h_SL3L471->SetBinContent(9,277.1429); h_SL3L471->SetBinContent(10,317.1429); h_SL3L471->SetBinContent(11,368.5714); h_SL3L471->SetBinContent(12,442.8571); h_SL3L471->SetBinContent(13,500); h_SL3L471->SetBinContent(14,517.1429); h_SL3L471->SetBinContent(15,591.4286); h_SL3L471->SetBinContent(16,617.1429); h_SL3L471->SetBinContent(17,678.5715); h_SL3L471->SetBinContent(18,727.1429); h_SL3L471->SetBinContent(19,782.8572); h_SL3L471->SetBinContent(20,878.5715); h_SL3L471->SetBinContent(21,927.1429); h_SL3L471->SetBinContent(22,954.2858); h_SL3L471->SetBinContent(23,1134.286); h_SL3L471->SetBinContent(24,1260); h_SL3L471->SetBinContent(25,1407.143); h_SL3L471->SetBinContent(26,1482.857); h_SL3L471->SetBinContent(27,1588.571); h_SL3L471->SetBinContent(28,1875.714); h_SL3L471->SetBinContent(29,2155.714); h_SL3L471->SetBinContent(30,2352.857); h_SL3L471->SetBinContent(31,2965.714); h_SL3L471->SetBinContent(32,3495.714); h_SL3L471->SetBinContent(33,6828.572); h_SL3L471->SetBinContent(34,19247.14); h_SL3L471->SetBinContent(35,52267.14); h_SL3L471->SetBinContent(36,59561.43); h_SL3L471->SetBinContent(37,63508.57); h_SL3L471->SetBinContent(38,69527.14); h_SL3L471->SetBinContent(39,68708.57); h_SL3L471->SetBinContent(40,56257.14); h_SL3L471->SetBinContent(41,20230); h_SL3L471->SetBinContent(42,7575.714); h_SL3L471->SetBinContent(43,4078.572); h_SL3L471->SetBinContent(44,3284.286); h_SL3L471->SetBinContent(45,2891.429); h_SL3L471->SetBinContent(46,2604.286); h_SL3L471->SetBinContent(47,2398.572); h_SL3L471->SetBinContent(48,2248.572); h_SL3L471->SetBinContent(49,2000); h_SL3L471->SetBinContent(50,2002.857); h_SL3L471->SetBinContent(51,1930); h_SL3L471->SetBinContent(52,1747.143); h_SL3L471->SetBinContent(53,1661.429); h_SL3L471->SetBinContent(54,1585.714); h_SL3L471->SetBinContent(55,1465.714); h_SL3L471->SetBinContent(56,1361.429); h_SL3L471->SetBinContent(57,1724.286); h_SL3L471->SetBinContent(58,1607.143); h_SL3L471->SetBinContent(59,1494.286); h_SL3L471->SetMaximum(82602.86); 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 6595"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }