void RatesPerCell_Removing_noisy_cells_run_6730_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:56:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19289.81,67.5,173608.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6730",60,0,60); h_SL1L160->SetBinContent(1,50830.16); h_SL1L160->SetBinContent(2,49136.74); h_SL1L160->SetBinContent(3,48331.12); h_SL1L160->SetBinContent(4,45823.87); h_SL1L160->SetBinContent(5,43544.05); h_SL1L160->SetBinContent(6,45051.14); h_SL1L160->SetBinContent(7,42905.59); h_SL1L160->SetBinContent(8,42776.8); h_SL1L160->SetBinContent(9,39685.89); h_SL1L160->SetBinContent(10,36520.99); h_SL1L160->SetBinContent(11,35408.48); h_SL1L160->SetBinContent(12,35485.21); h_SL1L160->SetBinContent(13,37806.13); h_SL1L160->SetBinContent(14,35759.23); h_SL1L160->SetBinContent(15,34830.31); h_SL1L160->SetBinContent(16,33879.47); h_SL1L160->SetBinContent(17,35060.48); h_SL1L160->SetBinContent(18,36545.65); h_SL1L160->SetBinContent(19,37836.27); h_SL1L160->SetBinContent(20,35761.96); h_SL1L160->SetBinContent(21,38737.79); h_SL1L160->SetBinContent(22,38422.67); h_SL1L160->SetBinContent(23,37866.41); h_SL1L160->SetBinContent(24,34057.58); h_SL1L160->SetBinContent(25,34550.81); h_SL1L160->SetBinContent(26,34197.33); h_SL1L160->SetBinContent(27,33040.98); h_SL1L160->SetBinContent(28,32936.85); h_SL1L160->SetBinContent(29,32635.43); h_SL1L160->SetBinContent(30,31391.39); h_SL1L160->SetBinContent(31,30733.75); h_SL1L160->SetBinContent(32,28790.97); h_SL1L160->SetBinContent(33,38247.3); h_SL1L160->SetBinContent(34,46001.98); h_SL1L160->SetBinContent(35,47396.73); h_SL1L160->SetBinContent(36,46040.34); h_SL1L160->SetBinContent(37,49295.67); h_SL1L160->SetBinContent(38,49687.51); h_SL1L160->SetBinContent(39,40275.03); h_SL1L160->SetBinContent(40,28730.69); h_SL1L160->SetBinContent(41,28018.24); h_SL1L160->SetBinContent(42,27316.76); h_SL1L160->SetBinContent(43,27588.04); h_SL1L160->SetBinContent(44,27289.36); h_SL1L160->SetBinContent(45,25957.63); h_SL1L160->SetBinContent(46,24343.67); h_SL1L160->SetBinContent(47,23494.22); h_SL1L160->SetBinContent(48,22231); h_SL1L160->SetBinContent(49,23532.58); h_SL1L160->SetBinContent(50,24302.57); h_SL1L160->SetBinContent(51,23921.69); h_SL1L160->SetBinContent(52,23669.59); h_SL1L160->SetBinContent(53,23798.38); h_SL1L160->SetBinContent(54,23784.68); h_SL1L160->SetBinContent(55,24908.15); h_SL1L160->SetBinContent(56,26270.01); h_SL1L160->SetBinContent(57,29393.81); h_SL1L160->SetBinContent(58,31736.65); h_SL1L160->SetBinContent(59,33843.84); h_SL1L160->SetMaximum(154318.5); 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,57855.96); h_SL1L261->SetBinContent(2,55932.36); h_SL1L261->SetBinContent(3,55970.72); h_SL1L261->SetBinContent(4,55998.12); h_SL1L261->SetBinContent(5,55140.45); h_SL1L261->SetBinContent(6,59053.41); h_SL1L261->SetBinContent(7,57677.85); h_SL1L261->SetBinContent(8,58346.45); h_SL1L261->SetBinContent(9,55606.28); h_SL1L261->SetBinContent(10,49753.27); h_SL1L261->SetBinContent(11,48254.4); h_SL1L261->SetBinContent(12,48618.84); h_SL1L261->SetBinContent(13,51701.54); h_SL1L261->SetBinContent(14,54134.81); h_SL1L261->SetBinContent(15,54696.54); h_SL1L261->SetBinContent(16,53340.16); h_SL1L261->SetBinContent(17,52688); h_SL1L261->SetBinContent(18,53764.89); h_SL1L261->SetBinContent(19,56880.46); h_SL1L261->SetBinContent(20,57653.19); h_SL1L261->SetBinContent(21,58995.87); h_SL1L261->SetBinContent(22,60163.18); h_SL1L261->SetBinContent(23,60971.54); h_SL1L261->SetBinContent(24,61040.04); h_SL1L261->SetBinContent(25,61472.98); h_SL1L261->SetBinContent(26,59428.82); h_SL1L261->SetBinContent(27,56639.32); h_SL1L261->SetBinContent(28,56332.43); h_SL1L261->SetBinContent(29,59913.83); h_SL1L261->SetBinContent(30,57979.27); h_SL1L261->SetBinContent(31,58072.43); h_SL1L261->SetBinContent(32,56600.96); h_SL1L261->SetBinContent(33,67695.91); h_SL1L261->SetBinContent(34,99339.4); h_SL1L261->SetBinContent(35,108055.9); h_SL1L261->SetBinContent(36,111922.3); h_SL1L261->SetBinContent(37,116687.4); h_SL1L261->SetBinContent(38,112311.4); h_SL1L261->SetBinContent(39,99797.01); h_SL1L261->SetBinContent(40,65076.31); h_SL1L261->SetBinContent(41,52753.76); h_SL1L261->SetBinContent(42,49451.86); h_SL1L261->SetBinContent(43,48416.07); h_SL1L261->SetBinContent(44,47733.77); h_SL1L261->SetBinContent(45,47961.2); h_SL1L261->SetBinContent(46,47763.91); h_SL1L261->SetBinContent(47,47747.47); h_SL1L261->SetBinContent(48,45930.74); h_SL1L261->SetBinContent(49,44911.39); h_SL1L261->SetBinContent(50,45284.06); h_SL1L261->SetBinContent(51,43894.79); h_SL1L261->SetBinContent(52,42253.43); h_SL1L261->SetBinContent(53,43527.61); h_SL1L261->SetBinContent(54,43333.05); h_SL1L261->SetBinContent(55,44149.62); h_SL1L261->SetBinContent(56,44094.82); h_SL1L261->SetBinContent(57,42069.84); h_SL1L261->SetBinContent(58,41842.4); h_SL1L261->SetBinContent(59,40162.68); h_SL1L261->SetMaximum(134190.5); 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,19674.42); h_SL1L362->SetBinContent(2,18364.62); h_SL1L362->SetBinContent(3,19526.46); h_SL1L362->SetBinContent(4,19131.87); h_SL1L362->SetBinContent(5,18740.03); h_SL1L362->SetBinContent(6,20164.91); h_SL1L362->SetBinContent(7,19274.36); h_SL1L362->SetBinContent(8,18723.58); h_SL1L362->SetBinContent(9,18186.51); h_SL1L362->SetBinContent(10,16761.62); h_SL1L362->SetBinContent(11,17169.91); h_SL1L362->SetBinContent(12,17611.08); h_SL1L362->SetBinContent(13,19052.41); h_SL1L362->SetBinContent(14,17490.51); h_SL1L362->SetBinContent(15,18841.41); h_SL1L362->SetBinContent(16,17353.5); h_SL1L362->SetBinContent(17,17663.14); h_SL1L362->SetBinContent(18,18235.83); h_SL1L362->SetBinContent(19,18400.24); h_SL1L362->SetBinContent(20,19057.88); h_SL1L362->SetBinContent(21,20142.99); h_SL1L362->SetBinContent(22,19581.26); h_SL1L362->SetBinContent(23,19542.9); h_SL1L362->SetBinContent(24,19899.12); h_SL1L362->SetBinContent(25,18564.65); h_SL1L362->SetBinContent(26,17213.75); h_SL1L362->SetBinContent(27,19641.54); h_SL1L362->SetBinContent(28,18082.38); h_SL1L362->SetBinContent(29,18860.59); h_SL1L362->SetBinContent(30,17920.71); h_SL1L362->SetBinContent(31,17709.72); h_SL1L362->SetBinContent(32,17241.15); h_SL1L362->SetBinContent(33,18956.5); h_SL1L362->SetBinContent(34,22718.75); h_SL1L362->SetBinContent(35,22310.47); h_SL1L362->SetBinContent(36,21978.91); h_SL1L362->SetBinContent(37,23121.56); h_SL1L362->SetBinContent(38,21022.59); h_SL1L362->SetBinContent(39,19770.33); h_SL1L362->SetBinContent(40,15336.73); h_SL1L362->SetBinContent(41,15594.31); h_SL1L362->SetBinContent(42,16317.71); h_SL1L362->SetBinContent(43,16090.28); h_SL1L362->SetBinContent(44,15810.78); h_SL1L362->SetBinContent(45,15021.61); h_SL1L362->SetBinContent(46,15531.29); h_SL1L362->SetBinContent(47,16084.8); h_SL1L362->SetBinContent(48,13695.37); h_SL1L362->SetBinContent(49,14709.24); h_SL1L362->SetBinContent(50,14665.39); h_SL1L362->SetBinContent(51,14569.49); h_SL1L362->SetBinContent(52,13766.62); h_SL1L362->SetBinContent(53,14128.32); h_SL1L362->SetBinContent(54,13322.71); h_SL1L362->SetBinContent(55,13909.11); h_SL1L362->SetBinContent(56,14024.19); h_SL1L362->SetBinContent(57,14437.96); h_SL1L362->SetBinContent(58,13002.11); h_SL1L362->SetBinContent(59,12539.02); h_SL1L362->SetMaximum(134190.5); 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,43544.05); h_SL1L463->SetBinContent(3,41779.38); h_SL1L463->SetBinContent(4,39261.16); h_SL1L463->SetBinContent(5,36312.74); h_SL1L463->SetBinContent(6,38365.12); h_SL1L463->SetBinContent(7,37219.73); h_SL1L463->SetBinContent(8,38488.43); h_SL1L463->SetBinContent(9,39557.1); h_SL1L463->SetBinContent(10,38140.43); h_SL1L463->SetBinContent(11,38348.69); h_SL1L463->SetBinContent(12,39452.97); h_SL1L463->SetBinContent(13,40220.22); h_SL1L463->SetBinContent(14,42609.65); h_SL1L463->SetBinContent(15,42486.34); h_SL1L463->SetBinContent(16,39324.19); h_SL1L463->SetBinContent(17,36644.3); h_SL1L463->SetBinContent(18,36140.11); h_SL1L463->SetBinContent(19,37737.63); h_SL1L463->SetBinContent(20,36630.6); h_SL1L463->SetBinContent(21,37373.18); h_SL1L463->SetBinContent(22,38069.19); h_SL1L463->SetBinContent(23,37299.2); h_SL1L463->SetBinContent(24,38356.91); h_SL1L463->SetBinContent(25,35819.51); h_SL1L463->SetBinContent(26,37016.96); h_SL1L463->SetBinContent(27,34761.8); h_SL1L463->SetBinContent(28,34274.05); h_SL1L463->SetBinContent(29,33860.29); h_SL1L463->SetBinContent(30,34761.8); h_SL1L463->SetBinContent(31,33098.52); h_SL1L463->SetBinContent(32,32646.39); h_SL1L463->SetBinContent(33,32476.5); h_SL1L463->SetBinContent(34,46341.76); h_SL1L463->SetBinContent(35,52493.45); h_SL1L463->SetBinContent(36,50909.63); h_SL1L463->SetBinContent(37,46478.77); h_SL1L463->SetBinContent(38,48273.58); h_SL1L463->SetBinContent(39,46095.15); h_SL1L463->SetBinContent(40,28344.32); h_SL1L463->SetBinContent(41,24897.19); h_SL1L463->SetBinContent(42,24225.85); h_SL1L463->SetBinContent(43,24680.71); h_SL1L463->SetBinContent(44,23568.21); h_SL1L463->SetBinContent(45,20989.71); h_SL1L463->SetBinContent(46,22252.92); h_SL1L463->SetBinContent(47,21236.32); h_SL1L463->SetBinContent(48,20633.48); h_SL1L463->SetBinContent(49,19526.46); h_SL1L463->SetBinContent(50,20833.52); h_SL1L463->SetBinContent(51,19655.24); h_SL1L463->SetBinContent(52,19778.55); h_SL1L463->SetBinContent(53,19490.83); h_SL1L463->SetBinContent(54,20096.41); h_SL1L463->SetBinContent(56,22266.62); h_SL1L463->SetBinContent(57,24346.41); h_SL1L463->SetBinContent(58,28267.6); h_SL1L463->SetBinContent(59,29684.27); h_SL1L463->SetMaximum(134190.5); 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 6730"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }