void RatesPerCell_Removing_noisy_cells_run_6726_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:47:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16422.72,67.5,147804.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6726",60,0,60); h_SL3L168->SetBinContent(1,28845.41); h_SL3L168->SetBinContent(2,20351.56); h_SL3L168->SetBinContent(4,34565.8); h_SL3L168->SetBinContent(5,35112.21); h_SL3L168->SetBinContent(6,37580.08); h_SL3L168->SetBinContent(7,35946.05); h_SL3L168->SetBinContent(8,35984.9); h_SL3L168->SetBinContent(9,34640.9); h_SL3L168->SetBinContent(10,31727.62); h_SL3L168->SetBinContent(11,31277.03); h_SL3L168->SetBinContent(12,31144.96); h_SL3L168->SetBinContent(13,32675.41); h_SL3L168->SetBinContent(14,34278.36); h_SL3L168->SetBinContent(15,34086.73); h_SL3L168->SetBinContent(16,34343.1); h_SL3L168->SetBinContent(17,33330.57); h_SL3L168->SetBinContent(18,33977.97); h_SL3L168->SetBinContent(19,34744.48); h_SL3L168->SetBinContent(20,36254.21); h_SL3L168->SetBinContent(21,37251.21); h_SL3L168->SetBinContent(22,38626.28); h_SL3L168->SetBinContent(23,38064.34); h_SL3L168->SetBinContent(24,38771.29); h_SL3L168->SetBinContent(25,39385.02); h_SL3L168->SetBinContent(26,39939.2); h_SL3L168->SetBinContent(27,38142.02); h_SL3L168->SetBinContent(28,37031.09); h_SL3L168->SetBinContent(29,37031.09); h_SL3L168->SetBinContent(30,38211.94); h_SL3L168->SetBinContent(31,38056.57); h_SL3L168->SetBinContent(32,38983.64); h_SL3L168->SetBinContent(33,40920.65); h_SL3L168->SetBinContent(34,67857.53); h_SL3L168->SetBinContent(35,86585.42); h_SL3L168->SetBinContent(36,92621.75); h_SL3L168->SetBinContent(37,97865.66); h_SL3L168->SetBinContent(38,99344.31); h_SL3L168->SetBinContent(39,92367.97); h_SL3L168->SetBinContent(40,69074.63); h_SL3L168->SetBinContent(41,38960.33); h_SL3L168->SetBinContent(42,33656.86); h_SL3L168->SetBinContent(43,31921.84); h_SL3L168->SetBinContent(44,31253.72); h_SL3L168->SetBinContent(45,31181.21); h_SL3L168->SetBinContent(46,29896.78); h_SL3L168->SetBinContent(47,29749.17); h_SL3L168->SetBinContent(48,30396.57); h_SL3L168->SetBinContent(49,46306.99); h_SL3L168->SetBinContent(50,29075.88); h_SL3L168->SetBinContent(51,28881.66); h_SL3L168->SetBinContent(52,28620.11); h_SL3L168->SetBinContent(53,27501.41); h_SL3L168->SetBinContent(54,26776.33); h_SL3L168->SetBinContent(55,27133.69); h_SL3L168->SetBinContent(56,26703.82); h_SL3L168->SetBinContent(57,26183.31); h_SL3L168->SetBinContent(58,20892.79); h_SL3L168->SetBinContent(59,17738.67); h_SL3L168->SetMaximum(131381.8); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,30357.72); h_SL3L269->SetBinContent(2,22138.38); h_SL3L269->SetBinContent(4,28229.09); h_SL3L269->SetBinContent(5,32677.99); h_SL3L269->SetBinContent(6,35389.29); h_SL3L269->SetBinContent(7,35314.2); h_SL3L269->SetBinContent(8,34760.02); h_SL3L269->SetBinContent(9,34306.84); h_SL3L269->SetBinContent(10,31510.09); h_SL3L269->SetBinContent(11,30000.36); h_SL3L269->SetBinContent(12,29487.62); h_SL3L269->SetBinContent(13,30611.5); h_SL3L269->SetBinContent(14,31973.63); h_SL3L269->SetBinContent(15,33315.04); h_SL3L269->SetBinContent(16,33258.06); h_SL3L269->SetBinContent(17,33255.47); h_SL3L269->SetBinContent(18,32056.49); h_SL3L269->SetBinContent(19,33276.19); h_SL3L269->SetBinContent(20,34247.29); h_SL3L269->SetBinContent(21,34459.63); h_SL3L269->SetBinContent(22,35803.62); h_SL3L269->SetBinContent(23,36502.82); h_SL3L269->SetBinContent(24,37308.18); h_SL3L269->SetBinContent(25,37253.79); h_SL3L269->SetBinContent(26,37950.39); h_SL3L269->SetBinContent(27,37432.48); h_SL3L269->SetBinContent(28,35873.55); h_SL3L269->SetBinContent(29,35961.59); h_SL3L269->SetBinContent(30,36261.98); h_SL3L269->SetBinContent(31,36469.15); h_SL3L269->SetBinContent(32,36021.15); h_SL3L269->SetBinContent(33,38173.1); h_SL3L269->SetBinContent(34,48666.1); h_SL3L269->SetBinContent(35,79888.75); h_SL3L269->SetBinContent(36,88631.2); h_SL3L269->SetBinContent(37,93481.49); h_SL3L269->SetBinContent(38,97482.41); h_SL3L269->SetBinContent(39,95876.86); h_SL3L269->SetBinContent(40,82185.71); h_SL3L269->SetBinContent(41,47057.97); h_SL3L269->SetBinContent(42,35104.44); h_SL3L269->SetBinContent(43,31416.87); h_SL3L269->SetBinContent(44,30282.63); h_SL3L269->SetBinContent(45,30054.74); h_SL3L269->SetBinContent(46,28933.45); h_SL3L269->SetBinContent(47,29083.65); h_SL3L269->SetBinContent(48,28565.73); h_SL3L269->SetBinContent(49,28951.58); h_SL3L269->SetBinContent(50,28454.38); h_SL3L269->SetBinContent(51,27491.05); h_SL3L269->SetBinContent(52,27501.41); h_SL3L269->SetBinContent(53,26843.66); h_SL3L269->SetBinContent(54,25981.32); h_SL3L269->SetBinContent(55,25559.22); h_SL3L269->SetBinContent(56,26667.56); h_SL3L269->SetBinContent(57,25743.08); h_SL3L269->SetBinContent(58,23275.21); h_SL3L269->SetBinContent(59,19390.83); h_SL3L269->SetMaximum(114246); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,25572.17); h_SL3L370->SetBinContent(2,19300.19); h_SL3L370->SetBinContent(3,22632.99); h_SL3L370->SetBinContent(4,31528.22); h_SL3L370->SetBinContent(5,32274.02); h_SL3L370->SetBinContent(6,34071.19); h_SL3L370->SetBinContent(7,33390.13); h_SL3L370->SetBinContent(8,32768.63); h_SL3L370->SetBinContent(9,31595.55); h_SL3L370->SetBinContent(10,28904.97); h_SL3L370->SetBinContent(11,28340.44); h_SL3L370->SetBinContent(12,29122.49); h_SL3L370->SetBinContent(13,29233.84); h_SL3L370->SetBinContent(14,30870.46); h_SL3L370->SetBinContent(15,31038.79); h_SL3L370->SetBinContent(16,31590.37); h_SL3L370->SetBinContent(17,30137.61); h_SL3L370->SetBinContent(18,31100.94); h_SL3L370->SetBinContent(19,32154.9); h_SL3L370->SetBinContent(20,32773.81); h_SL3L370->SetBinContent(21,33361.64); h_SL3L370->SetBinContent(22,34853.25); h_SL3L370->SetBinContent(23,35578.33); h_SL3L370->SetBinContent(24,35065.59); h_SL3L370->SetBinContent(25,35801.04); h_SL3L370->SetBinContent(26,36111.79); h_SL3L370->SetBinContent(27,34925.76); h_SL3L370->SetBinContent(28,34200.67); h_SL3L370->SetBinContent(29,34050.48); h_SL3L370->SetBinContent(30,35055.23); h_SL3L370->SetBinContent(31,34716); h_SL3L370->SetBinContent(32,34845.48); h_SL3L370->SetBinContent(33,38090.23); h_SL3L370->SetBinContent(34,65104.8); h_SL3L370->SetBinContent(35,84505.98); h_SL3L370->SetBinContent(36,89475.4); h_SL3L370->SetBinContent(37,94439.64); h_SL3L370->SetBinContent(38,95491.01); h_SL3L370->SetBinContent(39,89361.46); h_SL3L370->SetBinContent(40,66233.86); h_SL3L370->SetBinContent(41,35731.12); h_SL3L370->SetBinContent(42,31675.82); h_SL3L370->SetBinContent(43,29487.62); h_SL3L370->SetBinContent(44,28379.28); h_SL3L370->SetBinContent(45,2092.386); h_SL3L370->SetBinContent(46,27550.61); h_SL3L370->SetBinContent(47,27169.94); h_SL3L370->SetBinContent(48,27646.43); h_SL3L370->SetBinContent(49,27874.31); h_SL3L370->SetBinContent(50,26869.55); h_SL3L370->SetBinContent(51,25864.79); h_SL3L370->SetBinContent(52,25647.27); h_SL3L370->SetBinContent(53,25258.83); h_SL3L370->SetBinContent(54,24246.3); h_SL3L370->SetBinContent(55,24660.63); h_SL3L370->SetBinContent(56,24764.22); h_SL3L370->SetBinContent(57,24166.02); h_SL3L370->SetBinContent(58,20157.34); h_SL3L370->SetBinContent(59,16798.65); h_SL3L370->SetMaximum(114246); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,19118.92); h_SL3L471->SetBinContent(3,20957.53); h_SL3L471->SetBinContent(4,26364.58); h_SL3L471->SetBinContent(5,29772.48); h_SL3L471->SetBinContent(6,31605.91); h_SL3L471->SetBinContent(7,32431.98); h_SL3L471->SetBinContent(8,30665.89); h_SL3L471->SetBinContent(9,31188.98); h_SL3L471->SetBinContent(10,29161.34); h_SL3L471->SetBinContent(11,26494.06); h_SL3L471->SetBinContent(12,26548.44); h_SL3L471->SetBinContent(13,27856.18); h_SL3L471->SetBinContent(14,28793.62); h_SL3L471->SetBinContent(15,29914.91); h_SL3L471->SetBinContent(16,29474.68); h_SL3L471->SetBinContent(17,29088.83); h_SL3L471->SetBinContent(18,28734.05); h_SL3L471->SetBinContent(19,29870.88); h_SL3L471->SetBinContent(20,31015.48); h_SL3L471->SetBinContent(21,31699.13); h_SL3L471->SetBinContent(22,32641.74); h_SL3L471->SetBinContent(23,32579.59); h_SL3L471->SetBinContent(24,33812.23); h_SL3L471->SetBinContent(25,34122.98); h_SL3L471->SetBinContent(26,34539.91); h_SL3L471->SetBinContent(27,33527.38); h_SL3L471->SetBinContent(28,32004.7); h_SL3L471->SetBinContent(29,32082.39); h_SL3L471->SetBinContent(30,32996.52); h_SL3L471->SetBinContent(31,33110.46); h_SL3L471->SetBinContent(32,32773.81); h_SL3L471->SetBinContent(33,35358.22); h_SL3L471->SetBinContent(34,45553.42); h_SL3L471->SetBinContent(35,77115.3); h_SL3L471->SetBinContent(36,85748.98); h_SL3L471->SetBinContent(37,90405.06); h_SL3L471->SetBinContent(38,94820.3); h_SL3L471->SetBinContent(39,92896.24); h_SL3L471->SetBinContent(40,80432.56); h_SL3L471->SetBinContent(41,44597.86); h_SL3L471->SetBinContent(42,33017.23); h_SL3L471->SetBinContent(43,28555.37); h_SL3L471->SetBinContent(44,27822.52); h_SL3L471->SetBinContent(45,27169.94); h_SL3L471->SetBinContent(46,26522.55); h_SL3L471->SetBinContent(47,26310.2); h_SL3L471->SetBinContent(48,25981.32); h_SL3L471->SetBinContent(49,26271.36); h_SL3L471->SetBinContent(50,26066.78); h_SL3L471->SetBinContent(51,25248.47); h_SL3L471->SetBinContent(52,25181.14); h_SL3L471->SetBinContent(53,24479.36); h_SL3L471->SetBinContent(54,23407.28); h_SL3L471->SetBinContent(55,23117.24); h_SL3L471->SetBinContent(56,23570.42); h_SL3L471->SetBinContent(57,22948.92); h_SL3L471->SetBinContent(58,21796.55); h_SL3L471->SetBinContent(59,17619.55); h_SL3L471->SetMaximum(114246); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6726"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }