void RatesPerCell_Removing_noisy_cells_run_6792_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11972.94,67.5,107756.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 6792",60,0,60); h_SL3L168->SetBinContent(1,2631.371); h_SL3L168->SetBinContent(2,1885.239); h_SL3L168->SetBinContent(4,3046.851); h_SL3L168->SetBinContent(5,2974.142); h_SL3L168->SetBinContent(6,3280.558); h_SL3L168->SetBinContent(7,3270.171); h_SL3L168->SetBinContent(8,3318.644); h_SL3L168->SetBinContent(9,2970.68); h_SL3L168->SetBinContent(10,2799.294); h_SL3L168->SetBinContent(11,2920.476); h_SL3L168->SetBinContent(12,2946.443); h_SL3L168->SetBinContent(13,3062.431); h_SL3L168->SetBinContent(14,3233.817); h_SL3L168->SetBinContent(15,3245.935); h_SL3L168->SetBinContent(16,3271.902); h_SL3L168->SetBinContent(17,3258.053); h_SL3L168->SetBinContent(18,3408.665); h_SL3L168->SetBinContent(19,3445.019); h_SL3L168->SetBinContent(20,3761.822); h_SL3L168->SetBinContent(21,3772.209); h_SL3L168->SetBinContent(22,4033.615); h_SL3L168->SetBinContent(23,4172.108); h_SL3L168->SetBinContent(24,4326.182); h_SL3L168->SetBinContent(25,4334.838); h_SL3L168->SetBinContent(26,4544.309); h_SL3L168->SetBinContent(27,4462.944); h_SL3L168->SetBinContent(28,4739.931); h_SL3L168->SetBinContent(29,4928.627); h_SL3L168->SetBinContent(30,5678.222); h_SL3L168->SetBinContent(31,5989.832); h_SL3L168->SetBinContent(32,7167.024); h_SL3L168->SetBinContent(33,11560.72); h_SL3L168->SetBinContent(34,41260.59); h_SL3L168->SetBinContent(35,59974.49); h_SL3L168->SetBinContent(36,64532.65); h_SL3L168->SetBinContent(37,69977.16); h_SL3L168->SetBinContent(38,72426.77); h_SL3L168->SetBinContent(39,65540.19); h_SL3L168->SetBinContent(40,43246.24); h_SL3L168->SetBinContent(41,11382.41); h_SL3L168->SetBinContent(42,7199.917); h_SL3L168->SetBinContent(43,5950.015); h_SL3L168->SetBinContent(44,5404.698); h_SL3L168->SetBinContent(45,4961.52); h_SL3L168->SetBinContent(46,4452.557); h_SL3L168->SetBinContent(47,4623.942); h_SL3L168->SetBinContent(48,4414.472); h_SL3L168->SetBinContent(49,4158.259); h_SL3L168->SetBinContent(50,4016.303); h_SL3L168->SetBinContent(51,3945.326); h_SL3L168->SetBinContent(52,3812.026); h_SL3L168->SetBinContent(53,3682.188); h_SL3L168->SetBinContent(54,3434.632); h_SL3L168->SetBinContent(55,3606.017); h_SL3L168->SetBinContent(56,3432.901); h_SL3L168->SetBinContent(57,3219.968); h_SL3L168->SetBinContent(58,2754.284); h_SL3L168->SetBinContent(59,2442.674); h_SL3L168->SetMaximum(95783.5); 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,2532.695); h_SL3L269->SetBinContent(2,1966.604); h_SL3L269->SetBinContent(4,2627.909); h_SL3L269->SetBinContent(5,2977.604); h_SL3L269->SetBinContent(6,3095.323); h_SL3L269->SetBinContent(7,3140.334); h_SL3L269->SetBinContent(8,3024.346); h_SL3L269->SetBinContent(9,3052.044); h_SL3L269->SetBinContent(10,2865.079); h_SL3L269->SetBinContent(11,2683.306); h_SL3L269->SetBinContent(12,2700.618); h_SL3L269->SetBinContent(13,2839.111); h_SL3L269->SetBinContent(14,3102.248); h_SL3L269->SetBinContent(15,3062.431); h_SL3L269->SetBinContent(16,3187.075); h_SL3L269->SetBinContent(17,3174.957); h_SL3L269->SetBinContent(18,3233.817); h_SL3L269->SetBinContent(19,3199.193); h_SL3L269->SetBinContent(20,3540.233); h_SL3L269->SetBinContent(21,3611.211); h_SL3L269->SetBinContent(22,3836.262); h_SL3L269->SetBinContent(23,3860.499); h_SL3L269->SetBinContent(24,4068.239); h_SL3L269->SetBinContent(25,4291.559); h_SL3L269->SetBinContent(26,4381.58); h_SL3L269->SetBinContent(27,4308.871); h_SL3L269->SetBinContent(28,4265.591); h_SL3L269->SetBinContent(29,4790.134); h_SL3L269->SetBinContent(30,4958.058); h_SL3L269->SetBinContent(31,5718.039); h_SL3L269->SetBinContent(32,6145.637); h_SL3L269->SetBinContent(33,8993.403); h_SL3L269->SetBinContent(34,21374.7); h_SL3L269->SetBinContent(35,54478.04); h_SL3L269->SetBinContent(36,61731.62); h_SL3L269->SetBinContent(37,66618.7); h_SL3L269->SetBinContent(38,71040.1); h_SL3L269->SetBinContent(39,69753.84); h_SL3L269->SetBinContent(40,58002.69); h_SL3L269->SetBinContent(41,22248.94); h_SL3L269->SetBinContent(42,9341.368); h_SL3L269->SetBinContent(43,6072.928); h_SL3L269->SetBinContent(44,5377); h_SL3L269->SetBinContent(45,4909.585); h_SL3L269->SetBinContent(46,4443.901); h_SL3L269->SetBinContent(47,4443.901); h_SL3L269->SetBinContent(48,4376.386); h_SL3L269->SetBinContent(49,5396.042); h_SL3L269->SetBinContent(50,3912.434); h_SL3L269->SetBinContent(51,3872.617); h_SL3L269->SetBinContent(52,4071.701); h_SL3L269->SetBinContent(53,5711.114); h_SL3L269->SetBinContent(54,3445.019); h_SL3L269->SetBinContent(55,3370.579); h_SL3L269->SetBinContent(56,3592.168); h_SL3L269->SetBinContent(57,3219.968); h_SL3L269->SetBinContent(58,2930.863); h_SL3L269->SetBinContent(59,2484.222); h_SL3L269->SetMaximum(83290.78); 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,2110.291); h_SL3L370->SetBinContent(2,1729.434); h_SL3L370->SetBinContent(3,2177.806); h_SL3L370->SetBinContent(4,2771.596); h_SL3L370->SetBinContent(5,2948.175); h_SL3L370->SetBinContent(6,3029.539); h_SL3L370->SetBinContent(7,2856.423); h_SL3L370->SetBinContent(8,3074.55); h_SL3L370->SetBinContent(9,2775.058); h_SL3L370->SetBinContent(10,2610.597); h_SL3L370->SetBinContent(11,2605.404); h_SL3L370->SetBinContent(12,2678.113); h_SL3L370->SetBinContent(13,2840.842); h_SL3L370->SetBinContent(14,3083.205); h_SL3L370->SetBinContent(15,3017.421); h_SL3L370->SetBinContent(16,3027.808); h_SL3L370->SetBinContent(17,2977.604); h_SL3L370->SetBinContent(18,3069.356); h_SL3L370->SetBinContent(19,3185.344); h_SL3L370->SetBinContent(20,3316.913); h_SL3L370->SetBinContent(21,3398.277); h_SL3L370->SetBinContent(22,3825.875); h_SL3L370->SetBinContent(23,3851.843); h_SL3L370->SetBinContent(24,3934.939); h_SL3L370->SetBinContent(25,4026.69); h_SL3L370->SetBinContent(26,4206.731); h_SL3L370->SetBinContent(27,4165.184); h_SL3L370->SetBinContent(28,4341.763); h_SL3L370->SetBinContent(29,4667.222); h_SL3L370->SetBinContent(30,5046.347); h_SL3L370->SetBinContent(31,5802.866); h_SL3L370->SetBinContent(32,6765.394); h_SL3L370->SetBinContent(33,11366.83); h_SL3L370->SetBinContent(34,40465.99); h_SL3L370->SetBinContent(35,59219.7); h_SL3L370->SetBinContent(36,63883.46); h_SL3L370->SetBinContent(37,69109.85); h_SL3L370->SetBinContent(38,71304.97); h_SL3L370->SetBinContent(39,65058.92); h_SL3L370->SetBinContent(40,42763.25); h_SL3L370->SetBinContent(41,11273.35); h_SL3L370->SetBinContent(42,6853.684); h_SL3L370->SetBinContent(43,5543.191); h_SL3L370->SetBinContent(44,4862.843); h_SL3L370->SetBinContent(45,297.7604); h_SL3L370->SetBinContent(46,4314.064); h_SL3L370->SetBinContent(47,4229.237); h_SL3L370->SetBinContent(48,4005.917); h_SL3L370->SetBinContent(49,3870.885); h_SL3L370->SetBinContent(50,3754.897); h_SL3L370->SetBinContent(51,3701.231); h_SL3L370->SetBinContent(52,3619.867); h_SL3L370->SetBinContent(53,3427.707); h_SL3L370->SetBinContent(54,3282.289); h_SL3L370->SetBinContent(55,3202.656); h_SL3L370->SetBinContent(56,3152.452); h_SL3L370->SetBinContent(57,2953.368); h_SL3L370->SetBinContent(58,2534.426); h_SL3L370->SetBinContent(59,2413.244); h_SL3L370->SetMaximum(83290.78); 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,1693.08); h_SL3L471->SetBinContent(3,1805.605); h_SL3L471->SetBinContent(4,2437.481); h_SL3L471->SetBinContent(5,2607.135); h_SL3L471->SetBinContent(6,2809.681); h_SL3L471->SetBinContent(7,2806.219); h_SL3L471->SetBinContent(8,2799.294); h_SL3L471->SetBinContent(9,2650.414); h_SL3L471->SetBinContent(10,2518.845); h_SL3L471->SetBinContent(11,2560.394); h_SL3L471->SetBinContent(12,2461.717); h_SL3L471->SetBinContent(13,2685.037); h_SL3L471->SetBinContent(14,2835.649); h_SL3L471->SetBinContent(15,2884.121); h_SL3L471->SetBinContent(16,2958.562); h_SL3L471->SetBinContent(17,2965.486); h_SL3L471->SetBinContent(18,3152.452); h_SL3L471->SetBinContent(19,3046.851); h_SL3L471->SetBinContent(20,3150.721); h_SL3L471->SetBinContent(21,3372.31); h_SL3L471->SetBinContent(22,3548.889); h_SL3L471->SetBinContent(23,3495.223); h_SL3L471->SetBinContent(24,3803.37); h_SL3L471->SetBinContent(25,3806.833); h_SL3L471->SetBinContent(26,4135.754); h_SL3L471->SetBinContent(27,4028.422); h_SL3L471->SetBinContent(28,3940.132); h_SL3L471->SetBinContent(29,4407.547); h_SL3L471->SetBinContent(30,4750.317); h_SL3L471->SetBinContent(31,5297.366); h_SL3L471->SetBinContent(32,5761.318); h_SL3L471->SetBinContent(33,8695.644); h_SL3L471->SetBinContent(34,21106.37); h_SL3L471->SetBinContent(35,54661.54); h_SL3L471->SetBinContent(36,61537.73); h_SL3L471->SetBinContent(37,66604.85); h_SL3L471->SetBinContent(38,70917.19); h_SL3L471->SetBinContent(39,69421.46); h_SL3L471->SetBinContent(40,57775.91); h_SL3L471->SetBinContent(41,22119.1); h_SL3L471->SetBinContent(42,9092.08); h_SL3L471->SetBinContent(43,5885.962); h_SL3L471->SetBinContent(44,4996.143); h_SL3L471->SetBinContent(45,4743.393); h_SL3L471->SetBinContent(46,4258.667); h_SL3L471->SetBinContent(47,4014.572); h_SL3L471->SetBinContent(48,4005.917); h_SL3L471->SetBinContent(49,3834.531); h_SL3L471->SetBinContent(50,3583.512); h_SL3L471->SetBinContent(51,3602.555); h_SL3L471->SetBinContent(52,3309.988); h_SL3L471->SetBinContent(53,3393.084); h_SL3L471->SetBinContent(54,3365.385); h_SL3L471->SetBinContent(55,3038.195); h_SL3L471->SetBinContent(56,3034.733); h_SL3L471->SetBinContent(57,3019.152); h_SL3L471->SetBinContent(58,2769.865); h_SL3L471->SetBinContent(59,2449.599); h_SL3L471->SetMaximum(83290.78); 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 6792"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }