void RatesPerCell_Removing_noisy_cells_run_6877_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:11:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13943.32,67.5,125489.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 6877",60,0,60); h_SL1L160->SetBinContent(1,18600.48); h_SL1L160->SetBinContent(2,18056.78); h_SL1L160->SetBinContent(3,18388.1); h_SL1L160->SetBinContent(4,17135.04); h_SL1L160->SetBinContent(5,16926.91); h_SL1L160->SetBinContent(6,19067.72); h_SL1L160->SetBinContent(7,17287.96); h_SL1L160->SetBinContent(8,17304.95); h_SL1L160->SetBinContent(9,15584.65); h_SL1L160->SetBinContent(10,14764.85); h_SL1L160->SetBinContent(11,14586.45); h_SL1L160->SetBinContent(12,15368.02); h_SL1L160->SetBinContent(13,16047.64); h_SL1L160->SetBinContent(14,16187.81); h_SL1L160->SetBinContent(15,15644.12); h_SL1L160->SetBinContent(16,15389.26); h_SL1L160->SetBinContent(17,15465.71); h_SL1L160->SetBinContent(18,17194.51); h_SL1L160->SetBinContent(19,17343.18); h_SL1L160->SetBinContent(20,16429.93); h_SL1L160->SetBinContent(21,18005.81); h_SL1L160->SetBinContent(22,18273.41); h_SL1L160->SetBinContent(23,18277.66); h_SL1L160->SetBinContent(24,17411.14); h_SL1L160->SetBinContent(25,17211.5); h_SL1L160->SetBinContent(26,17253.98); h_SL1L160->SetBinContent(27,16909.92); h_SL1L160->SetBinContent(28,17232.74); h_SL1L160->SetBinContent(29,18086.52); h_SL1L160->SetBinContent(30,17984.57); h_SL1L160->SetBinContent(31,17678.74); h_SL1L160->SetBinContent(32,19220.64); h_SL1L160->SetBinContent(33,40543.87); h_SL1L160->SetBinContent(34,55839.68); h_SL1L160->SetBinContent(35,60546.08); h_SL1L160->SetBinContent(36,59420.45); h_SL1L160->SetBinContent(37,67032.25); h_SL1L160->SetBinContent(38,63778.55); h_SL1L160->SetBinContent(39,42701.68); h_SL1L160->SetBinContent(40,19071.97); h_SL1L160->SetBinContent(41,16706.03); h_SL1L160->SetBinContent(42,16030.65); h_SL1L160->SetBinContent(43,15512.44); h_SL1L160->SetBinContent(44,15087.67); h_SL1L160->SetBinContent(45,14102.22); h_SL1L160->SetBinContent(46,13567.01); h_SL1L160->SetBinContent(47,13673.2); h_SL1L160->SetBinContent(48,12789.69); h_SL1L160->SetBinContent(49,12849.16); h_SL1L160->SetBinContent(50,12904.38); h_SL1L160->SetBinContent(51,11562.12); h_SL1L160->SetBinContent(52,11982.64); h_SL1L160->SetBinContent(53,12462.62); h_SL1L160->SetBinContent(54,12008.12); h_SL1L160->SetBinContent(55,12144.05); h_SL1L160->SetBinContent(56,12275.72); h_SL1L160->SetBinContent(57,13452.32); h_SL1L160->SetBinContent(58,13316.4); h_SL1L160->SetBinContent(59,13936.56); h_SL1L160->SetMaximum(111546.5); 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,18668.45); h_SL1L261->SetBinContent(2,18315.89); h_SL1L261->SetBinContent(3,17733.96); h_SL1L261->SetBinContent(4,18179.96); h_SL1L261->SetBinContent(5,17729.71); h_SL1L261->SetBinContent(6,19016.75); h_SL1L261->SetBinContent(7,19029.5); h_SL1L261->SetBinContent(8,18851.09); h_SL1L261->SetBinContent(9,17950.59); h_SL1L261->SetBinContent(10,15941.45); h_SL1L261->SetBinContent(11,15635.62); h_SL1L261->SetBinContent(12,16102.86); h_SL1L261->SetBinContent(13,16438.43); h_SL1L261->SetBinContent(14,17721.22); h_SL1L261->SetBinContent(15,17568.3); h_SL1L261->SetBinContent(16,18056.78); h_SL1L261->SetBinContent(17,17525.83); h_SL1L261->SetBinContent(18,17861.39); h_SL1L261->SetBinContent(19,18927.55); h_SL1L261->SetBinContent(20,19263.12); h_SL1L261->SetBinContent(21,20184.86); h_SL1L261->SetBinContent(22,20422.73); h_SL1L261->SetBinContent(23,20864.48); h_SL1L261->SetBinContent(24,21208.54); h_SL1L261->SetBinContent(25,21629.06); h_SL1L261->SetBinContent(26,20830.5); h_SL1L261->SetBinContent(27,20426.97); h_SL1L261->SetBinContent(28,20979.17); h_SL1L261->SetBinContent(29,20932.45); h_SL1L261->SetBinContent(30,21981.62); h_SL1L261->SetBinContent(31,21425.17); h_SL1L261->SetBinContent(32,23464.05); h_SL1L261->SetBinContent(33,34219.11); h_SL1L261->SetBinContent(34,67452.77); h_SL1L261->SetBinContent(35,75829.14); h_SL1L261->SetBinContent(36,79392.93); h_SL1L261->SetBinContent(37,84345.7); h_SL1L261->SetBinContent(38,82175.14); h_SL1L261->SetBinContent(39,68684.59); h_SL1L261->SetBinContent(40,33802.84); h_SL1L261->SetBinContent(41,21973.12); h_SL1L261->SetBinContent(42,19764.34); h_SL1L261->SetBinContent(43,18392.35); h_SL1L261->SetBinContent(44,17882.63); h_SL1L261->SetBinContent(45,17457.86); h_SL1L261->SetBinContent(46,17530.07); h_SL1L261->SetBinContent(47,17772.19); h_SL1L261->SetBinContent(48,17394.15); h_SL1L261->SetBinContent(49,30536.39); h_SL1L261->SetBinContent(50,16408.69); h_SL1L261->SetBinContent(51,15104.66); h_SL1L261->SetBinContent(52,15164.13); h_SL1L261->SetBinContent(53,15673.85); h_SL1L261->SetBinContent(54,15682.34); h_SL1L261->SetBinContent(55,15397.75); h_SL1L261->SetBinContent(56,20584.14); h_SL1L261->SetBinContent(57,14616.18); h_SL1L261->SetBinContent(58,14747.86); h_SL1L261->SetBinContent(59,13741.17); h_SL1L261->SetMaximum(96997.55); 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,17865.64); h_SL1L362->SetBinContent(2,17372.91); h_SL1L362->SetBinContent(3,17525.83); h_SL1L362->SetBinContent(4,16718.77); h_SL1L362->SetBinContent(5,18303.15); h_SL1L362->SetBinContent(6,18689.68); h_SL1L362->SetBinContent(7,17623.52); h_SL1L362->SetBinContent(8,17763.7); h_SL1L362->SetBinContent(9,16170.82); h_SL1L362->SetBinContent(10,15091.92); h_SL1L362->SetBinContent(11,15656.86); h_SL1L362->SetBinContent(12,16115.6); h_SL1L362->SetBinContent(13,16459.66); h_SL1L362->SetBinContent(14,17109.56); h_SL1L362->SetBinContent(15,17470.61); h_SL1L362->SetBinContent(16,16926.91); h_SL1L362->SetBinContent(17,17279.46); h_SL1L362->SetBinContent(18,17827.41); h_SL1L362->SetBinContent(19,18906.31); h_SL1L362->SetBinContent(20,18201.2); h_SL1L362->SetBinContent(21,19352.32); h_SL1L362->SetBinContent(22,19467); h_SL1L362->SetBinContent(23,19416.03); h_SL1L362->SetBinContent(24,20189.11); h_SL1L362->SetBinContent(25,20218.84); h_SL1L362->SetBinContent(26,18706.67); h_SL1L362->SetBinContent(27,19526.47); h_SL1L362->SetBinContent(28,19870.53); h_SL1L362->SetBinContent(29,20282.55); h_SL1L362->SetBinContent(30,20830.5); h_SL1L362->SetBinContent(31,20257.07); h_SL1L362->SetBinContent(32,23625.46); h_SL1L362->SetBinContent(33,50780.72); h_SL1L362->SetBinContent(34,69436.42); h_SL1L362->SetBinContent(35,74830.95); h_SL1L362->SetBinContent(36,76823.09); h_SL1L362->SetBinContent(37,81121.73); h_SL1L362->SetBinContent(38,73463.2); h_SL1L362->SetBinContent(39,51341.41); h_SL1L362->SetBinContent(40,22410.63); h_SL1L362->SetBinContent(41,19416.03); h_SL1L362->SetBinContent(42,17389.9); h_SL1L362->SetBinContent(43,17691.48); h_SL1L362->SetBinContent(44,16786.73); h_SL1L362->SetBinContent(45,16820.71); h_SL1L362->SetBinContent(46,17283.71); h_SL1L362->SetBinContent(47,16909.92); h_SL1L362->SetBinContent(48,15227.84); h_SL1L362->SetBinContent(49,15627.12); h_SL1L362->SetBinContent(50,15491.2); h_SL1L362->SetBinContent(51,14123.45); h_SL1L362->SetBinContent(52,14208.41); h_SL1L362->SetBinContent(53,18052.54); h_SL1L362->SetBinContent(54,14718.13); h_SL1L362->SetBinContent(55,14854.05); h_SL1L362->SetBinContent(56,20006.46); h_SL1L362->SetBinContent(57,14688.39); h_SL1L362->SetBinContent(58,13639.22); h_SL1L362->SetBinContent(59,13210.21); h_SL1L362->SetMaximum(96997.55); 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,15966.94); h_SL1L463->SetBinContent(3,15559.16); h_SL1L463->SetBinContent(4,16017.91); h_SL1L463->SetBinContent(5,14934.76); h_SL1L463->SetBinContent(6,16311); h_SL1L463->SetBinContent(7,15431.73); h_SL1L463->SetBinContent(8,15843.75); h_SL1L463->SetBinContent(9,15385.01); h_SL1L463->SetBinContent(10,14331.59); h_SL1L463->SetBinContent(11,14590.7); h_SL1L463->SetBinContent(12,14352.83); h_SL1L463->SetBinContent(13,14764.85); h_SL1L463->SetBinContent(14,16676.29); h_SL1L463->SetBinContent(15,15775.79); h_SL1L463->SetBinContent(16,15580.4); h_SL1L463->SetBinContent(17,14548.22); h_SL1L463->SetBinContent(18,15172.62); h_SL1L463->SetBinContent(19,16357.72); h_SL1L463->SetBinContent(20,15886.23); h_SL1L463->SetBinContent(21,15818.27); h_SL1L463->SetBinContent(22,16391.7); h_SL1L463->SetBinContent(23,16935.4); h_SL1L463->SetBinContent(24,16795.23); h_SL1L463->SetBinContent(25,16672.05); h_SL1L463->SetBinContent(26,16417.19); h_SL1L463->SetBinContent(27,16030.65); h_SL1L463->SetBinContent(28,15635.62); h_SL1L463->SetBinContent(29,16298.25); h_SL1L463->SetBinContent(30,17457.86); h_SL1L463->SetBinContent(31,17062.83); h_SL1L463->SetBinContent(32,17606.53); h_SL1L463->SetBinContent(33,25018.69); h_SL1L463->SetBinContent(34,53465.24); h_SL1L463->SetBinContent(35,63213.61); h_SL1L463->SetBinContent(36,62657.16); h_SL1L463->SetBinContent(37,60206.27); h_SL1L463->SetBinContent(38,63838.01); h_SL1L463->SetBinContent(39,57020.53); h_SL1L463->SetBinContent(40,24925.24); h_SL1L463->SetBinContent(41,15966.94); h_SL1L463->SetBinContent(42,14705.38); h_SL1L463->SetBinContent(43,14446.28); h_SL1L463->SetBinContent(44,14144.69); h_SL1L463->SetBinContent(45,12556.07); h_SL1L463->SetBinContent(46,13405.6); h_SL1L463->SetBinContent(47,13099.77); h_SL1L463->SetBinContent(48,12165.29); h_SL1L463->SetBinContent(49,11099.12); h_SL1L463->SetBinContent(50,11366.73); h_SL1L463->SetBinContent(51,11145.85); h_SL1L463->SetBinContent(52,10916.47); h_SL1L463->SetBinContent(53,11400.71); h_SL1L463->SetBinContent(54,11082.13); h_SL1L463->SetBinContent(56,11455.93); h_SL1L463->SetBinContent(57,10954.7); h_SL1L463->SetBinContent(58,12076.08); h_SL1L463->SetBinContent(59,11600.35); h_SL1L463->SetMaximum(96997.55); 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 6877"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }