void RatesPerCell_Removing_noisy_cells_run_6766_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11352.23,67.5,102170); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6766",60,0,60); h_SL1L160->SetBinContent(1,364.2857); h_SL1L160->SetBinContent(2,383.3333); h_SL1L160->SetBinContent(3,428.5714); h_SL1L160->SetBinContent(4,402.381); h_SL1L160->SetBinContent(5,459.5238); h_SL1L160->SetBinContent(6,447.619); h_SL1L160->SetBinContent(7,452.381); h_SL1L160->SetBinContent(8,452.381); h_SL1L160->SetBinContent(9,578.5714); h_SL1L160->SetBinContent(10,623.8095); h_SL1L160->SetBinContent(11,652.3809); h_SL1L160->SetBinContent(12,721.4286); h_SL1L160->SetBinContent(13,928.5714); h_SL1L160->SetBinContent(14,854.7619); h_SL1L160->SetBinContent(15,771.4286); h_SL1L160->SetBinContent(16,771.4286); h_SL1L160->SetBinContent(17,873.8095); h_SL1L160->SetBinContent(18,1235.714); h_SL1L160->SetBinContent(19,1273.81); h_SL1L160->SetBinContent(20,1388.095); h_SL1L160->SetBinContent(21,1614.286); h_SL1L160->SetBinContent(22,1759.524); h_SL1L160->SetBinContent(23,1940.476); h_SL1L160->SetBinContent(24,2066.667); h_SL1L160->SetBinContent(25,1902.381); h_SL1L160->SetBinContent(26,2011.905); h_SL1L160->SetBinContent(27,2302.381); h_SL1L160->SetBinContent(28,3007.143); h_SL1L160->SetBinContent(29,3342.857); h_SL1L160->SetBinContent(30,4061.905); h_SL1L160->SetBinContent(31,5233.333); h_SL1L160->SetBinContent(32,9057.143); h_SL1L160->SetBinContent(33,36957.14); h_SL1L160->SetBinContent(34,54288.09); h_SL1L160->SetBinContent(35,60014.29); h_SL1L160->SetBinContent(36,63447.62); h_SL1L160->SetBinContent(37,66745.23); h_SL1L160->SetBinContent(38,61390.48); h_SL1L160->SetBinContent(39,38897.62); h_SL1L160->SetBinContent(40,9328.571); h_SL1L160->SetBinContent(41,5452.381); h_SL1L160->SetBinContent(42,4223.81); h_SL1L160->SetBinContent(43,3797.619); h_SL1L160->SetBinContent(44,3659.524); h_SL1L160->SetBinContent(45,3097.619); h_SL1L160->SetBinContent(46,2947.619); h_SL1L160->SetBinContent(47,2678.571); h_SL1L160->SetBinContent(48,2509.524); h_SL1L160->SetBinContent(49,2300); h_SL1L160->SetBinContent(50,2195.238); h_SL1L160->SetBinContent(51,2059.524); h_SL1L160->SetBinContent(52,1854.762); h_SL1L160->SetBinContent(53,1864.286); h_SL1L160->SetBinContent(54,1719.048); h_SL1L160->SetBinContent(55,1614.286); h_SL1L160->SetBinContent(56,1454.762); h_SL1L160->SetBinContent(57,1540.476); h_SL1L160->SetBinContent(58,1497.619); h_SL1L160->SetBinContent(59,1497.619); h_SL1L160->SetMaximum(90817.8); 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,319.0476); h_SL1L261->SetBinContent(2,300); h_SL1L261->SetBinContent(3,388.0952); h_SL1L261->SetBinContent(4,302.381); h_SL1L261->SetBinContent(5,369.0476); h_SL1L261->SetBinContent(6,371.4286); h_SL1L261->SetBinContent(7,352.381); h_SL1L261->SetBinContent(8,402.381); h_SL1L261->SetBinContent(9,497.619); h_SL1L261->SetBinContent(10,590.4762); h_SL1L261->SetBinContent(11,528.5714); h_SL1L261->SetBinContent(12,676.1905); h_SL1L261->SetBinContent(13,750); h_SL1L261->SetBinContent(14,795.2381); h_SL1L261->SetBinContent(15,776.1905); h_SL1L261->SetBinContent(16,721.4286); h_SL1L261->SetBinContent(17,802.3809); h_SL1L261->SetBinContent(18,1002.381); h_SL1L261->SetBinContent(19,1169.048); h_SL1L261->SetBinContent(20,1180.952); h_SL1L261->SetBinContent(21,1383.333); h_SL1L261->SetBinContent(22,1533.333); h_SL1L261->SetBinContent(23,1745.238); h_SL1L261->SetBinContent(24,1854.762); h_SL1L261->SetBinContent(25,1897.619); h_SL1L261->SetBinContent(26,1811.905); h_SL1L261->SetBinContent(27,2259.524); h_SL1L261->SetBinContent(28,2535.714); h_SL1L261->SetBinContent(29,2978.571); h_SL1L261->SetBinContent(30,3576.19); h_SL1L261->SetBinContent(31,4333.333); h_SL1L261->SetBinContent(32,6978.571); h_SL1L261->SetBinContent(33,19678.57); h_SL1L261->SetBinContent(34,50950); h_SL1L261->SetBinContent(35,59328.57); h_SL1L261->SetBinContent(36,63816.67); h_SL1L261->SetBinContent(37,67130.95); h_SL1L261->SetBinContent(38,67330.95); h_SL1L261->SetBinContent(39,55735.71); h_SL1L261->SetBinContent(40,18890.48); h_SL1L261->SetBinContent(41,7788.095); h_SL1L261->SetBinContent(42,4409.524); h_SL1L261->SetBinContent(43,3959.524); h_SL1L261->SetBinContent(44,3616.667); h_SL1L261->SetBinContent(45,3240.476); h_SL1L261->SetBinContent(46,2850); h_SL1L261->SetBinContent(47,2654.762); h_SL1L261->SetBinContent(48,2473.81); h_SL1L261->SetBinContent(49,15935.71); h_SL1L261->SetBinContent(50,2340.476); h_SL1L261->SetBinContent(51,2019.048); h_SL1L261->SetBinContent(52,2009.524); h_SL1L261->SetBinContent(53,1938.095); h_SL1L261->SetBinContent(54,1742.857); h_SL1L261->SetBinContent(55,1530.952); h_SL1L261->SetBinContent(56,5435.714); h_SL1L261->SetBinContent(57,1516.667); h_SL1L261->SetBinContent(58,1400); h_SL1L261->SetBinContent(59,1335.714); h_SL1L261->SetMaximum(78972.14); 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,259.5238); h_SL1L362->SetBinContent(2,338.0952); h_SL1L362->SetBinContent(3,314.2857); h_SL1L362->SetBinContent(4,285.7143); h_SL1L362->SetBinContent(5,328.5714); h_SL1L362->SetBinContent(6,345.2381); h_SL1L362->SetBinContent(7,290.4762); h_SL1L362->SetBinContent(8,430.9524); h_SL1L362->SetBinContent(9,473.8095); h_SL1L362->SetBinContent(10,483.3333); h_SL1L362->SetBinContent(11,535.7143); h_SL1L362->SetBinContent(12,585.7143); h_SL1L362->SetBinContent(13,761.9048); h_SL1L362->SetBinContent(14,721.4286); h_SL1L362->SetBinContent(15,719.0476); h_SL1L362->SetBinContent(16,661.9048); h_SL1L362->SetBinContent(17,795.2381); h_SL1L362->SetBinContent(18,983.3333); h_SL1L362->SetBinContent(19,1109.524); h_SL1L362->SetBinContent(20,1202.381); h_SL1L362->SetBinContent(21,1371.429); h_SL1L362->SetBinContent(22,1533.333); h_SL1L362->SetBinContent(23,1711.905); h_SL1L362->SetBinContent(24,1807.143); h_SL1L362->SetBinContent(25,1723.809); h_SL1L362->SetBinContent(26,1900); h_SL1L362->SetBinContent(27,2269.048); h_SL1L362->SetBinContent(28,2666.667); h_SL1L362->SetBinContent(29,3116.667); h_SL1L362->SetBinContent(30,3821.428); h_SL1L362->SetBinContent(31,5133.333); h_SL1L362->SetBinContent(32,9059.523); h_SL1L362->SetBinContent(33,38207.14); h_SL1L362->SetBinContent(34,56319.05); h_SL1L362->SetBinContent(35,62126.19); h_SL1L362->SetBinContent(36,65740.48); h_SL1L362->SetBinContent(37,68671.43); h_SL1L362->SetBinContent(38,62642.86); h_SL1L362->SetBinContent(39,39709.52); h_SL1L362->SetBinContent(40,9402.381); h_SL1L362->SetBinContent(41,5404.762); h_SL1L362->SetBinContent(42,4147.619); h_SL1L362->SetBinContent(43,3723.81); h_SL1L362->SetBinContent(44,3214.286); h_SL1L362->SetBinContent(45,2780.952); h_SL1L362->SetBinContent(46,2740.476); h_SL1L362->SetBinContent(47,2376.19); h_SL1L362->SetBinContent(48,2309.524); h_SL1L362->SetBinContent(49,2054.762); h_SL1L362->SetBinContent(50,2011.905); h_SL1L362->SetBinContent(51,1892.857); h_SL1L362->SetBinContent(52,1702.381); h_SL1L362->SetBinContent(53,4414.286); h_SL1L362->SetBinContent(54,1592.857); h_SL1L362->SetBinContent(55,1480.952); h_SL1L362->SetBinContent(56,5526.19); h_SL1L362->SetBinContent(57,1607.143); h_SL1L362->SetBinContent(58,1411.905); h_SL1L362->SetBinContent(59,1316.667); h_SL1L362->SetMaximum(78972.14); 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,30.95238); h_SL1L463->SetBinContent(3,57.14286); h_SL1L463->SetBinContent(4,33.33333); h_SL1L463->SetBinContent(5,40.47619); h_SL1L463->SetBinContent(6,50); h_SL1L463->SetBinContent(7,40.47619); h_SL1L463->SetBinContent(8,61.90476); h_SL1L463->SetBinContent(9,38.09524); h_SL1L463->SetBinContent(10,47.61905); h_SL1L463->SetBinContent(11,57.14286); h_SL1L463->SetBinContent(12,90.47619); h_SL1L463->SetBinContent(13,78.57143); h_SL1L463->SetBinContent(14,71.42857); h_SL1L463->SetBinContent(15,104.7619); h_SL1L463->SetBinContent(16,76.19048); h_SL1L463->SetBinContent(17,52.38095); h_SL1L463->SetBinContent(18,85.71429); h_SL1L463->SetBinContent(19,138.0952); h_SL1L463->SetBinContent(20,116.6667); h_SL1L463->SetBinContent(21,116.6667); h_SL1L463->SetBinContent(22,142.8571); h_SL1L463->SetBinContent(23,180.9524); h_SL1L463->SetBinContent(24,128.5714); h_SL1L463->SetBinContent(25,121.4286); h_SL1L463->SetBinContent(26,142.8571); h_SL1L463->SetBinContent(27,209.5238); h_SL1L463->SetBinContent(28,228.5714); h_SL1L463->SetBinContent(29,254.7619); h_SL1L463->SetBinContent(30,300); h_SL1L463->SetBinContent(31,528.5714); h_SL1L463->SetBinContent(32,569.0476); h_SL1L463->SetBinContent(33,1300); h_SL1L463->SetBinContent(34,5478.571); h_SL1L463->SetBinContent(35,9595.238); h_SL1L463->SetBinContent(36,6895.238); h_SL1L463->SetBinContent(37,5107.143); h_SL1L463->SetBinContent(38,6352.381); h_SL1L463->SetBinContent(39,8033.333); h_SL1L463->SetBinContent(40,1688.095); h_SL1L463->SetBinContent(41,761.9048); h_SL1L463->SetBinContent(42,490.4762); h_SL1L463->SetBinContent(43,573.8095); h_SL1L463->SetBinContent(44,471.4286); h_SL1L463->SetBinContent(45,302.381); h_SL1L463->SetBinContent(46,330.9524); h_SL1L463->SetBinContent(47,271.4286); h_SL1L463->SetBinContent(48,216.6667); h_SL1L463->SetBinContent(49,183.3333); h_SL1L463->SetBinContent(50,230.9524); h_SL1L463->SetBinContent(51,178.5714); h_SL1L463->SetBinContent(52,133.3333); h_SL1L463->SetBinContent(53,116.6667); h_SL1L463->SetBinContent(54,173.8095); h_SL1L463->SetBinContent(56,147.619); h_SL1L463->SetBinContent(57,85.71429); h_SL1L463->SetBinContent(58,119.0476); h_SL1L463->SetBinContent(59,114.2857); h_SL1L463->SetMaximum(78972.14); 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 6766"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }