void RatesPerCell_Removing_noisy_cells_run_7614_SL2() { //=========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,-7538.107,67.5,67842.96); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7614",60,0,60); h_SL2L164->SetBinContent(1,14421.43); h_SL2L164->SetBinContent(2,17414.29); h_SL2L164->SetBinContent(3,21721.43); h_SL2L164->SetBinContent(4,23285.71); h_SL2L164->SetBinContent(5,23121.43); h_SL2L164->SetBinContent(6,23192.86); h_SL2L164->SetBinContent(7,22864.29); h_SL2L164->SetBinContent(8,21285.71); h_SL2L164->SetBinContent(9,22557.14); h_SL2L164->SetBinContent(10,22850); h_SL2L164->SetBinContent(11,24007.14); h_SL2L164->SetBinContent(12,23700); h_SL2L164->SetBinContent(13,24592.86); h_SL2L164->SetBinContent(14,23335.71); h_SL2L164->SetBinContent(15,24178.57); h_SL2L164->SetBinContent(16,23464.29); h_SL2L164->SetBinContent(17,22478.57); h_SL2L164->SetBinContent(18,23942.86); h_SL2L164->SetBinContent(19,23164.29); h_SL2L164->SetBinContent(20,22214.29); h_SL2L164->SetBinContent(21,21428.57); h_SL2L164->SetBinContent(22,22042.86); h_SL2L164->SetBinContent(23,21028.57); h_SL2L164->SetBinContent(24,20592.86); h_SL2L164->SetBinContent(25,19850); h_SL2L164->SetBinContent(26,19921.43); h_SL2L164->SetBinContent(27,20035.71); h_SL2L164->SetBinContent(28,19928.57); h_SL2L164->SetBinContent(29,19735.71); h_SL2L164->SetBinContent(30,19135.71); h_SL2L164->SetBinContent(31,18607.14); h_SL2L164->SetBinContent(32,18871.43); h_SL2L164->SetBinContent(33,19028.57); h_SL2L164->SetBinContent(34,19292.86); h_SL2L164->SetBinContent(36,20421.43); h_SL2L164->SetBinContent(37,20478.57); h_SL2L164->SetBinContent(38,19621.43); h_SL2L164->SetBinContent(39,20257.14); h_SL2L164->SetBinContent(40,45600); h_SL2L164->SetBinContent(41,32757.14); h_SL2L164->SetBinContent(42,20607.14); h_SL2L164->SetBinContent(43,20892.86); h_SL2L164->SetBinContent(44,20242.86); h_SL2L164->SetBinContent(45,18564.29); h_SL2L164->SetBinContent(46,18828.57); h_SL2L164->SetBinContent(47,19171.43); h_SL2L164->SetBinContent(48,17964.29); h_SL2L164->SetBinContent(49,17664.29); h_SL2L164->SetBinContent(50,18121.43); h_SL2L164->SetBinContent(51,18785.71); h_SL2L164->SetBinContent(52,19007.14); h_SL2L164->SetBinContent(53,18978.57); h_SL2L164->SetBinContent(54,19092.86); h_SL2L164->SetBinContent(55,17635.71); h_SL2L164->SetBinContent(56,14642.86); h_SL2L164->SetBinContent(57,10214.29); h_SL2L164->SetMaximum(60304.85); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,9685.714); h_SL2L265->SetBinContent(2,16742.86); h_SL2L265->SetBinContent(3,19292.86); h_SL2L265->SetBinContent(4,22350); h_SL2L265->SetBinContent(5,22892.86); h_SL2L265->SetBinContent(6,23514.29); h_SL2L265->SetBinContent(7,22421.43); h_SL2L265->SetBinContent(8,21335.71); h_SL2L265->SetBinContent(9,21557.14); h_SL2L265->SetBinContent(10,21342.86); h_SL2L265->SetBinContent(11,22878.57); h_SL2L265->SetBinContent(12,22600); h_SL2L265->SetBinContent(13,22914.29); h_SL2L265->SetBinContent(14,22571.43); h_SL2L265->SetBinContent(15,23221.43); h_SL2L265->SetBinContent(16,22521.43); h_SL2L265->SetBinContent(17,22142.86); h_SL2L265->SetBinContent(18,22664.29); h_SL2L265->SetBinContent(19,22271.43); h_SL2L265->SetBinContent(20,22528.57); h_SL2L265->SetBinContent(21,21557.14); h_SL2L265->SetBinContent(22,21757.14); h_SL2L265->SetBinContent(23,20357.14); h_SL2L265->SetBinContent(24,20671.43); h_SL2L265->SetBinContent(25,19807.14); h_SL2L265->SetBinContent(26,19285.71); h_SL2L265->SetBinContent(27,19507.14); h_SL2L265->SetBinContent(28,19135.71); h_SL2L265->SetBinContent(29,19700); h_SL2L265->SetBinContent(30,18792.86); h_SL2L265->SetBinContent(31,17442.86); h_SL2L265->SetBinContent(32,18471.43); h_SL2L265->SetBinContent(33,18714.29); h_SL2L265->SetBinContent(34,19557.14); h_SL2L265->SetBinContent(35,18092.86); h_SL2L265->SetBinContent(36,18285.71); h_SL2L265->SetBinContent(37,19428.57); h_SL2L265->SetBinContent(38,19785.71); h_SL2L265->SetBinContent(39,19628.57); h_SL2L265->SetBinContent(40,19892.86); h_SL2L265->SetBinContent(41,19014.29); h_SL2L265->SetBinContent(42,18914.29); h_SL2L265->SetBinContent(43,18850); h_SL2L265->SetBinContent(44,18028.57); h_SL2L265->SetBinContent(45,18964.29); h_SL2L265->SetBinContent(46,17842.86); h_SL2L265->SetBinContent(47,18064.29); h_SL2L265->SetBinContent(48,17928.57); h_SL2L265->SetBinContent(49,16878.57); h_SL2L265->SetBinContent(50,17621.43); h_SL2L265->SetBinContent(51,17671.43); h_SL2L265->SetBinContent(52,18064.29); h_SL2L265->SetBinContent(53,18628.57); h_SL2L265->SetBinContent(54,18100); h_SL2L265->SetBinContent(55,18407.14); h_SL2L265->SetBinContent(56,15650); h_SL2L265->SetBinContent(57,12885.71); h_SL2L265->SetMaximum(52440); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,12821.43); h_SL2L366->SetBinContent(2,17164.29); h_SL2L366->SetBinContent(3,20685.71); h_SL2L366->SetBinContent(4,22014.29); h_SL2L366->SetBinContent(5,21757.14); h_SL2L366->SetBinContent(6,22000); h_SL2L366->SetBinContent(7,21092.86); h_SL2L366->SetBinContent(8,20707.14); h_SL2L366->SetBinContent(9,21185.71); h_SL2L366->SetBinContent(10,22114.29); h_SL2L366->SetBinContent(11,21928.57); h_SL2L366->SetBinContent(12,21850); h_SL2L366->SetBinContent(13,22235.71); h_SL2L366->SetBinContent(14,22192.86); h_SL2L366->SetBinContent(15,22335.71); h_SL2L366->SetBinContent(16,21642.86); h_SL2L366->SetBinContent(17,21978.57); h_SL2L366->SetBinContent(18,22092.86); h_SL2L366->SetBinContent(19,22085.71); h_SL2L366->SetBinContent(20,20728.57); h_SL2L366->SetBinContent(21,20907.14); h_SL2L366->SetBinContent(22,20485.71); h_SL2L366->SetBinContent(23,19500); h_SL2L366->SetBinContent(24,18785.71); h_SL2L366->SetBinContent(25,19214.29); h_SL2L366->SetBinContent(26,19000); h_SL2L366->SetBinContent(27,18085.71); h_SL2L366->SetBinContent(28,18928.57); h_SL2L366->SetBinContent(29,18257.14); h_SL2L366->SetBinContent(30,17914.29); h_SL2L366->SetBinContent(31,18021.43); h_SL2L366->SetBinContent(32,17792.86); h_SL2L366->SetBinContent(33,18050); h_SL2L366->SetBinContent(34,17807.14); h_SL2L366->SetBinContent(35,17492.86); h_SL2L366->SetBinContent(36,18150); h_SL2L366->SetBinContent(37,18814.29); h_SL2L366->SetBinContent(38,18714.29); h_SL2L366->SetBinContent(39,18514.29); h_SL2L366->SetBinContent(40,18507.14); h_SL2L366->SetBinContent(41,19278.57); h_SL2L366->SetBinContent(42,18207.14); h_SL2L366->SetBinContent(43,18092.86); h_SL2L366->SetBinContent(44,18171.43); h_SL2L366->SetBinContent(45,17821.43); h_SL2L366->SetBinContent(46,17478.57); h_SL2L366->SetBinContent(47,17864.29); h_SL2L366->SetBinContent(48,16750); h_SL2L366->SetBinContent(49,17214.29); h_SL2L366->SetBinContent(50,16857.14); h_SL2L366->SetBinContent(51,17335.71); h_SL2L366->SetBinContent(52,17914.29); h_SL2L366->SetBinContent(53,18242.86); h_SL2L366->SetBinContent(54,18871.43); h_SL2L366->SetBinContent(55,18171.43); h_SL2L366->SetBinContent(56,13900); h_SL2L366->SetBinContent(57,12028.57); h_SL2L366->SetMaximum(52440); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,14721.43); h_SL2L467->SetBinContent(3,18628.57); h_SL2L467->SetBinContent(4,21207.14); h_SL2L467->SetBinContent(5,21628.57); h_SL2L467->SetBinContent(6,22092.86); h_SL2L467->SetBinContent(7,22107.14); h_SL2L467->SetBinContent(8,19971.43); h_SL2L467->SetBinContent(9,20007.14); h_SL2L467->SetBinContent(10,20750); h_SL2L467->SetBinContent(11,21864.29); h_SL2L467->SetBinContent(12,21835.71); h_SL2L467->SetBinContent(13,21592.86); h_SL2L467->SetBinContent(14,22028.57); h_SL2L467->SetBinContent(15,21785.71); h_SL2L467->SetBinContent(16,22250); h_SL2L467->SetBinContent(17,21692.86); h_SL2L467->SetBinContent(18,20942.86); h_SL2L467->SetBinContent(19,21428.57); h_SL2L467->SetBinContent(20,20992.86); h_SL2L467->SetBinContent(21,20735.71); h_SL2L467->SetBinContent(22,20007.14); h_SL2L467->SetBinContent(23,19178.57); h_SL2L467->SetBinContent(24,18928.57); h_SL2L467->SetBinContent(25,18292.86); h_SL2L467->SetBinContent(26,18585.71); h_SL2L467->SetBinContent(27,18671.43); h_SL2L467->SetBinContent(28,18478.57); h_SL2L467->SetBinContent(29,18235.71); h_SL2L467->SetBinContent(30,17400); h_SL2L467->SetBinContent(31,17628.57); h_SL2L467->SetBinContent(32,17264.29); h_SL2L467->SetBinContent(33,18142.86); h_SL2L467->SetBinContent(34,18242.86); h_SL2L467->SetBinContent(35,17035.71); h_SL2L467->SetBinContent(36,17635.71); h_SL2L467->SetBinContent(37,17578.57); h_SL2L467->SetBinContent(38,18528.57); h_SL2L467->SetBinContent(39,18714.29); h_SL2L467->SetBinContent(40,18192.86); h_SL2L467->SetBinContent(41,17835.71); h_SL2L467->SetBinContent(42,18264.29); h_SL2L467->SetBinContent(43,18107.14); h_SL2L467->SetBinContent(44,18257.14); h_SL2L467->SetBinContent(45,17685.71); h_SL2L467->SetBinContent(46,17521.43); h_SL2L467->SetBinContent(47,17621.43); h_SL2L467->SetBinContent(48,17414.29); h_SL2L467->SetBinContent(49,16428.57); h_SL2L467->SetBinContent(50,17092.86); h_SL2L467->SetBinContent(51,16850); h_SL2L467->SetBinContent(52,17771.43); h_SL2L467->SetBinContent(53,18085.71); h_SL2L467->SetBinContent(54,17800); h_SL2L467->SetBinContent(55,18707.14); h_SL2L467->SetBinContent(56,14914.29); h_SL2L467->SetBinContent(57,11250); h_SL2L467->SetMaximum(52440); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7614"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }