void RatesPerCell_Removing_noisy_cells_run_6755_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14724.89,67.5,132524); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6755",60,0,60); h_SL3L168->SetBinContent(1,19914.05); h_SL3L168->SetBinContent(2,14230.51); h_SL3L168->SetBinContent(4,22337.47); h_SL3L168->SetBinContent(5,24034.2); h_SL3L168->SetBinContent(6,24830.89); h_SL3L168->SetBinContent(7,24870.9); h_SL3L168->SetBinContent(8,25034.23); h_SL3L168->SetBinContent(9,23650.85); h_SL3L168->SetBinContent(10,21924.12); h_SL3L168->SetBinContent(11,21284.1); h_SL3L168->SetBinContent(12,21577.44); h_SL3L168->SetBinContent(13,21914.12); h_SL3L168->SetBinContent(14,24167.54); h_SL3L168->SetBinContent(15,23127.5); h_SL3L168->SetBinContent(16,24110.87); h_SL3L168->SetBinContent(17,23070.83); h_SL3L168->SetBinContent(18,23530.85); h_SL3L168->SetBinContent(19,24120.87); h_SL3L168->SetBinContent(20,24357.54); h_SL3L168->SetBinContent(21,24617.55); h_SL3L168->SetBinContent(22,26297.61); h_SL3L168->SetBinContent(23,27010.97); h_SL3L168->SetBinContent(24,26727.63); h_SL3L168->SetBinContent(25,26997.64); h_SL3L168->SetBinContent(26,26774.3); h_SL3L168->SetBinContent(27,26224.28); h_SL3L168->SetBinContent(28,25964.27); h_SL3L168->SetBinContent(29,25594.26); h_SL3L168->SetBinContent(30,26867.63); h_SL3L168->SetBinContent(31,26187.61); h_SL3L168->SetBinContent(32,27434.32); h_SL3L168->SetBinContent(33,30297.76); h_SL3L168->SetBinContent(34,58062.09); h_SL3L168->SetBinContent(35,76416.09); h_SL3L168->SetBinContent(36,82119.62); h_SL3L168->SetBinContent(37,86809.8); h_SL3L168->SetBinContent(38,89073.21); h_SL3L168->SetBinContent(39,83383); h_SL3L168->SetBinContent(40,59765.48); h_SL3L168->SetBinContent(41,28517.69); h_SL3L168->SetBinContent(42,24124.2); h_SL3L168->SetBinContent(43,22470.81); h_SL3L168->SetBinContent(44,21784.12); h_SL3L168->SetBinContent(45,21620.78); h_SL3L168->SetBinContent(46,20727.41); h_SL3L168->SetBinContent(47,21280.77); h_SL3L168->SetBinContent(48,21117.43); h_SL3L168->SetBinContent(49,36677.99); h_SL3L168->SetBinContent(50,20094.06); h_SL3L168->SetBinContent(51,19830.71); h_SL3L168->SetBinContent(52,19644.04); h_SL3L168->SetBinContent(53,19014.02); h_SL3L168->SetBinContent(54,17960.65); h_SL3L168->SetBinContent(55,18944.02); h_SL3L168->SetBinContent(56,18170.65); h_SL3L168->SetBinContent(57,17780.64); h_SL3L168->SetBinContent(58,14400.52); h_SL3L168->SetBinContent(59,12303.78); h_SL3L168->SetMaximum(117799.1); 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,20197.39); h_SL3L269->SetBinContent(2,15067.21); h_SL3L269->SetBinContent(4,19200.69); h_SL3L269->SetBinContent(5,21884.12); h_SL3L269->SetBinContent(6,24054.2); h_SL3L269->SetBinContent(7,23694.19); h_SL3L269->SetBinContent(8,23860.86); h_SL3L269->SetBinContent(9,22724.15); h_SL3L269->SetBinContent(10,21930.79); h_SL3L269->SetBinContent(11,20367.4); h_SL3L269->SetBinContent(12,20264.06); h_SL3L269->SetBinContent(13,20474.07); h_SL3L269->SetBinContent(14,21624.11); h_SL3L269->SetBinContent(15,22164.13); h_SL3L269->SetBinContent(16,22637.48); h_SL3L269->SetBinContent(17,22220.8); h_SL3L269->SetBinContent(18,21614.11); h_SL3L269->SetBinContent(19,22474.14); h_SL3L269->SetBinContent(20,23507.51); h_SL3L269->SetBinContent(21,23727.52); h_SL3L269->SetBinContent(22,23777.52); h_SL3L269->SetBinContent(23,25437.58); h_SL3L269->SetBinContent(24,25787.6); h_SL3L269->SetBinContent(25,25557.59); h_SL3L269->SetBinContent(26,26130.94); h_SL3L269->SetBinContent(27,26110.94); h_SL3L269->SetBinContent(28,24947.56); h_SL3L269->SetBinContent(29,24887.56); h_SL3L269->SetBinContent(30,25564.25); h_SL3L269->SetBinContent(31,25287.58); h_SL3L269->SetBinContent(32,25350.91); h_SL3L269->SetBinContent(33,27624.33); h_SL3L269->SetBinContent(34,39178.08); h_SL3L269->SetBinContent(35,70139.2); h_SL3L269->SetBinContent(36,78769.51); h_SL3L269->SetBinContent(37,82932.98); h_SL3L269->SetBinContent(38,87109.8); h_SL3L269->SetBinContent(39,86709.79); h_SL3L269->SetBinContent(40,74019.34); h_SL3L269->SetBinContent(41,37858.03); h_SL3L269->SetBinContent(42,25760.93); h_SL3L269->SetBinContent(43,22054.13); h_SL3L269->SetBinContent(44,21084.09); h_SL3L269->SetBinContent(45,21234.1); h_SL3L269->SetBinContent(46,20544.07); h_SL3L269->SetBinContent(47,20404.07); h_SL3L269->SetBinContent(48,20334.07); h_SL3L269->SetBinContent(49,20624.08); h_SL3L269->SetBinContent(50,19607.37); h_SL3L269->SetBinContent(51,19177.36); h_SL3L269->SetBinContent(52,19084.02); h_SL3L269->SetBinContent(53,18597.34); h_SL3L269->SetBinContent(54,17523.96); h_SL3L269->SetBinContent(55,17403.96); h_SL3L269->SetBinContent(56,17553.96); h_SL3L269->SetBinContent(57,17560.63); h_SL3L269->SetBinContent(58,16070.58); h_SL3L269->SetBinContent(59,13457.15); h_SL3L269->SetMaximum(102434.2); 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,17387.29); h_SL3L370->SetBinContent(2,13347.15); h_SL3L370->SetBinContent(3,15110.54); h_SL3L370->SetBinContent(4,21157.43); h_SL3L370->SetBinContent(5,22010.79); h_SL3L370->SetBinContent(6,22724.15); h_SL3L370->SetBinContent(7,22497.48); h_SL3L370->SetBinContent(8,22484.14); h_SL3L370->SetBinContent(9,21564.11); h_SL3L370->SetBinContent(10,19100.69); h_SL3L370->SetBinContent(11,19334.03); h_SL3L370->SetBinContent(12,19397.37); h_SL3L370->SetBinContent(13,20014.05); h_SL3L370->SetBinContent(14,20964.09); h_SL3L370->SetBinContent(15,21094.09); h_SL3L370->SetBinContent(16,21360.77); h_SL3L370->SetBinContent(17,20540.74); h_SL3L370->SetBinContent(18,21150.76); h_SL3L370->SetBinContent(19,21497.44); h_SL3L370->SetBinContent(20,21877.46); h_SL3L370->SetBinContent(21,22647.48); h_SL3L370->SetBinContent(22,23924.2); h_SL3L370->SetBinContent(23,24130.87); h_SL3L370->SetBinContent(24,24287.54); h_SL3L370->SetBinContent(25,24564.22); h_SL3L370->SetBinContent(26,24047.53); h_SL3L370->SetBinContent(27,23977.53); h_SL3L370->SetBinContent(28,22887.49); h_SL3L370->SetBinContent(29,23560.85); h_SL3L370->SetBinContent(30,24317.54); h_SL3L370->SetBinContent(31,24644.22); h_SL3L370->SetBinContent(32,24757.56); h_SL3L370->SetBinContent(33,28254.35); h_SL3L370->SetBinContent(34,56862.05); h_SL3L370->SetBinContent(35,74232.67); h_SL3L370->SetBinContent(36,80072.88); h_SL3L370->SetBinContent(37,83829.69); h_SL3L370->SetBinContent(38,87033.13); h_SL3L370->SetBinContent(39,81716.27); h_SL3L370->SetBinContent(40,57392.07); h_SL3L370->SetBinContent(41,26760.96); h_SL3L370->SetBinContent(42,22754.15); h_SL3L370->SetBinContent(43,21627.45); h_SL3L370->SetBinContent(44,20154.06); h_SL3L370->SetBinContent(45,1136.708); h_SL3L370->SetBinContent(46,19620.71); h_SL3L370->SetBinContent(47,19267.36); h_SL3L370->SetBinContent(48,19044.02); h_SL3L370->SetBinContent(49,19254.03); h_SL3L370->SetBinContent(50,18540.67); h_SL3L370->SetBinContent(51,18347.33); h_SL3L370->SetBinContent(52,17850.64); h_SL3L370->SetBinContent(53,17240.62); h_SL3L370->SetBinContent(54,17077.28); h_SL3L370->SetBinContent(55,17130.62); h_SL3L370->SetBinContent(56,16993.95); h_SL3L370->SetBinContent(57,16377.26); h_SL3L370->SetBinContent(58,13710.49); h_SL3L370->SetBinContent(59,11973.76); h_SL3L370->SetMaximum(102434.2); 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,12720.46); h_SL3L471->SetBinContent(3,14427.19); h_SL3L471->SetBinContent(4,17723.97); h_SL3L471->SetBinContent(5,20367.4); h_SL3L471->SetBinContent(6,21614.11); h_SL3L471->SetBinContent(7,21897.46); h_SL3L471->SetBinContent(8,21270.77); h_SL3L471->SetBinContent(9,20654.08); h_SL3L471->SetBinContent(10,19680.71); h_SL3L471->SetBinContent(11,18454); h_SL3L471->SetBinContent(12,18410.66); h_SL3L471->SetBinContent(13,18917.35); h_SL3L471->SetBinContent(14,19584.04); h_SL3L471->SetBinContent(15,20260.73); h_SL3L471->SetBinContent(16,20470.74); h_SL3L471->SetBinContent(17,19597.37); h_SL3L471->SetBinContent(18,19844.05); h_SL3L471->SetBinContent(19,19847.38); h_SL3L471->SetBinContent(20,20730.75); h_SL3L471->SetBinContent(21,21394.1); h_SL3L471->SetBinContent(22,22157.46); h_SL3L471->SetBinContent(23,22897.49); h_SL3L471->SetBinContent(24,22870.82); h_SL3L471->SetBinContent(25,23400.84); h_SL3L471->SetBinContent(26,23497.51); h_SL3L471->SetBinContent(27,23407.51); h_SL3L471->SetBinContent(28,22397.47); h_SL3L471->SetBinContent(29,22590.81); h_SL3L471->SetBinContent(30,23230.84); h_SL3L471->SetBinContent(31,23474.18); h_SL3L471->SetBinContent(32,23590.85); h_SL3L471->SetBinContent(33,25744.26); h_SL3L471->SetBinContent(34,37061.34); h_SL3L471->SetBinContent(35,68682.48); h_SL3L471->SetBinContent(36,76772.77); h_SL3L471->SetBinContent(37,80876.25); h_SL3L471->SetBinContent(38,85296.41); h_SL3L471->SetBinContent(39,84859.73); h_SL3L471->SetBinContent(40,72552.62); h_SL3L471->SetBinContent(41,36177.97); h_SL3L471->SetBinContent(42,24177.54); h_SL3L471->SetBinContent(43,20107.39); h_SL3L471->SetBinContent(44,19554.04); h_SL3L471->SetBinContent(45,19110.69); h_SL3L471->SetBinContent(46,18774.01); h_SL3L471->SetBinContent(47,18147.32); h_SL3L471->SetBinContent(48,18510.67); h_SL3L471->SetBinContent(49,18040.65); h_SL3L471->SetBinContent(50,17650.64); h_SL3L471->SetBinContent(51,17160.62); h_SL3L471->SetBinContent(52,17473.96); h_SL3L471->SetBinContent(53,17323.96); h_SL3L471->SetBinContent(54,16070.58); h_SL3L471->SetBinContent(55,15683.9); h_SL3L471->SetBinContent(56,16383.92); h_SL3L471->SetBinContent(57,15547.23); h_SL3L471->SetBinContent(58,15147.21); h_SL3L471->SetBinContent(59,12697.12); h_SL3L471->SetMaximum(102434.2); 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 6755"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }