void RatesPerCell_Removing_noisy_cells_run_7322_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:36:02 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9682.857,67.5,87145.71); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7322",60,0,60); h_SL1L160->SetBinContent(1,26079.06); h_SL1L160->SetBinContent(2,27017.68); h_SL1L160->SetBinContent(3,27093.53); h_SL1L160->SetBinContent(4,28025.83); h_SL1L160->SetBinContent(5,24849.69); h_SL1L160->SetBinContent(6,25958.97); h_SL1L160->SetBinContent(7,25440.68); h_SL1L160->SetBinContent(8,26154.91); h_SL1L160->SetBinContent(9,26439.34); h_SL1L160->SetBinContent(10,25251.06); h_SL1L160->SetBinContent(11,25655.58); h_SL1L160->SetBinContent(12,23901.59); h_SL1L160->SetBinContent(13,37563.71); h_SL1L160->SetBinContent(14,44734.5); h_SL1L160->SetBinContent(15,43574.66); h_SL1L160->SetBinContent(16,21746.25); h_SL1L160->SetBinContent(17,21085.74); h_SL1L160->SetBinContent(18,22207.66); h_SL1L160->SetBinContent(19,22485.77); h_SL1L160->SetBinContent(20,21689.36); h_SL1L160->SetBinContent(21,22842.88); h_SL1L160->SetBinContent(22,23124.15); h_SL1L160->SetBinContent(23,22065.44); h_SL1L160->SetBinContent(24,20390.46); h_SL1L160->SetBinContent(25,20608.53); h_SL1L160->SetBinContent(26,19552.98); h_SL1L160->SetBinContent(27,19082.09); h_SL1L160->SetBinContent(28,19451.85); h_SL1L160->SetBinContent(29,19268.55); h_SL1L160->SetBinContent(30,18762.89); h_SL1L160->SetBinContent(31,18718.65); h_SL1L160->SetBinContent(32,17843.24); h_SL1L160->SetBinContent(33,31002.86); h_SL1L160->SetBinContent(34,31457.95); h_SL1L160->SetBinContent(35,31220.92); h_SL1L160->SetBinContent(36,31884.59); h_SL1L160->SetBinContent(37,32443.97); h_SL1L160->SetBinContent(38,32260.67); h_SL1L160->SetBinContent(39,32658.88); h_SL1L160->SetBinContent(40,3.160332); h_SL1L160->SetBinContent(41,18816.62); h_SL1L160->SetBinContent(42,19353.88); h_SL1L160->SetBinContent(43,19157.94); h_SL1L160->SetBinContent(44,18209.84); h_SL1L160->SetBinContent(45,17849.56); h_SL1L160->SetBinContent(46,17795.83); h_SL1L160->SetBinContent(47,17435.55); h_SL1L160->SetBinContent(48,17874.84); h_SL1L160->SetBinContent(49,18475.3); h_SL1L160->SetBinContent(50,19815.29); h_SL1L160->SetBinContent(51,20358.86); h_SL1L160->SetBinContent(52,20219.81); h_SL1L160->SetBinContent(53,20896.12); h_SL1L160->SetBinContent(54,21626.15); h_SL1L160->SetBinContent(55,23301.13); h_SL1L160->SetBinContent(56,25623.97); h_SL1L160->SetMaximum(77462.85); 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,27899.41); h_SL1L261->SetBinContent(2,29097.18); h_SL1L261->SetBinContent(3,32127.94); h_SL1L261->SetBinContent(4,30313.91); h_SL1L261->SetBinContent(5,30535.13); h_SL1L261->SetBinContent(6,31296.77); h_SL1L261->SetBinContent(7,31552.76); h_SL1L261->SetBinContent(8,30784.8); h_SL1L261->SetBinContent(9,43271.27); h_SL1L261->SetBinContent(10,30304.43); h_SL1L261->SetBinContent(11,29792.45); h_SL1L261->SetBinContent(12,29669.2); h_SL1L261->SetBinContent(13,29549.11); h_SL1L261->SetBinContent(14,31445.31); h_SL1L261->SetBinContent(15,30740.55); h_SL1L261->SetBinContent(16,28648.41); h_SL1L261->SetBinContent(17,27678.19); h_SL1L261->SetBinContent(18,28417.71); h_SL1L261->SetBinContent(19,29716.61); h_SL1L261->SetBinContent(20,29937.83); h_SL1L261->SetBinContent(21,30772.16); h_SL1L261->SetBinContent(22,31148.24); h_SL1L261->SetBinContent(23,30904.89); h_SL1L261->SetBinContent(24,30658.38); h_SL1L261->SetBinContent(25,30187.5); h_SL1L261->SetBinContent(26,29204.63); h_SL1L261->SetBinContent(27,27972.1); h_SL1L261->SetBinContent(28,28335.54); h_SL1L261->SetBinContent(29,29454.3); h_SL1L261->SetBinContent(30,30689.99); h_SL1L261->SetBinContent(31,29631.28); h_SL1L261->SetBinContent(32,30313.91); h_SL1L261->SetBinContent(33,30655.22); h_SL1L261->SetBinContent(34,30885.93); h_SL1L261->SetBinContent(35,30424.52); h_SL1L261->SetBinContent(36,31075.55); h_SL1L261->SetBinContent(37,31116.63); h_SL1L261->SetBinContent(38,31827.71); h_SL1L261->SetBinContent(39,31590.68); h_SL1L261->SetBinContent(40,31799.27); h_SL1L261->SetBinContent(41,32788.45); h_SL1L261->SetBinContent(42,33155.05); h_SL1L261->SetBinContent(43,34185.32); h_SL1L261->SetBinContent(44,33132.93); h_SL1L261->SetBinContent(45,33300.42); h_SL1L261->SetBinContent(46,35841.33); h_SL1L261->SetBinContent(47,36473.4); h_SL1L261->SetBinContent(48,36527.12); h_SL1L261->SetBinContent(49,51178.42); h_SL1L261->SetBinContent(50,35699.12); h_SL1L261->SetBinContent(51,37522.63); h_SL1L261->SetBinContent(52,39377.74); h_SL1L261->SetBinContent(53,41049.56); h_SL1L261->SetBinContent(54,42487.51); h_SL1L261->SetBinContent(55,43710.56); h_SL1L261->SetBinContent(56,45041.06); h_SL1L261->SetMaximum(67359.64); 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,27156.74); h_SL1L362->SetBinContent(2,28057.43); h_SL1L362->SetBinContent(3,29400.57); h_SL1L362->SetBinContent(4,30336.03); h_SL1L362->SetBinContent(5,30434); h_SL1L362->SetBinContent(6,30522.49); h_SL1L362->SetBinContent(7,30203.3); h_SL1L362->SetBinContent(8,30595.18); h_SL1L362->SetBinContent(9,29416.38); h_SL1L362->SetBinContent(10,29523.83); h_SL1L362->SetBinContent(11,29729.25); h_SL1L362->SetBinContent(12,29094.02); h_SL1L362->SetBinContent(13,29106.66); h_SL1L362->SetBinContent(14,32513.5); h_SL1L362->SetBinContent(15,39055.39); h_SL1L362->SetBinContent(16,28989.73); h_SL1L362->SetBinContent(17,27289.47); h_SL1L362->SetBinContent(18,28806.43); h_SL1L362->SetBinContent(19,28977.09); h_SL1L362->SetBinContent(20,29681.84); h_SL1L362->SetBinContent(21,29846.18); h_SL1L362->SetBinContent(22,30317.07); h_SL1L362->SetBinContent(23,29782.97); h_SL1L362->SetBinContent(24,29887.26); h_SL1L362->SetBinContent(25,29255.2); h_SL1L362->SetBinContent(26,27267.35); h_SL1L362->SetBinContent(27,27927.86); h_SL1L362->SetBinContent(28,28989.73); h_SL1L362->SetBinContent(29,29561.75); h_SL1L362->SetBinContent(30,29255.2); h_SL1L362->SetBinContent(31,29289.96); h_SL1L362->SetBinContent(32,29495.38); h_SL1L362->SetBinContent(33,29564.91); h_SL1L362->SetBinContent(34,30184.34); h_SL1L362->SetBinContent(35,30592.02); h_SL1L362->SetBinContent(36,30933.33); h_SL1L362->SetBinContent(37,31009.18); h_SL1L362->SetBinContent(38,30832.2); h_SL1L362->SetBinContent(39,32266.99); h_SL1L362->SetBinContent(40,31413.71); h_SL1L362->SetBinContent(41,32541.94); h_SL1L362->SetBinContent(42,33306.74); h_SL1L362->SetBinContent(43,33262.5); h_SL1L362->SetBinContent(44,32374.45); h_SL1L362->SetBinContent(45,34005.18); h_SL1L362->SetBinContent(46,35525.3); h_SL1L362->SetBinContent(47,36631.41); h_SL1L362->SetBinContent(48,36451.27); h_SL1L362->SetBinContent(49,36410.19); h_SL1L362->SetBinContent(50,36391.23); h_SL1L362->SetBinContent(51,37832.34); h_SL1L362->SetBinContent(52,40256.32); h_SL1L362->SetBinContent(53,44981.01); h_SL1L362->SetBinContent(54,42816.18); h_SL1L362->SetBinContent(55,43558.86); h_SL1L362->SetBinContent(56,50814.98); h_SL1L362->SetMaximum(67359.64); 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,24786.49); h_SL1L463->SetBinContent(3,24486.26); h_SL1L463->SetBinContent(4,23790.98); h_SL1L463->SetBinContent(5,22302.47); h_SL1L463->SetBinContent(6,22451); h_SL1L463->SetBinContent(7,22375.15); h_SL1L463->SetBinContent(8,22962.97); h_SL1L463->SetBinContent(9,24634.79); h_SL1L463->SetBinContent(10,24129.14); h_SL1L463->SetBinContent(11,25326.9); h_SL1L463->SetBinContent(12,25130.96); h_SL1L463->SetBinContent(13,25684.02); h_SL1L463->SetBinContent(14,58573.6); h_SL1L463->SetBinContent(15,45609.92); h_SL1L463->SetBinContent(16,44446.91); h_SL1L463->SetBinContent(17,22362.51); h_SL1L463->SetBinContent(18,22463.64); h_SL1L463->SetBinContent(19,23013.54); h_SL1L463->SetBinContent(20,22865.01); h_SL1L463->SetBinContent(21,23718.29); h_SL1L463->SetBinContent(22,23358.02); h_SL1L463->SetBinContent(23,22944.01); h_SL1L463->SetBinContent(24,22804.96); h_SL1L463->SetBinContent(25,21050.97); h_SL1L463->SetBinContent(26,20763.38); h_SL1L463->SetBinContent(27,19827.93); h_SL1L463->SetBinContent(28,19669.91); h_SL1L463->SetBinContent(29,19312.79); h_SL1L463->SetBinContent(30,19764.72); h_SL1L463->SetBinContent(31,19439.21); h_SL1L463->SetBinContent(32,19407.6); h_SL1L463->SetBinContent(33,18920.91); h_SL1L463->SetBinContent(34,20836.07); h_SL1L463->SetBinContent(35,21420.73); h_SL1L463->SetBinContent(36,19578.26); h_SL1L463->SetBinContent(37,3.160332); h_SL1L463->SetBinContent(38,9.480997); h_SL1L463->SetBinContent(39,3.160332); h_SL1L463->SetBinContent(41,19464.49); h_SL1L463->SetBinContent(42,20826.59); h_SL1L463->SetBinContent(43,20766.54); h_SL1L463->SetBinContent(44,20539); h_SL1L463->SetBinContent(45,18797.66); h_SL1L463->SetBinContent(46,20418.91); h_SL1L463->SetBinContent(47,18816.62); h_SL1L463->SetBinContent(48,18064.46); h_SL1L463->SetBinContent(49,17672.58); h_SL1L463->SetBinContent(50,18446.86); h_SL1L463->SetBinContent(51,18250.92); h_SL1L463->SetBinContent(52,19056.8); h_SL1L463->SetBinContent(53,18996.76); h_SL1L463->SetBinContent(54,19078.93); h_SL1L463->SetBinContent(55,6.320665); h_SL1L463->SetBinContent(56,22978.78); h_SL1L463->SetMaximum(67359.64); 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 7322"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }