void RatesPerCell_Removing_noisy_cells_run_6598_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13134.01,67.5,118206.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6598",60,0,60); h_SL2L164->SetBinContent(1,789.3453); h_SL2L164->SetBinContent(2,959.4399); h_SL2L164->SetBinContent(3,1073.722); h_SL2L164->SetBinContent(4,1142.823); h_SL2L164->SetBinContent(5,1198.635); h_SL2L164->SetBinContent(6,1206.609); h_SL2L164->SetBinContent(7,1351.455); h_SL2L164->SetBinContent(8,1344.81); h_SL2L164->SetBinContent(9,1403.281); h_SL2L164->SetBinContent(10,1601.281); h_SL2L164->SetBinContent(11,1727.523); h_SL2L164->SetBinContent(12,1758.087); h_SL2L164->SetBinContent(13,1856.423); h_SL2L164->SetBinContent(14,2144.787); h_SL2L164->SetBinContent(15,2168.706); h_SL2L164->SetBinContent(16,2260.398); h_SL2L164->SetBinContent(17,2236.478); h_SL2L164->SetBinContent(18,2386.64); h_SL2L164->SetBinContent(19,2619.191); h_SL2L164->SetBinContent(20,2728.158); h_SL2L164->SetBinContent(21,2882.306); h_SL2L164->SetBinContent(22,3011.206); h_SL2L164->SetBinContent(23,3294.254); h_SL2L164->SetBinContent(24,3869.652); h_SL2L164->SetBinContent(25,8759.872); h_SL2L164->SetBinContent(26,27419.78); h_SL2L164->SetBinContent(27,41214.72); h_SL2L164->SetBinContent(28,48989.9); h_SL2L164->SetBinContent(29,52697.43); h_SL2L164->SetBinContent(30,52116.72); h_SL2L164->SetBinContent(31,50302.82); h_SL2L164->SetBinContent(32,50837.02); h_SL2L164->SetBinContent(33,49718.12); h_SL2L164->SetBinContent(34,28633.04); h_SL2L164->SetBinContent(36,4018.485); h_SL2L164->SetBinContent(37,9396.398); h_SL2L164->SetBinContent(38,5691.525); h_SL2L164->SetBinContent(39,7015.074); h_SL2L164->SetBinContent(40,51858.92); h_SL2L164->SetBinContent(41,79450.12); h_SL2L164->SetBinContent(42,14006.23); h_SL2L164->SetBinContent(43,13947.76); h_SL2L164->SetBinContent(44,14476.65); h_SL2L164->SetBinContent(45,1485.67); h_SL2L164->SetBinContent(46,1405.938); h_SL2L164->SetBinContent(47,1307.602); h_SL2L164->SetBinContent(48,1316.904); h_SL2L164->SetBinContent(49,1122.89); h_SL2L164->SetBinContent(50,1027.212); h_SL2L164->SetBinContent(51,1053.789); h_SL2L164->SetBinContent(52,948.809); h_SL2L164->SetBinContent(53,935.5203); h_SL2L164->SetBinContent(54,774.7278); h_SL2L164->SetBinContent(55,705.6268); h_SL2L164->SetBinContent(56,679.0496); h_SL2L164->SetBinContent(57,6896.805); h_SL2L164->SetMaximum(105072); 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,732.2041); h_SL2L265->SetBinContent(2,874.3926); h_SL2L265->SetBinContent(3,916.9162); h_SL2L265->SetBinContent(4,1146.81); h_SL2L265->SetBinContent(5,1190.662); h_SL2L265->SetBinContent(6,1142.823); h_SL2L265->SetBinContent(7,1273.052); h_SL2L265->SetBinContent(8,1316.904); h_SL2L265->SetBinContent(9,1324.878); h_SL2L265->SetBinContent(10,1498.959); h_SL2L265->SetBinContent(11,1595.966); h_SL2L265->SetBinContent(12,1785.993); h_SL2L265->SetBinContent(13,1776.691); h_SL2L265->SetBinContent(14,1965.39); h_SL2L265->SetBinContent(15,2130.169); h_SL2L265->SetBinContent(16,2181.995); h_SL2L265->SetBinContent(17,2207.243); h_SL2L265->SetBinContent(18,2292.291); h_SL2L265->SetBinContent(19,2484.976); h_SL2L265->SetBinContent(20,2664.373); h_SL2L265->SetBinContent(21,2768.024); h_SL2L265->SetBinContent(22,2926.159); h_SL2L265->SetBinContent(23,3113.529); h_SL2L265->SetBinContent(24,3457.704); h_SL2L265->SetBinContent(25,4453.023); h_SL2L265->SetBinContent(26,17762.93); h_SL2L265->SetBinContent(27,34647.47); h_SL2L265->SetBinContent(28,46015.91); h_SL2L265->SetBinContent(29,51316.75); h_SL2L265->SetBinContent(30,52427.68); h_SL2L265->SetBinContent(31,50553.98); h_SL2L265->SetBinContent(32,50211.13); h_SL2L265->SetBinContent(33,51307.44); h_SL2L265->SetBinContent(34,42361.53); h_SL2L265->SetBinContent(35,15254.03); h_SL2L265->SetBinContent(36,5213.134); h_SL2L265->SetBinContent(37,3591.92); h_SL2L265->SetBinContent(38,3065.689); h_SL2L265->SetBinContent(39,4090.244); h_SL2L265->SetBinContent(40,5352.665); h_SL2L265->SetBinContent(41,3877.625); h_SL2L265->SetBinContent(42,3849.719); h_SL2L265->SetBinContent(43,2671.017); h_SL2L265->SetBinContent(44,3912.176); h_SL2L265->SetBinContent(45,1496.301); h_SL2L265->SetBinContent(46,1452.448); h_SL2L265->SetBinContent(47,1314.247); h_SL2L265->SetBinContent(48,1237.172); h_SL2L265->SetBinContent(49,1181.36); h_SL2L265->SetBinContent(50,1084.353); h_SL2L265->SetBinContent(51,1016.581); h_SL2L265->SetBinContent(52,958.111); h_SL2L265->SetBinContent(53,936.8492); h_SL2L265->SetBinContent(54,790.6741); h_SL2L265->SetBinContent(55,749.4794); h_SL2L265->SetBinContent(56,716.2578); h_SL2L265->SetBinContent(57,700.3114); h_SL2L265->SetMaximum(91367.64); 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,786.6876); h_SL2L366->SetBinContent(2,928.876); h_SL2L366->SetBinContent(3,1055.118); h_SL2L366->SetBinContent(4,1097.642); h_SL2L366->SetBinContent(5,1161.427); h_SL2L366->SetBinContent(6,1234.515); h_SL2L366->SetBinContent(7,1296.971); h_SL2L366->SetBinContent(8,1277.038); h_SL2L366->SetBinContent(9,1339.495); h_SL2L366->SetBinContent(10,1506.932); h_SL2L366->SetBinContent(11,1669.053); h_SL2L366->SetBinContent(12,1743.47); h_SL2L366->SetBinContent(13,1795.295); h_SL2L366->SetBinContent(14,2086.317); h_SL2L366->SetBinContent(15,2148.773); h_SL2L366->SetBinContent(16,2160.733); h_SL2L366->SetBinContent(17,2168.706); h_SL2L366->SetBinContent(18,2306.908); h_SL2L366->SetBinContent(19,2536.802); h_SL2L366->SetBinContent(20,2633.809); h_SL2L366->SetBinContent(21,2795.93); h_SL2L366->SetBinContent(22,2931.474); h_SL2L366->SetBinContent(23,3113.529); h_SL2L366->SetBinContent(24,3727.464); h_SL2L366->SetBinContent(25,8706.718); h_SL2L366->SetBinContent(26,27387.89); h_SL2L366->SetBinContent(27,40818.72); h_SL2L366->SetBinContent(28,49020.47); h_SL2L366->SetBinContent(29,52221.7); h_SL2L366->SetBinContent(30,51882.84); h_SL2L366->SetBinContent(31,50553.98); h_SL2L366->SetBinContent(32,50995.16); h_SL2L366->SetBinContent(33,49575.93); h_SL2L366->SetBinContent(34,28690.18); h_SL2L366->SetBinContent(35,7807.077); h_SL2L366->SetBinContent(36,4071.64); h_SL2L366->SetBinContent(37,3114.857); h_SL2L366->SetBinContent(38,2729.487); h_SL2L366->SetBinContent(39,2296.277); h_SL2L366->SetBinContent(40,4039.747); h_SL2L366->SetBinContent(41,2508.896); h_SL2L366->SetBinContent(42,1997.283); h_SL2L366->SetBinContent(43,1708.919); h_SL2L366->SetBinContent(44,1657.094); h_SL2L366->SetBinContent(45,1432.516); h_SL2L366->SetBinContent(46,1420.556); h_SL2L366->SetBinContent(47,1242.488); h_SL2L366->SetBinContent(48,1253.119); h_SL2L366->SetBinContent(49,1145.481); h_SL2L366->SetBinContent(50,997.9769); h_SL2L366->SetBinContent(51,1032.527); h_SL2L366->SetBinContent(52,870.406); h_SL2L366->SetBinContent(53,889.0101); h_SL2L366->SetBinContent(54,769.4123); h_SL2L366->SetBinContent(55,736.1907); h_SL2L366->SetBinContent(56,685.6938); h_SL2L366->SetBinContent(57,716.2578); h_SL2L366->SetMaximum(91367.64); 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,865.0905); h_SL2L467->SetBinContent(3,932.8626); h_SL2L467->SetBinContent(4,1068.407); h_SL2L467->SetBinContent(5,1158.77); h_SL2L467->SetBinContent(6,1110.93); h_SL2L467->SetBinContent(7,1239.83); h_SL2L467->SetBinContent(8,1214.582); h_SL2L467->SetBinContent(9,1340.824); h_SL2L467->SetBinContent(10,1441.818); h_SL2L467->SetBinContent(11,1532.18); h_SL2L467->SetBinContent(12,1654.436); h_SL2L467->SetBinContent(13,1675.698); h_SL2L467->SetBinContent(14,1920.209); h_SL2L467->SetBinContent(15,2078.344); h_SL2L467->SetBinContent(16,2148.773); h_SL2L467->SetBinContent(17,2140.8); h_SL2L467->SetBinContent(18,2189.968); h_SL2L467->SetBinContent(19,2418.533); h_SL2L467->SetBinContent(20,2575.339); h_SL2L467->SetBinContent(21,2645.768); h_SL2L467->SetBinContent(22,2837.125); h_SL2L467->SetBinContent(23,3001.904); h_SL2L467->SetBinContent(24,3376.644); h_SL2L467->SetBinContent(25,4317.479); h_SL2L467->SetBinContent(26,17680.54); h_SL2L467->SetBinContent(27,34821.55); h_SL2L467->SetBinContent(28,45665.09); h_SL2L467->SetBinContent(29,51465.58); h_SL2L467->SetBinContent(30,52911.38); h_SL2L467->SetBinContent(31,50666.93); h_SL2L467->SetBinContent(32,50463.61); h_SL2L467->SetBinContent(33,51310.1); h_SL2L467->SetBinContent(34,42374.82); h_SL2L467->SetBinContent(35,15297.88); h_SL2L467->SetBinContent(36,5101.509); h_SL2L467->SetBinContent(37,3419.167); h_SL2L467->SetBinContent(38,2876.991); h_SL2L467->SetBinContent(39,2466.372); h_SL2L467->SetBinContent(40,2055.753); h_SL2L467->SetBinContent(41,1997.283); h_SL2L467->SetBinContent(42,2322.854); h_SL2L467->SetBinContent(43,1751.443); h_SL2L467->SetBinContent(44,1514.905); h_SL2L467->SetBinContent(45,1392.65); h_SL2L467->SetBinContent(46,1411.254); h_SL2L467->SetBinContent(47,1267.736); h_SL2L467->SetBinContent(48,1207.938); h_SL2L467->SetBinContent(49,1182.689); h_SL2L467->SetBinContent(50,1057.776); h_SL2L467->SetBinContent(51,983.3594); h_SL2L467->SetBinContent(52,878.3792); h_SL2L467->SetBinContent(53,895.6544); h_SL2L467->SetBinContent(54,810.6071); h_SL2L467->SetBinContent(55,734.8618); h_SL2L467->SetBinContent(56,704.298); h_SL2L467->SetBinContent(57,667.0898); h_SL2L467->SetMaximum(91367.64); 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 6598"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }