void RatesPerCell_Removing_noisy_cells_run_6821_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13822.28,67.5,124400.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6821",60,0,60); h_SL1L160->SetBinContent(1,18706.6); h_SL1L160->SetBinContent(2,18056.74); h_SL1L160->SetBinContent(3,18503.07); h_SL1L160->SetBinContent(4,17667.54); h_SL1L160->SetBinContent(5,17842.5); h_SL1L160->SetBinContent(6,18735.16); h_SL1L160->SetBinContent(7,17828.22); h_SL1L160->SetBinContent(8,17581.85); h_SL1L160->SetBinContent(9,16192.87); h_SL1L160->SetBinContent(10,14878.87); h_SL1L160->SetBinContent(11,14807.46); h_SL1L160->SetBinContent(12,15589.43); h_SL1L160->SetBinContent(13,16285.7); h_SL1L160->SetBinContent(14,16146.45); h_SL1L160->SetBinContent(15,15975.06); h_SL1L160->SetBinContent(16,15785.81); h_SL1L160->SetBinContent(17,15510.87); h_SL1L160->SetBinContent(18,17074.81); h_SL1L160->SetBinContent(19,17214.07); h_SL1L160->SetBinContent(20,16817.73); h_SL1L160->SetBinContent(21,17692.54); h_SL1L160->SetBinContent(22,18585.2); h_SL1L160->SetBinContent(23,18192.43); h_SL1L160->SetBinContent(24,17721.1); h_SL1L160->SetBinContent(25,17696.11); h_SL1L160->SetBinContent(26,17535.43); h_SL1L160->SetBinContent(27,17356.89); h_SL1L160->SetBinContent(28,17667.54); h_SL1L160->SetBinContent(29,17799.65); h_SL1L160->SetBinContent(30,17646.12); h_SL1L160->SetBinContent(31,17792.51); h_SL1L160->SetBinContent(32,19584.98); h_SL1L160->SetBinContent(33,40148.31); h_SL1L160->SetBinContent(34,54991.47); h_SL1L160->SetBinContent(35,59765.42); h_SL1L160->SetBinContent(36,59054.86); h_SL1L160->SetBinContent(37,64567.94); h_SL1L160->SetBinContent(38,62371.99); h_SL1L160->SetBinContent(39,42333.54); h_SL1L160->SetBinContent(40,19174.35); h_SL1L160->SetBinContent(41,16674.9); h_SL1L160->SetBinContent(42,16046.47); h_SL1L160->SetBinContent(43,15121.67); h_SL1L160->SetBinContent(44,15414.47); h_SL1L160->SetBinContent(45,14007.63); h_SL1L160->SetBinContent(46,13771.97); h_SL1L160->SetBinContent(47,13061.41); h_SL1L160->SetBinContent(48,12372.28); h_SL1L160->SetBinContent(49,12632.93); h_SL1L160->SetBinContent(50,12786.47); h_SL1L160->SetBinContent(51,12454.4); h_SL1L160->SetBinContent(52,12418.7); h_SL1L160->SetBinContent(53,12693.64); h_SL1L160->SetBinContent(54,12190.17); h_SL1L160->SetBinContent(55,12186.6); h_SL1L160->SetBinContent(56,12540.1); h_SL1L160->SetBinContent(57,13386.34); h_SL1L160->SetBinContent(58,13314.93); h_SL1L160->SetBinContent(59,14279); h_SL1L160->SetMaximum(110578.2); 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,19131.51); h_SL1L261->SetBinContent(2,18238.84); h_SL1L261->SetBinContent(3,18924.41); h_SL1L261->SetBinContent(4,18674.46); h_SL1L261->SetBinContent(5,18249.56); h_SL1L261->SetBinContent(6,19381.45); h_SL1L261->SetBinContent(7,18735.16); h_SL1L261->SetBinContent(8,19360.03); h_SL1L261->SetBinContent(9,18606.62); h_SL1L261->SetBinContent(10,16653.48); h_SL1L261->SetBinContent(11,16135.74); h_SL1L261->SetBinContent(12,16846.29); h_SL1L261->SetBinContent(13,16739.17); h_SL1L261->SetBinContent(14,17960.33); h_SL1L261->SetBinContent(15,18228.13); h_SL1L261->SetBinContent(16,17746.1); h_SL1L261->SetBinContent(17,17856.79); h_SL1L261->SetBinContent(18,18056.74); h_SL1L261->SetBinContent(19,19013.67); h_SL1L261->SetBinContent(20,19431.44); h_SL1L261->SetBinContent(21,20059.87); h_SL1L261->SetBinContent(22,20613.32); h_SL1L261->SetBinContent(23,20177.7); h_SL1L261->SetBinContent(24,21077.51); h_SL1L261->SetBinContent(25,20941.82); h_SL1L261->SetBinContent(26,20020.6); h_SL1L261->SetBinContent(27,20177.7); h_SL1L261->SetBinContent(28,20945.39); h_SL1L261->SetBinContent(29,21166.77); h_SL1L261->SetBinContent(30,21791.63); h_SL1L261->SetBinContent(31,21523.84); h_SL1L261->SetBinContent(32,23327.01); h_SL1L261->SetBinContent(33,34231.75); h_SL1L261->SetBinContent(34,67238.78); h_SL1L261->SetBinContent(35,76047.55); h_SL1L261->SetBinContent(36,80453.73); h_SL1L261->SetBinContent(37,83613.74); h_SL1L261->SetBinContent(38,81628.47); h_SL1L261->SetBinContent(39,69224.05); h_SL1L261->SetBinContent(40,33624.75); h_SL1L261->SetBinContent(41,22584.32); h_SL1L261->SetBinContent(42,19360.03); h_SL1L261->SetBinContent(43,18817.29); h_SL1L261->SetBinContent(44,18588.77); h_SL1L261->SetBinContent(45,17688.96); h_SL1L261->SetBinContent(46,17489.01); h_SL1L261->SetBinContent(47,17728.24); h_SL1L261->SetBinContent(48,17210.5); h_SL1L261->SetBinContent(49,24048.28); h_SL1L261->SetBinContent(50,16510.65); h_SL1L261->SetBinContent(51,16082.18); h_SL1L261->SetBinContent(52,15735.82); h_SL1L261->SetBinContent(53,15925.07); h_SL1L261->SetBinContent(54,15225.22); h_SL1L261->SetBinContent(55,15303.78); h_SL1L261->SetBinContent(56,17649.69); h_SL1L261->SetBinContent(57,15307.35); h_SL1L261->SetBinContent(58,14807.46); h_SL1L261->SetBinContent(59,14646.78); h_SL1L261->SetMaximum(96155.8); 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,16007.19); h_SL1L362->SetBinContent(2,15468.03); h_SL1L362->SetBinContent(3,15939.35); h_SL1L362->SetBinContent(4,15825.09); h_SL1L362->SetBinContent(5,15910.79); h_SL1L362->SetBinContent(6,16874.86); h_SL1L362->SetBinContent(7,16253.57); h_SL1L362->SetBinContent(8,16242.85); h_SL1L362->SetBinContent(9,15060.97); h_SL1L362->SetBinContent(10,13654.14); h_SL1L362->SetBinContent(11,13896.94); h_SL1L362->SetBinContent(12,14539.66); h_SL1L362->SetBinContent(13,15507.3); h_SL1L362->SetBinContent(14,15207.37); h_SL1L362->SetBinContent(15,15460.88); h_SL1L362->SetBinContent(16,14878.87); h_SL1L362->SetBinContent(17,14711.05); h_SL1L362->SetBinContent(18,15867.94); h_SL1L362->SetBinContent(19,15475.17); h_SL1L362->SetBinContent(20,16271.42); h_SL1L362->SetBinContent(21,17510.43); h_SL1L362->SetBinContent(22,17392.6); h_SL1L362->SetBinContent(23,17464.02); h_SL1L362->SetBinContent(24,17946.05); h_SL1L362->SetBinContent(25,17885.35); h_SL1L362->SetBinContent(26,15671.55); h_SL1L362->SetBinContent(27,16628.48); h_SL1L362->SetBinContent(28,16864.15); h_SL1L362->SetBinContent(29,18220.99); h_SL1L362->SetBinContent(30,17196.22); h_SL1L362->SetBinContent(31,17921.06); h_SL1L362->SetBinContent(32,19627.82); h_SL1L362->SetBinContent(33,40394.68); h_SL1L362->SetBinContent(34,56176.93); h_SL1L362->SetBinContent(35,60729.5); h_SL1L362->SetBinContent(36,62139.9); h_SL1L362->SetBinContent(37,64321.56); h_SL1L362->SetBinContent(38,58230.05); h_SL1L362->SetBinContent(39,42737.03); h_SL1L362->SetBinContent(40,18674.46); h_SL1L362->SetBinContent(41,16446.38); h_SL1L362->SetBinContent(42,15864.37); h_SL1L362->SetBinContent(43,15707.26); h_SL1L362->SetBinContent(44,15300.21); h_SL1L362->SetBinContent(45,14686.05); h_SL1L362->SetBinContent(46,14443.25); h_SL1L362->SetBinContent(47,14632.5); h_SL1L362->SetBinContent(48,13232.8); h_SL1L362->SetBinContent(49,13261.37); h_SL1L362->SetBinContent(50,13318.5); h_SL1L362->SetBinContent(51,13057.84); h_SL1L362->SetBinContent(52,12840.03); h_SL1L362->SetBinContent(53,14839.59); h_SL1L362->SetBinContent(54,12572.23); h_SL1L362->SetBinContent(55,12647.22); h_SL1L362->SetBinContent(56,15617.99); h_SL1L362->SetBinContent(57,12582.95); h_SL1L362->SetBinContent(58,12397.27); h_SL1L362->SetBinContent(59,11765.27); h_SL1L362->SetMaximum(96155.8); 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,16200.01); h_SL1L463->SetBinContent(3,16178.58); h_SL1L463->SetBinContent(4,15582.29); h_SL1L463->SetBinContent(5,15853.65); h_SL1L463->SetBinContent(6,16757.03); h_SL1L463->SetBinContent(7,16089.32); h_SL1L463->SetBinContent(8,16135.74); h_SL1L463->SetBinContent(9,16867.72); h_SL1L463->SetBinContent(10,14750.33); h_SL1L463->SetBinContent(11,14521.8); h_SL1L463->SetBinContent(12,14657.49); h_SL1L463->SetBinContent(13,15050.26); h_SL1L463->SetBinContent(14,16478.52); h_SL1L463->SetBinContent(15,15771.53); h_SL1L463->SetBinContent(16,15700.12); h_SL1L463->SetBinContent(17,14453.96); h_SL1L463->SetBinContent(18,15378.76); h_SL1L463->SetBinContent(19,15900.07); h_SL1L463->SetBinContent(20,15903.64); h_SL1L463->SetBinContent(21,16682.04); h_SL1L463->SetBinContent(22,16478.52); h_SL1L463->SetBinContent(23,16607.06); h_SL1L463->SetBinContent(24,16981.98); h_SL1L463->SetBinContent(25,16010.76); h_SL1L463->SetBinContent(26,16157.16); h_SL1L463->SetBinContent(27,15950.06); h_SL1L463->SetBinContent(28,16000.05); h_SL1L463->SetBinContent(29,16828.44); h_SL1L463->SetBinContent(30,17506.86); h_SL1L463->SetBinContent(31,16803.45); h_SL1L463->SetBinContent(32,18103.16); h_SL1L463->SetBinContent(33,25298.01); h_SL1L463->SetBinContent(34,53252.57); h_SL1L463->SetBinContent(35,63186.1); h_SL1L463->SetBinContent(36,64375.12); h_SL1L463->SetBinContent(37,62675.5); h_SL1L463->SetBinContent(38,64128.75); h_SL1L463->SetBinContent(39,58647.81); h_SL1L463->SetBinContent(40,25640.79); h_SL1L463->SetBinContent(41,16896.28); h_SL1L463->SetBinContent(42,15114.53); h_SL1L463->SetBinContent(43,14482.53); h_SL1L463->SetBinContent(44,13607.72); h_SL1L463->SetBinContent(45,12672.21); h_SL1L463->SetBinContent(46,13325.64); h_SL1L463->SetBinContent(47,13025.71); h_SL1L463->SetBinContent(48,11847.39); h_SL1L463->SetBinContent(49,11158.26); h_SL1L463->SetBinContent(50,11797.4); h_SL1L463->SetBinContent(51,11083.28); h_SL1L463->SetBinContent(52,11415.35); h_SL1L463->SetBinContent(53,11101.13); h_SL1L463->SetBinContent(54,10722.64); h_SL1L463->SetBinContent(56,11379.64); h_SL1L463->SetBinContent(57,11254.67); h_SL1L463->SetBinContent(58,12050.92); h_SL1L463->SetBinContent(59,12275.87); h_SL1L463->SetMaximum(96155.8); 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 6821"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }