void RatesPerCell_Removing_noisy_cells_run_7614_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:37:16 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7123.676,67.5,64113.08); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7614",60,0,60); h_SL1L160->SetBinContent(1,18250); h_SL1L160->SetBinContent(2,18064.29); h_SL1L160->SetBinContent(3,19292.86); h_SL1L160->SetBinContent(4,19578.57); h_SL1L160->SetBinContent(5,17221.43); h_SL1L160->SetBinContent(6,18528.57); h_SL1L160->SetBinContent(7,17892.86); h_SL1L160->SetBinContent(8,18421.43); h_SL1L160->SetBinContent(9,18550); h_SL1L160->SetBinContent(10,18814.29); h_SL1L160->SetBinContent(11,18564.29); h_SL1L160->SetBinContent(12,18707.14); h_SL1L160->SetBinContent(13,30050); h_SL1L160->SetBinContent(14,33835.71); h_SL1L160->SetBinContent(15,32692.86); h_SL1L160->SetBinContent(16,16714.29); h_SL1L160->SetBinContent(17,15407.14); h_SL1L160->SetBinContent(18,17228.57); h_SL1L160->SetBinContent(19,16928.57); h_SL1L160->SetBinContent(20,16585.71); h_SL1L160->SetBinContent(21,17185.71); h_SL1L160->SetBinContent(22,16692.86); h_SL1L160->SetBinContent(23,15828.57); h_SL1L160->SetBinContent(24,14600); h_SL1L160->SetBinContent(25,14664.29); h_SL1L160->SetBinContent(26,14600); h_SL1L160->SetBinContent(27,13521.43); h_SL1L160->SetBinContent(28,14171.43); h_SL1L160->SetBinContent(29,15550); h_SL1L160->SetBinContent(30,14707.14); h_SL1L160->SetBinContent(31,13742.86); h_SL1L160->SetBinContent(32,13685.71); h_SL1L160->SetBinContent(33,23100); h_SL1L160->SetBinContent(34,23785.71); h_SL1L160->SetBinContent(35,22550); h_SL1L160->SetBinContent(36,23178.57); h_SL1L160->SetBinContent(37,23721.43); h_SL1L160->SetBinContent(38,24250); h_SL1L160->SetBinContent(39,23492.86); h_SL1L160->SetBinContent(41,13585.71); h_SL1L160->SetBinContent(42,14100); h_SL1L160->SetBinContent(43,13121.43); h_SL1L160->SetBinContent(44,12878.57); h_SL1L160->SetBinContent(45,12371.43); h_SL1L160->SetBinContent(46,11542.86); h_SL1L160->SetBinContent(47,11528.57); h_SL1L160->SetBinContent(48,11450); h_SL1L160->SetBinContent(49,12492.86); h_SL1L160->SetBinContent(50,12592.86); h_SL1L160->SetBinContent(51,11992.86); h_SL1L160->SetBinContent(52,12057.14); h_SL1L160->SetBinContent(53,12121.43); h_SL1L160->SetBinContent(54,11807.14); h_SL1L160->SetBinContent(55,12471.43); h_SL1L160->SetBinContent(56,12964.29); h_SL1L160->SetMaximum(56989.4); 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,18792.86); h_SL1L261->SetBinContent(2,19328.57); h_SL1L261->SetBinContent(3,19557.14); h_SL1L261->SetBinContent(4,21314.29); h_SL1L261->SetBinContent(5,21642.86); h_SL1L261->SetBinContent(6,23314.29); h_SL1L261->SetBinContent(7,21807.14); h_SL1L261->SetBinContent(8,22171.43); h_SL1L261->SetBinContent(9,22814.29); h_SL1L261->SetBinContent(10,22485.71); h_SL1L261->SetBinContent(11,22507.14); h_SL1L261->SetBinContent(12,23285.71); h_SL1L261->SetBinContent(13,23564.29); h_SL1L261->SetBinContent(14,25850); h_SL1L261->SetBinContent(15,26457.14); h_SL1L261->SetBinContent(16,22578.57); h_SL1L261->SetBinContent(17,22678.57); h_SL1L261->SetBinContent(18,23092.86); h_SL1L261->SetBinContent(19,23921.43); h_SL1L261->SetBinContent(20,24264.29); h_SL1L261->SetBinContent(21,24107.14); h_SL1L261->SetBinContent(22,24285.71); h_SL1L261->SetBinContent(23,23714.29); h_SL1L261->SetBinContent(24,23328.57); h_SL1L261->SetBinContent(25,24071.43); h_SL1L261->SetBinContent(26,22785.71); h_SL1L261->SetBinContent(27,21600); h_SL1L261->SetBinContent(28,24150); h_SL1L261->SetBinContent(29,23778.57); h_SL1L261->SetBinContent(30,24392.86); h_SL1L261->SetBinContent(31,23542.86); h_SL1L261->SetBinContent(32,22471.43); h_SL1L261->SetBinContent(33,23264.29); h_SL1L261->SetBinContent(34,24307.14); h_SL1L261->SetBinContent(35,22585.71); h_SL1L261->SetBinContent(36,23028.57); h_SL1L261->SetBinContent(37,23657.14); h_SL1L261->SetBinContent(38,23485.71); h_SL1L261->SetBinContent(39,23214.29); h_SL1L261->SetBinContent(40,22985.71); h_SL1L261->SetBinContent(41,23228.57); h_SL1L261->SetBinContent(42,23185.71); h_SL1L261->SetBinContent(43,22742.86); h_SL1L261->SetBinContent(44,22464.29); h_SL1L261->SetBinContent(45,22428.57); h_SL1L261->SetBinContent(46,23528.57); h_SL1L261->SetBinContent(47,21878.57); h_SL1L261->SetBinContent(48,21607.14); h_SL1L261->SetBinContent(49,26007.14); h_SL1L261->SetBinContent(50,22557.14); h_SL1L261->SetBinContent(51,21714.29); h_SL1L261->SetBinContent(52,20885.71); h_SL1L261->SetBinContent(53,21171.43); h_SL1L261->SetBinContent(54,20885.71); h_SL1L261->SetBinContent(55,21128.57); h_SL1L261->SetBinContent(56,19750); h_SL1L261->SetMaximum(49556.78); 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,18271.43); h_SL1L362->SetBinContent(2,19257.14); h_SL1L362->SetBinContent(3,20421.43); h_SL1L362->SetBinContent(4,20892.86); h_SL1L362->SetBinContent(5,21685.71); h_SL1L362->SetBinContent(6,21064.29); h_SL1L362->SetBinContent(7,22371.43); h_SL1L362->SetBinContent(8,22721.43); h_SL1L362->SetBinContent(9,22207.14); h_SL1L362->SetBinContent(10,22850); h_SL1L362->SetBinContent(11,22442.86); h_SL1L362->SetBinContent(12,22900); h_SL1L362->SetBinContent(13,23142.86); h_SL1L362->SetBinContent(14,26735.71); h_SL1L362->SetBinContent(15,33200); h_SL1L362->SetBinContent(16,23400); h_SL1L362->SetBinContent(17,22300); h_SL1L362->SetBinContent(18,22971.43); h_SL1L362->SetBinContent(19,23014.29); h_SL1L362->SetBinContent(20,24428.57); h_SL1L362->SetBinContent(21,23978.57); h_SL1L362->SetBinContent(22,22957.14); h_SL1L362->SetBinContent(23,23507.14); h_SL1L362->SetBinContent(24,23071.43); h_SL1L362->SetBinContent(25,22635.71); h_SL1L362->SetBinContent(26,21314.29); h_SL1L362->SetBinContent(27,21492.86); h_SL1L362->SetBinContent(28,22792.86); h_SL1L362->SetBinContent(29,24007.14); h_SL1L362->SetBinContent(30,22342.86); h_SL1L362->SetBinContent(31,21921.43); h_SL1L362->SetBinContent(32,22271.43); h_SL1L362->SetBinContent(33,23371.43); h_SL1L362->SetBinContent(34,22978.57); h_SL1L362->SetBinContent(35,22657.14); h_SL1L362->SetBinContent(36,22821.43); h_SL1L362->SetBinContent(37,23292.86); h_SL1L362->SetBinContent(38,23092.86); h_SL1L362->SetBinContent(39,22442.86); h_SL1L362->SetBinContent(40,22435.71); h_SL1L362->SetBinContent(41,22907.14); h_SL1L362->SetBinContent(42,23092.86); h_SL1L362->SetBinContent(43,22300); h_SL1L362->SetBinContent(44,22864.29); h_SL1L362->SetBinContent(45,22228.57); h_SL1L362->SetBinContent(46,22400); h_SL1L362->SetBinContent(47,21450); h_SL1L362->SetBinContent(48,21764.29); h_SL1L362->SetBinContent(49,22064.29); h_SL1L362->SetBinContent(50,20857.14); h_SL1L362->SetBinContent(51,20892.86); h_SL1L362->SetBinContent(52,20664.29); h_SL1L362->SetBinContent(53,21692.86); h_SL1L362->SetBinContent(54,19885.71); h_SL1L362->SetBinContent(55,20164.29); h_SL1L362->SetBinContent(56,20385.71); h_SL1L362->SetMaximum(49556.78); 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,16400); h_SL1L463->SetBinContent(3,15485.71); h_SL1L463->SetBinContent(4,15314.29); h_SL1L463->SetBinContent(5,15621.43); h_SL1L463->SetBinContent(6,15642.86); h_SL1L463->SetBinContent(7,15792.86); h_SL1L463->SetBinContent(8,16171.43); h_SL1L463->SetBinContent(9,17685.71); h_SL1L463->SetBinContent(10,17757.14); h_SL1L463->SetBinContent(11,17871.43); h_SL1L463->SetBinContent(12,20021.43); h_SL1L463->SetBinContent(13,21021.43); h_SL1L463->SetBinContent(14,43092.86); h_SL1L463->SetBinContent(15,34821.43); h_SL1L463->SetBinContent(16,33735.71); h_SL1L463->SetBinContent(17,17707.14); h_SL1L463->SetBinContent(18,18450); h_SL1L463->SetBinContent(19,17614.29); h_SL1L463->SetBinContent(20,18128.57); h_SL1L463->SetBinContent(21,17957.14); h_SL1L463->SetBinContent(22,18171.43); h_SL1L463->SetBinContent(23,16528.57); h_SL1L463->SetBinContent(24,16528.57); h_SL1L463->SetBinContent(25,14957.14); h_SL1L463->SetBinContent(26,16178.57); h_SL1L463->SetBinContent(27,15414.29); h_SL1L463->SetBinContent(28,14800); h_SL1L463->SetBinContent(29,14414.29); h_SL1L463->SetBinContent(30,15100); h_SL1L463->SetBinContent(31,15164.29); h_SL1L463->SetBinContent(32,14435.71); h_SL1L463->SetBinContent(33,13735.71); h_SL1L463->SetBinContent(34,15614.29); h_SL1L463->SetBinContent(35,16150); h_SL1L463->SetBinContent(36,14464.29); h_SL1L463->SetBinContent(37,157.1429); h_SL1L463->SetBinContent(41,12335.71); h_SL1L463->SetBinContent(42,13392.86); h_SL1L463->SetBinContent(43,13871.43); h_SL1L463->SetBinContent(44,13464.29); h_SL1L463->SetBinContent(45,12121.43); h_SL1L463->SetBinContent(46,12550); h_SL1L463->SetBinContent(47,12128.57); h_SL1L463->SetBinContent(48,11607.14); h_SL1L463->SetBinContent(49,11735.71); h_SL1L463->SetBinContent(50,11892.86); h_SL1L463->SetBinContent(51,11657.14); h_SL1L463->SetBinContent(52,12207.14); h_SL1L463->SetBinContent(53,11321.43); h_SL1L463->SetBinContent(54,11492.86); h_SL1L463->SetBinContent(56,12335.71); h_SL1L463->SetMaximum(49556.78); 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 7614"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }