void RatesPerCell_Removing_noisy_cells_run_6493_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:34:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13028.49,67.5,117256.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6493",60,0,60); h_SL3L168->SetBinContent(1,220.7021); h_SL3L168->SetBinContent(2,227.9146); h_SL3L168->SetBinContent(4,248.1095); h_SL3L168->SetBinContent(5,279.8445); h_SL3L168->SetBinContent(6,253.8795); h_SL3L168->SetBinContent(7,287.7782); h_SL3L168->SetBinContent(8,279.1232); h_SL3L168->SetBinContent(9,302.9244); h_SL3L168->SetBinContent(10,349.8056); h_SL3L168->SetBinContent(11,357.7393); h_SL3L168->SetBinContent(12,434.9129); h_SL3L168->SetBinContent(13,473.1391); h_SL3L168->SetBinContent(14,551.0339); h_SL3L168->SetBinContent(15,608.7338); h_SL3L168->SetBinContent(16,647.6813); h_SL3L168->SetBinContent(17,726.2974); h_SL3L168->SetBinContent(18,723.4124); h_SL3L168->SetBinContent(19,814.2897); h_SL3L168->SetBinContent(20,913.1008); h_SL3L168->SetBinContent(21,991.7169); h_SL3L168->SetBinContent(22,1103.51); h_SL3L168->SetBinContent(23,1187.175); h_SL3L168->SetBinContent(24,1316.279); h_SL3L168->SetBinContent(25,1368.93); h_SL3L168->SetBinContent(26,1529.768); h_SL3L168->SetBinContent(27,1774.993); h_SL3L168->SetBinContent(28,1984.876); h_SL3L168->SetBinContent(29,2320.257); h_SL3L168->SetBinContent(30,2700.355); h_SL3L168->SetBinContent(31,3222.539); h_SL3L168->SetBinContent(32,4350.572); h_SL3L168->SetBinContent(33,7789.485); h_SL3L168->SetBinContent(34,31741.43); h_SL3L168->SetBinContent(35,52205.42); h_SL3L168->SetBinContent(36,66164.46); h_SL3L168->SetBinContent(37,76990.41); h_SL3L168->SetBinContent(38,76407.64); h_SL3L168->SetBinContent(39,61267.19); h_SL3L168->SetBinContent(40,33619.56); h_SL3L168->SetBinContent(41,8165.256); h_SL3L168->SetBinContent(42,4908.818); h_SL3L168->SetBinContent(43,3674.041); h_SL3L168->SetBinContent(44,3140.316); h_SL3L168->SetBinContent(45,2762.382); h_SL3L168->SetBinContent(46,2506.339); h_SL3L168->SetBinContent(47,2381.563); h_SL3L168->SetBinContent(48,2199.808); h_SL3L168->SetBinContent(49,22500.79); h_SL3L168->SetBinContent(50,1859.379); h_SL3L168->SetBinContent(51,1888.229); h_SL3L168->SetBinContent(52,1653.823); h_SL3L168->SetBinContent(53,1588.189); h_SL3L168->SetBinContent(54,1494.427); h_SL3L168->SetBinContent(55,1451.152); h_SL3L168->SetBinContent(56,1399.222); h_SL3L168->SetBinContent(57,1379.027); h_SL3L168->SetBinContent(58,1200.158); h_SL3L168->SetBinContent(59,1106.395); h_SL3L168->SetMaximum(104227.9); 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,224.3083); h_SL3L269->SetBinContent(2,219.2596); h_SL3L269->SetBinContent(4,241.6183); h_SL3L269->SetBinContent(5,247.3883); h_SL3L269->SetBinContent(6,273.3532); h_SL3L269->SetBinContent(7,274.0745); h_SL3L269->SetBinContent(8,285.6144); h_SL3L269->SetBinContent(9,281.287); h_SL3L269->SetBinContent(10,338.9868); h_SL3L269->SetBinContent(11,371.4431); h_SL3L269->SetBinContent(12,393.8018); h_SL3L269->SetBinContent(13,457.9929); h_SL3L269->SetBinContent(14,500.5465); h_SL3L269->SetBinContent(15,584.9326); h_SL3L269->SetBinContent(16,625.3226); h_SL3L269->SetBinContent(17,657.7787); h_SL3L269->SetBinContent(18,690.9562); h_SL3L269->SetBinContent(19,751.5411); h_SL3L269->SetBinContent(20,805.6347); h_SL3L269->SetBinContent(21,928.9683); h_SL3L269->SetBinContent(22,997.4869); h_SL3L269->SetBinContent(23,1126.59); h_SL3L269->SetBinContent(24,1228.286); h_SL3L269->SetBinContent(25,1322.049); h_SL3L269->SetBinContent(26,1415.09); h_SL3L269->SetBinContent(27,1701.426); h_SL3L269->SetBinContent(28,1800.958); h_SL3L269->SetBinContent(29,2148.6); h_SL3L269->SetBinContent(30,2445.754); h_SL3L269->SetBinContent(31,2889.322); h_SL3L269->SetBinContent(32,3441.077); h_SL3L269->SetBinContent(33,6039.736); h_SL3L269->SetBinContent(34,15687.16); h_SL3L269->SetBinContent(35,44102.19); h_SL3L269->SetBinContent(36,59402.76); h_SL3L269->SetBinContent(37,71959.7); h_SL3L269->SetBinContent(38,78569.22); h_SL3L269->SetBinContent(39,70399.63); h_SL3L269->SetBinContent(40,49491.36); h_SL3L269->SetBinContent(41,16166.79); h_SL3L269->SetBinContent(42,6512.875); h_SL3L269->SetBinContent(43,3958.934); h_SL3L269->SetBinContent(44,3265.093); h_SL3L269->SetBinContent(45,2824.41); h_SL3L269->SetBinContent(46,2608.756); h_SL3L269->SetBinContent(47,2393.824); h_SL3L269->SetBinContent(48,2222.167); h_SL3L269->SetBinContent(49,2079.36); h_SL3L269->SetBinContent(50,1888.95); h_SL3L269->SetBinContent(51,1764.895); h_SL3L269->SetBinContent(52,1786.533); h_SL3L269->SetBinContent(53,1550.685); h_SL3L269->SetBinContent(54,1542.751); h_SL3L269->SetBinContent(55,1412.926); h_SL3L269->SetBinContent(56,1396.337); h_SL3L269->SetBinContent(57,1372.536); h_SL3L269->SetBinContent(58,1280.216); h_SL3L269->SetBinContent(59,1142.458); h_SL3L269->SetMaximum(90633.3); 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,218.5383); h_SL3L370->SetBinContent(2,245.2245); h_SL3L370->SetBinContent(3,249.552); h_SL3L370->SetBinContent(4,235.8483); h_SL3L370->SetBinContent(5,263.2557); h_SL3L370->SetBinContent(6,244.5033); h_SL3L370->SetBinContent(7,292.8269); h_SL3L370->SetBinContent(8,278.402); h_SL3L370->SetBinContent(9,307.2519); h_SL3L370->SetBinContent(10,337.5444); h_SL3L370->SetBinContent(11,371.4431); h_SL3L370->SetBinContent(12,442.1254); h_SL3L370->SetBinContent(13,446.4529); h_SL3L370->SetBinContent(14,526.5115); h_SL3L370->SetBinContent(15,587.0964); h_SL3L370->SetBinContent(16,649.845); h_SL3L370->SetBinContent(17,688.7924); h_SL3L370->SetBinContent(18,687.3499); h_SL3L370->SetBinContent(19,763.0811); h_SL3L370->SetBinContent(20,883.5295); h_SL3L370->SetBinContent(21,932.5745); h_SL3L370->SetBinContent(22,1071.776); h_SL3L370->SetBinContent(23,1159.047); h_SL3L370->SetBinContent(24,1278.053); h_SL3L370->SetBinContent(25,1344.407); h_SL3L370->SetBinContent(26,1522.556); h_SL3L370->SetBinContent(27,1719.457); h_SL3L370->SetBinContent(28,1937.995); h_SL3L370->SetBinContent(29,2209.906); h_SL3L370->SetBinContent(30,2557.548); h_SL3L370->SetBinContent(31,3110.745); h_SL3L370->SetBinContent(32,4235.172); h_SL3L370->SetBinContent(33,7686.347); h_SL3L370->SetBinContent(34,31558.23); h_SL3L370->SetBinContent(35,52133.29); h_SL3L370->SetBinContent(36,66164.46); h_SL3L370->SetBinContent(37,76655.02); h_SL3L370->SetBinContent(38,76176.84); h_SL3L370->SetBinContent(39,61190.01); h_SL3L370->SetBinContent(40,33563.3); h_SL3L370->SetBinContent(41,8094.573); h_SL3L370->SetBinContent(42,4732.833); h_SL3L370->SetBinContent(43,3513.923); h_SL3L370->SetBinContent(44,3000.394); h_SL3L370->SetBinContent(45,2565.481); h_SL3L370->SetBinContent(46,2457.294); h_SL3L370->SetBinContent(47,2258.229); h_SL3L370->SetBinContent(48,2090.178); h_SL3L370->SetBinContent(49,1962.517); h_SL3L370->SetBinContent(50,1800.958); h_SL3L370->SetBinContent(51,1786.533); h_SL3L370->SetBinContent(52,1617.039); h_SL3L370->SetBinContent(53,1498.755); h_SL3L370->SetBinContent(54,1447.546); h_SL3L370->SetBinContent(55,1397.059); h_SL3L370->SetBinContent(56,1323.491); h_SL3L370->SetBinContent(57,1375.421); h_SL3L370->SetBinContent(58,1198.715); h_SL3L370->SetBinContent(59,1107.838); h_SL3L370->SetMaximum(90633.3); 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,209.8833); h_SL3L471->SetBinContent(3,245.2245); h_SL3L471->SetBinContent(4,246.667); h_SL3L471->SetBinContent(5,240.1758); h_SL3L471->SetBinContent(6,289.2207); h_SL3L471->SetBinContent(7,285.6144); h_SL3L471->SetBinContent(8,289.2207); h_SL3L471->SetBinContent(9,274.0745); h_SL3L471->SetBinContent(10,337.5444); h_SL3L471->SetBinContent(11,362.0668); h_SL3L471->SetBinContent(12,420.4879); h_SL3L471->SetBinContent(13,450.0591); h_SL3L471->SetBinContent(14,494.0553); h_SL3L471->SetBinContent(15,551.7552); h_SL3L471->SetBinContent(16,621.7163); h_SL3L471->SetBinContent(17,669.3187); h_SL3L471->SetBinContent(18,714.7574); h_SL3L471->SetBinContent(19,743.6074); h_SL3L471->SetBinContent(20,813.5685); h_SL3L471->SetBinContent(21,942.6719); h_SL3L471->SetBinContent(22,1011.191); h_SL3L471->SetBinContent(23,1128.033); h_SL3L471->SetBinContent(24,1230.45); h_SL3L471->SetBinContent(25,1311.951); h_SL3L471->SetBinContent(26,1433.121); h_SL3L471->SetBinContent(27,1667.527); h_SL3L471->SetBinContent(28,1768.502); h_SL3L471->SetBinContent(29,2036.085); h_SL3L471->SetBinContent(30,2388.054); h_SL3L471->SetBinContent(31,2803.493); h_SL3L471->SetBinContent(32,3362.461); h_SL3L471->SetBinContent(33,5888.274); h_SL3L471->SetBinContent(34,15675.62); h_SL3L471->SetBinContent(35,44322.17); h_SL3L471->SetBinContent(36,59295.29); h_SL3L471->SetBinContent(37,72093.12); h_SL3L471->SetBinContent(38,78811.56); h_SL3L471->SetBinContent(39,70305.16); h_SL3L471->SetBinContent(40,49517.32); h_SL3L471->SetBinContent(41,16192.03); h_SL3L471->SetBinContent(42,6383.05); h_SL3L471->SetBinContent(43,3874.548); h_SL3L471->SetBinContent(44,3150.414); h_SL3L471->SetBinContent(45,2713.337); h_SL3L471->SetBinContent(46,2524.37); h_SL3L471->SetBinContent(47,2351.992); h_SL3L471->SetBinContent(48,2152.927); h_SL3L471->SetBinContent(49,1988.482); h_SL3L471->SetBinContent(50,1864.428); h_SL3L471->SetBinContent(51,1718.014); h_SL3L471->SetBinContent(52,1728.112); h_SL3L471->SetBinContent(53,1500.918); h_SL3L471->SetBinContent(54,1469.905); h_SL3L471->SetBinContent(55,1384.797); h_SL3L471->SetBinContent(56,1354.505); h_SL3L471->SetBinContent(57,1314.836); h_SL3L471->SetBinContent(58,1279.495); h_SL3L471->SetBinContent(59,1135.245); h_SL3L471->SetMaximum(90633.3); 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 6493"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }