void RatesPerCell_Removing_noisy_cells_run_7323_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:34:10 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8984.376,67.5,80859.38); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7323",60,0,60); h_SL1L160->SetBinContent(1,25554.72); h_SL1L160->SetBinContent(2,25412.91); h_SL1L160->SetBinContent(3,25636.82); h_SL1L160->SetBinContent(4,25756.23); h_SL1L160->SetBinContent(5,24263.55); h_SL1L160->SetBinContent(6,24953.91); h_SL1L160->SetBinContent(7,23950.09); h_SL1L160->SetBinContent(8,25133.04); h_SL1L160->SetBinContent(9,24185.18); h_SL1L160->SetBinContent(10,24535.96); h_SL1L160->SetBinContent(11,23867.99); h_SL1L160->SetBinContent(12,22972.38); h_SL1L160->SetBinContent(13,35324.32); h_SL1L160->SetBinContent(14,41612.25); h_SL1L160->SetBinContent(15,40683.05); h_SL1L160->SetBinContent(16,19766.84); h_SL1L160->SetBinContent(17,19990.75); h_SL1L160->SetBinContent(18,20375.11); h_SL1L160->SetBinContent(19,21584.18); h_SL1L160->SetBinContent(20,21039.36); h_SL1L160->SetBinContent(21,22095.43); h_SL1L160->SetBinContent(22,21453.57); h_SL1L160->SetBinContent(23,21278.18); h_SL1L160->SetBinContent(24,20042.99); h_SL1L160->SetBinContent(25,19550.4); h_SL1L160->SetBinContent(26,18248.04); h_SL1L160->SetBinContent(27,18326.41); h_SL1L160->SetBinContent(28,18595.09); h_SL1L160->SetBinContent(29,18755.55); h_SL1L160->SetBinContent(30,18359.99); h_SL1L160->SetBinContent(31,17565.14); h_SL1L160->SetBinContent(32,17718.14); h_SL1L160->SetBinContent(33,29502.86); h_SL1L160->SetBinContent(34,30230.54); h_SL1L160->SetBinContent(35,29756.62); h_SL1L160->SetBinContent(36,29939.47); h_SL1L160->SetBinContent(37,30510.42); h_SL1L160->SetBinContent(38,30480.57); h_SL1L160->SetBinContent(39,30551.47); h_SL1L160->SetBinContent(41,18009.21); h_SL1L160->SetBinContent(42,18841.38); h_SL1L160->SetBinContent(43,18542.84); h_SL1L160->SetBinContent(44,17654.7); h_SL1L160->SetBinContent(45,16856.11); h_SL1L160->SetBinContent(46,16785.21); h_SL1L160->SetBinContent(47,17173.31); h_SL1L160->SetBinContent(48,17371.09); h_SL1L160->SetBinContent(49,18083.84); h_SL1L160->SetBinContent(50,18598.82); h_SL1L160->SetBinContent(51,19666.09); h_SL1L160->SetBinContent(52,19587.72); h_SL1L160->SetBinContent(53,20554.23); h_SL1L160->SetBinContent(54,20856.5); h_SL1L160->SetBinContent(55,21957.36); h_SL1L160->SetBinContent(56,25461.43); h_SL1L160->SetMaximum(71875); 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,25827.13); h_SL1L261->SetBinContent(2,27883.3); h_SL1L261->SetBinContent(3,29883.5); h_SL1L261->SetBinContent(4,29025.21); h_SL1L261->SetBinContent(5,28633.38); h_SL1L261->SetBinContent(6,29887.23); h_SL1L261->SetBinContent(7,28708.01); h_SL1L261->SetBinContent(8,28954.3); h_SL1L261->SetBinContent(9,40011.34); h_SL1L261->SetBinContent(10,28655.77); h_SL1L261->SetBinContent(11,28032.57); h_SL1L261->SetBinContent(12,27707.91); h_SL1L261->SetBinContent(13,27562.38); h_SL1L261->SetBinContent(14,30111.13); h_SL1L261->SetBinContent(15,29278.96); h_SL1L261->SetBinContent(16,27181.74); h_SL1L261->SetBinContent(17,26107.01); h_SL1L261->SetBinContent(18,27189.21); h_SL1L261->SetBinContent(19,27756.43); h_SL1L261->SetBinContent(20,28327.38); h_SL1L261->SetBinContent(21,29103.57); h_SL1L261->SetBinContent(22,29118.5); h_SL1L261->SetBinContent(23,29823.79); h_SL1L261->SetBinContent(24,29264.03); h_SL1L261->SetBinContent(25,28763.99); h_SL1L261->SetBinContent(26,27446.69); h_SL1L261->SetBinContent(27,25991.33); h_SL1L261->SetBinContent(28,26797.38); h_SL1L261->SetBinContent(29,28633.38); h_SL1L261->SetBinContent(30,28547.55); h_SL1L261->SetBinContent(31,28760.25); h_SL1L261->SetBinContent(32,29111.03); h_SL1L261->SetBinContent(33,29032.67); h_SL1L261->SetBinContent(34,30051.42); h_SL1L261->SetBinContent(35,29652.13); h_SL1L261->SetBinContent(36,29066.25); h_SL1L261->SetBinContent(37,29793.94); h_SL1L261->SetBinContent(38,30200.69); h_SL1L261->SetBinContent(39,30775.38); h_SL1L261->SetBinContent(40,30573.86); h_SL1L261->SetBinContent(41,31469.47); h_SL1L261->SetBinContent(42,31794.13); h_SL1L261->SetBinContent(43,32107.59); h_SL1L261->SetBinContent(44,32727.06); h_SL1L261->SetBinContent(45,31753.08); h_SL1L261->SetBinContent(46,33678.64); h_SL1L261->SetBinContent(47,35690.03); h_SL1L261->SetBinContent(48,35018.32); h_SL1L261->SetBinContent(49,39641.91); h_SL1L261->SetBinContent(50,34290.64); h_SL1L261->SetBinContent(51,35977.37); h_SL1L261->SetBinContent(52,38186.54); h_SL1L261->SetBinContent(53,40660.66); h_SL1L261->SetBinContent(54,41261.47); h_SL1L261->SetBinContent(55,42955.66); h_SL1L261->SetBinContent(56,43213.15); h_SL1L261->SetMaximum(62500.84); 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,25912.96); h_SL1L362->SetBinContent(2,26256.28); h_SL1L362->SetBinContent(3,27741.5); h_SL1L362->SetBinContent(4,28797.57); h_SL1L362->SetBinContent(5,27883.3); h_SL1L362->SetBinContent(6,28670.69); h_SL1L362->SetBinContent(7,28693.08); h_SL1L362->SetBinContent(8,28969.23); h_SL1L362->SetBinContent(9,28532.62); h_SL1L362->SetBinContent(10,27842.25); h_SL1L362->SetBinContent(11,27707.91); h_SL1L362->SetBinContent(12,27357.13); h_SL1L362->SetBinContent(13,27510.13); h_SL1L362->SetBinContent(14,30894.79); h_SL1L362->SetBinContent(15,37149.13); h_SL1L362->SetBinContent(16,27140.69); h_SL1L362->SetBinContent(17,25506.21); h_SL1L362->SetBinContent(18,27573.57); h_SL1L362->SetBinContent(19,27894.5); h_SL1L362->SetBinContent(20,27562.38); h_SL1L362->SetBinContent(21,28487.84); h_SL1L362->SetBinContent(22,28939.38); h_SL1L362->SetBinContent(23,28331.11); h_SL1L362->SetBinContent(24,28357.23); h_SL1L362->SetBinContent(25,27297.43); h_SL1L362->SetBinContent(26,25666.67); h_SL1L362->SetBinContent(27,26207.77); h_SL1L362->SetBinContent(28,27883.3); h_SL1L362->SetBinContent(29,27629.55); h_SL1L362->SetBinContent(30,27469.08); h_SL1L362->SetBinContent(31,27707.91); h_SL1L362->SetBinContent(32,28637.11); h_SL1L362->SetBinContent(33,28890.86); h_SL1L362->SetBinContent(34,29286.42); h_SL1L362->SetBinContent(35,28193.04); h_SL1L362->SetBinContent(36,29241.64); h_SL1L362->SetBinContent(37,29017.74); h_SL1L362->SetBinContent(38,29152.08); h_SL1L362->SetBinContent(39,30379.81); h_SL1L362->SetBinContent(40,30335.03); h_SL1L362->SetBinContent(41,31282.89); h_SL1L362->SetBinContent(42,32066.54); h_SL1L362->SetBinContent(43,31883.69); h_SL1L362->SetBinContent(44,30719.4); h_SL1L362->SetBinContent(45,32630.03); h_SL1L362->SetBinContent(46,34204.81); h_SL1L362->SetBinContent(47,34857.86); h_SL1L362->SetBinContent(48,34719.79); h_SL1L362->SetBinContent(49,35850.49); h_SL1L362->SetBinContent(50,34212.27); h_SL1L362->SetBinContent(51,36462.49); h_SL1L362->SetBinContent(52,38462.69); h_SL1L362->SetBinContent(53,41339.83); h_SL1L362->SetBinContent(54,41821.22); h_SL1L362->SetBinContent(55,43075.07); h_SL1L362->SetBinContent(56,45254.39); h_SL1L362->SetMaximum(62500.84); 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,23047.01); h_SL1L463->SetBinContent(3,23408.99); h_SL1L463->SetBinContent(4,22255.89); h_SL1L463->SetBinContent(5,21558.06); h_SL1L463->SetBinContent(6,21830.48); h_SL1L463->SetBinContent(7,21128.92); h_SL1L463->SetBinContent(8,22293.21); h_SL1L463->SetBinContent(9,24095.62); h_SL1L463->SetBinContent(10,23953.82); h_SL1L463->SetBinContent(11,24386.7); h_SL1L463->SetBinContent(12,23371.67); h_SL1L463->SetBinContent(13,24890.47); h_SL1L463->SetBinContent(14,54348.56); h_SL1L463->SetBinContent(15,43157.17); h_SL1L463->SetBinContent(16,41813.76); h_SL1L463->SetBinContent(17,21002.04); h_SL1L463->SetBinContent(18,21371.48); h_SL1L463->SetBinContent(19,22218.57); h_SL1L463->SetBinContent(20,21487.16); h_SL1L463->SetBinContent(21,22035.72); h_SL1L463->SetBinContent(22,22464.87); h_SL1L463->SetBinContent(23,21334.16); h_SL1L463->SetBinContent(24,21300.57); h_SL1L463->SetBinContent(25,20147.48); h_SL1L463->SetBinContent(26,19770.58); h_SL1L463->SetBinContent(27,19229.48); h_SL1L463->SetBinContent(28,18606.28); h_SL1L463->SetBinContent(29,18591.36); h_SL1L463->SetBinContent(30,18990.65); h_SL1L463->SetBinContent(31,18804.06); h_SL1L463->SetBinContent(32,18512.99); h_SL1L463->SetBinContent(33,17927.11); h_SL1L463->SetBinContent(34,20337.79); h_SL1L463->SetBinContent(35,20393.77); h_SL1L463->SetBinContent(36,18546.58); h_SL1L463->SetBinContent(37,63.43899); h_SL1L463->SetBinContent(38,7.463411); h_SL1L463->SetBinContent(39,3.731705); h_SL1L463->SetBinContent(40,3.731705); h_SL1L463->SetBinContent(41,18214.46); h_SL1L463->SetBinContent(42,20259.43); h_SL1L463->SetBinContent(43,19557.87); h_SL1L463->SetBinContent(44,20061.65); h_SL1L463->SetBinContent(45,18244.31); h_SL1L463->SetBinContent(46,19699.67); h_SL1L463->SetBinContent(47,18031.6); h_SL1L463->SetBinContent(48,17568.87); h_SL1L463->SetBinContent(49,17427.06); h_SL1L463->SetBinContent(50,17938.31); h_SL1L463->SetBinContent(51,17923.38); h_SL1L463->SetBinContent(52,18942.14); h_SL1L463->SetBinContent(53,18188.33); h_SL1L463->SetBinContent(54,19039.16); h_SL1L463->SetBinContent(55,7.463411); h_SL1L463->SetBinContent(56,22658.92); h_SL1L463->SetMaximum(62500.84); 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 7323"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }