void RatesPerCell_Removing_noisy_cells_run_6621_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-37060.77,67.5,333546.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6621",60,0,60); h_SL2L164->SetBinContent(1,63577.41); h_SL2L164->SetBinContent(2,78654.16); h_SL2L164->SetBinContent(3,94889.8); h_SL2L164->SetBinContent(4,96701.27); h_SL2L164->SetBinContent(5,95163.59); h_SL2L164->SetBinContent(6,86143.79); h_SL2L164->SetBinContent(7,77105.23); h_SL2L164->SetBinContent(8,75421.29); h_SL2L164->SetBinContent(9,87355.18); h_SL2L164->SetBinContent(10,87043.89); h_SL2L164->SetBinContent(11,88544.07); h_SL2L164->SetBinContent(12,84602.36); h_SL2L164->SetBinContent(13,84917.4); h_SL2L164->SetBinContent(14,83811.02); h_SL2L164->SetBinContent(15,82082.06); h_SL2L164->SetBinContent(16,79659.28); h_SL2L164->SetBinContent(17,76921.46); h_SL2L164->SetBinContent(18,76340.15); h_SL2L164->SetBinContent(19,73137.27); h_SL2L164->SetBinContent(20,67496.62); h_SL2L164->SetBinContent(21,62178.5); h_SL2L164->SetBinContent(22,56102.79); h_SL2L164->SetBinContent(23,54865.14); h_SL2L164->SetBinContent(24,51122.21); h_SL2L164->SetBinContent(25,52142.32); h_SL2L164->SetBinContent(26,67714.14); h_SL2L164->SetBinContent(27,80236.85); h_SL2L164->SetBinContent(28,89402.91); h_SL2L164->SetBinContent(29,92335.76); h_SL2L164->SetBinContent(30,86237.55); h_SL2L164->SetBinContent(31,76655.18); h_SL2L164->SetBinContent(32,72769.73); h_SL2L164->SetBinContent(33,68614.24); h_SL2L164->SetBinContent(34,50330.86); h_SL2L164->SetBinContent(36,33941.45); h_SL2L164->SetBinContent(37,34815.31); h_SL2L164->SetBinContent(38,34162.73); h_SL2L164->SetBinContent(39,34875.31); h_SL2L164->SetBinContent(40,82209.58); h_SL2L164->SetBinContent(41,224186.1); h_SL2L164->SetBinContent(42,37466.87); h_SL2L164->SetBinContent(43,37459.36); h_SL2L164->SetBinContent(44,36439.25); h_SL2L164->SetBinContent(45,28889.62); h_SL2L164->SetBinContent(46,27243.17); h_SL2L164->SetBinContent(47,27666.97); h_SL2L164->SetBinContent(48,28375.81); h_SL2L164->SetBinContent(49,30599.82); h_SL2L164->SetBinContent(50,29737.21); h_SL2L164->SetBinContent(51,31938.72); h_SL2L164->SetBinContent(52,35760.42); h_SL2L164->SetBinContent(53,39405.84); h_SL2L164->SetBinContent(54,41873.63); h_SL2L164->SetBinContent(55,42211.17); h_SL2L164->SetBinContent(56,36382.99); h_SL2L164->SetBinContent(57,36896.8); h_SL2L164->SetMaximum(296486.1); 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,51793.54); h_SL2L265->SetBinContent(2,74236.15); h_SL2L265->SetBinContent(3,81133.2); h_SL2L265->SetBinContent(4,93558.4); h_SL2L265->SetBinContent(5,93003.34); h_SL2L265->SetBinContent(6,86327.56); h_SL2L265->SetBinContent(7,79696.79); h_SL2L265->SetBinContent(8,69525.6); h_SL2L265->SetBinContent(9,80135.59); h_SL2L265->SetBinContent(10,84118.55); h_SL2L265->SetBinContent(11,84808.63); h_SL2L265->SetBinContent(12,81324.48); h_SL2L265->SetBinContent(13,82933.41); h_SL2L265->SetBinContent(14,82779.65); h_SL2L265->SetBinContent(15,79595.52); h_SL2L265->SetBinContent(16,77382.77); h_SL2L265->SetBinContent(17,75012.49); h_SL2L265->SetBinContent(18,73962.37); h_SL2L265->SetBinContent(19,72083.4); h_SL2L265->SetBinContent(20,67421.61); h_SL2L265->SetBinContent(21,63254.87); h_SL2L265->SetBinContent(22,56852.88); h_SL2L265->SetBinContent(23,52997.43); h_SL2L265->SetBinContent(24,51471); h_SL2L265->SetBinContent(25,48748.18); h_SL2L265->SetBinContent(26,57284.18); h_SL2L265->SetBinContent(27,72454.7); h_SL2L265->SetBinContent(28,84437.34); h_SL2L265->SetBinContent(29,89987.98); h_SL2L265->SetBinContent(30,89740.46); h_SL2L265->SetBinContent(31,79426.76); h_SL2L265->SetBinContent(32,73279.79); h_SL2L265->SetBinContent(33,69810.63); h_SL2L265->SetBinContent(34,60228.27); h_SL2L265->SetBinContent(35,39705.88); h_SL2L265->SetBinContent(36,32673.81); h_SL2L265->SetBinContent(37,32235.01); h_SL2L265->SetBinContent(38,32043.73); h_SL2L265->SetBinContent(39,32205); h_SL2L265->SetBinContent(40,34534.02); h_SL2L265->SetBinContent(41,32377.52); h_SL2L265->SetBinContent(42,30881.1); h_SL2L265->SetBinContent(43,30427.29); h_SL2L265->SetBinContent(44,30412.29); h_SL2L265->SetBinContent(45,27865.75); h_SL2L265->SetBinContent(46,27381.94); h_SL2L265->SetBinContent(47,27205.67); h_SL2L265->SetBinContent(48,27831.99); h_SL2L265->SetBinContent(49,27963.26); h_SL2L265->SetBinContent(50,29909.73); h_SL2L265->SetBinContent(51,28402.06); h_SL2L265->SetBinContent(52,32377.52); h_SL2L265->SetBinContent(53,34912.82); h_SL2L265->SetBinContent(54,38336.97); h_SL2L265->SetBinContent(55,41671.11); h_SL2L265->SetBinContent(56,36514.25); h_SL2L265->SetBinContent(57,35351.62); h_SL2L265->SetMaximum(257814); 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,59373.17); h_SL2L366->SetBinContent(2,71513.34); h_SL2L366->SetBinContent(3,89800.46); h_SL2L366->SetBinContent(4,88855.35); h_SL2L366->SetBinContent(5,86110.03); h_SL2L366->SetBinContent(6,79580.52); h_SL2L366->SetBinContent(7,70609.48); h_SL2L366->SetBinContent(8,71937.13); h_SL2L366->SetBinContent(9,80934.43); h_SL2L366->SetBinContent(10,81718.27); h_SL2L366->SetBinContent(11,80690.66); h_SL2L366->SetBinContent(12,79880.55); h_SL2L366->SetBinContent(13,79115.47); h_SL2L366->SetBinContent(14,78121.6); h_SL2L366->SetBinContent(15,76351.4); h_SL2L366->SetBinContent(16,74048.62); h_SL2L366->SetBinContent(17,70909.52); h_SL2L366->SetBinContent(18,69788.13); h_SL2L366->SetBinContent(19,67140.32); h_SL2L366->SetBinContent(20,61897.21); h_SL2L366->SetBinContent(21,57445.45); h_SL2L366->SetBinContent(22,52333.6); h_SL2L366->SetBinContent(23,50522.14); h_SL2L366->SetBinContent(24,47420.53); h_SL2L366->SetBinContent(25,48706.93); h_SL2L366->SetBinContent(26,64267.49); h_SL2L366->SetBinContent(27,77266.5); h_SL2L366->SetBinContent(28,86233.8); h_SL2L366->SetBinContent(29,89927.98); h_SL2L366->SetBinContent(30,83796.02); h_SL2L366->SetBinContent(31,74179.89); h_SL2L366->SetBinContent(32,70549.47); h_SL2L366->SetBinContent(33,66450.24); h_SL2L366->SetBinContent(34,47645.55); h_SL2L366->SetBinContent(35,33225.12); h_SL2L366->SetBinContent(36,31128.63); h_SL2L366->SetBinContent(37,30854.85); h_SL2L366->SetBinContent(38,31008.61); h_SL2L366->SetBinContent(39,30037.25); h_SL2L366->SetBinContent(40,30206.02); h_SL2L366->SetBinContent(41,28765.85); h_SL2L366->SetBinContent(42,28672.09); h_SL2L366->SetBinContent(43,29140.9); h_SL2L366->SetBinContent(44,28147.03); h_SL2L366->SetBinContent(45,26624.35); h_SL2L366->SetBinContent(46,25769.25); h_SL2L366->SetBinContent(47,26444.33); h_SL2L366->SetBinContent(48,26436.83); h_SL2L366->SetBinContent(49,28237.04); h_SL2L366->SetBinContent(50,27843.24); h_SL2L366->SetBinContent(51,28263.29); h_SL2L366->SetBinContent(52,32193.75); h_SL2L366->SetBinContent(53,35520.39); h_SL2L366->SetBinContent(54,38126.94); h_SL2L366->SetBinContent(55,39424.59); h_SL2L366->SetBinContent(56,32947.59); h_SL2L366->SetBinContent(57,33933.95); h_SL2L366->SetMaximum(257814); 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,68524.23); h_SL2L467->SetBinContent(3,77866.57); h_SL2L467->SetBinContent(4,86425.07); h_SL2L467->SetBinContent(5,85063.66); h_SL2L467->SetBinContent(6,78451.64); h_SL2L467->SetBinContent(7,72439.69); h_SL2L467->SetBinContent(8,63997.46); h_SL2L467->SetBinContent(9,75019.99); h_SL2L467->SetBinContent(10,78372.88); h_SL2L467->SetBinContent(11,79134.22); h_SL2L467->SetBinContent(12,76085.12); h_SL2L467->SetBinContent(13,76145.12); h_SL2L467->SetBinContent(14,75706.32); h_SL2L467->SetBinContent(15,74989.98); h_SL2L467->SetBinContent(16,71037.03); h_SL2L467->SetBinContent(17,69975.66); h_SL2L467->SetBinContent(18,68546.73); h_SL2L467->SetBinContent(19,67365.35); h_SL2L467->SetBinContent(20,62234.75); h_SL2L467->SetBinContent(21,58360.55); h_SL2L467->SetBinContent(22,52491.12); h_SL2L467->SetBinContent(23,49937.07); h_SL2L467->SetBinContent(24,47428.03); h_SL2L467->SetBinContent(25,44412.68); h_SL2L467->SetBinContent(26,55135.18); h_SL2L467->SetBinContent(27,70616.98); h_SL2L467->SetBinContent(28,81845.79); h_SL2L467->SetBinContent(29,87696.47); h_SL2L467->SetBinContent(30,88195.27); h_SL2L467->SetBinContent(31,77405.27); h_SL2L467->SetBinContent(32,71355.81); h_SL2L467->SetBinContent(33,68351.71); h_SL2L467->SetBinContent(34,57524.2); h_SL2L467->SetBinContent(35,37054.32); h_SL2L467->SetBinContent(36,30723.58); h_SL2L467->SetBinContent(37,29609.7); h_SL2L467->SetBinContent(38,29752.22); h_SL2L467->SetBinContent(39,29804.72); h_SL2L467->SetBinContent(40,29144.65); h_SL2L467->SetBinContent(41,28297.05); h_SL2L467->SetBinContent(42,28184.54); h_SL2L467->SetBinContent(43,27378.19); h_SL2L467->SetBinContent(44,27104.41); h_SL2L467->SetBinContent(45,26189.3); h_SL2L467->SetBinContent(46,24662.87); h_SL2L467->SetBinContent(47,24535.36); h_SL2L467->SetBinContent(48,25409.21); h_SL2L467->SetBinContent(49,26249.31); h_SL2L467->SetBinContent(50,27374.44); h_SL2L467->SetBinContent(51,26211.8); h_SL2L467->SetBinContent(52,29748.47); h_SL2L467->SetBinContent(53,32392.53); h_SL2L467->SetBinContent(54,35606.65); h_SL2L467->SetBinContent(55,38036.93); h_SL2L467->SetBinContent(56,34560.28); h_SL2L467->SetBinContent(57,32958.84); h_SL2L467->SetMaximum(257814); 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.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("SL2, run 6621"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }