void RatesPerCell_Removing_noisy_cells_run_6791_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:54 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12027.85,67.5,108250.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6791",60,0,60); h_SL1L160->SetBinContent(1,4975.751); h_SL1L160->SetBinContent(2,4906.091); h_SL1L160->SetBinContent(3,4959.166); h_SL1L160->SetBinContent(4,4879.554); h_SL1L160->SetBinContent(5,4939.263); h_SL1L160->SetBinContent(6,5198.002); h_SL1L160->SetBinContent(7,5088.535); h_SL1L160->SetBinContent(8,5035.46); h_SL1L160->SetBinContent(9,4577.691); h_SL1L160->SetBinContent(10,4279.146); h_SL1L160->SetBinContent(11,4395.247); h_SL1L160->SetBinContent(12,4557.789); h_SL1L160->SetBinContent(13,5095.17); h_SL1L160->SetBinContent(14,5035.46); h_SL1L160->SetBinContent(15,4942.58); h_SL1L160->SetBinContent(16,4650.669); h_SL1L160->SetBinContent(17,5164.83); h_SL1L160->SetBinContent(18,5363.86); h_SL1L160->SetBinContent(19,5675.674); h_SL1L160->SetBinContent(20,5685.625); h_SL1L160->SetBinContent(21,6087.003); h_SL1L160->SetBinContent(22,5990.805); h_SL1L160->SetBinContent(23,6146.712); h_SL1L160->SetBinContent(24,6004.074); h_SL1L160->SetBinContent(25,6259.496); h_SL1L160->SetBinContent(26,5798.409); h_SL1L160->SetBinContent(27,6650.921); h_SL1L160->SetBinContent(28,6932.881); h_SL1L160->SetBinContent(29,7015.81); h_SL1L160->SetBinContent(30,7364.112); h_SL1L160->SetBinContent(31,8103.841); h_SL1L160->SetBinContent(32,11228.61); h_SL1L160->SetBinContent(33,36777.44); h_SL1L160->SetBinContent(34,52942); h_SL1L160->SetBinContent(35,56939.18); h_SL1L160->SetBinContent(36,58989.2); h_SL1L160->SetBinContent(37,64515.6); h_SL1L160->SetBinContent(38,60077.23); h_SL1L160->SetBinContent(39,38575.34); h_SL1L160->SetBinContent(40,11520.52); h_SL1L160->SetBinContent(41,8246.479); h_SL1L160->SetBinContent(42,7450.359); h_SL1L160->SetBinContent(43,6833.366); h_SL1L160->SetBinContent(44,6418.72); h_SL1L160->SetBinContent(45,5818.312); h_SL1L160->SetBinContent(46,5516.45); h_SL1L160->SetBinContent(47,5559.573); h_SL1L160->SetBinContent(48,5121.707); h_SL1L160->SetBinContent(49,5008.923); h_SL1L160->SetBinContent(50,5002.289); h_SL1L160->SetBinContent(51,4644.035); h_SL1L160->SetBinContent(52,4736.916); h_SL1L160->SetBinContent(53,4819.845); h_SL1L160->SetBinContent(54,4282.463); h_SL1L160->SetBinContent(55,4352.124); h_SL1L160->SetBinContent(56,4302.367); h_SL1L160->SetBinContent(57,4594.277); h_SL1L160->SetBinContent(58,4544.52); h_SL1L160->SetBinContent(59,4508.031); h_SL1L160->SetMaximum(96222.8); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,4965.8); h_SL1L261->SetBinContent(2,5168.147); h_SL1L261->SetBinContent(3,5018.875); h_SL1L261->SetBinContent(4,4935.946); h_SL1L261->SetBinContent(5,5035.46); h_SL1L261->SetBinContent(6,5280.931); h_SL1L261->SetBinContent(7,5108.438); h_SL1L261->SetBinContent(8,5071.95); h_SL1L261->SetBinContent(9,4922.677); h_SL1L261->SetBinContent(10,4571.057); h_SL1L261->SetBinContent(11,4425.102); h_SL1L261->SetBinContent(12,4667.255); h_SL1L261->SetBinContent(13,4896.14); h_SL1L261->SetBinContent(14,5241.125); h_SL1L261->SetBinContent(15,4876.237); h_SL1L261->SetBinContent(16,5078.584); h_SL1L261->SetBinContent(17,5095.17); h_SL1L261->SetBinContent(18,5188.05); h_SL1L261->SetBinContent(19,5858.118); h_SL1L261->SetBinContent(20,5745.334); h_SL1L261->SetBinContent(21,6113.54); h_SL1L261->SetBinContent(22,6342.425); h_SL1L261->SetBinContent(23,6388.865); h_SL1L261->SetBinContent(24,6664.19); h_SL1L261->SetBinContent(25,6601.164); h_SL1L261->SetBinContent(26,6524.869); h_SL1L261->SetBinContent(27,6597.847); h_SL1L261->SetBinContent(28,7533.288); h_SL1L261->SetBinContent(29,7685.878); h_SL1L261->SetBinContent(30,8123.744); h_SL1L261->SetBinContent(31,8050.766); h_SL1L261->SetBinContent(32,11145.68); h_SL1L261->SetBinContent(33,23120.66); h_SL1L261->SetBinContent(34,55091.52); h_SL1L261->SetBinContent(35,62634.76); h_SL1L261->SetBinContent(36,66960.35); h_SL1L261->SetBinContent(37,71614.34); h_SL1L261->SetBinContent(38,70682.21); h_SL1L261->SetBinContent(39,58640.89); h_SL1L261->SetBinContent(40,22924.95); h_SL1L261->SetBinContent(41,11288.32); h_SL1L261->SetBinContent(42,8233.21); h_SL1L261->SetBinContent(43,7692.512); h_SL1L261->SetBinContent(44,7138.545); h_SL1L261->SetBinContent(45,6959.418); h_SL1L261->SetBinContent(46,6587.895); h_SL1L261->SetBinContent(47,6276.082); h_SL1L261->SetBinContent(48,6070.417); h_SL1L261->SetBinContent(49,12505.72); h_SL1L261->SetBinContent(50,5917.827); h_SL1L261->SetBinContent(51,5310.786); h_SL1L261->SetBinContent(52,5334.006); h_SL1L261->SetBinContent(53,5642.502); h_SL1L261->SetBinContent(54,5158.196); h_SL1L261->SetBinContent(55,5164.83); h_SL1L261->SetBinContent(56,6966.052); h_SL1L261->SetBinContent(57,5217.905); h_SL1L261->SetBinContent(58,4604.229); h_SL1L261->SetBinContent(59,4574.375); h_SL1L261->SetMaximum(83672.57); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,4564.423); h_SL1L362->SetBinContent(2,4707.061); h_SL1L362->SetBinContent(3,4760.136); h_SL1L362->SetBinContent(4,4554.471); h_SL1L362->SetBinContent(5,4942.58); h_SL1L362->SetBinContent(6,4945.897); h_SL1L362->SetBinContent(7,4896.14); h_SL1L362->SetBinContent(8,4882.871); h_SL1L362->SetBinContent(9,4630.766); h_SL1L362->SetBinContent(10,4282.463); h_SL1L362->SetBinContent(11,4527.934); h_SL1L362->SetBinContent(12,4826.479); h_SL1L362->SetBinContent(13,5134.976); h_SL1L362->SetBinContent(14,4816.527); h_SL1L362->SetBinContent(15,4829.796); h_SL1L362->SetBinContent(16,4909.408); h_SL1L362->SetBinContent(17,5035.46); h_SL1L362->SetBinContent(18,5304.151); h_SL1L362->SetBinContent(19,5496.547); h_SL1L362->SetBinContent(20,5566.208); h_SL1L362->SetBinContent(21,6206.421); h_SL1L362->SetBinContent(22,6176.566); h_SL1L362->SetBinContent(23,6282.716); h_SL1L362->SetBinContent(24,6405.451); h_SL1L362->SetBinContent(25,6425.354); h_SL1L362->SetBinContent(26,5864.752); h_SL1L362->SetBinContent(27,6813.462); h_SL1L362->SetBinContent(28,6976.004); h_SL1L362->SetBinContent(29,7400.601); h_SL1L362->SetBinContent(30,7831.833); h_SL1L362->SetBinContent(31,8793.812); h_SL1L362->SetBinContent(32,12840.76); h_SL1L362->SetBinContent(33,42144.62); h_SL1L362->SetBinContent(34,60554.9); h_SL1L362->SetBinContent(35,64625.06); h_SL1L362->SetBinContent(36,69043.53); h_SL1L362->SetBinContent(37,72758.76); h_SL1L362->SetBinContent(38,66578.88); h_SL1L362->SetBinContent(39,43375.29); h_SL1L362->SetBinContent(40,13242.13); h_SL1L362->SetBinContent(41,8906.596); h_SL1L362->SetBinContent(42,7546.557); h_SL1L362->SetBinContent(43,7573.094); h_SL1L362->SetBinContent(44,6783.608); h_SL1L362->SetBinContent(45,6312.57); h_SL1L362->SetBinContent(46,6385.548); h_SL1L362->SetBinContent(47,6083.686); h_SL1L362->SetBinContent(48,5672.357); h_SL1L362->SetBinContent(49,5705.528); h_SL1L362->SetBinContent(50,5582.793); h_SL1L362->SetBinContent(51,5184.733); h_SL1L362->SetBinContent(52,5324.054); h_SL1L362->SetBinContent(53,6445.257); h_SL1L362->SetBinContent(54,4879.554); h_SL1L362->SetBinContent(55,4925.994); h_SL1L362->SetBinContent(56,6780.291); h_SL1L362->SetBinContent(57,4590.96); h_SL1L362->SetBinContent(58,4634.083); h_SL1L362->SetBinContent(59,4438.371); h_SL1L362->SetMaximum(83672.57); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,1204.132); h_SL1L463->SetBinContent(3,1141.106); h_SL1L463->SetBinContent(4,806.0718); h_SL1L463->SetBinContent(5,885.6838); h_SL1L463->SetBinContent(6,1008.419); h_SL1L463->SetBinContent(7,1157.692); h_SL1L463->SetBinContent(8,971.9302); h_SL1L463->SetBinContent(9,1038.274); h_SL1L463->SetBinContent(10,922.1726); h_SL1L463->SetBinContent(11,1051.542); h_SL1L463->SetBinContent(12,1054.859); h_SL1L463->SetBinContent(13,1078.079); h_SL1L463->SetBinContent(14,1131.154); h_SL1L463->SetBinContent(15,991.8331); h_SL1L463->SetBinContent(16,1041.591); h_SL1L463->SetBinContent(17,955.3443); h_SL1L463->SetBinContent(18,816.0233); h_SL1L463->SetBinContent(19,985.1989); h_SL1L463->SetBinContent(20,915.5383); h_SL1L463->SetBinContent(21,981.8817); h_SL1L463->SetBinContent(22,1054.859); h_SL1L463->SetBinContent(23,958.6615); h_SL1L463->SetBinContent(24,852.5121); h_SL1L463->SetBinContent(25,706.5568); h_SL1L463->SetBinContent(26,782.8516); h_SL1L463->SetBinContent(27,862.4636); h_SL1L463->SetBinContent(28,819.3405); h_SL1L463->SetBinContent(29,935.4413); h_SL1L463->SetBinContent(30,945.3928); h_SL1L463->SetBinContent(31,1088.031); h_SL1L463->SetBinContent(32,955.3443); h_SL1L463->SetBinContent(33,1287.061); h_SL1L463->SetBinContent(34,3098.235); h_SL1L463->SetBinContent(35,4796.625); h_SL1L463->SetBinContent(36,4245.975); h_SL1L463->SetBinContent(37,3323.802); h_SL1L463->SetBinContent(38,3894.355); h_SL1L463->SetBinContent(39,4627.449); h_SL1L463->SetBinContent(40,1575.655); h_SL1L463->SetBinContent(41,925.4898); h_SL1L463->SetBinContent(42,965.2958); h_SL1L463->SetBinContent(43,905.5868); h_SL1L463->SetBinContent(44,1005.102); h_SL1L463->SetBinContent(45,889.001); h_SL1L463->SetBinContent(46,746.3627); h_SL1L463->SetBinContent(47,756.3143); h_SL1L463->SetBinContent(48,650.1649); h_SL1L463->SetBinContent(49,616.9932); h_SL1L463->SetBinContent(50,633.579); h_SL1L463->SetBinContent(51,597.0902); h_SL1L463->SetBinContent(52,660.1164); h_SL1L463->SetBinContent(53,530.7468); h_SL1L463->SetBinContent(54,517.4781); h_SL1L463->SetBinContent(56,547.3327); h_SL1L463->SetBinContent(57,500.8923); h_SL1L463->SetBinContent(58,686.6537); h_SL1L463->SetBinContent(59,686.6537); h_SL1L463->SetMaximum(83672.57); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6791"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }