void RatesPerCell_Removing_noisy_cells_run_6713_SL1() { //=========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,-19227,67.5,173042.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6713",60,0,60); h_SL1L160->SetBinContent(1,55723.02); h_SL1L160->SetBinContent(2,54513.83); h_SL1L160->SetBinContent(3,54479.18); h_SL1L160->SetBinContent(4,53793.17); h_SL1L160->SetBinContent(5,50844.7); h_SL1L160->SetBinContent(6,53751.59); h_SL1L160->SetBinContent(7,50972.89); h_SL1L160->SetBinContent(8,51374.8); h_SL1L160->SetBinContent(9,46586.56); h_SL1L160->SetBinContent(10,43049.09); h_SL1L160->SetBinContent(11,42290.31); h_SL1L160->SetBinContent(12,42144.8); h_SL1L160->SetBinContent(13,45571.4); h_SL1L160->SetBinContent(14,43922.2); h_SL1L160->SetBinContent(15,43939.52); h_SL1L160->SetBinContent(16,41434.53); h_SL1L160->SetBinContent(17,42768.45); h_SL1L160->SetBinContent(18,45425.88); h_SL1L160->SetBinContent(19,47695.27); h_SL1L160->SetBinContent(20,45259.57); h_SL1L160->SetBinContent(21,48145.68); h_SL1L160->SetBinContent(22,48578.77); h_SL1L160->SetBinContent(23,46936.5); h_SL1L160->SetBinContent(24,45051.69); h_SL1L160->SetBinContent(25,45481.32); h_SL1L160->SetBinContent(26,44033.07); h_SL1L160->SetBinContent(27,42252.2); h_SL1L160->SetBinContent(28,43537.61); h_SL1L160->SetBinContent(29,41839.9); h_SL1L160->SetBinContent(30,42553.63); h_SL1L160->SetBinContent(31,40187.23); h_SL1L160->SetBinContent(32,39813.04); h_SL1L160->SetBinContent(33,55386.94); h_SL1L160->SetBinContent(34,69956.06); h_SL1L160->SetBinContent(35,72613.5); h_SL1L160->SetBinContent(36,71407.78); h_SL1L160->SetBinContent(37,77457.17); h_SL1L160->SetBinContent(38,78572.81); h_SL1L160->SetBinContent(39,60171.71); h_SL1L160->SetBinContent(40,39452.71); h_SL1L160->SetBinContent(41,38389.04); h_SL1L160->SetBinContent(42,36674.01); h_SL1L160->SetBinContent(43,37152.14); h_SL1L160->SetBinContent(44,36369.12); h_SL1L160->SetBinContent(45,34210.6); h_SL1L160->SetBinContent(46,32246.11); h_SL1L160->SetBinContent(47,32717.31); h_SL1L160->SetBinContent(48,29481.26); h_SL1L160->SetBinContent(49,31646.71); h_SL1L160->SetBinContent(50,32727.7); h_SL1L160->SetBinContent(51,30804.78); h_SL1L160->SetBinContent(52,31012.67); h_SL1L160->SetBinContent(53,31251.73); h_SL1L160->SetBinContent(54,30621.15); h_SL1L160->SetBinContent(55,31910.03); h_SL1L160->SetBinContent(56,33625.06); h_SL1L160->SetBinContent(57,36195.88); h_SL1L160->SetBinContent(58,36944.26); h_SL1L160->SetBinContent(59,38274.71); h_SL1L160->SetMaximum(153815.9); 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,58837.79); h_SL1L261->SetBinContent(2,56194.21); h_SL1L261->SetBinContent(3,57545.46); h_SL1L261->SetBinContent(4,57126.23); h_SL1L261->SetBinContent(5,56703.53); h_SL1L261->SetBinContent(6,60261.79); h_SL1L261->SetBinContent(7,59146.15); h_SL1L261->SetBinContent(8,59069.93); h_SL1L261->SetBinContent(9,56298.16); h_SL1L261->SetBinContent(10,50927.85); h_SL1L261->SetBinContent(11,48606.49); h_SL1L261->SetBinContent(12,49500.39); h_SL1L261->SetBinContent(13,52192.47); h_SL1L261->SetBinContent(14,55113.23); h_SL1L261->SetBinContent(15,55362.68); h_SL1L261->SetBinContent(16,54555.41); h_SL1L261->SetBinContent(17,53484.81); h_SL1L261->SetBinContent(18,53907.5); h_SL1L261->SetBinContent(19,57885); h_SL1L261->SetBinContent(20,57819.17); h_SL1L261->SetBinContent(21,60105.88); h_SL1L261->SetBinContent(22,61585.31); h_SL1L261->SetBinContent(23,60854.26); h_SL1L261->SetBinContent(24,62108.48); h_SL1L261->SetBinContent(25,62957.34); h_SL1L261->SetBinContent(26,59544.6); h_SL1L261->SetBinContent(27,58238.4); h_SL1L261->SetBinContent(28,59506.48); h_SL1L261->SetBinContent(29,60622.12); h_SL1L261->SetBinContent(30,60123.2); h_SL1L261->SetBinContent(31,58699.21); h_SL1L261->SetBinContent(32,57451.91); h_SL1L261->SetBinContent(33,68736.48); h_SL1L261->SetBinContent(34,100033.3); h_SL1L261->SetBinContent(35,110673.4); h_SL1L261->SetBinContent(36,114883); h_SL1L261->SetBinContent(37,116307); h_SL1L261->SetBinContent(38,114411.8); h_SL1L261->SetBinContent(39,100404); h_SL1L261->SetBinContent(40,65555.88); h_SL1L261->SetBinContent(41,54014.91); h_SL1L261->SetBinContent(42,50411.61); h_SL1L261->SetBinContent(43,49205.89); h_SL1L261->SetBinContent(44,48187.26); h_SL1L261->SetBinContent(45,47944.73); h_SL1L261->SetBinContent(46,49067.3); h_SL1L261->SetBinContent(47,49285.57); h_SL1L261->SetBinContent(48,46915.71); h_SL1L261->SetBinContent(49,56935.66); h_SL1L261->SetBinContent(50,46042.6); h_SL1L261->SetBinContent(51,43970.7); h_SL1L261->SetBinContent(52,43499.5); h_SL1L261->SetBinContent(53,44739.87); h_SL1L261->SetBinContent(54,43017.91); h_SL1L261->SetBinContent(55,43353.98); h_SL1L261->SetBinContent(56,48149.15); h_SL1L261->SetBinContent(57,43066.41); h_SL1L261->SetBinContent(58,41905.73); h_SL1L261->SetBinContent(59,40790.09); h_SL1L261->SetMaximum(133753.1); 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,47147.84); h_SL1L362->SetBinContent(2,45789.68); h_SL1L362->SetBinContent(3,47411.16); h_SL1L362->SetBinContent(4,47518.57); h_SL1L362->SetBinContent(5,47871.97); h_SL1L362->SetBinContent(6,49583.54); h_SL1L362->SetBinContent(7,47906.62); h_SL1L362->SetBinContent(8,47373.05); h_SL1L362->SetBinContent(9,43340.12); h_SL1L362->SetBinContent(10,39816.51); h_SL1L362->SetBinContent(11,40208.02); h_SL1L362->SetBinContent(12,42110.15); h_SL1L362->SetBinContent(13,44389.93); h_SL1L362->SetBinContent(14,43748.96); h_SL1L362->SetBinContent(15,45741.17); h_SL1L362->SetBinContent(16,43336.66); h_SL1L362->SetBinContent(17,43794); h_SL1L362->SetBinContent(18,45626.84); h_SL1L362->SetBinContent(19,47286.43); h_SL1L362->SetBinContent(20,47470.06); h_SL1L362->SetBinContent(21,50072.07); h_SL1L362->SetBinContent(22,49472.67); h_SL1L362->SetBinContent(23,50092.85); h_SL1L362->SetBinContent(24,49999.3); h_SL1L362->SetBinContent(25,49659.76); h_SL1L362->SetBinContent(26,45554.07); h_SL1L362->SetBinContent(27,48197.65); h_SL1L362->SetBinContent(28,46489.55); h_SL1L362->SetBinContent(29,48038.28); h_SL1L362->SetBinContent(30,47158.24); h_SL1L362->SetBinContent(31,47549.75); h_SL1L362->SetBinContent(32,46565.77); h_SL1L362->SetBinContent(33,64024.47); h_SL1L362->SetBinContent(34,82446.37); h_SL1L362->SetBinContent(35,84299.98); h_SL1L362->SetBinContent(36,84895.91); h_SL1L362->SetBinContent(37,86815.37); h_SL1L362->SetBinContent(38,80613.53); h_SL1L362->SetBinContent(39,66986.8); h_SL1L362->SetBinContent(40,42546.7); h_SL1L362->SetBinContent(41,40824.74); h_SL1L362->SetBinContent(42,41718.64); h_SL1L362->SetBinContent(43,40554.49); h_SL1L362->SetBinContent(44,39716.03); h_SL1L362->SetBinContent(45,39005.77); h_SL1L362->SetBinContent(46,40440.16); h_SL1L362->SetBinContent(47,40277.32); h_SL1L362->SetBinContent(48,36071.15); h_SL1L362->SetBinContent(49,37412); h_SL1L362->SetBinContent(50,37027.41); h_SL1L362->SetBinContent(51,35828.62); h_SL1L362->SetBinContent(52,34820.39); h_SL1L362->SetBinContent(53,38416.76); h_SL1L362->SetBinContent(54,35412.86); h_SL1L362->SetBinContent(55,35201.51); h_SL1L362->SetBinContent(56,39196.32); h_SL1L362->SetBinContent(57,35024.8); h_SL1L362->SetBinContent(58,33334.02); h_SL1L362->SetBinContent(59,32890.54); h_SL1L362->SetMaximum(133753.1); 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,49095.02); h_SL1L463->SetBinContent(3,46635.07); h_SL1L463->SetBinContent(4,46174.26); h_SL1L463->SetBinContent(5,44206.3); h_SL1L463->SetBinContent(6,46118.82); h_SL1L463->SetBinContent(7,44774.52); h_SL1L463->SetBinContent(8,45339.26); h_SL1L463->SetBinContent(9,44933.89); h_SL1L463->SetBinContent(10,43056.02); h_SL1L463->SetBinContent(11,43450.99); h_SL1L463->SetBinContent(12,43731.64); h_SL1L463->SetBinContent(13,45290.76); h_SL1L463->SetBinContent(14,48315.45); h_SL1L463->SetBinContent(15,46603.88); h_SL1L463->SetBinContent(16,44805.7); h_SL1L463->SetBinContent(17,42747.66); h_SL1L463->SetBinContent(18,43263.9); h_SL1L463->SetBinContent(19,44538.91); h_SL1L463->SetBinContent(20,44864.6); h_SL1L463->SetBinContent(21,45318.48); h_SL1L463->SetBinContent(22,45578.33); h_SL1L463->SetBinContent(23,45491.71); h_SL1L463->SetBinContent(24,46933.03); h_SL1L463->SetBinContent(25,44320.64); h_SL1L463->SetBinContent(26,44965.07); h_SL1L463->SetBinContent(27,42435.83); h_SL1L463->SetBinContent(28,41874.55); h_SL1L463->SetBinContent(29,42359.61); h_SL1L463->SetBinContent(30,43953.38); h_SL1L463->SetBinContent(31,42827.34); h_SL1L463->SetBinContent(32,41098.45); h_SL1L463->SetBinContent(33,42823.88); h_SL1L463->SetBinContent(34,66068.66); h_SL1L463->SetBinContent(35,79210.32); h_SL1L463->SetBinContent(36,76868.17); h_SL1L463->SetBinContent(37,71179.11); h_SL1L463->SetBinContent(38,72218.52); h_SL1L463->SetBinContent(39,70974.7); h_SL1L463->SetBinContent(40,40720.8); h_SL1L463->SetBinContent(41,33905.7); h_SL1L463->SetBinContent(42,33548.84); h_SL1L463->SetBinContent(43,33018.73); h_SL1L463->SetBinContent(44,33011.81); h_SL1L463->SetBinContent(45,29221.41); h_SL1L463->SetBinContent(46,30662.73); h_SL1L463->SetBinContent(47,30091.05); h_SL1L463->SetBinContent(48,28008.76); h_SL1L463->SetBinContent(49,26456.57); h_SL1L463->SetBinContent(50,28119.63); h_SL1L463->SetBinContent(51,26466.96); h_SL1L463->SetBinContent(52,25961.11); h_SL1L463->SetBinContent(53,25451.8); h_SL1L463->SetBinContent(54,26640.2); h_SL1L463->SetBinContent(56,28535.39); h_SL1L463->SetBinContent(57,29418.9); h_SL1L463->SetBinContent(58,34466.99); h_SL1L463->SetBinContent(59,33964.61); h_SL1L463->SetMaximum(133753.1); 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 6713"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }