void RatesPerCell_Removing_noisy_cells_run_4971_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:44 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11587.69,67.5,104289.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 4971",60,0,60); h_SL1L160->SetBinContent(1,444.2857); h_SL1L160->SetBinContent(2,454.2857); h_SL1L160->SetBinContent(3,520.7143); h_SL1L160->SetBinContent(4,554.2857); h_SL1L160->SetBinContent(5,537.8572); h_SL1L160->SetBinContent(6,576.4286); h_SL1L160->SetBinContent(7,560.7143); h_SL1L160->SetBinContent(8,627.8572); h_SL1L160->SetBinContent(9,635); h_SL1L160->SetBinContent(10,668.5715); h_SL1L160->SetBinContent(11,728.5715); h_SL1L160->SetBinContent(12,806.4286); h_SL1L160->SetBinContent(13,3884.286); h_SL1L160->SetBinContent(14,994.2858); h_SL1L160->SetBinContent(15,900.7143); h_SL1L160->SetBinContent(16,913.5715); h_SL1L160->SetBinContent(17,1047.857); h_SL1L160->SetBinContent(18,1309.286); h_SL1L160->SetBinContent(19,1427.857); h_SL1L160->SetBinContent(20,1587.143); h_SL1L160->SetBinContent(21,1837.143); h_SL1L160->SetBinContent(22,1980.714); h_SL1L160->SetBinContent(23,2255); h_SL1L160->SetBinContent(24,2530.714); h_SL1L160->SetBinContent(25,2716.429); h_SL1L160->SetBinContent(26,2838.572); h_SL1L160->SetBinContent(27,3287.143); h_SL1L160->SetBinContent(28,4070.714); h_SL1L160->SetBinContent(29,4467.857); h_SL1L160->SetBinContent(30,5060.714); h_SL1L160->SetBinContent(31,7351.429); h_SL1L160->SetBinContent(32,13829.29); h_SL1L160->SetBinContent(33,64766.43); h_SL1L160->SetBinContent(34,67235.72); h_SL1L160->SetBinContent(35,64673.57); h_SL1L160->SetBinContent(36,62832.14); h_SL1L160->SetBinContent(37,57883.57); h_SL1L160->SetBinContent(38,45369.29); h_SL1L160->SetBinContent(39,28300.71); h_SL1L160->SetBinContent(40,6978.572); h_SL1L160->SetBinContent(41,4677.143); h_SL1L160->SetBinContent(42,3873.572); h_SL1L160->SetBinContent(43,3541.429); h_SL1L160->SetBinContent(44,3218.572); h_SL1L160->SetBinContent(45,2976.429); h_SL1L160->SetBinContent(46,18005.71); h_SL1L160->SetBinContent(47,2674.286); h_SL1L160->SetBinContent(48,2392.143); h_SL1L160->SetBinContent(49,2279.286); h_SL1L160->SetBinContent(50,1970.714); h_SL1L160->SetBinContent(51,1721.429); h_SL1L160->SetBinContent(52,1640.714); h_SL1L160->SetBinContent(53,1657.857); h_SL1L160->SetBinContent(54,1654.286); h_SL1L160->SetBinContent(55,1527.143); h_SL1L160->SetBinContent(56,1467.857); h_SL1L160->SetBinContent(57,1537.143); h_SL1L160->SetBinContent(58,1507.143); h_SL1L160->SetBinContent(59,1462.857); h_SL1L160->SetMaximum(92701.5); 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,393.5714); h_SL1L261->SetBinContent(2,390.7143); h_SL1L261->SetBinContent(3,407.8571); h_SL1L261->SetBinContent(4,455.7143); h_SL1L261->SetBinContent(5,510); h_SL1L261->SetBinContent(6,490.7143); h_SL1L261->SetBinContent(7,491.4286); h_SL1L261->SetBinContent(8,530.7143); h_SL1L261->SetBinContent(9,569.2857); h_SL1L261->SetBinContent(10,568.5715); h_SL1L261->SetBinContent(11,648.5715); h_SL1L261->SetBinContent(12,689.2857); h_SL1L261->SetBinContent(13,781.4286); h_SL1L261->SetBinContent(14,878.5715); h_SL1L261->SetBinContent(15,895); h_SL1L261->SetBinContent(16,817.1429); h_SL1L261->SetBinContent(17,929.2858); h_SL1L261->SetBinContent(18,1110.714); h_SL1L261->SetBinContent(19,1247.857); h_SL1L261->SetBinContent(20,1450.714); h_SL1L261->SetBinContent(21,1572.857); h_SL1L261->SetBinContent(22,1793.571); h_SL1L261->SetBinContent(23,1999.286); h_SL1L261->SetBinContent(24,2192.857); h_SL1L261->SetBinContent(25,2563.572); h_SL1L261->SetBinContent(26,2643.572); h_SL1L261->SetBinContent(27,3021.429); h_SL1L261->SetBinContent(28,3746.429); h_SL1L261->SetBinContent(29,4118.571); h_SL1L261->SetBinContent(30,4622.857); h_SL1L261->SetBinContent(31,5450); h_SL1L261->SetBinContent(32,9807.857); h_SL1L261->SetBinContent(33,37706.43); h_SL1L261->SetBinContent(34,70095.72); h_SL1L261->SetBinContent(35,64912.86); h_SL1L261->SetBinContent(36,64063.57); h_SL1L261->SetBinContent(37,61111.43); h_SL1L261->SetBinContent(38,51881.43); h_SL1L261->SetBinContent(39,38374.29); h_SL1L261->SetBinContent(40,12055); h_SL1L261->SetBinContent(41,5855.714); h_SL1L261->SetBinContent(42,4077.143); h_SL1L261->SetBinContent(43,3577.857); h_SL1L261->SetBinContent(44,3236.429); h_SL1L261->SetBinContent(45,2980); h_SL1L261->SetBinContent(46,2763.572); h_SL1L261->SetBinContent(47,2670.714); h_SL1L261->SetBinContent(48,2357.143); h_SL1L261->SetBinContent(49,13872.14); h_SL1L261->SetBinContent(50,2009.286); h_SL1L261->SetBinContent(51,1789.286); h_SL1L261->SetBinContent(52,1649.286); h_SL1L261->SetBinContent(53,1665); h_SL1L261->SetBinContent(54,1574.286); h_SL1L261->SetBinContent(55,1534.286); h_SL1L261->SetBinContent(56,2272.857); h_SL1L261->SetBinContent(57,1440); h_SL1L261->SetBinContent(58,1467.857); h_SL1L261->SetBinContent(59,1432.143); h_SL1L261->SetMaximum(80610.08); 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,338.5714); h_SL1L362->SetBinContent(2,353.5714); h_SL1L362->SetBinContent(3,392.8571); h_SL1L362->SetBinContent(4,443.5714); h_SL1L362->SetBinContent(5,452.1429); h_SL1L362->SetBinContent(6,445); h_SL1L362->SetBinContent(7,449.2857); h_SL1L362->SetBinContent(8,517.1429); h_SL1L362->SetBinContent(9,523.5714); h_SL1L362->SetBinContent(10,579.2857); h_SL1L362->SetBinContent(11,625.7143); h_SL1L362->SetBinContent(12,661.4286); h_SL1L362->SetBinContent(13,760.7143); h_SL1L362->SetBinContent(14,850); h_SL1L362->SetBinContent(15,776.4286); h_SL1L362->SetBinContent(16,817.1429); h_SL1L362->SetBinContent(17,969.2858); h_SL1L362->SetBinContent(18,1133.571); h_SL1L362->SetBinContent(19,1252.143); h_SL1L362->SetBinContent(20,1459.286); h_SL1L362->SetBinContent(21,1598.571); h_SL1L362->SetBinContent(22,1802.857); h_SL1L362->SetBinContent(23,2043.572); h_SL1L362->SetBinContent(24,2269.286); h_SL1L362->SetBinContent(25,2542.143); h_SL1L362->SetBinContent(26,2745); h_SL1L362->SetBinContent(27,3153.572); h_SL1L362->SetBinContent(28,3915); h_SL1L362->SetBinContent(29,4262.857); h_SL1L362->SetBinContent(30,4880); h_SL1L362->SetBinContent(31,7185.714); h_SL1L362->SetBinContent(32,13899.29); h_SL1L362->SetBinContent(33,65120.71); h_SL1L362->SetBinContent(34,67236.43); h_SL1L362->SetBinContent(35,64803.57); h_SL1L362->SetBinContent(36,63040); h_SL1L362->SetBinContent(37,57897.86); h_SL1L362->SetBinContent(38,45352.14); h_SL1L362->SetBinContent(39,26103.57); h_SL1L362->SetBinContent(40,6787.143); h_SL1L362->SetBinContent(41,4480.714); h_SL1L362->SetBinContent(42,3750.714); h_SL1L362->SetBinContent(43,3282.857); h_SL1L362->SetBinContent(44,3040); h_SL1L362->SetBinContent(45,2797.857); h_SL1L362->SetBinContent(46,2591.429); h_SL1L362->SetBinContent(47,2489.286); h_SL1L362->SetBinContent(48,2180); h_SL1L362->SetBinContent(49,2065); h_SL1L362->SetBinContent(50,1795.714); h_SL1L362->SetBinContent(51,1642.857); h_SL1L362->SetBinContent(52,1564.286); h_SL1L362->SetBinContent(53,3290.714); h_SL1L362->SetBinContent(54,1531.429); h_SL1L362->SetBinContent(55,1456.429); h_SL1L362->SetBinContent(56,3415.714); h_SL1L362->SetBinContent(57,1411.429); h_SL1L362->SetBinContent(58,1366.429); h_SL1L362->SetBinContent(59,1383.571); h_SL1L362->SetMaximum(80610.08); 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,299.2857); h_SL1L463->SetBinContent(3,332.8571); h_SL1L463->SetBinContent(4,329.2857); h_SL1L463->SetBinContent(5,392.8571); h_SL1L463->SetBinContent(6,350.7143); h_SL1L463->SetBinContent(7,382.1429); h_SL1L463->SetBinContent(8,398.5714); h_SL1L463->SetBinContent(9,422.8571); h_SL1L463->SetBinContent(10,420.7143); h_SL1L463->SetBinContent(11,522.1429); h_SL1L463->SetBinContent(12,567.1429); h_SL1L463->SetBinContent(13,602.8572); h_SL1L463->SetBinContent(14,695); h_SL1L463->SetBinContent(15,729.2857); h_SL1L463->SetBinContent(16,697.8572); h_SL1L463->SetBinContent(17,780); h_SL1L463->SetBinContent(18,932.8572); h_SL1L463->SetBinContent(19,1027.857); h_SL1L463->SetBinContent(20,1189.286); h_SL1L463->SetBinContent(21,1312.143); h_SL1L463->SetBinContent(22,1493.571); h_SL1L463->SetBinContent(23,1698.571); h_SL1L463->SetBinContent(24,1887.857); h_SL1L463->SetBinContent(25,2131.429); h_SL1L463->SetBinContent(26,2330); h_SL1L463->SetBinContent(27,2661.429); h_SL1L463->SetBinContent(28,3241.429); h_SL1L463->SetBinContent(29,3570.714); h_SL1L463->SetBinContent(30,4205); h_SL1L463->SetBinContent(31,4980.714); h_SL1L463->SetBinContent(32,9093.571); h_SL1L463->SetBinContent(33,34936.43); h_SL1L463->SetBinContent(34,67364.29); h_SL1L463->SetBinContent(35,62596.43); h_SL1L463->SetBinContent(36,61316.43); h_SL1L463->SetBinContent(37,56997.86); h_SL1L463->SetBinContent(38,48757.86); h_SL1L463->SetBinContent(39,36965.71); h_SL1L463->SetBinContent(40,11115); h_SL1L463->SetBinContent(41,5323.572); h_SL1L463->SetBinContent(42,3856.429); h_SL1L463->SetBinContent(43,3296.429); h_SL1L463->SetBinContent(44,2958.572); h_SL1L463->SetBinContent(45,2564.286); h_SL1L463->SetBinContent(46,2418.572); h_SL1L463->SetBinContent(47,2350.714); h_SL1L463->SetBinContent(48,2047.143); h_SL1L463->SetBinContent(49,1906.429); h_SL1L463->SetBinContent(50,1699.286); h_SL1L463->SetBinContent(51,1569.286); h_SL1L463->SetBinContent(52,1437.143); h_SL1L463->SetBinContent(53,1408.571); h_SL1L463->SetBinContent(54,1392.857); h_SL1L463->SetBinContent(55,0.7142857); h_SL1L463->SetBinContent(56,1272.143); h_SL1L463->SetBinContent(57,1227.857); h_SL1L463->SetBinContent(58,1284.286); h_SL1L463->SetBinContent(59,1262.143); h_SL1L463->SetMaximum(80610.08); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 4971"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }