void RatesPerCell_Removing_noisy_cells_run_6581_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:34:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-32206.76,67.5,289860.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6581",60,0,60); h_SL3L168->SetBinContent(1,36365.9); h_SL3L168->SetBinContent(2,25533.5); h_SL3L168->SetBinContent(4,43420.61); h_SL3L168->SetBinContent(5,44148.84); h_SL3L168->SetBinContent(6,48465.11); h_SL3L168->SetBinContent(7,46363.87); h_SL3L168->SetBinContent(8,45832.87); h_SL3L168->SetBinContent(9,43473.71); h_SL3L168->SetBinContent(10,38330.6); h_SL3L168->SetBinContent(11,38816.08); h_SL3L168->SetBinContent(12,39104.34); h_SL3L168->SetBinContent(13,40704.93); h_SL3L168->SetBinContent(14,43428.2); h_SL3L168->SetBinContent(15,43170.28); h_SL3L168->SetBinContent(16,43875.75); h_SL3L168->SetBinContent(17,41046.28); h_SL3L168->SetBinContent(18,42320.68); h_SL3L168->SetBinContent(19,44050.22); h_SL3L168->SetBinContent(20,44277.8); h_SL3L168->SetBinContent(21,46803.84); h_SL3L168->SetBinContent(22,47653.44); h_SL3L168->SetBinContent(23,48525.79); h_SL3L168->SetBinContent(24,48366.49); h_SL3L168->SetBinContent(25,48700.27); h_SL3L168->SetBinContent(26,48032.72); h_SL3L168->SetBinContent(27,47858.25); h_SL3L168->SetBinContent(28,45483.92); h_SL3L168->SetBinContent(29,46030.09); h_SL3L168->SetBinContent(30,46151.46); h_SL3L168->SetBinContent(31,45559.78); h_SL3L168->SetBinContent(32,44475.02); h_SL3L168->SetBinContent(33,43344.75); h_SL3L168->SetBinContent(34,41289.02); h_SL3L168->SetBinContent(35,41000.77); h_SL3L168->SetBinContent(36,41766.93); h_SL3L168->SetBinContent(37,42305.51); h_SL3L168->SetBinContent(38,41251.1); h_SL3L168->SetBinContent(39,40287.71); h_SL3L168->SetBinContent(40,40052.55); h_SL3L168->SetBinContent(41,38588.51); h_SL3L168->SetBinContent(42,37033.44); h_SL3L168->SetBinContent(43,36821.04); h_SL3L168->SetBinContent(44,36987.93); h_SL3L168->SetBinContent(45,36805.87); h_SL3L168->SetBinContent(46,36062.47); h_SL3L168->SetBinContent(47,35265.97); h_SL3L168->SetBinContent(48,36745.18); h_SL3L168->SetBinContent(49,36547.96); h_SL3L168->SetBinContent(50,36813.46); h_SL3L168->SetBinContent(51,34386.03); h_SL3L168->SetBinContent(52,35455.61); h_SL3L168->SetBinContent(53,33877.79); h_SL3L168->SetBinContent(54,32512.36); h_SL3L168->SetBinContent(55,33801.93); h_SL3L168->SetBinContent(56,33817.1); h_SL3L168->SetBinContent(57,33255.76); h_SL3L168->SetBinContent(58,25890.03); h_SL3L168->SetBinContent(59,21467.56); h_SL3L168->SetMaximum(257654); 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,38482.31); h_SL3L269->SetBinContent(2,27187.19); h_SL3L269->SetBinContent(4,34886.68); h_SL3L269->SetBinContent(5,41433.15); h_SL3L269->SetBinContent(6,44391.58); h_SL3L269->SetBinContent(7,44839.14); h_SL3L269->SetBinContent(8,43587.5); h_SL3L269->SetBinContent(9,43959.2); h_SL3L269->SetBinContent(10,40098.07); h_SL3L269->SetBinContent(11,37685.81); h_SL3L269->SetBinContent(12,36206.6); h_SL3L269->SetBinContent(13,37883.04); h_SL3L269->SetBinContent(14,40500.11); h_SL3L269->SetBinContent(15,42168.97); h_SL3L269->SetBinContent(16,42313.1); h_SL3L269->SetBinContent(17,41440.74); h_SL3L269->SetBinContent(18,41114.55); h_SL3L269->SetBinContent(19,41584.87); h_SL3L269->SetBinContent(20,42684.8); h_SL3L269->SetBinContent(21,43610.25); h_SL3L269->SetBinContent(22,44217.11); h_SL3L269->SetBinContent(23,46341.11); h_SL3L269->SetBinContent(24,46591.44); h_SL3L269->SetBinContent(25,47084.51); h_SL3L269->SetBinContent(26,45825.28); h_SL3L269->SetBinContent(27,46386.62); h_SL3L269->SetBinContent(28,44156.42); h_SL3L269->SetBinContent(29,43079.25); h_SL3L269->SetBinContent(30,44877.07); h_SL3L269->SetBinContent(31,43792.31); h_SL3L269->SetBinContent(32,42639.28); h_SL3L269->SetBinContent(33,42791); h_SL3L269->SetBinContent(34,39612.58); h_SL3L269->SetBinContent(35,37845.11); h_SL3L269->SetBinContent(36,37556.86); h_SL3L269->SetBinContent(37,40917.32); h_SL3L269->SetBinContent(38,39733.95); h_SL3L269->SetBinContent(39,39005.73); h_SL3L269->SetBinContent(40,38914.7); h_SL3L269->SetBinContent(41,36752.77); h_SL3L269->SetBinContent(42,37101.71); h_SL3L269->SetBinContent(43,36836.21); h_SL3L269->SetBinContent(44,35743.87); h_SL3L269->SetBinContent(45,34932.2); h_SL3L269->SetBinContent(46,34014.33); h_SL3L269->SetBinContent(47,33930.89); h_SL3L269->SetBinContent(48,34636.36); h_SL3L269->SetBinContent(49,34659.11); h_SL3L269->SetBinContent(50,34598.43); h_SL3L269->SetBinContent(51,34408.79); h_SL3L269->SetBinContent(52,32034.46); h_SL3L269->SetBinContent(53,33885.37); h_SL3L269->SetBinContent(54,31677.93); h_SL3L269->SetBinContent(55,31564.14); h_SL3L269->SetBinContent(56,31230.37); h_SL3L269->SetBinContent(57,31321.4); h_SL3L269->SetBinContent(58,28962.24); h_SL3L269->SetBinContent(59,23151.59); h_SL3L269->SetMaximum(224047.4); 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,31693.1); h_SL3L370->SetBinContent(2,24061.88); h_SL3L370->SetBinContent(3,28651.23); h_SL3L370->SetBinContent(4,38732.64); h_SL3L370->SetBinContent(5,40507.7); h_SL3L370->SetBinContent(6,43966.78); h_SL3L370->SetBinContent(7,40849.05); h_SL3L370->SetBinContent(8,41213.17); h_SL3L370->SetBinContent(9,40697.34); h_SL3L370->SetBinContent(10,36585.88); h_SL3L370->SetBinContent(11,35417.68); h_SL3L370->SetBinContent(12,34795.66); h_SL3L370->SetBinContent(13,37314.11); h_SL3L370->SetBinContent(14,39324.32); h_SL3L370->SetBinContent(15,38262.33); h_SL3L370->SetBinContent(16,39665.68); h_SL3L370->SetBinContent(17,38338.18); h_SL3L370->SetBinContent(18,38398.87); h_SL3L370->SetBinContent(19,40318.05); h_SL3L370->SetBinContent(20,41198); h_SL3L370->SetBinContent(21,41554.52); h_SL3L370->SetBinContent(22,44717.77); h_SL3L370->SetBinContent(23,43466.12); h_SL3L370->SetBinContent(24,43670.94); h_SL3L370->SetBinContent(25,44247.45); h_SL3L370->SetBinContent(26,45279.11); h_SL3L370->SetBinContent(27,43693.7); h_SL3L370->SetBinContent(28,41198); h_SL3L370->SetBinContent(29,41311.78); h_SL3L370->SetBinContent(30,42305.51); h_SL3L370->SetBinContent(31,41160.07); h_SL3L370->SetBinContent(32,39862.91); h_SL3L370->SetBinContent(33,40211.86); h_SL3L370->SetBinContent(34,37450.66); h_SL3L370->SetBinContent(35,36866.55); h_SL3L370->SetBinContent(36,35584.57); h_SL3L370->SetBinContent(37,38004.41); h_SL3L370->SetBinContent(38,38398.87); h_SL3L370->SetBinContent(39,36790.7); h_SL3L370->SetBinContent(40,36009.37); h_SL3L370->SetBinContent(41,34901.86); h_SL3L370->SetBinContent(42,34780.48); h_SL3L370->SetBinContent(43,33270.93); h_SL3L370->SetBinContent(44,33551.6); h_SL3L370->SetBinContent(45,12319.19); h_SL3L370->SetBinContent(46,32208.93); h_SL3L370->SetBinContent(47,32512.36); h_SL3L370->SetBinContent(48,32588.21); h_SL3L370->SetBinContent(49,33748.83); h_SL3L370->SetBinContent(50,32785.44); h_SL3L370->SetBinContent(51,31382.09); h_SL3L370->SetBinContent(52,31548.97); h_SL3L370->SetBinContent(53,31822.06); h_SL3L370->SetBinContent(54,29538.76); h_SL3L370->SetBinContent(55,30426.29); h_SL3L370->SetBinContent(56,30001.49); h_SL3L370->SetBinContent(57,29121.54); h_SL3L370->SetBinContent(58,25374.2); h_SL3L370->SetBinContent(59,21239.99); h_SL3L370->SetMaximum(224047.4); 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,24759.76); h_SL3L471->SetBinContent(3,25912.79); h_SL3L471->SetBinContent(4,32322.71); h_SL3L471->SetBinContent(5,38414.04); h_SL3L471->SetBinContent(6,194823.8); h_SL3L471->SetBinContent(7,41842.78); h_SL3L471->SetBinContent(8,40348.4); h_SL3L471->SetBinContent(9,39248.47); h_SL3L471->SetBinContent(10,36259.7); h_SL3L471->SetBinContent(11,32087.56); h_SL3L471->SetBinContent(12,33597.11); h_SL3L471->SetBinContent(13,35137.01); h_SL3L471->SetBinContent(14,36153.5); h_SL3L471->SetBinContent(15,38140.95); h_SL3L471->SetBinContent(16,36555.54); h_SL3L471->SetBinContent(17,36631.4); h_SL3L471->SetBinContent(18,37556.86); h_SL3L471->SetBinContent(19,36252.11); h_SL3L471->SetBinContent(20,39013.31); h_SL3L471->SetBinContent(21,39870.5); h_SL3L471->SetBinContent(22,40735.27); h_SL3L471->SetBinContent(23,42070.35); h_SL3L471->SetBinContent(24,40401.5); h_SL3L471->SetBinContent(25,41979.32); h_SL3L471->SetBinContent(26,43466.12); h_SL3L471->SetBinContent(27,42442.05); h_SL3L471->SetBinContent(28,40211.86); h_SL3L471->SetBinContent(29,39635.34); h_SL3L471->SetBinContent(30,39764.3); h_SL3L471->SetBinContent(31,40287.71); h_SL3L471->SetBinContent(32,39824.98); h_SL3L471->SetBinContent(33,38937.45); h_SL3L471->SetBinContent(34,36654.16); h_SL3L471->SetBinContent(35,35796.97); h_SL3L471->SetBinContent(36,35523.88); h_SL3L471->SetBinContent(37,35174.94); h_SL3L471->SetBinContent(38,36934.83); h_SL3L471->SetBinContent(39,35008.05); h_SL3L471->SetBinContent(40,35341.83); h_SL3L471->SetBinContent(41,34249.48); h_SL3L471->SetBinContent(42,33399.89); h_SL3L471->SetBinContent(43,32899.23); h_SL3L471->SetBinContent(44,32133.07); h_SL3L471->SetBinContent(45,31283.47); h_SL3L471->SetBinContent(46,31169.69); h_SL3L471->SetBinContent(47,30729.71); h_SL3L471->SetBinContent(48,29902.87); h_SL3L471->SetBinContent(49,31230.37); h_SL3L471->SetBinContent(50,31374.5); h_SL3L471->SetBinContent(51,30942.12); h_SL3L471->SetBinContent(52,30100.1); h_SL3L471->SetBinContent(53,29880.12); h_SL3L471->SetBinContent(54,28340.22); h_SL3L471->SetBinContent(55,27043.06); h_SL3L471->SetBinContent(56,29083.62); h_SL3L471->SetBinContent(57,28400.9); h_SL3L471->SetBinContent(58,26094.85); h_SL3L471->SetBinContent(59,21619.28); h_SL3L471->SetMaximum(224047.4); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 6581"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }