void RatesPerCell_Removing_noisy_cells_run_6884_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:35 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13428.98,67.5,120860.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6884",60,0,60); h_SL1L160->SetBinContent(1,17269.53); h_SL1L160->SetBinContent(2,16920.91); h_SL1L160->SetBinContent(3,16683.44); h_SL1L160->SetBinContent(4,16213.56); h_SL1L160->SetBinContent(5,15006); h_SL1L160->SetBinContent(6,16344.92); h_SL1L160->SetBinContent(7,14995.9); h_SL1L160->SetBinContent(8,15991.25); h_SL1L160->SetBinContent(9,14010.65); h_SL1L160->SetBinContent(10,12929.41); h_SL1L160->SetBinContent(11,12787.94); h_SL1L160->SetBinContent(12,12924.36); h_SL1L160->SetBinContent(13,14253.18); h_SL1L160->SetBinContent(14,14005.6); h_SL1L160->SetBinContent(15,13252.78); h_SL1L160->SetBinContent(16,12944.57); h_SL1L160->SetBinContent(17,13530.67); h_SL1L160->SetBinContent(18,14051.08); h_SL1L160->SetBinContent(19,14773.59); h_SL1L160->SetBinContent(20,14677.59); h_SL1L160->SetBinContent(21,15581.99); h_SL1L160->SetBinContent(22,15091.9); h_SL1L160->SetBinContent(23,15789.14); h_SL1L160->SetBinContent(24,14930.21); h_SL1L160->SetBinContent(25,14647.27); h_SL1L160->SetBinContent(26,13717.61); h_SL1L160->SetBinContent(27,14500.75); h_SL1L160->SetBinContent(28,14647.27); h_SL1L160->SetBinContent(29,13985.39); h_SL1L160->SetBinContent(30,14723.06); h_SL1L160->SetBinContent(31,14733.17); h_SL1L160->SetBinContent(32,16243.87); h_SL1L160->SetBinContent(33,31502.5); h_SL1L160->SetBinContent(34,43052.57); h_SL1L160->SetBinContent(35,45543.47); h_SL1L160->SetBinContent(36,46003.25); h_SL1L160->SetBinContent(37,50363.58); h_SL1L160->SetBinContent(38,48650.77); h_SL1L160->SetBinContent(39,34033.82); h_SL1L160->SetBinContent(40,15955.88); h_SL1L160->SetBinContent(41,13788.34); h_SL1L160->SetBinContent(42,13980.34); h_SL1L160->SetBinContent(43,13202.25); h_SL1L160->SetBinContent(44,11929.01); h_SL1L160->SetBinContent(45,11762.28); h_SL1L160->SetBinContent(46,11590.5); h_SL1L160->SetBinContent(47,11292.4); h_SL1L160->SetBinContent(48,10307.15); h_SL1L160->SetBinContent(49,10771.99); h_SL1L160->SetBinContent(50,10312.21); h_SL1L160->SetBinContent(51,9887.793); h_SL1L160->SetBinContent(52,10347.57); h_SL1L160->SetBinContent(53,10100); h_SL1L160->SetBinContent(54,10211.16); h_SL1L160->SetBinContent(55,10231.37); h_SL1L160->SetBinContent(56,10832.62); h_SL1L160->SetBinContent(57,11464.18); h_SL1L160->SetBinContent(58,11585.44); h_SL1L160->SetBinContent(59,12368.58); h_SL1L160->SetMaximum(107431.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,18199.2); h_SL1L261->SetBinContent(2,17931.41); h_SL1L261->SetBinContent(3,17219.01); h_SL1L261->SetBinContent(4,17921.31); h_SL1L261->SetBinContent(5,17471.63); h_SL1L261->SetBinContent(6,19204.65); h_SL1L261->SetBinContent(7,18269.93); h_SL1L261->SetBinContent(8,18598.35); h_SL1L261->SetBinContent(9,18007.2); h_SL1L261->SetBinContent(10,16324.71); h_SL1L261->SetBinContent(11,15521.36); h_SL1L261->SetBinContent(12,15723.46); h_SL1L261->SetBinContent(13,16617.76); h_SL1L261->SetBinContent(14,17926.36); h_SL1L261->SetBinContent(15,17532.27); h_SL1L261->SetBinContent(16,17416.06); h_SL1L261->SetBinContent(17,17628.26); h_SL1L261->SetBinContent(18,16789.54); h_SL1L261->SetBinContent(19,18689.29); h_SL1L261->SetBinContent(20,19214.76); h_SL1L261->SetBinContent(21,19735.17); h_SL1L261->SetBinContent(22,20215.16); h_SL1L261->SetBinContent(23,20164.63); h_SL1L261->SetBinContent(24,20073.69); h_SL1L261->SetBinContent(25,21730.91); h_SL1L261->SetBinContent(26,19497.7); h_SL1L261->SetBinContent(27,19785.69); h_SL1L261->SetBinContent(28,19790.74); h_SL1L261->SetBinContent(29,21134.72); h_SL1L261->SetBinContent(30,20962.93); h_SL1L261->SetBinContent(31,20715.36); h_SL1L261->SetBinContent(32,22488.79); h_SL1L261->SetBinContent(33,34281.39); h_SL1L261->SetBinContent(34,66369.98); h_SL1L261->SetBinContent(35,73529.41); h_SL1L261->SetBinContent(36,77753.32); h_SL1L261->SetBinContent(37,81234.52); h_SL1L261->SetBinContent(38,80138.12); h_SL1L261->SetBinContent(39,69148.87); h_SL1L261->SetBinContent(40,32785.84); h_SL1L261->SetBinContent(41,21882.49); h_SL1L261->SetBinContent(42,18911.61); h_SL1L261->SetBinContent(43,18098.15); h_SL1L261->SetBinContent(44,17279.64); h_SL1L261->SetBinContent(45,17016.91); h_SL1L261->SetBinContent(46,17421.11); h_SL1L261->SetBinContent(47,17481.74); h_SL1L261->SetBinContent(48,16910.8); h_SL1L261->SetBinContent(49,15824.51); h_SL1L261->SetBinContent(50,15652.73); h_SL1L261->SetBinContent(51,15294); h_SL1L261->SetBinContent(52,14399.7); h_SL1L261->SetBinContent(53,15718.41); h_SL1L261->SetBinContent(54,15102); h_SL1L261->SetBinContent(55,15162.63); h_SL1L261->SetBinContent(56,15314.21); h_SL1L261->SetBinContent(57,14859.48); h_SL1L261->SetBinContent(58,14596.75); h_SL1L261->SetBinContent(59,13965.18); h_SL1L261->SetMaximum(93419.69); 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,5577.989); h_SL1L362->SetBinContent(2,5360.73); h_SL1L362->SetBinContent(3,5729.564); h_SL1L362->SetBinContent(4,5850.825); h_SL1L362->SetBinContent(5,5926.613); h_SL1L362->SetBinContent(6,6047.874); h_SL1L362->SetBinContent(7,5785.142); h_SL1L362->SetBinContent(8,5946.823); h_SL1L362->SetBinContent(9,5572.936); h_SL1L362->SetBinContent(10,5300.1); h_SL1L362->SetBinContent(11,5370.835); h_SL1L362->SetBinContent(12,4895.897); h_SL1L362->SetBinContent(13,5881.14); h_SL1L362->SetBinContent(14,5552.726); h_SL1L362->SetBinContent(15,5704.302); h_SL1L362->SetBinContent(16,5355.678); h_SL1L362->SetBinContent(17,5224.312); h_SL1L362->SetBinContent(18,5375.888); h_SL1L362->SetBinContent(19,5830.615); h_SL1L362->SetBinContent(20,5860.93); h_SL1L362->SetBinContent(21,6381.34); h_SL1L362->SetBinContent(22,6214.607); h_SL1L362->SetBinContent(23,5972.086); h_SL1L362->SetBinContent(24,5977.138); h_SL1L362->SetBinContent(25,6270.185); h_SL1L362->SetBinContent(26,5512.306); h_SL1L362->SetBinContent(27,5860.93); h_SL1L362->SetBinContent(28,5709.354); h_SL1L362->SetBinContent(29,6325.763); h_SL1L362->SetBinContent(30,6032.716); h_SL1L362->SetBinContent(31,5567.884); h_SL1L362->SetBinContent(32,5562.831); h_SL1L362->SetBinContent(33,8493.296); h_SL1L362->SetBinContent(34,10751.78); h_SL1L362->SetBinContent(35,10706.3); h_SL1L362->SetBinContent(36,10403.15); h_SL1L362->SetBinContent(37,11484.39); h_SL1L362->SetBinContent(38,10105.05); h_SL1L362->SetBinContent(39,8766.133); h_SL1L362->SetBinContent(40,4961.581); h_SL1L362->SetBinContent(41,5047.474); h_SL1L362->SetBinContent(42,5310.205); h_SL1L362->SetBinContent(43,5224.312); h_SL1L362->SetBinContent(44,5178.839); h_SL1L362->SetBinContent(45,4906.003); h_SL1L362->SetBinContent(46,4865.583); h_SL1L362->SetBinContent(47,5138.419); h_SL1L362->SetBinContent(48,4466.433); h_SL1L362->SetBinContent(49,4729.165); h_SL1L362->SetBinContent(50,4698.849); h_SL1L362->SetBinContent(51,4688.744); h_SL1L362->SetBinContent(52,4279.49); h_SL1L362->SetBinContent(53,4375.487); h_SL1L362->SetBinContent(54,4431.065); h_SL1L362->SetBinContent(55,4254.227); h_SL1L362->SetBinContent(56,4542.221); h_SL1L362->SetBinContent(57,4729.165); h_SL1L362->SetBinContent(58,4143.071); h_SL1L362->SetBinContent(59,4289.595); h_SL1L362->SetMaximum(93419.69); 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,14667.48); h_SL1L463->SetBinContent(3,13490.24); h_SL1L463->SetBinContent(4,13687.29); h_SL1L463->SetBinContent(5,13278.04); h_SL1L463->SetBinContent(6,14748.32); h_SL1L463->SetBinContent(7,14005.6); h_SL1L463->SetBinContent(8,14591.7); h_SL1L463->SetBinContent(9,14364.33); h_SL1L463->SetBinContent(10,13086.04); h_SL1L463->SetBinContent(11,13065.83); h_SL1L463->SetBinContent(12,13495.3); h_SL1L463->SetBinContent(13,13631.71); h_SL1L463->SetBinContent(14,14687.69); h_SL1L463->SetBinContent(15,15031.26); h_SL1L463->SetBinContent(16,14010.65); h_SL1L463->SetBinContent(17,13166.88); h_SL1L463->SetBinContent(18,12974.89); h_SL1L463->SetBinContent(19,13995.5); h_SL1L463->SetBinContent(20,14111.71); h_SL1L463->SetBinContent(21,13490.24); h_SL1L463->SetBinContent(22,14541.17); h_SL1L463->SetBinContent(23,14354.23); h_SL1L463->SetBinContent(24,14526.01); h_SL1L463->SetBinContent(25,14131.92); h_SL1L463->SetBinContent(26,14283.49); h_SL1L463->SetBinContent(27,13227.51); h_SL1L463->SetBinContent(28,14202.65); h_SL1L463->SetBinContent(29,14430.01); h_SL1L463->SetBinContent(30,14394.65); h_SL1L463->SetBinContent(31,13914.66); h_SL1L463->SetBinContent(32,15061.58); h_SL1L463->SetBinContent(33,20149.47); h_SL1L463->SetBinContent(34,41925.86); h_SL1L463->SetBinContent(35,48504.25); h_SL1L463->SetBinContent(36,49732.01); h_SL1L463->SetBinContent(37,46685.34); h_SL1L463->SetBinContent(38,50686.94); h_SL1L463->SetBinContent(39,46958.18); h_SL1L463->SetBinContent(40,19497.7); h_SL1L463->SetBinContent(41,13490.24); h_SL1L463->SetBinContent(42,12287.74); h_SL1L463->SetBinContent(43,11716.81); h_SL1L463->SetBinContent(44,11545.02); h_SL1L463->SetBinContent(45,10135.37); h_SL1L463->SetBinContent(46,10539.57); h_SL1L463->SetBinContent(47,9756.428); h_SL1L463->SetBinContent(48,10049.47); h_SL1L463->SetBinContent(49,9337.068); h_SL1L463->SetBinContent(50,9321.91); h_SL1L463->SetBinContent(51,8942.971); h_SL1L463->SetBinContent(52,9109.704); h_SL1L463->SetBinContent(53,9018.759); h_SL1L463->SetBinContent(54,9281.49); h_SL1L463->SetBinContent(56,9741.271); h_SL1L463->SetBinContent(57,9210.755); h_SL1L463->SetBinContent(58,11150.92); h_SL1L463->SetBinContent(59,10893.25); h_SL1L463->SetMaximum(93419.69); 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.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("SL1, run 6884"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }