void RatesPerCell_Removing_noisy_cells_run_6856_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8675.457,67.5,78079.11); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6856",60,0,60); h_SL2L164->SetBinContent(1,673.4694); h_SL2L164->SetBinContent(2,739.7959); h_SL2L164->SetBinContent(3,780.6122); h_SL2L164->SetBinContent(4,1015.306); h_SL2L164->SetBinContent(5,989.7959); h_SL2L164->SetBinContent(6,1091.837); h_SL2L164->SetBinContent(7,1137.755); h_SL2L164->SetBinContent(8,1198.98); h_SL2L164->SetBinContent(9,1137.755); h_SL2L164->SetBinContent(10,1214.286); h_SL2L164->SetBinContent(11,1362.245); h_SL2L164->SetBinContent(12,1627.551); h_SL2L164->SetBinContent(13,1515.306); h_SL2L164->SetBinContent(14,1887.755); h_SL2L164->SetBinContent(15,1729.592); h_SL2L164->SetBinContent(16,2112.245); h_SL2L164->SetBinContent(17,2056.122); h_SL2L164->SetBinContent(18,2275.51); h_SL2L164->SetBinContent(19,2285.714); h_SL2L164->SetBinContent(20,2500); h_SL2L164->SetBinContent(21,2387.755); h_SL2L164->SetBinContent(22,2755.102); h_SL2L164->SetBinContent(23,3020.408); h_SL2L164->SetBinContent(24,3443.877); h_SL2L164->SetBinContent(25,8469.388); h_SL2L164->SetBinContent(26,26959.18); h_SL2L164->SetBinContent(27,42250); h_SL2L164->SetBinContent(28,49280.61); h_SL2L164->SetBinContent(29,52010.2); h_SL2L164->SetBinContent(30,52045.92); h_SL2L164->SetBinContent(31,48377.55); h_SL2L164->SetBinContent(32,47709.18); h_SL2L164->SetBinContent(33,46760.2); h_SL2L164->SetBinContent(34,26520.41); h_SL2L164->SetBinContent(36,3607.143); h_SL2L164->SetBinContent(37,3719.388); h_SL2L164->SetBinContent(38,2928.571); h_SL2L164->SetBinContent(39,3066.326); h_SL2L164->SetBinContent(40,34000); h_SL2L164->SetBinContent(41,32586.73); h_SL2L164->SetBinContent(42,5321.429); h_SL2L164->SetBinContent(43,5362.245); h_SL2L164->SetBinContent(44,5352.041); h_SL2L164->SetBinContent(45,1209.184); h_SL2L164->SetBinContent(46,1244.898); h_SL2L164->SetBinContent(47,1061.224); h_SL2L164->SetBinContent(48,1071.429); h_SL2L164->SetBinContent(49,903.0612); h_SL2L164->SetBinContent(50,846.9388); h_SL2L164->SetBinContent(51,974.4898); h_SL2L164->SetBinContent(52,836.7347); h_SL2L164->SetBinContent(53,658.1633); h_SL2L164->SetBinContent(54,607.1428); h_SL2L164->SetBinContent(55,551.0204); h_SL2L164->SetBinContent(56,586.7347); h_SL2L164->SetBinContent(57,515.3061); h_SL2L164->SetMaximum(69403.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,688.7755); h_SL2L265->SetBinContent(2,704.0816); h_SL2L265->SetBinContent(3,663.2653); h_SL2L265->SetBinContent(4,1040.816); h_SL2L265->SetBinContent(5,1035.714); h_SL2L265->SetBinContent(6,969.3878); h_SL2L265->SetBinContent(7,1051.02); h_SL2L265->SetBinContent(8,1173.469); h_SL2L265->SetBinContent(9,1127.551); h_SL2L265->SetBinContent(10,1066.327); h_SL2L265->SetBinContent(11,1357.143); h_SL2L265->SetBinContent(12,1530.612); h_SL2L265->SetBinContent(13,1591.837); h_SL2L265->SetBinContent(14,1683.673); h_SL2L265->SetBinContent(15,1816.327); h_SL2L265->SetBinContent(16,1846.939); h_SL2L265->SetBinContent(17,2045.918); h_SL2L265->SetBinContent(18,2153.061); h_SL2L265->SetBinContent(19,2290.816); h_SL2L265->SetBinContent(20,2408.163); h_SL2L265->SetBinContent(21,2556.122); h_SL2L265->SetBinContent(22,2397.959); h_SL2L265->SetBinContent(23,2969.388); h_SL2L265->SetBinContent(24,3142.857); h_SL2L265->SetBinContent(25,4265.306); h_SL2L265->SetBinContent(26,17489.79); h_SL2L265->SetBinContent(27,34918.37); h_SL2L265->SetBinContent(28,46862.25); h_SL2L265->SetBinContent(29,50102.04); h_SL2L265->SetBinContent(30,52352.04); h_SL2L265->SetBinContent(31,50484.7); h_SL2L265->SetBinContent(32,47494.9); h_SL2L265->SetBinContent(33,48219.39); h_SL2L265->SetBinContent(34,39387.75); h_SL2L265->SetBinContent(35,14122.45); h_SL2L265->SetBinContent(36,4709.184); h_SL2L265->SetBinContent(37,3117.347); h_SL2L265->SetBinContent(38,2500); h_SL2L265->SetBinContent(39,2566.326); h_SL2L265->SetBinContent(40,2867.347); h_SL2L265->SetBinContent(41,2367.347); h_SL2L265->SetBinContent(42,2173.469); h_SL2L265->SetBinContent(43,1704.082); h_SL2L265->SetBinContent(44,1724.49); h_SL2L265->SetBinContent(45,1183.673); h_SL2L265->SetBinContent(46,1142.857); h_SL2L265->SetBinContent(47,1137.755); h_SL2L265->SetBinContent(48,984.6938); h_SL2L265->SetBinContent(49,979.5918); h_SL2L265->SetBinContent(50,892.8571); h_SL2L265->SetBinContent(51,765.3061); h_SL2L265->SetBinContent(52,974.4898); h_SL2L265->SetBinContent(53,658.1633); h_SL2L265->SetBinContent(54,510.2041); h_SL2L265->SetBinContent(55,678.5714); h_SL2L265->SetBinContent(56,525.5102); h_SL2L265->SetBinContent(57,551.0204); h_SL2L265->SetMaximum(60351.53); 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,693.8776); h_SL2L366->SetBinContent(2,673.4694); h_SL2L366->SetBinContent(3,811.2245); h_SL2L366->SetBinContent(4,948.9796); h_SL2L366->SetBinContent(5,964.2857); h_SL2L366->SetBinContent(6,1091.837); h_SL2L366->SetBinContent(7,1025.51); h_SL2L366->SetBinContent(8,1147.959); h_SL2L366->SetBinContent(9,1066.327); h_SL2L366->SetBinContent(10,1193.878); h_SL2L366->SetBinContent(11,1448.98); h_SL2L366->SetBinContent(12,1525.51); h_SL2L366->SetBinContent(13,1494.898); h_SL2L366->SetBinContent(14,1852.041); h_SL2L366->SetBinContent(15,1673.469); h_SL2L366->SetBinContent(16,2071.428); h_SL2L366->SetBinContent(17,1974.49); h_SL2L366->SetBinContent(18,2244.898); h_SL2L366->SetBinContent(19,2178.571); h_SL2L366->SetBinContent(20,2489.796); h_SL2L366->SetBinContent(21,2352.041); h_SL2L366->SetBinContent(22,2714.286); h_SL2L366->SetBinContent(23,3076.531); h_SL2L366->SetBinContent(24,3255.102); h_SL2L366->SetBinContent(25,8392.857); h_SL2L366->SetBinContent(26,26867.35); h_SL2L366->SetBinContent(27,42260.2); h_SL2L366->SetBinContent(28,48923.47); h_SL2L366->SetBinContent(29,51765.3); h_SL2L366->SetBinContent(30,51872.45); h_SL2L366->SetBinContent(31,48168.37); h_SL2L366->SetBinContent(32,47693.88); h_SL2L366->SetBinContent(33,46775.51); h_SL2L366->SetBinContent(34,26586.73); h_SL2L366->SetBinContent(35,7051.021); h_SL2L366->SetBinContent(36,3602.041); h_SL2L366->SetBinContent(37,2647.959); h_SL2L366->SetBinContent(38,2301.021); h_SL2L366->SetBinContent(39,1964.286); h_SL2L366->SetBinContent(40,2142.857); h_SL2L366->SetBinContent(41,1867.347); h_SL2L366->SetBinContent(42,1698.98); h_SL2L366->SetBinContent(43,1387.755); h_SL2L366->SetBinContent(44,1321.429); h_SL2L366->SetBinContent(45,1158.163); h_SL2L366->SetBinContent(46,1168.367); h_SL2L366->SetBinContent(47,1061.224); h_SL2L366->SetBinContent(48,938.7755); h_SL2L366->SetBinContent(49,806.1224); h_SL2L366->SetBinContent(50,785.7143); h_SL2L366->SetBinContent(51,882.6531); h_SL2L366->SetBinContent(52,882.6531); h_SL2L366->SetBinContent(53,693.8776); h_SL2L366->SetBinContent(54,581.6326); h_SL2L366->SetBinContent(55,596.9388); h_SL2L366->SetBinContent(56,510.2041); h_SL2L366->SetBinContent(57,469.3878); h_SL2L366->SetMaximum(60351.53); 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,765.3061); h_SL2L467->SetBinContent(3,627.551); h_SL2L467->SetBinContent(4,923.4694); h_SL2L467->SetBinContent(5,938.7755); h_SL2L467->SetBinContent(6,908.1633); h_SL2L467->SetBinContent(7,1015.306); h_SL2L467->SetBinContent(8,1127.551); h_SL2L467->SetBinContent(9,1010.204); h_SL2L467->SetBinContent(10,1081.633); h_SL2L467->SetBinContent(11,1260.204); h_SL2L467->SetBinContent(12,1433.673); h_SL2L467->SetBinContent(13,1581.633); h_SL2L467->SetBinContent(14,1693.878); h_SL2L467->SetBinContent(15,1678.571); h_SL2L467->SetBinContent(16,1734.694); h_SL2L467->SetBinContent(17,2030.612); h_SL2L467->SetBinContent(18,2158.163); h_SL2L467->SetBinContent(19,2127.551); h_SL2L467->SetBinContent(20,2306.122); h_SL2L467->SetBinContent(21,2408.163); h_SL2L467->SetBinContent(22,2270.408); h_SL2L467->SetBinContent(23,2923.469); h_SL2L467->SetBinContent(24,2989.796); h_SL2L467->SetBinContent(25,4117.347); h_SL2L467->SetBinContent(26,17627.55); h_SL2L467->SetBinContent(27,34765.3); h_SL2L467->SetBinContent(28,46933.67); h_SL2L467->SetBinContent(29,50045.92); h_SL2L467->SetBinContent(30,52479.59); h_SL2L467->SetBinContent(31,50336.73); h_SL2L467->SetBinContent(32,47285.71); h_SL2L467->SetBinContent(33,48209.18); h_SL2L467->SetBinContent(34,39617.35); h_SL2L467->SetBinContent(35,14020.41); h_SL2L467->SetBinContent(36,4698.979); h_SL2L467->SetBinContent(37,2857.143); h_SL2L467->SetBinContent(38,2362.245); h_SL2L467->SetBinContent(39,2071.428); h_SL2L467->SetBinContent(40,1698.98); h_SL2L467->SetBinContent(41,1811.224); h_SL2L467->SetBinContent(42,1795.918); h_SL2L467->SetBinContent(43,1510.204); h_SL2L467->SetBinContent(44,1418.367); h_SL2L467->SetBinContent(45,1158.163); h_SL2L467->SetBinContent(46,1010.204); h_SL2L467->SetBinContent(47,1102.041); h_SL2L467->SetBinContent(48,913.2653); h_SL2L467->SetBinContent(49,969.3878); h_SL2L467->SetBinContent(50,918.3673); h_SL2L467->SetBinContent(51,775.5102); h_SL2L467->SetBinContent(52,933.6735); h_SL2L467->SetBinContent(53,632.6531); h_SL2L467->SetBinContent(54,683.6735); h_SL2L467->SetBinContent(55,668.3674); h_SL2L467->SetBinContent(56,505.1021); h_SL2L467->SetBinContent(57,479.5918); h_SL2L467->SetMaximum(60351.53); 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 6856"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }