void RatesPerCell_Removing_noisy_cells_run_6541_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:28 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10731.08,67.5,96579.73); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6541",60,0,60); h_SL2L164->SetBinContent(1,697.1429); h_SL2L164->SetBinContent(2,805.7143); h_SL2L164->SetBinContent(3,941.4286); h_SL2L164->SetBinContent(4,1067.143); h_SL2L164->SetBinContent(5,1024.286); h_SL2L164->SetBinContent(6,1104.286); h_SL2L164->SetBinContent(7,1208.571); h_SL2L164->SetBinContent(8,1230); h_SL2L164->SetBinContent(9,1268.571); h_SL2L164->SetBinContent(10,1361.429); h_SL2L164->SetBinContent(11,1452.857); h_SL2L164->SetBinContent(12,1610); h_SL2L164->SetBinContent(13,1838.572); h_SL2L164->SetBinContent(14,1850); h_SL2L164->SetBinContent(15,1951.429); h_SL2L164->SetBinContent(16,1938.572); h_SL2L164->SetBinContent(17,2062.857); h_SL2L164->SetBinContent(18,2265.714); h_SL2L164->SetBinContent(19,2430); h_SL2L164->SetBinContent(20,2511.429); h_SL2L164->SetBinContent(21,2547.143); h_SL2L164->SetBinContent(22,2677.143); h_SL2L164->SetBinContent(23,3128.572); h_SL2L164->SetBinContent(24,3590); h_SL2L164->SetBinContent(25,8640); h_SL2L164->SetBinContent(26,26538.57); h_SL2L164->SetBinContent(27,40534.29); h_SL2L164->SetBinContent(28,48892.86); h_SL2L164->SetBinContent(29,52394.29); h_SL2L164->SetBinContent(30,51762.86); h_SL2L164->SetBinContent(31,50057.14); h_SL2L164->SetBinContent(32,50974.29); h_SL2L164->SetBinContent(33,50244.29); h_SL2L164->SetBinContent(34,28082.86); h_SL2L164->SetBinContent(35,1.428571); h_SL2L164->SetBinContent(36,3924.286); h_SL2L164->SetBinContent(37,8557.143); h_SL2L164->SetBinContent(38,4977.143); h_SL2L164->SetBinContent(39,6568.572); h_SL2L164->SetBinContent(40,34610); h_SL2L164->SetBinContent(41,64914.29); h_SL2L164->SetBinContent(42,12111.43); h_SL2L164->SetBinContent(43,12191.43); h_SL2L164->SetBinContent(44,12521.43); h_SL2L164->SetBinContent(45,1331.429); h_SL2L164->SetBinContent(46,1328.571); h_SL2L164->SetBinContent(47,1158.571); h_SL2L164->SetBinContent(48,1118.571); h_SL2L164->SetBinContent(49,1017.143); h_SL2L164->SetBinContent(50,967.1429); h_SL2L164->SetBinContent(51,944.2858); h_SL2L164->SetBinContent(52,837.1429); h_SL2L164->SetBinContent(53,831.4286); h_SL2L164->SetBinContent(54,754.2857); h_SL2L164->SetBinContent(55,677.1429); h_SL2L164->SetBinContent(56,597.1429); h_SL2L164->SetBinContent(57,6425.714); h_SL2L164->SetMaximum(85848.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,678.5715); h_SL2L265->SetBinContent(2,750); h_SL2L265->SetBinContent(3,845.7143); h_SL2L265->SetBinContent(4,1011.429); h_SL2L265->SetBinContent(5,1064.286); h_SL2L265->SetBinContent(6,1001.429); h_SL2L265->SetBinContent(7,1078.571); h_SL2L265->SetBinContent(8,1185.714); h_SL2L265->SetBinContent(9,1265.714); h_SL2L265->SetBinContent(10,1297.143); h_SL2L265->SetBinContent(11,1412.857); h_SL2L265->SetBinContent(12,1501.429); h_SL2L265->SetBinContent(13,1682.857); h_SL2L265->SetBinContent(14,1801.429); h_SL2L265->SetBinContent(15,1894.286); h_SL2L265->SetBinContent(16,1824.286); h_SL2L265->SetBinContent(17,2030); h_SL2L265->SetBinContent(18,2065.714); h_SL2L265->SetBinContent(19,2298.572); h_SL2L265->SetBinContent(20,2444.286); h_SL2L265->SetBinContent(21,2488.572); h_SL2L265->SetBinContent(22,2605.714); h_SL2L265->SetBinContent(23,2872.857); h_SL2L265->SetBinContent(24,3198.572); h_SL2L265->SetBinContent(25,4281.429); h_SL2L265->SetBinContent(26,17560); h_SL2L265->SetBinContent(27,34074.29); h_SL2L265->SetBinContent(28,45477.14); h_SL2L265->SetBinContent(29,51121.43); h_SL2L265->SetBinContent(30,52130); h_SL2L265->SetBinContent(31,50102.86); h_SL2L265->SetBinContent(32,50247.14); h_SL2L265->SetBinContent(33,51580); h_SL2L265->SetBinContent(34,42535.71); h_SL2L265->SetBinContent(35,14565.71); h_SL2L265->SetBinContent(36,5101.429); h_SL2L265->SetBinContent(37,3311.429); h_SL2L265->SetBinContent(38,2608.572); h_SL2L265->SetBinContent(39,3857.143); h_SL2L265->SetBinContent(40,5125.714); h_SL2L265->SetBinContent(41,3337.143); h_SL2L265->SetBinContent(42,3308.572); h_SL2L265->SetBinContent(43,2178.572); h_SL2L265->SetBinContent(44,3282.857); h_SL2L265->SetBinContent(45,1375.714); h_SL2L265->SetBinContent(46,1288.571); h_SL2L265->SetBinContent(47,1182.857); h_SL2L265->SetBinContent(48,1134.286); h_SL2L265->SetBinContent(49,1055.714); h_SL2L265->SetBinContent(50,940); h_SL2L265->SetBinContent(51,887.1429); h_SL2L265->SetBinContent(52,884.2857); h_SL2L265->SetBinContent(53,808.5715); h_SL2L265->SetBinContent(54,790); h_SL2L265->SetBinContent(55,728.5715); h_SL2L265->SetBinContent(56,644.2857); h_SL2L265->SetBinContent(57,577.1429); h_SL2L265->SetMaximum(74651.43); 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,694.2857); h_SL2L366->SetBinContent(2,711.4286); h_SL2L366->SetBinContent(3,942.8572); h_SL2L366->SetBinContent(4,1045.714); h_SL2L366->SetBinContent(5,975.7143); h_SL2L366->SetBinContent(6,1010); h_SL2L366->SetBinContent(7,1140); h_SL2L366->SetBinContent(8,1200); h_SL2L366->SetBinContent(9,1265.714); h_SL2L366->SetBinContent(10,1385.714); h_SL2L366->SetBinContent(11,1458.571); h_SL2L366->SetBinContent(12,1522.857); h_SL2L366->SetBinContent(13,1717.143); h_SL2L366->SetBinContent(14,1861.429); h_SL2L366->SetBinContent(15,1905.714); h_SL2L366->SetBinContent(16,1837.143); h_SL2L366->SetBinContent(17,1960); h_SL2L366->SetBinContent(18,2185.714); h_SL2L366->SetBinContent(19,2355.714); h_SL2L366->SetBinContent(20,2391.429); h_SL2L366->SetBinContent(21,2432.857); h_SL2L366->SetBinContent(22,2672.857); h_SL2L366->SetBinContent(23,2971.429); h_SL2L366->SetBinContent(24,3414.286); h_SL2L366->SetBinContent(25,8607.143); h_SL2L366->SetBinContent(26,26621.43); h_SL2L366->SetBinContent(27,40425.71); h_SL2L366->SetBinContent(28,48858.57); h_SL2L366->SetBinContent(29,51885.71); h_SL2L366->SetBinContent(30,51487.14); h_SL2L366->SetBinContent(31,50154.29); h_SL2L366->SetBinContent(32,50882.86); h_SL2L366->SetBinContent(33,50092.86); h_SL2L366->SetBinContent(34,28221.43); h_SL2L366->SetBinContent(35,7484.286); h_SL2L366->SetBinContent(36,3975.714); h_SL2L366->SetBinContent(37,2915.714); h_SL2L366->SetBinContent(38,2460); h_SL2L366->SetBinContent(39,2065.714); h_SL2L366->SetBinContent(40,4020); h_SL2L366->SetBinContent(41,2152.857); h_SL2L366->SetBinContent(42,1697.143); h_SL2L366->SetBinContent(43,1595.714); h_SL2L366->SetBinContent(44,1340); h_SL2L366->SetBinContent(45,1301.429); h_SL2L366->SetBinContent(46,1241.429); h_SL2L366->SetBinContent(47,1075.714); h_SL2L366->SetBinContent(48,1080); h_SL2L366->SetBinContent(49,994.2858); h_SL2L366->SetBinContent(50,928.5715); h_SL2L366->SetBinContent(51,867.1429); h_SL2L366->SetBinContent(52,865.7143); h_SL2L366->SetBinContent(53,764.2857); h_SL2L366->SetBinContent(54,767.1429); h_SL2L366->SetBinContent(55,661.4286); h_SL2L366->SetBinContent(56,604.2857); h_SL2L366->SetBinContent(57,627.1429); h_SL2L366->SetMaximum(74651.43); 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,728.5715); h_SL2L467->SetBinContent(3,841.4286); h_SL2L467->SetBinContent(4,970); h_SL2L467->SetBinContent(5,1057.143); h_SL2L467->SetBinContent(6,964.2858); h_SL2L467->SetBinContent(7,1087.143); h_SL2L467->SetBinContent(8,1127.143); h_SL2L467->SetBinContent(9,1208.571); h_SL2L467->SetBinContent(10,1314.286); h_SL2L467->SetBinContent(11,1394.286); h_SL2L467->SetBinContent(12,1484.286); h_SL2L467->SetBinContent(13,1631.429); h_SL2L467->SetBinContent(14,1728.571); h_SL2L467->SetBinContent(15,1902.857); h_SL2L467->SetBinContent(16,1738.571); h_SL2L467->SetBinContent(17,1934.286); h_SL2L467->SetBinContent(18,1981.429); h_SL2L467->SetBinContent(19,2187.143); h_SL2L467->SetBinContent(20,2304.286); h_SL2L467->SetBinContent(21,2362.857); h_SL2L467->SetBinContent(22,2461.429); h_SL2L467->SetBinContent(23,2774.286); h_SL2L467->SetBinContent(24,3034.286); h_SL2L467->SetBinContent(25,4168.571); h_SL2L467->SetBinContent(26,17390); h_SL2L467->SetBinContent(27,34284.29); h_SL2L467->SetBinContent(28,45327.14); h_SL2L467->SetBinContent(29,51064.29); h_SL2L467->SetBinContent(30,52457.14); h_SL2L467->SetBinContent(31,50324.29); h_SL2L467->SetBinContent(32,50422.86); h_SL2L467->SetBinContent(33,51505.71); h_SL2L467->SetBinContent(34,42600); h_SL2L467->SetBinContent(35,14487.14); h_SL2L467->SetBinContent(36,5064.286); h_SL2L467->SetBinContent(37,3281.429); h_SL2L467->SetBinContent(38,2507.143); h_SL2L467->SetBinContent(39,2221.429); h_SL2L467->SetBinContent(40,1892.857); h_SL2L467->SetBinContent(41,1772.857); h_SL2L467->SetBinContent(42,2134.286); h_SL2L467->SetBinContent(43,1572.857); h_SL2L467->SetBinContent(44,1467.143); h_SL2L467->SetBinContent(45,1360); h_SL2L467->SetBinContent(46,1218.571); h_SL2L467->SetBinContent(47,1141.429); h_SL2L467->SetBinContent(48,1137.143); h_SL2L467->SetBinContent(49,1075.714); h_SL2L467->SetBinContent(50,924.2858); h_SL2L467->SetBinContent(51,837.1429); h_SL2L467->SetBinContent(52,902.8572); h_SL2L467->SetBinContent(53,777.1429); h_SL2L467->SetBinContent(54,772.8572); h_SL2L467->SetBinContent(55,702.8572); h_SL2L467->SetBinContent(56,642.8572); h_SL2L467->SetBinContent(57,580); h_SL2L467->SetMaximum(74651.43); 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.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("SL2, run 6541"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }