void RatesPerCell_Removing_noisy_cells_run_6692_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:54:16 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13963.59,67.5,125672.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 6692",60,0,60); h_SL1L160->SetBinContent(1,20019.08); h_SL1L160->SetBinContent(2,18988.86); h_SL1L160->SetBinContent(3,19594.72); h_SL1L160->SetBinContent(4,19075.77); h_SL1L160->SetBinContent(5,18485.25); h_SL1L160->SetBinContent(6,19507.8); h_SL1L160->SetBinContent(7,19137.13); h_SL1L160->SetBinContent(8,19264.95); h_SL1L160->SetBinContent(9,17557.28); h_SL1L160->SetBinContent(10,16353.22); h_SL1L160->SetBinContent(11,15767.81); h_SL1L160->SetBinContent(12,16394.12); h_SL1L160->SetBinContent(13,17664.65); h_SL1L160->SetBinContent(14,16913.07); h_SL1L160->SetBinContent(15,16726.45); h_SL1L160->SetBinContent(16,16427.36); h_SL1L160->SetBinContent(17,16575.62); h_SL1L160->SetBinContent(18,17697.88); h_SL1L160->SetBinContent(19,18308.86); h_SL1L160->SetBinContent(20,18794.57); h_SL1L160->SetBinContent(21,18983.74); h_SL1L160->SetBinContent(22,19070.66); h_SL1L160->SetBinContent(23,19132.01); h_SL1L160->SetBinContent(24,18398.33); h_SL1L160->SetBinContent(25,18738.33); h_SL1L160->SetBinContent(26,17904.95); h_SL1L160->SetBinContent(27,17782.24); h_SL1L160->SetBinContent(28,18802.24); h_SL1L160->SetBinContent(29,18009.76); h_SL1L160->SetBinContent(30,18577.28); h_SL1L160->SetBinContent(31,18610.51); h_SL1L160->SetBinContent(32,19868.25); h_SL1L160->SetBinContent(33,41065.83); h_SL1L160->SetBinContent(34,56664.91); h_SL1L160->SetBinContent(35,60259.2); h_SL1L160->SetBinContent(36,61488.82); h_SL1L160->SetBinContent(37,66578.59); h_SL1L160->SetBinContent(38,64081); h_SL1L160->SetBinContent(39,44644.77); h_SL1L160->SetBinContent(40,20267.05); h_SL1L160->SetBinContent(41,17866.6); h_SL1L160->SetBinContent(42,16818.48); h_SL1L160->SetBinContent(43,15913.52); h_SL1L160->SetBinContent(44,16054.12); h_SL1L160->SetBinContent(45,14561.19); h_SL1L160->SetBinContent(46,14341.34); h_SL1L160->SetBinContent(47,13991.12); h_SL1L160->SetBinContent(48,13162.85); h_SL1L160->SetBinContent(49,13561.64); h_SL1L160->SetBinContent(50,13932.32); h_SL1L160->SetBinContent(51,13349.46); h_SL1L160->SetBinContent(52,13019.69); h_SL1L160->SetBinContent(53,12761.49); h_SL1L160->SetBinContent(54,12799.84); h_SL1L160->SetBinContent(55,13436.38); h_SL1L160->SetBinContent(56,13242.09); h_SL1L160->SetBinContent(57,14014.12); h_SL1L160->SetBinContent(58,13786.61); h_SL1L160->SetBinContent(59,13909.31); h_SL1L160->SetMaximum(111708.7); 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,20379.53); h_SL1L261->SetBinContent(2,19487.35); h_SL1L261->SetBinContent(3,20072.77); h_SL1L261->SetBinContent(4,19702.09); h_SL1L261->SetBinContent(5,19525.7); h_SL1L261->SetBinContent(6,20821.79); h_SL1L261->SetBinContent(7,20722.09); h_SL1L261->SetBinContent(8,20244.04); h_SL1L261->SetBinContent(9,19604.95); h_SL1L261->SetBinContent(10,17830.81); h_SL1L261->SetBinContent(11,16933.52); h_SL1L261->SetBinContent(12,17718.33); h_SL1L261->SetBinContent(13,18211.71); h_SL1L261->SetBinContent(14,19216.38); h_SL1L261->SetBinContent(15,19597.28); h_SL1L261->SetBinContent(16,19162.69); h_SL1L261->SetBinContent(17,18758.78); h_SL1L261->SetBinContent(18,19392.77); h_SL1L261->SetBinContent(19,20175.02); h_SL1L261->SetBinContent(20,20819.23); h_SL1L261->SetBinContent(21,20773.22); h_SL1L261->SetBinContent(22,22289.15); h_SL1L261->SetBinContent(23,22521.79); h_SL1L261->SetBinContent(24,22393.97); h_SL1L261->SetBinContent(25,22782.54); h_SL1L261->SetBinContent(26,22087.2); h_SL1L261->SetBinContent(27,20727.2); h_SL1L261->SetBinContent(28,22048.85); h_SL1L261->SetBinContent(29,22204.79); h_SL1L261->SetBinContent(30,23040.73); h_SL1L261->SetBinContent(31,23350.06); h_SL1L261->SetBinContent(32,24449.3); h_SL1L261->SetBinContent(33,35868.69); h_SL1L261->SetBinContent(34,68590.47); h_SL1L261->SetBinContent(35,77062.34); h_SL1L261->SetBinContent(36,80843.24); h_SL1L261->SetBinContent(37,84215.12); h_SL1L261->SetBinContent(38,83555.57); h_SL1L261->SetBinContent(39,70957.69); h_SL1L261->SetBinContent(40,34938.17); h_SL1L261->SetBinContent(41,23651.71); h_SL1L261->SetBinContent(42,20471.56); h_SL1L261->SetBinContent(43,19454.12); h_SL1L261->SetBinContent(44,18613.07); h_SL1L261->SetBinContent(45,18751.11); h_SL1L261->SetBinContent(46,18232.17); h_SL1L261->SetBinContent(47,18444.35); h_SL1L261->SetBinContent(48,17337.43); h_SL1L261->SetBinContent(49,30474.71); h_SL1L261->SetBinContent(50,17641.64); h_SL1L261->SetBinContent(51,16552.62); h_SL1L261->SetBinContent(52,16125.7); h_SL1L261->SetBinContent(53,16590.96); h_SL1L261->SetBinContent(54,17063.9); h_SL1L261->SetBinContent(55,16204.95); h_SL1L261->SetBinContent(56,20111.11); h_SL1L261->SetBinContent(57,16056.68); h_SL1L261->SetBinContent(58,15737.13); h_SL1L261->SetBinContent(59,14614.88); h_SL1L261->SetMaximum(97138.43); 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,19374.87); h_SL1L362->SetBinContent(2,19369.76); h_SL1L362->SetBinContent(3,19538.48); h_SL1L362->SetBinContent(4,18756.22); h_SL1L362->SetBinContent(5,19546.15); h_SL1L362->SetBinContent(6,20635.17); h_SL1L362->SetBinContent(7,19377.43); h_SL1L362->SetBinContent(8,19431.11); h_SL1L362->SetBinContent(9,17667.2); h_SL1L362->SetBinContent(10,16619.08); h_SL1L362->SetBinContent(11,16624.2); h_SL1L362->SetBinContent(12,17600.74); h_SL1L362->SetBinContent(13,18426.45); h_SL1L362->SetBinContent(14,18344.65); h_SL1L362->SetBinContent(15,18776.68); h_SL1L362->SetBinContent(16,18239.83); h_SL1L362->SetBinContent(17,18078.78); h_SL1L362->SetBinContent(18,19231.71); h_SL1L362->SetBinContent(19,19413.22); h_SL1L362->SetBinContent(20,20075.32); h_SL1L362->SetBinContent(21,21271.71); h_SL1L362->SetBinContent(22,21205.25); h_SL1L362->SetBinContent(23,21938.93); h_SL1L362->SetBinContent(24,21767.65); h_SL1L362->SetBinContent(25,21696.07); h_SL1L362->SetBinContent(26,20254.27); h_SL1L362->SetBinContent(27,20775.77); h_SL1L362->SetBinContent(28,21499.23); h_SL1L362->SetBinContent(29,21811.11); h_SL1L362->SetBinContent(30,21514.57); h_SL1L362->SetBinContent(31,22381.18); h_SL1L362->SetBinContent(32,25487.2); h_SL1L362->SetBinContent(33,54172.44); h_SL1L362->SetBinContent(34,73912.87); h_SL1L362->SetBinContent(35,78435.12); h_SL1L362->SetBinContent(36,82901.13); h_SL1L362->SetBinContent(37,84468.2); h_SL1L362->SetBinContent(38,77895.73); h_SL1L362->SetBinContent(39,55333.04); h_SL1L362->SetBinContent(40,24584.79); h_SL1L362->SetBinContent(41,20456.22); h_SL1L362->SetBinContent(42,19771.11); h_SL1L362->SetBinContent(43,18260.29); h_SL1L362->SetBinContent(44,18492.92); h_SL1L362->SetBinContent(45,17702.99); h_SL1L362->SetBinContent(46,18492.92); h_SL1L362->SetBinContent(47,17922.84); h_SL1L362->SetBinContent(48,16838.93); h_SL1L362->SetBinContent(49,16649.76); h_SL1L362->SetBinContent(50,16611.41); h_SL1L362->SetBinContent(51,15910.96); h_SL1L362->SetBinContent(52,15417.58); h_SL1L362->SetBinContent(53,18999.08); h_SL1L362->SetBinContent(54,15547.96); h_SL1L362->SetBinContent(55,15946.75); h_SL1L362->SetBinContent(56,19257.28); h_SL1L362->SetBinContent(57,15622.09); h_SL1L362->SetBinContent(58,14791.27); h_SL1L362->SetBinContent(59,14034.58); h_SL1L362->SetMaximum(97138.43); 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,9052.173); h_SL1L463->SetBinContent(3,8346.609); h_SL1L463->SetBinContent(4,7748.415); h_SL1L463->SetBinContent(5,7357.287); h_SL1L463->SetBinContent(6,7825.106); h_SL1L463->SetBinContent(7,8067.963); h_SL1L463->SetBinContent(8,7671.723); h_SL1L463->SetBinContent(9,7855.783); h_SL1L463->SetBinContent(10,7623.151); h_SL1L463->SetBinContent(11,7753.527); h_SL1L463->SetBinContent(12,8096.083); h_SL1L463->SetBinContent(13,8154.88); h_SL1L463->SetBinContent(14,8576.685); h_SL1L463->SetBinContent(15,8543.451); h_SL1L463->SetBinContent(16,8208.564); h_SL1L463->SetBinContent(17,7275.483); h_SL1L463->SetBinContent(18,6697.739); h_SL1L463->SetBinContent(19,7433.979); h_SL1L463->SetBinContent(20,7017.288); h_SL1L463->SetBinContent(21,7183.453); h_SL1L463->SetBinContent(22,7078.641); h_SL1L463->SetBinContent(23,7339.393); h_SL1L463->SetBinContent(24,6994.28); h_SL1L463->SetBinContent(25,6467.664); h_SL1L463->SetBinContent(26,6825.558); h_SL1L463->SetBinContent(27,6585.258); h_SL1L463->SetBinContent(28,6498.34); h_SL1L463->SetBinContent(29,6480.446); h_SL1L463->SetBinContent(30,6564.807); h_SL1L463->SetBinContent(31,7111.874); h_SL1L463->SetBinContent(32,6388.416); h_SL1L463->SetBinContent(33,7382.851); h_SL1L463->SetBinContent(34,14400.14); h_SL1L463->SetBinContent(35,22135.77); h_SL1L463->SetBinContent(36,20129.01); h_SL1L463->SetBinContent(37,16775.02); h_SL1L463->SetBinContent(38,17697.88); h_SL1L463->SetBinContent(39,19564.04); h_SL1L463->SetBinContent(40,8223.903); h_SL1L463->SetBinContent(41,6654.28); h_SL1L463->SetBinContent(42,6840.896); h_SL1L463->SetBinContent(43,6869.017); h_SL1L463->SetBinContent(44,7096.536); h_SL1L463->SetBinContent(45,5800.446); h_SL1L463->SetBinContent(46,6457.438); h_SL1L463->SetBinContent(47,5920.597); h_SL1L463->SetBinContent(48,5345.409); h_SL1L463->SetBinContent(49,4854.583); h_SL1L463->SetBinContent(50,5094.883); h_SL1L463->SetBinContent(51,4693.53); h_SL1L463->SetBinContent(52,4478.793); h_SL1L463->SetBinContent(53,4376.538); h_SL1L463->SetBinContent(54,4627.064); h_SL1L463->SetBinContent(56,4604.056); h_SL1L463->SetBinContent(57,4399.545); h_SL1L463->SetBinContent(58,5606.161); h_SL1L463->SetBinContent(59,5386.312); h_SL1L463->SetMaximum(97138.43); 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 6692"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }