void RatesPerCell_Removing_noisy_cells_run_6810_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:21:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13836.08,67.5,124524.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6810",60,0,60); h_SL1L160->SetBinContent(1,18695.33); h_SL1L160->SetBinContent(2,18239.4); h_SL1L160->SetBinContent(3,18338.88); h_SL1L160->SetBinContent(4,17999); h_SL1L160->SetBinContent(5,17677.77); h_SL1L160->SetBinContent(6,18086.04); h_SL1L160->SetBinContent(7,17333.75); h_SL1L160->SetBinContent(8,17704.71); h_SL1L160->SetBinContent(9,16386.65); h_SL1L160->SetBinContent(10,15072.74); h_SL1L160->SetBinContent(11,14909.02); h_SL1L160->SetBinContent(12,15389.82); h_SL1L160->SetBinContent(13,16417.74); h_SL1L160->SetBinContent(14,16166.98); h_SL1L160->SetBinContent(15,15609.5); h_SL1L160->SetBinContent(16,15056.16); h_SL1L160->SetBinContent(17,15594.99); h_SL1L160->SetBinContent(18,16629.13); h_SL1L160->SetBinContent(19,17509.91); h_SL1L160->SetBinContent(20,16838.44); h_SL1L160->SetBinContent(21,18090.19); h_SL1L160->SetBinContent(22,17961.7); h_SL1L160->SetBinContent(23,17994.86); h_SL1L160->SetBinContent(24,17151.38); h_SL1L160->SetBinContent(25,17630.11); h_SL1L160->SetBinContent(26,16917.2); h_SL1L160->SetBinContent(27,16513.07); h_SL1L160->SetBinContent(28,17704.71); h_SL1L160->SetBinContent(29,17644.62); h_SL1L160->SetBinContent(30,17810.41); h_SL1L160->SetBinContent(31,17555.5); h_SL1L160->SetBinContent(32,19041.43); h_SL1L160->SetBinContent(33,40350.09); h_SL1L160->SetBinContent(34,55485); h_SL1L160->SetBinContent(35,59437.11); h_SL1L160->SetBinContent(36,59482.7); h_SL1L160->SetBinContent(37,65418.12); h_SL1L160->SetBinContent(38,61892.93); h_SL1L160->SetBinContent(39,42337.54); h_SL1L160->SetBinContent(40,19018.63); h_SL1L160->SetBinContent(41,16784.56); h_SL1L160->SetBinContent(42,15495.51); h_SL1L160->SetBinContent(43,15485.15); h_SL1L160->SetBinContent(44,14909.02); h_SL1L160->SetBinContent(45,14090.41); h_SL1L160->SetBinContent(46,13522.56); h_SL1L160->SetBinContent(47,13580.59); h_SL1L160->SetBinContent(48,12674.94); h_SL1L160->SetBinContent(49,12817.94); h_SL1L160->SetBinContent(50,12788.93); h_SL1L160->SetBinContent(51,11804.53); h_SL1L160->SetBinContent(52,12241.81); h_SL1L160->SetBinContent(53,12285.33); h_SL1L160->SetBinContent(54,12287.4); h_SL1L160->SetBinContent(55,12581.68); h_SL1L160->SetBinContent(56,12262.53); h_SL1L160->SetBinContent(57,13089.43); h_SL1L160->SetBinContent(58,13047.98); h_SL1L160->SetBinContent(59,13624.11); h_SL1L160->SetMaximum(110688.6); 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,19414.46); h_SL1L261->SetBinContent(2,18390.69); h_SL1L261->SetBinContent(3,18743); h_SL1L261->SetBinContent(4,18939.88); h_SL1L261->SetBinContent(5,18102.62); h_SL1L261->SetBinContent(6,19746.05); h_SL1L261->SetBinContent(7,19412.39); h_SL1L261->SetBinContent(8,19062.15); h_SL1L261->SetBinContent(9,18419.7); h_SL1L261->SetBinContent(10,16504.78); h_SL1L261->SetBinContent(11,16231.22); h_SL1L261->SetBinContent(12,16676.79); h_SL1L261->SetBinContent(13,17176.25); h_SL1L261->SetBinContent(14,17878.8); h_SL1L261->SetBinContent(15,17990.71); h_SL1L261->SetBinContent(16,18001.07); h_SL1L261->SetBinContent(17,17058.12); h_SL1L261->SetBinContent(18,17914.03); h_SL1L261->SetBinContent(19,19449.7); h_SL1L261->SetBinContent(20,19526.38); h_SL1L261->SetBinContent(21,19992.67); h_SL1L261->SetBinContent(22,20599.89); h_SL1L261->SetBinContent(23,20941.84); h_SL1L261->SetBinContent(24,21078.62); h_SL1L261->SetBinContent(25,21439.22); h_SL1L261->SetBinContent(26,20197.84); h_SL1L261->SetBinContent(27,19897.34); h_SL1L261->SetBinContent(28,20742.89); h_SL1L261->SetBinContent(29,21316.95); h_SL1L261->SetBinContent(30,20927.33); h_SL1L261->SetBinContent(31,21685.84); h_SL1L261->SetBinContent(32,23285.75); h_SL1L261->SetBinContent(33,35148.3); h_SL1L261->SetBinContent(34,67279.16); h_SL1L261->SetBinContent(35,75005.16); h_SL1L261->SetBinContent(36,80215.23); h_SL1L261->SetBinContent(37,83228.54); h_SL1L261->SetBinContent(38,81527.08); h_SL1L261->SetBinContent(39,69585.77); h_SL1L261->SetBinContent(40,33225.1); h_SL1L261->SetBinContent(41,22512.74); h_SL1L261->SetBinContent(42,19163.7); h_SL1L261->SetBinContent(43,18772.01); h_SL1L261->SetBinContent(44,18330.59); h_SL1L261->SetBinContent(45,17636.33); h_SL1L261->SetBinContent(46,18123.35); h_SL1L261->SetBinContent(47,18104.69); h_SL1L261->SetBinContent(48,16672.65); h_SL1L261->SetBinContent(49,23057.79); h_SL1L261->SetBinContent(50,16562.81); h_SL1L261->SetBinContent(51,15497.58); h_SL1L261->SetBinContent(52,15105.9); h_SL1L261->SetBinContent(53,15727.62); h_SL1L261->SetBinContent(54,15553.54); h_SL1L261->SetBinContent(55,15217.81); h_SL1L261->SetBinContent(56,17228.06); h_SL1L261->SetBinContent(57,14844.77); h_SL1L261->SetBinContent(58,14668.62); h_SL1L261->SetBinContent(59,14272.78); h_SL1L261->SetMaximum(96251.44); 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,17812.48); h_SL1L362->SetBinContent(2,18241.47); h_SL1L362->SetBinContent(3,18059.1); h_SL1L362->SetBinContent(4,17466.39); h_SL1L362->SetBinContent(5,18755.43); h_SL1L362->SetBinContent(6,18904.65); h_SL1L362->SetBinContent(7,18193.81); h_SL1L362->SetBinContent(8,18457.01); h_SL1L362->SetBinContent(9,16904.76); h_SL1L362->SetBinContent(10,16001.18); h_SL1L362->SetBinContent(11,15516.24); h_SL1L362->SetBinContent(12,16378.36); h_SL1L362->SetBinContent(13,17037.39); h_SL1L362->SetBinContent(14,17710.93); h_SL1L362->SetBinContent(15,17607.31); h_SL1L362->SetBinContent(16,16419.81); h_SL1L362->SetBinContent(17,17255); h_SL1L362->SetBinContent(18,18307.79); h_SL1L362->SetBinContent(19,18521.25); h_SL1L362->SetBinContent(20,18658.03); h_SL1L362->SetBinContent(21,19816.52); h_SL1L362->SetBinContent(22,20094.22); h_SL1L362->SetBinContent(23,20239.29); h_SL1L362->SetBinContent(24,20467.26); h_SL1L362->SetBinContent(25,20351.2); h_SL1L362->SetBinContent(26,18946.1); h_SL1L362->SetBinContent(27,19607.2); h_SL1L362->SetBinContent(28,20152.25); h_SL1L362->SetBinContent(29,20819.57); h_SL1L362->SetBinContent(30,21045.46); h_SL1L362->SetBinContent(31,21306.59); h_SL1L362->SetBinContent(32,24210.05); h_SL1L362->SetBinContent(33,53657.12); h_SL1L362->SetBinContent(34,71836.42); h_SL1L362->SetBinContent(35,77502.43); h_SL1L362->SetBinContent(36,81556.09); h_SL1L362->SetBinContent(37,83696.91); h_SL1L362->SetBinContent(38,76302.49); h_SL1L362->SetBinContent(39,52376.36); h_SL1L362->SetBinContent(40,23310.62); h_SL1L362->SetBinContent(41,20046.55); h_SL1L362->SetBinContent(42,18788.59); h_SL1L362->SetBinContent(43,17683.99); h_SL1L362->SetBinContent(44,16877.82); h_SL1L362->SetBinContent(45,17228.06); h_SL1L362->SetBinContent(46,16770.05); h_SL1L362->SetBinContent(47,16948.28); h_SL1L362->SetBinContent(48,16144.18); h_SL1L362->SetBinContent(49,15532.82); h_SL1L362->SetBinContent(50,15549.39); h_SL1L362->SetBinContent(51,14366.04); h_SL1L362->SetBinContent(52,14757.73); h_SL1L362->SetBinContent(53,16432.25); h_SL1L362->SetBinContent(54,14768.09); h_SL1L362->SetBinContent(55,15186.72); h_SL1L362->SetBinContent(56,16749.33); h_SL1L362->SetBinContent(57,14268.64); h_SL1L362->SetBinContent(58,14028.24); h_SL1L362->SetBinContent(59,13833.43); h_SL1L362->SetMaximum(96251.44); 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,16411.52); h_SL1L463->SetBinContent(3,15891.34); h_SL1L463->SetBinContent(4,15818.81); h_SL1L463->SetBinContent(5,15062.38); h_SL1L463->SetBinContent(6,16241.58); h_SL1L463->SetBinContent(7,15816.74); h_SL1L463->SetBinContent(8,16401.16); h_SL1L463->SetBinContent(9,15626.07); h_SL1L463->SetBinContent(10,14743.22); h_SL1L463->SetBinContent(11,14417.85); h_SL1L463->SetBinContent(12,15099.68); h_SL1L463->SetBinContent(13,15286.2); h_SL1L463->SetBinContent(14,16007.4); h_SL1L463->SetBinContent(15,15831.24); h_SL1L463->SetBinContent(16,15279.98); h_SL1L463->SetBinContent(17,14780.53); h_SL1L463->SetBinContent(18,15099.68); h_SL1L463->SetBinContent(19,15474.79); h_SL1L463->SetBinContent(20,15737.99); h_SL1L463->SetBinContent(21,16166.98); h_SL1L463->SetBinContent(22,16361.79); h_SL1L463->SetBinContent(23,16316.19); h_SL1L463->SetBinContent(24,16678.87); h_SL1L463->SetBinContent(25,16235.37); h_SL1L463->SetBinContent(26,16169.05); h_SL1L463->SetBinContent(27,15485.15); h_SL1L463->SetBinContent(28,15831.24); h_SL1L463->SetBinContent(29,16523.43); h_SL1L463->SetBinContent(30,16923.41); h_SL1L463->SetBinContent(31,17321.32); h_SL1L463->SetBinContent(32,17924.39); h_SL1L463->SetBinContent(33,24854.58); h_SL1L463->SetBinContent(34,52921.41); h_SL1L463->SetBinContent(35,62473.21); h_SL1L463->SetBinContent(36,63378.86); h_SL1L463->SetBinContent(37,60981.07); h_SL1L463->SetBinContent(38,62759.21); h_SL1L463->SetBinContent(39,58199.88); h_SL1L463->SetBinContent(40,24653.55); h_SL1L463->SetBinContent(41,16531.72); h_SL1L463->SetBinContent(42,14732.86); h_SL1L463->SetBinContent(43,14384.69); h_SL1L463->SetBinContent(44,14026.16); h_SL1L463->SetBinContent(45,12529.87); h_SL1L463->SetBinContent(46,13010.68); h_SL1L463->SetBinContent(47,12463.56); h_SL1L463->SetBinContent(48,11823.18); h_SL1L463->SetBinContent(49,11116.48); h_SL1L463->SetBinContent(50,11344.45); h_SL1L463->SetBinContent(51,10828.41); h_SL1L463->SetBinContent(52,10996.28); h_SL1L463->SetBinContent(53,10592.16); h_SL1L463->SetBinContent(54,10542.42); h_SL1L463->SetBinContent(56,11319.58); h_SL1L463->SetBinContent(57,10803.54); h_SL1L463->SetBinContent(58,11959.96); h_SL1L463->SetBinContent(59,12442.83); h_SL1L463->SetMaximum(96251.44); 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 6810"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }