void RatesPerCell_Removing_noisy_cells_run_6713_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19289.96,67.5,173609.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6713",60,0,60); h_SL2L164->SetBinContent(1,48887.13); h_SL2L164->SetBinContent(2,60299.9); h_SL2L164->SetBinContent(3,72693.19); h_SL2L164->SetBinContent(4,75333.3); h_SL2L164->SetBinContent(5,72790.2); h_SL2L164->SetBinContent(6,67974.25); h_SL2L164->SetBinContent(7,60840.4); h_SL2L164->SetBinContent(8,59101.11); h_SL2L164->SetBinContent(9,67745.58); h_SL2L164->SetBinContent(10,68552.86); h_SL2L164->SetBinContent(11,69533.37); h_SL2L164->SetBinContent(12,66962.55); h_SL2L164->SetBinContent(13,68078.19); h_SL2L164->SetBinContent(14,66467.09); h_SL2L164->SetBinContent(15,65583.59); h_SL2L164->SetBinContent(16,63594.85); h_SL2L164->SetBinContent(17,61204.2); h_SL2L164->SetBinContent(18,61207.66); h_SL2L164->SetBinContent(19,58591.8); h_SL2L164->SetBinContent(20,54049.56); h_SL2L164->SetBinContent(21,50449.72); h_SL2L164->SetBinContent(22,44975.47); h_SL2L164->SetBinContent(23,44538.91); h_SL2L164->SetBinContent(24,41715.17); h_SL2L164->SetBinContent(25,43807.86); h_SL2L164->SetBinContent(26,57756.8); h_SL2L164->SetBinContent(27,70877.68); h_SL2L164->SetBinContent(28,76265.31); h_SL2L164->SetBinContent(29,79193); h_SL2L164->SetBinContent(30,75343.7); h_SL2L164->SetBinContent(31,72772.88); h_SL2L164->SetBinContent(32,72880.28); h_SL2L164->SetBinContent(33,72010.64); h_SL2L164->SetBinContent(34,50685.32); h_SL2L164->SetBinContent(35,3.464715); h_SL2L164->SetBinContent(36,27717.72); h_SL2L164->SetBinContent(37,27731.58); h_SL2L164->SetBinContent(38,28382.95); h_SL2L164->SetBinContent(39,28213.18); h_SL2L164->SetBinContent(40,116688.1); h_SL2L164->SetBinContent(41,82671.57); h_SL2L164->SetBinContent(42,30063.33); h_SL2L164->SetBinContent(43,29931.68); h_SL2L164->SetBinContent(44,29709.93); h_SL2L164->SetBinContent(45,23359.11); h_SL2L164->SetBinContent(46,22638.45); h_SL2L164->SetBinContent(47,23116.58); h_SL2L164->SetBinContent(48,23123.51); h_SL2L164->SetBinContent(49,24201.04); h_SL2L164->SetBinContent(50,23480.38); h_SL2L164->SetBinContent(51,24859.33); h_SL2L164->SetBinContent(52,28455.71); h_SL2L164->SetBinContent(53,30243.5); h_SL2L164->SetBinContent(54,32318.86); h_SL2L164->SetBinContent(55,32582.18); h_SL2L164->SetBinContent(56,27974.11); h_SL2L164->SetBinContent(57,32277.29); h_SL2L164->SetMaximum(154319.6); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,39989.74); h_SL2L265->SetBinContent(2,57552.39); h_SL2L265->SetBinContent(3,63570.59); h_SL2L265->SetBinContent(4,73434.64); h_SL2L265->SetBinContent(5,71906.7); h_SL2L265->SetBinContent(6,68251.42); h_SL2L265->SetBinContent(7,62874.19); h_SL2L265->SetBinContent(8,54493.04); h_SL2L265->SetBinContent(9,63425.08); h_SL2L265->SetBinContent(10,65874.63); h_SL2L265->SetBinContent(11,66737.34); h_SL2L265->SetBinContent(12,65476.19); h_SL2L265->SetBinContent(13,65091.61); h_SL2L265->SetBinContent(14,65857.3); h_SL2L265->SetBinContent(15,63750.76); h_SL2L265->SetBinContent(16,62288.65); h_SL2L265->SetBinContent(17,60570.15); h_SL2L265->SetBinContent(18,58325.02); h_SL2L265->SetBinContent(19,57029.21); h_SL2L265->SetBinContent(20,54125.78); h_SL2L265->SetBinContent(21,51014.47); h_SL2L265->SetBinContent(22,45633.77); h_SL2L265->SetBinContent(23,43350.52); h_SL2L265->SetBinContent(24,42085.89); h_SL2L265->SetBinContent(25,39684.85); h_SL2L265->SetBinContent(26,48932.17); h_SL2L265->SetBinContent(27,62929.62); h_SL2L265->SetBinContent(28,73486.61); h_SL2L265->SetBinContent(29,76688.01); h_SL2L265->SetBinContent(30,76525.16); h_SL2L265->SetBinContent(31,71272.66); h_SL2L265->SetBinContent(32,71501.33); h_SL2L265->SetBinContent(33,72149.23); h_SL2L265->SetBinContent(34,63140.97); h_SL2L265->SetBinContent(35,37612.95); h_SL2L265->SetBinContent(36,27568.74); h_SL2L265->SetBinContent(37,25853.71); h_SL2L265->SetBinContent(38,27551.42); h_SL2L265->SetBinContent(39,26259.08); h_SL2L265->SetBinContent(40,27083.68); h_SL2L265->SetBinContent(41,26241.75); h_SL2L265->SetBinContent(42,25780.95); h_SL2L265->SetBinContent(43,24592.55); h_SL2L265->SetBinContent(44,24755.39); h_SL2L265->SetBinContent(45,22683.49); h_SL2L265->SetBinContent(46,21869.28); h_SL2L265->SetBinContent(47,21952.44); h_SL2L265->SetBinContent(48,21952.44); h_SL2L265->SetBinContent(49,22492.93); h_SL2L265->SetBinContent(50,23709.05); h_SL2L265->SetBinContent(51,21744.55); h_SL2L265->SetBinContent(52,25677); h_SL2L265->SetBinContent(53,27624.17); h_SL2L265->SetBinContent(54,29543.63); h_SL2L265->SetBinContent(55,31851.13); h_SL2L265->SetBinContent(56,28628.94); h_SL2L265->SetBinContent(57,27132.19); h_SL2L265->SetMaximum(134191.4); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,46960.75); h_SL2L366->SetBinContent(2,56287.77); h_SL2L366->SetBinContent(3,69373.99); h_SL2L366->SetBinContent(4,69706.61); h_SL2L366->SetBinContent(5,68008.9); h_SL2L366->SetBinContent(6,61134.9); h_SL2L366->SetBinContent(7,56086.81); h_SL2L366->SetBinContent(8,55802.7); h_SL2L366->SetBinContent(9,61671.93); h_SL2L366->SetBinContent(10,63147.9); h_SL2L366->SetBinContent(11,63892.81); h_SL2L366->SetBinContent(12,62808.36); h_SL2L366->SetBinContent(13,62392.59); h_SL2L366->SetBinContent(14,62098.09); h_SL2L366->SetBinContent(15,60909.7); h_SL2L366->SetBinContent(16,58474); h_SL2L366->SetBinContent(17,56512.97); h_SL2L366->SetBinContent(18,55695.3); h_SL2L366->SetBinContent(19,53522.92); h_SL2L366->SetBinContent(20,49722.13); h_SL2L366->SetBinContent(21,46780.59); h_SL2L366->SetBinContent(22,43128.77); h_SL2L366->SetBinContent(23,40852.46); h_SL2L366->SetBinContent(24,38777.09); h_SL2L366->SetBinContent(25,40034.79); h_SL2L366->SetBinContent(26,55695.3); h_SL2L366->SetBinContent(27,67842.59); h_SL2L366->SetBinContent(28,73798.44); h_SL2L366->SetBinContent(29,75250.15); h_SL2L366->SetBinContent(30,73036.2); h_SL2L366->SetBinContent(31,70811.85); h_SL2L366->SetBinContent(32,70964.3); h_SL2L366->SetBinContent(33,69509.12); h_SL2L366->SetBinContent(34,48460.97); h_SL2L366->SetBinContent(35,29869.31); h_SL2L366->SetBinContent(36,25476.05); h_SL2L366->SetBinContent(37,25573.06); h_SL2L366->SetBinContent(38,25476.05); h_SL2L366->SetBinContent(39,24485.14); h_SL2L366->SetBinContent(40,24672.24); h_SL2L366->SetBinContent(41,24214.89); h_SL2L366->SetBinContent(42,23487.3); h_SL2L366->SetBinContent(43,22752.79); h_SL2L366->SetBinContent(44,22631.52); h_SL2L366->SetBinContent(45,21197.13); h_SL2L366->SetBinContent(46,20667.03); h_SL2L366->SetBinContent(47,21834.63); h_SL2L366->SetBinContent(48,21051.61); h_SL2L366->SetBinContent(49,22537.97); h_SL2L366->SetBinContent(50,21616.36); h_SL2L366->SetBinContent(51,22842.87); h_SL2L366->SetBinContent(52,25898.75); h_SL2L366->SetBinContent(53,27946.39); h_SL2L366->SetBinContent(54,29422.36); h_SL2L366->SetBinContent(55,31227.48); h_SL2L366->SetBinContent(56,26020.01); h_SL2L366->SetBinContent(57,26092.77); h_SL2L366->SetMaximum(134191.4); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,54454.93); h_SL2L467->SetBinContent(3,60078.16); h_SL2L467->SetBinContent(4,66747.74); h_SL2L467->SetBinContent(5,66148.34); h_SL2L467->SetBinContent(6,61779.34); h_SL2L467->SetBinContent(7,58092.88); h_SL2L467->SetBinContent(8,50609.09); h_SL2L467->SetBinContent(9,59257.02); h_SL2L467->SetBinContent(10,60712.21); h_SL2L467->SetBinContent(11,62742.53); h_SL2L467->SetBinContent(12,60521.64); h_SL2L467->SetBinContent(13,60168.25); h_SL2L467->SetBinContent(14,60279.12); h_SL2L467->SetBinContent(15,59326.32); h_SL2L467->SetBinContent(16,56959.92); h_SL2L467->SetBinContent(17,55477.02); h_SL2L467->SetBinContent(18,54292.09); h_SL2L467->SetBinContent(19,53869.39); h_SL2L467->SetBinContent(20,49521.18); h_SL2L467->SetBinContent(21,47400.77); h_SL2L467->SetBinContent(22,42255.67); h_SL2L467->SetBinContent(23,39896.2); h_SL2L467->SetBinContent(24,37041.27); h_SL2L467->SetBinContent(25,35461.36); h_SL2L467->SetBinContent(26,46201.98); h_SL2L467->SetBinContent(27,61290.81); h_SL2L467->SetBinContent(28,71054.38); h_SL2L467->SetBinContent(29,74332); h_SL2L467->SetBinContent(30,74758.16); h_SL2L467->SetBinContent(31,69931.81); h_SL2L467->SetBinContent(32,70375.3); h_SL2L467->SetBinContent(33,70361.44); h_SL2L467->SetBinContent(34,62059.98); h_SL2L467->SetBinContent(35,35658.85); h_SL2L467->SetBinContent(36,25819.06); h_SL2L467->SetBinContent(37,24713.81); h_SL2L467->SetBinContent(38,24360.41); h_SL2L467->SetBinContent(39,24339.62); h_SL2L467->SetBinContent(40,23726.37); h_SL2L467->SetBinContent(41,22326.62); h_SL2L467->SetBinContent(42,23175.48); h_SL2L467->SetBinContent(43,23525.42); h_SL2L467->SetBinContent(44,22492.93); h_SL2L467->SetBinContent(45,21304.53); h_SL2L467->SetBinContent(46,20483.4); h_SL2L467->SetBinContent(47,21443.12); h_SL2L467->SetBinContent(48,20410.64); h_SL2L467->SetBinContent(49,20545.76); h_SL2L467->SetBinContent(50,22725.07); h_SL2L467->SetBinContent(51,21075.86); h_SL2L467->SetBinContent(52,23539.28); h_SL2L467->SetBinContent(53,25555.74); h_SL2L467->SetBinContent(54,27506.38); h_SL2L467->SetBinContent(55,29297.63); h_SL2L467->SetBinContent(56,27038.64); h_SL2L467->SetBinContent(57,24762.32); h_SL2L467->SetMaximum(134191.4); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6713"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }