void RatesPerCell_Removing_noisy_cells_run_6580_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:33:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12832.56,67.5,115493.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6580",60,0,60); h_SL1L160->SetBinContent(1,49243.5); h_SL1L160->SetBinContent(2,47209.59); h_SL1L160->SetBinContent(3,46350.2); h_SL1L160->SetBinContent(4,41697.99); h_SL1L160->SetBinContent(5,36025.96); h_SL1L160->SetBinContent(6,38432.28); h_SL1L160->SetBinContent(7,34650.93); h_SL1L160->SetBinContent(8,35859.81); h_SL1L160->SetBinContent(9,33791.53); h_SL1L160->SetBinContent(10,31310.73); h_SL1L160->SetBinContent(11,29849.76); h_SL1L160->SetBinContent(12,29082.03); h_SL1L160->SetBinContent(13,30863.84); h_SL1L160->SetBinContent(14,29294.01); h_SL1L160->SetBinContent(15,29792.46); h_SL1L160->SetBinContent(16,28835.67); h_SL1L160->SetBinContent(17,28543.47); h_SL1L160->SetBinContent(18,28325.76); h_SL1L160->SetBinContent(19,31276.36); h_SL1L160->SetBinContent(20,28325.76); h_SL1L160->SetBinContent(21,32124.29); h_SL1L160->SetBinContent(22,30697.69); h_SL1L160->SetBinContent(23,30233.62); h_SL1L160->SetBinContent(24,26899.16); h_SL1L160->SetBinContent(25,27472.09); h_SL1L160->SetBinContent(26,28342.94); h_SL1L160->SetBinContent(27,28405.97); h_SL1L160->SetBinContent(28,26922.07); h_SL1L160->SetBinContent(29,25403.8); h_SL1L160->SetBinContent(30,26320.49); h_SL1L160->SetBinContent(31,25661.62); h_SL1L160->SetBinContent(32,22682.38); h_SL1L160->SetBinContent(33,22579.25); h_SL1L160->SetBinContent(34,24521.49); h_SL1L160->SetBinContent(35,24194.92); h_SL1L160->SetBinContent(36,22642.27); h_SL1L160->SetBinContent(37,23977.2); h_SL1L160->SetBinContent(38,24338.15); h_SL1L160->SetBinContent(39,23398.54); h_SL1L160->SetBinContent(40,21393.28); h_SL1L160->SetBinContent(41,22092.26); h_SL1L160->SetBinContent(42,22241.22); h_SL1L160->SetBinContent(43,23261.04); h_SL1L160->SetBinContent(44,21765.69); h_SL1L160->SetBinContent(45,20230.23); h_SL1L160->SetBinContent(46,18786.44); h_SL1L160->SetBinContent(47,18402.57); h_SL1L160->SetBinContent(48,16637.94); h_SL1L160->SetBinContent(49,17772.35); h_SL1L160->SetBinContent(50,18832.27); h_SL1L160->SetBinContent(51,18030.17); h_SL1L160->SetBinContent(52,17021.81); h_SL1L160->SetBinContent(53,17795.27); h_SL1L160->SetBinContent(54,18729.15); h_SL1L160->SetBinContent(55,19456.77); h_SL1L160->SetBinContent(56,21026.6); h_SL1L160->SetBinContent(57,24899.62); h_SL1L160->SetBinContent(58,27506.46); h_SL1L160->SetBinContent(59,30892.49); h_SL1L160->SetMaximum(102660.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,73002.99); h_SL1L261->SetBinContent(2,68992.47); h_SL1L261->SetBinContent(3,68660.16); h_SL1L261->SetBinContent(4,68998.2); h_SL1L261->SetBinContent(5,68310.68); h_SL1L261->SetBinContent(6,74177.5); h_SL1L261->SetBinContent(7,73077.47); h_SL1L261->SetBinContent(8,72281.09); h_SL1L261->SetBinContent(9,69800.3); h_SL1L261->SetBinContent(10,61492.79); h_SL1L261->SetBinContent(11,59195.33); h_SL1L261->SetBinContent(12,59413.04); h_SL1L261->SetBinContent(13,63028.25); h_SL1L261->SetBinContent(14,66929.91); h_SL1L261->SetBinContent(15,67863.79); h_SL1L261->SetBinContent(16,67514.3); h_SL1L261->SetBinContent(17,66185.1); h_SL1L261->SetBinContent(18,66803.87); h_SL1L261->SetBinContent(19,70510.73); h_SL1L261->SetBinContent(20,71175.34); h_SL1L261->SetBinContent(21,73014.45); h_SL1L261->SetBinContent(22,74738.98); h_SL1L261->SetBinContent(23,76039.53); h_SL1L261->SetBinContent(24,75323.37); h_SL1L261->SetBinContent(25,77626.55); h_SL1L261->SetBinContent(26,73776.45); h_SL1L261->SetBinContent(27,71140.96); h_SL1L261->SetBinContent(28,69628.42); h_SL1L261->SetBinContent(29,71112.31); h_SL1L261->SetBinContent(30,70384.69); h_SL1L261->SetBinContent(31,71616.49); h_SL1L261->SetBinContent(32,66528.86); h_SL1L261->SetBinContent(33,62615.73); h_SL1L261->SetBinContent(34,63790.24); h_SL1L261->SetBinContent(35,63836.08); h_SL1L261->SetBinContent(36,65136.63); h_SL1L261->SetBinContent(37,64976.21); h_SL1L261->SetBinContent(38,62277.7); h_SL1L261->SetBinContent(39,61859.46); h_SL1L261->SetBinContent(40,59201.06); h_SL1L261->SetBinContent(41,59344.29); h_SL1L261->SetBinContent(42,56777.56); h_SL1L261->SetBinContent(43,57361.95); h_SL1L261->SetBinContent(44,55803.57); h_SL1L261->SetBinContent(45,55242.1); h_SL1L261->SetBinContent(46,56525.47); h_SL1L261->SetBinContent(47,58249.99); h_SL1L261->SetBinContent(48,57677.06); h_SL1L261->SetBinContent(49,53821.23); h_SL1L261->SetBinContent(50,53953); h_SL1L261->SetBinContent(51,52830.05); h_SL1L261->SetBinContent(52,49071.62); h_SL1L261->SetBinContent(53,52429); h_SL1L261->SetBinContent(54,53958.73); h_SL1L261->SetBinContent(55,54170.71); h_SL1L261->SetBinContent(56,53368.61); h_SL1L261->SetBinContent(57,53191); h_SL1L261->SetBinContent(58,52944.64); h_SL1L261->SetBinContent(59,50469.57); h_SL1L261->SetMaximum(89270.54); 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,67932.54); h_SL1L362->SetBinContent(2,67199.19); h_SL1L362->SetBinContent(3,66884.08); h_SL1L362->SetBinContent(4,65463.21); h_SL1L362->SetBinContent(5,69811.76); h_SL1L362->SetBinContent(6,70854.49); h_SL1L362->SetBinContent(7,69427.9); h_SL1L362->SetBinContent(8,68986.73); h_SL1L362->SetBinContent(9,63171.48); h_SL1L362->SetBinContent(10,57144.23); h_SL1L362->SetBinContent(11,56090.04); h_SL1L362->SetBinContent(12,59974.52); h_SL1L362->SetBinContent(13,62713.13); h_SL1L362->SetBinContent(14,65486.12); h_SL1L362->SetBinContent(15,66826.78); h_SL1L362->SetBinContent(16,61916.76); h_SL1L362->SetBinContent(17,64334.53); h_SL1L362->SetBinContent(18,67520.03); h_SL1L362->SetBinContent(19,68224.73); h_SL1L362->SetBinContent(20,68723.19); h_SL1L362->SetBinContent(21,73518.62); h_SL1L362->SetBinContent(22,72258.18); h_SL1L362->SetBinContent(23,73025.91); h_SL1L362->SetBinContent(24,73300.91); h_SL1L362->SetBinContent(25,73329.56); h_SL1L362->SetBinContent(26,67588.78); h_SL1L362->SetBinContent(27,68488.29); h_SL1L362->SetBinContent(28,68963.82); h_SL1L362->SetBinContent(29,69513.84); h_SL1L362->SetBinContent(30,68219.01); h_SL1L362->SetBinContent(31,65073.61); h_SL1L362->SetBinContent(32,62203.22); h_SL1L362->SetBinContent(33,60392.76); h_SL1L362->SetBinContent(34,61916.76); h_SL1L362->SetBinContent(35,62145.93); h_SL1L362->SetBinContent(36,63452.21); h_SL1L362->SetBinContent(37,62249.06); h_SL1L362->SetBinContent(38,60753.7); h_SL1L362->SetBinContent(39,58146.86); h_SL1L362->SetBinContent(40,57602.58); h_SL1L362->SetBinContent(41,55603.05); h_SL1L362->SetBinContent(42,56794.75); h_SL1L362->SetBinContent(43,54990.01); h_SL1L362->SetBinContent(44,53082.14); h_SL1L362->SetBinContent(45,53958.73); h_SL1L362->SetBinContent(46,55144.7); h_SL1L362->SetBinContent(47,57585.39); h_SL1L362->SetBinContent(48,55752.01); h_SL1L362->SetBinContent(49,53093.61); h_SL1L362->SetBinContent(50,52411.82); h_SL1L362->SetBinContent(51,51328.97); h_SL1L362->SetBinContent(52,49249.23); h_SL1L362->SetBinContent(53,51512.31); h_SL1L362->SetBinContent(54,51111.26); h_SL1L362->SetBinContent(55,51787.32); h_SL1L362->SetBinContent(56,51901.91); h_SL1L362->SetBinContent(57,50710.21); h_SL1L362->SetBinContent(58,50062.79); h_SL1L362->SetBinContent(59,49501.32); h_SL1L362->SetMaximum(89270.54); 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,42219.36); h_SL1L463->SetBinContent(3,37842.16); h_SL1L463->SetBinContent(4,35493.13); h_SL1L463->SetBinContent(5,31900.85); h_SL1L463->SetBinContent(6,33361.83); h_SL1L463->SetBinContent(7,33499.33); h_SL1L463->SetBinContent(8,34857.18); h_SL1L463->SetBinContent(9,36037.42); h_SL1L463->SetBinContent(10,35458.76); h_SL1L463->SetBinContent(11,36604.62); h_SL1L463->SetBinContent(12,37968.2); h_SL1L463->SetBinContent(13,38621.34); h_SL1L463->SetBinContent(14,41062.04); h_SL1L463->SetBinContent(15,39795.86); h_SL1L463->SetBinContent(16,36449.93); h_SL1L463->SetBinContent(17,33510.79); h_SL1L463->SetBinContent(18,32399.3); h_SL1L463->SetBinContent(19,32445.14); h_SL1L463->SetBinContent(20,32261.8); h_SL1L463->SetBinContent(21,30686.24); h_SL1L463->SetBinContent(22,31625.84); h_SL1L463->SetBinContent(23,31940.96); h_SL1L463->SetBinContent(24,32376.38); h_SL1L463->SetBinContent(25,28595.03); h_SL1L463->SetBinContent(26,30657.59); h_SL1L463->SetBinContent(27,29643.5); h_SL1L463->SetBinContent(28,28554.93); h_SL1L463->SetBinContent(29,27752.82); h_SL1L463->SetBinContent(30,28933.06); h_SL1L463->SetBinContent(31,27397.61); h_SL1L463->SetBinContent(32,27248.64); h_SL1L463->SetBinContent(33,25885.07); h_SL1L463->SetBinContent(34,28125.23); h_SL1L463->SetBinContent(35,30090.39); h_SL1L463->SetBinContent(36,27466.36); h_SL1L463->SetBinContent(37,25111.61); h_SL1L463->SetBinContent(38,25323.59); h_SL1L463->SetBinContent(39,25764.75); h_SL1L463->SetBinContent(40,22837.07); h_SL1L463->SetBinContent(41,23484.48); h_SL1L463->SetBinContent(42,24744.93); h_SL1L463->SetBinContent(43,25478.28); h_SL1L463->SetBinContent(44,25478.28); h_SL1L463->SetBinContent(45,23507.4); h_SL1L463->SetBinContent(46,27317.4); h_SL1L463->SetBinContent(47,24051.68); h_SL1L463->SetBinContent(48,24149.08); h_SL1L463->SetBinContent(49,22344.35); h_SL1L463->SetBinContent(50,22057.88); h_SL1L463->SetBinContent(51,17755.16); h_SL1L463->SetBinContent(52,16660.86); h_SL1L463->SetBinContent(53,15801.46); h_SL1L463->SetBinContent(54,17314); h_SL1L463->SetBinContent(56,17205.15); h_SL1L463->SetBinContent(57,19571.36); h_SL1L463->SetBinContent(58,25060.04); h_SL1L463->SetBinContent(59,27128.33); h_SL1L463->SetMaximum(89270.54); 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 6580"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }