void RatesPerCell_Removing_noisy_cells_run_6532_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:41:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13966.18,67.5,125695.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6532",60,0,60); h_SL1L160->SetBinContent(1,16107.94); h_SL1L160->SetBinContent(2,15871.64); h_SL1L160->SetBinContent(3,16299.23); h_SL1L160->SetBinContent(4,16197.96); h_SL1L160->SetBinContent(5,14600.11); h_SL1L160->SetBinContent(6,15016.45); h_SL1L160->SetBinContent(7,13964.34); h_SL1L160->SetBinContent(8,12405.87); h_SL1L160->SetBinContent(9,11798.24); h_SL1L160->SetBinContent(10,11736.35); h_SL1L160->SetBinContent(11,12085.18); h_SL1L160->SetBinContent(12,13086.65); h_SL1L160->SetBinContent(13,13553.63); h_SL1L160->SetBinContent(14,12310.23); h_SL1L160->SetBinContent(15,12889.73); h_SL1L160->SetBinContent(16,11280.62); h_SL1L160->SetBinContent(17,12141.44); h_SL1L160->SetBinContent(18,12569.03); h_SL1L160->SetBinContent(19,13474.86); h_SL1L160->SetBinContent(20,12557.78); h_SL1L160->SetBinContent(21,14301.92); h_SL1L160->SetBinContent(22,14127.5); h_SL1L160->SetBinContent(23,14408.82); h_SL1L160->SetBinContent(24,12861.6); h_SL1L160->SetBinContent(25,13964.34); h_SL1L160->SetBinContent(26,13868.7); h_SL1L160->SetBinContent(27,12715.32); h_SL1L160->SetBinContent(28,13778.68); h_SL1L160->SetBinContent(29,13818.06); h_SL1L160->SetBinContent(30,14729.51); h_SL1L160->SetBinContent(31,14093.75); h_SL1L160->SetBinContent(32,16158.58); h_SL1L160->SetBinContent(33,33245.49); h_SL1L160->SetBinContent(34,47086.05); h_SL1L160->SetBinContent(35,48318.2); h_SL1L160->SetBinContent(36,47502.39); h_SL1L160->SetBinContent(37,56059.91); h_SL1L160->SetBinContent(38,56420); h_SL1L160->SetBinContent(39,37121.97); h_SL1L160->SetBinContent(40,15325.89); h_SL1L160->SetBinContent(41,13604.26); h_SL1L160->SetBinContent(42,13390.47); h_SL1L160->SetBinContent(43,12934.74); h_SL1L160->SetBinContent(44,12810.96); h_SL1L160->SetBinContent(45,11134.34); h_SL1L160->SetBinContent(46,10532.33); h_SL1L160->SetBinContent(47,10571.72); h_SL1L160->SetBinContent(48,9643.386); h_SL1L160->SetBinContent(49,9564.618); h_SL1L160->SetBinContent(50,9868.436); h_SL1L160->SetBinContent(51,9609.628); h_SL1L160->SetBinContent(52,9243.922); h_SL1L160->SetBinContent(53,9755.91); h_SL1L160->SetBinContent(54,8945.731); h_SL1L160->SetBinContent(55,9142.649); h_SL1L160->SetBinContent(56,9001.993); h_SL1L160->SetBinContent(57,10588.59); h_SL1L160->SetBinContent(58,10633.6); h_SL1L160->SetBinContent(59,11623.82); h_SL1L160->SetMaximum(111729.4); 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,18161.52); h_SL1L261->SetBinContent(2,18127.76); h_SL1L261->SetBinContent(3,17745.18); h_SL1L261->SetBinContent(4,19320.53); h_SL1L261->SetBinContent(5,18786.04); h_SL1L261->SetBinContent(6,19354.29); h_SL1L261->SetBinContent(7,18431.58); h_SL1L261->SetBinContent(8,18003.99); h_SL1L261->SetBinContent(9,16012.3); h_SL1L261->SetBinContent(10,14588.86); h_SL1L261->SetBinContent(11,14555.1); h_SL1L261->SetBinContent(12,16479.28); h_SL1L261->SetBinContent(13,17131.92); h_SL1L261->SetBinContent(14,17846.45); h_SL1L261->SetBinContent(15,17638.28); h_SL1L261->SetBinContent(16,17328.84); h_SL1L261->SetBinContent(17,16957.51); h_SL1L261->SetBinContent(18,16935); h_SL1L261->SetBinContent(19,18662.26); h_SL1L261->SetBinContent(20,19264.27); h_SL1L261->SetBinContent(21,19320.53); h_SL1L261->SetBinContent(22,20265.74); h_SL1L261->SetBinContent(23,20620.19); h_SL1L261->SetBinContent(24,21199.7); h_SL1L261->SetBinContent(25,20518.92); h_SL1L261->SetBinContent(26,20659.58); h_SL1L261->SetBinContent(27,19663.73); h_SL1L261->SetBinContent(28,21655.42); h_SL1L261->SetBinContent(29,21205.32); h_SL1L261->SetBinContent(30,21059.04); h_SL1L261->SetBinContent(31,21739.81); h_SL1L261->SetBinContent(32,24356.02); h_SL1L261->SetBinContent(33,35107.77); h_SL1L261->SetBinContent(34,66507.85); h_SL1L261->SetBinContent(35,72190.36); h_SL1L261->SetBinContent(36,77529.67); h_SL1L261->SetBinContent(37,82143.19); h_SL1L261->SetBinContent(38,84483.71); h_SL1L261->SetBinContent(39,71132.62); h_SL1L261->SetBinContent(40,34635.17); h_SL1L261->SetBinContent(41,22791.92); h_SL1L261->SetBinContent(42,19072.97); h_SL1L261->SetBinContent(43,18155.9); h_SL1L261->SetBinContent(44,17092.54); h_SL1L261->SetBinContent(45,17261.32); h_SL1L261->SetBinContent(46,17604.52); h_SL1L261->SetBinContent(47,17086.91); h_SL1L261->SetBinContent(48,17193.81); h_SL1L261->SetBinContent(49,32339.66); h_SL1L261->SetBinContent(50,15742.24); h_SL1L261->SetBinContent(51,15370.9); h_SL1L261->SetBinContent(52,14600.11); h_SL1L261->SetBinContent(53,15517.19); h_SL1L261->SetBinContent(54,15235.87); h_SL1L261->SetBinContent(55,15106.47); h_SL1L261->SetBinContent(56,19494.94); h_SL1L261->SetBinContent(57,15528.44); h_SL1L261->SetBinContent(58,14937.68); h_SL1L261->SetBinContent(59,13744.92); h_SL1L261->SetMaximum(97156.27); 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,17120.67); h_SL1L362->SetBinContent(2,17210.69); h_SL1L362->SetBinContent(3,17812.7); h_SL1L362->SetBinContent(4,18150.27); h_SL1L362->SetBinContent(5,18774.78); h_SL1L362->SetBinContent(6,18572.24); h_SL1L362->SetBinContent(7,17885.84); h_SL1L362->SetBinContent(8,16209.21); h_SL1L362->SetBinContent(9,15112.1); h_SL1L362->SetBinContent(10,14420.07); h_SL1L362->SetBinContent(11,15235.87); h_SL1L362->SetBinContent(12,16473.65); h_SL1L362->SetBinContent(13,17373.85); h_SL1L362->SetBinContent(14,17115.04); h_SL1L362->SetBinContent(15,16878.74); h_SL1L362->SetBinContent(16,16181.08); h_SL1L362->SetBinContent(17,16580.55); h_SL1L362->SetBinContent(18,17627.03); h_SL1L362->SetBinContent(19,17958.98); h_SL1L362->SetBinContent(20,18814.17); h_SL1L362->SetBinContent(21,18842.3); h_SL1L362->SetBinContent(22,19191.12); h_SL1L362->SetBinContent(23,19793.13); h_SL1L362->SetBinContent(24,20400.77); h_SL1L362->SetBinContent(25,20158.84); h_SL1L362->SetBinContent(26,18786.04); h_SL1L362->SetBinContent(27,18465.34); h_SL1L362->SetBinContent(28,20141.96); h_SL1L362->SetBinContent(29,20305.12); h_SL1L362->SetBinContent(30,20969.02); h_SL1L362->SetBinContent(31,21436); h_SL1L362->SetBinContent(32,24918.64); h_SL1L362->SetBinContent(33,53573.11); h_SL1L362->SetBinContent(34,70271.81); h_SL1L362->SetBinContent(35,73990.76); h_SL1L362->SetBinContent(36,80033.35); h_SL1L362->SetBinContent(37,84309.3); h_SL1L362->SetBinContent(38,78936.23); h_SL1L362->SetBinContent(39,54495.82); h_SL1L362->SetBinContent(40,24372.9); h_SL1L362->SetBinContent(41,19860.65); h_SL1L362->SetBinContent(42,17655.16); h_SL1L362->SetBinContent(43,18127.76); h_SL1L362->SetBinContent(44,17086.91); h_SL1L362->SetBinContent(45,16473.65); h_SL1L362->SetBinContent(46,16951.88); h_SL1L362->SetBinContent(47,16451.14); h_SL1L362->SetBinContent(48,16113.57); h_SL1L362->SetBinContent(49,15185.24); h_SL1L362->SetBinContent(50,15590.33); h_SL1L362->SetBinContent(51,14408.82); h_SL1L362->SetBinContent(52,14375.06); h_SL1L362->SetBinContent(53,18482.22); h_SL1L362->SetBinContent(54,14465.08); h_SL1L362->SetBinContent(55,14853.29); h_SL1L362->SetBinContent(56,19298.02); h_SL1L362->SetBinContent(57,14594.48); h_SL1L362->SetBinContent(58,13604.26); h_SL1L362->SetBinContent(59,13289.19); h_SL1L362->SetMaximum(97156.27); 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,14442.57); h_SL1L463->SetBinContent(3,13941.84); h_SL1L463->SetBinContent(4,13773.05); h_SL1L463->SetBinContent(5,13401.72); h_SL1L463->SetBinContent(6,14150.01); h_SL1L463->SetBinContent(7,13041.64); h_SL1L463->SetBinContent(8,12878.48); h_SL1L463->SetBinContent(9,12163.94); h_SL1L463->SetBinContent(10,11938.89); h_SL1L463->SetBinContent(11,12529.65); h_SL1L463->SetBinContent(12,13052.89); h_SL1L463->SetBinContent(13,13868.7); h_SL1L463->SetBinContent(14,14650.74); h_SL1L463->SetBinContent(15,13789.93); h_SL1L463->SetBinContent(16,13570.5); h_SL1L463->SetBinContent(17,12175.2); h_SL1L463->SetBinContent(18,12422.75); h_SL1L463->SetBinContent(19,12400.25); h_SL1L463->SetBinContent(20,12889.73); h_SL1L463->SetBinContent(21,12737.82); h_SL1L463->SetBinContent(22,12788.46); h_SL1L463->SetBinContent(23,12985.38); h_SL1L463->SetBinContent(24,13322.95); h_SL1L463->SetBinContent(25,12147.07); h_SL1L463->SetBinContent(26,13002.25); h_SL1L463->SetBinContent(27,12225.83); h_SL1L463->SetBinContent(28,12709.69); h_SL1L463->SetBinContent(29,12360.86); h_SL1L463->SetBinContent(30,14285.04); h_SL1L463->SetBinContent(31,14481.96); h_SL1L463->SetBinContent(32,14993.95); h_SL1L463->SetBinContent(33,20496.41); h_SL1L463->SetBinContent(34,51288.86); h_SL1L463->SetBinContent(35,61725.54); h_SL1L463->SetBinContent(36,66777.91); h_SL1L463->SetBinContent(37,68741.48); h_SL1L463->SetBinContent(38,70187.42); h_SL1L463->SetBinContent(39,60628.43); h_SL1L463->SetBinContent(40,25419.38); h_SL1L463->SetBinContent(41,16400.51); h_SL1L463->SetBinContent(42,13919.33); h_SL1L463->SetBinContent(43,13542.37); h_SL1L463->SetBinContent(44,13429.85); h_SL1L463->SetBinContent(45,12197.7); h_SL1L463->SetBinContent(46,12698.44); h_SL1L463->SetBinContent(47,11972.65); h_SL1L463->SetBinContent(48,11826.37); h_SL1L463->SetBinContent(49,10656.11); h_SL1L463->SetBinContent(50,11027.44); h_SL1L463->SetBinContent(51,9457.72); h_SL1L463->SetBinContent(52,9356.447); h_SL1L463->SetBinContent(53,8821.954); h_SL1L463->SetBinContent(54,8715.055); h_SL1L463->SetBinContent(56,8641.914); h_SL1L463->SetBinContent(57,8450.621); h_SL1L463->SetBinContent(58,9761.537); h_SL1L463->SetBinContent(59,9677.144); h_SL1L463->SetMaximum(97156.27); 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 6532"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }