void RatesPerCell_Removing_noisy_cells_run_7447_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:32:59 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22793,67.5,205137); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7447",60,0,60); h_SL2L164->SetBinContent(1,90257.14); h_SL2L164->SetBinContent(2,111900); h_SL2L164->SetBinContent(3,135121.4); h_SL2L164->SetBinContent(4,137878.6); h_SL2L164->SetBinContent(5,137435.7); h_SL2L164->SetBinContent(6,127664.3); h_SL2L164->SetBinContent(7,118821.4); h_SL2L164->SetBinContent(8,111085.7); h_SL2L164->SetBinContent(9,124607.1); h_SL2L164->SetBinContent(10,128792.9); h_SL2L164->SetBinContent(11,131007.1); h_SL2L164->SetBinContent(12,128792.9); h_SL2L164->SetBinContent(13,128514.3); h_SL2L164->SetBinContent(14,129771.4); h_SL2L164->SetBinContent(15,127271.4); h_SL2L164->SetBinContent(16,124835.7); h_SL2L164->SetBinContent(17,121757.1); h_SL2L164->SetBinContent(18,120100); h_SL2L164->SetBinContent(19,119250); h_SL2L164->SetBinContent(20,111742.9); h_SL2L164->SetBinContent(21,108600); h_SL2L164->SetBinContent(22,101300); h_SL2L164->SetBinContent(23,93821.43); h_SL2L164->SetBinContent(24,87578.57); h_SL2L164->SetBinContent(25,80414.28); h_SL2L164->SetBinContent(26,77314.28); h_SL2L164->SetBinContent(27,78392.86); h_SL2L164->SetBinContent(28,78485.71); h_SL2L164->SetBinContent(29,77350); h_SL2L164->SetBinContent(30,74750); h_SL2L164->SetBinContent(31,73000); h_SL2L164->SetBinContent(32,77757.14); h_SL2L164->SetBinContent(33,81714.28); h_SL2L164->SetBinContent(34,81342.86); h_SL2L164->SetBinContent(36,81271.43); h_SL2L164->SetBinContent(37,89985.71); h_SL2L164->SetBinContent(38,88114.28); h_SL2L164->SetBinContent(39,87128.57); h_SL2L164->SetBinContent(40,99064.28); h_SL2L164->SetBinContent(41,131314.3); h_SL2L164->SetBinContent(42,88350); h_SL2L164->SetBinContent(43,89878.57); h_SL2L164->SetBinContent(44,86471.43); h_SL2L164->SetBinContent(45,75678.57); h_SL2L164->SetBinContent(46,73242.86); h_SL2L164->SetBinContent(47,69671.43); h_SL2L164->SetBinContent(48,67821.43); h_SL2L164->SetBinContent(49,70435.71); h_SL2L164->SetBinContent(50,68985.71); h_SL2L164->SetBinContent(51,76228.57); h_SL2L164->SetBinContent(52,88392.86); h_SL2L164->SetBinContent(53,101242.9); h_SL2L164->SetBinContent(54,108785.7); h_SL2L164->SetBinContent(55,108464.3); h_SL2L164->SetBinContent(56,92685.71); h_SL2L164->SetBinContent(57,76092.86); h_SL2L164->SetMaximum(182344); 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,73021.43); h_SL2L265->SetBinContent(2,109042.9); h_SL2L265->SetBinContent(3,116800); h_SL2L265->SetBinContent(4,135421.4); h_SL2L265->SetBinContent(5,135007.1); h_SL2L265->SetBinContent(6,127042.9); h_SL2L265->SetBinContent(7,119950); h_SL2L265->SetBinContent(8,103271.4); h_SL2L265->SetBinContent(9,116335.7); h_SL2L265->SetBinContent(10,120421.4); h_SL2L265->SetBinContent(11,125414.3); h_SL2L265->SetBinContent(12,126350); h_SL2L265->SetBinContent(13,123992.9); h_SL2L265->SetBinContent(14,124857.1); h_SL2L265->SetBinContent(15,123707.1); h_SL2L265->SetBinContent(16,122521.4); h_SL2L265->SetBinContent(17,117807.1); h_SL2L265->SetBinContent(18,116571.4); h_SL2L265->SetBinContent(19,114778.6); h_SL2L265->SetBinContent(20,112021.4); h_SL2L265->SetBinContent(21,108278.6); h_SL2L265->SetBinContent(22,99900); h_SL2L265->SetBinContent(23,94228.57); h_SL2L265->SetBinContent(24,86821.43); h_SL2L265->SetBinContent(25,81971.43); h_SL2L265->SetBinContent(26,76464.28); h_SL2L265->SetBinContent(27,75692.86); h_SL2L265->SetBinContent(28,73828.57); h_SL2L265->SetBinContent(29,74585.71); h_SL2L265->SetBinContent(30,74821.43); h_SL2L265->SetBinContent(31,67492.86); h_SL2L265->SetBinContent(32,74907.14); h_SL2L265->SetBinContent(33,77514.28); h_SL2L265->SetBinContent(34,77792.86); h_SL2L265->SetBinContent(35,78485.71); h_SL2L265->SetBinContent(36,78728.57); h_SL2L265->SetBinContent(37,79221.43); h_SL2L265->SetBinContent(38,81871.43); h_SL2L265->SetBinContent(39,81414.28); h_SL2L265->SetBinContent(40,84057.14); h_SL2L265->SetBinContent(41,81164.28); h_SL2L265->SetBinContent(42,80292.86); h_SL2L265->SetBinContent(43,79542.86); h_SL2L265->SetBinContent(44,78271.43); h_SL2L265->SetBinContent(45,75678.57); h_SL2L265->SetBinContent(46,71678.57); h_SL2L265->SetBinContent(47,68928.57); h_SL2L265->SetBinContent(48,67014.28); h_SL2L265->SetBinContent(49,65664.28); h_SL2L265->SetBinContent(50,68271.43); h_SL2L265->SetBinContent(51,65442.86); h_SL2L265->SetBinContent(52,81664.28); h_SL2L265->SetBinContent(53,89328.57); h_SL2L265->SetBinContent(54,101764.3); h_SL2L265->SetBinContent(55,104621.4); h_SL2L265->SetBinContent(56,94600); h_SL2L265->SetBinContent(57,89557.14); h_SL2L265->SetMaximum(158560.3); 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,84985.71); h_SL2L366->SetBinContent(2,103500); h_SL2L366->SetBinContent(3,128021.4); h_SL2L366->SetBinContent(4,130564.3); h_SL2L366->SetBinContent(5,128057.1); h_SL2L366->SetBinContent(6,117921.4); h_SL2L366->SetBinContent(7,107921.4); h_SL2L366->SetBinContent(8,104607.1); h_SL2L366->SetBinContent(9,118535.7); h_SL2L366->SetBinContent(10,120600); h_SL2L366->SetBinContent(11,122085.7); h_SL2L366->SetBinContent(12,120842.9); h_SL2L366->SetBinContent(13,120607.1); h_SL2L366->SetBinContent(14,121428.6); h_SL2L366->SetBinContent(15,118571.4); h_SL2L366->SetBinContent(16,114700); h_SL2L366->SetBinContent(17,114514.3); h_SL2L366->SetBinContent(18,110800); h_SL2L366->SetBinContent(19,109971.4); h_SL2L366->SetBinContent(20,105492.9); h_SL2L366->SetBinContent(21,100978.6); h_SL2L366->SetBinContent(22,93857.14); h_SL2L366->SetBinContent(23,86721.43); h_SL2L366->SetBinContent(24,81785.71); h_SL2L366->SetBinContent(25,75485.71); h_SL2L366->SetBinContent(26,72135.71); h_SL2L366->SetBinContent(27,72292.86); h_SL2L366->SetBinContent(28,71792.86); h_SL2L366->SetBinContent(29,72621.43); h_SL2L366->SetBinContent(30,69257.14); h_SL2L366->SetBinContent(31,69357.14); h_SL2L366->SetBinContent(32,74014.28); h_SL2L366->SetBinContent(33,74985.71); h_SL2L366->SetBinContent(34,76685.71); h_SL2L366->SetBinContent(35,74921.43); h_SL2L366->SetBinContent(36,77228.57); h_SL2L366->SetBinContent(37,78064.28); h_SL2L366->SetBinContent(38,79300); h_SL2L366->SetBinContent(39,78750); h_SL2L366->SetBinContent(40,78835.71); h_SL2L366->SetBinContent(41,77900); h_SL2L366->SetBinContent(42,77964.28); h_SL2L366->SetBinContent(43,76692.86); h_SL2L366->SetBinContent(44,75142.86); h_SL2L366->SetBinContent(45,72835.71); h_SL2L366->SetBinContent(46,68328.57); h_SL2L366->SetBinContent(47,66664.28); h_SL2L366->SetBinContent(48,64778.57); h_SL2L366->SetBinContent(49,66350); h_SL2L366->SetBinContent(50,65192.86); h_SL2L366->SetBinContent(51,70228.57); h_SL2L366->SetBinContent(52,81921.43); h_SL2L366->SetBinContent(53,93242.86); h_SL2L366->SetBinContent(54,99678.57); h_SL2L366->SetBinContent(55,102214.3); h_SL2L366->SetBinContent(56,84950); h_SL2L366->SetBinContent(57,81114.28); h_SL2L366->SetMaximum(158560.3); 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,98850); h_SL2L467->SetBinContent(3,113892.9); h_SL2L467->SetBinContent(4,125057.1); h_SL2L467->SetBinContent(5,125378.6); h_SL2L467->SetBinContent(6,116042.9); h_SL2L467->SetBinContent(7,111257.1); h_SL2L467->SetBinContent(8,96392.86); h_SL2L467->SetBinContent(9,111450); h_SL2L467->SetBinContent(10,114064.3); h_SL2L467->SetBinContent(11,115864.3); h_SL2L467->SetBinContent(12,117600); h_SL2L467->SetBinContent(13,117378.6); h_SL2L467->SetBinContent(14,116128.6); h_SL2L467->SetBinContent(15,116128.6); h_SL2L467->SetBinContent(16,114207.1); h_SL2L467->SetBinContent(17,112850); h_SL2L467->SetBinContent(18,109700); h_SL2L467->SetBinContent(19,107578.6); h_SL2L467->SetBinContent(20,101678.6); h_SL2L467->SetBinContent(21,98885.71); h_SL2L467->SetBinContent(22,94150); h_SL2L467->SetBinContent(23,88235.71); h_SL2L467->SetBinContent(24,81085.71); h_SL2L467->SetBinContent(25,76735.71); h_SL2L467->SetBinContent(26,72885.71); h_SL2L467->SetBinContent(27,70771.43); h_SL2L467->SetBinContent(28,71121.43); h_SL2L467->SetBinContent(29,69635.71); h_SL2L467->SetBinContent(30,70414.28); h_SL2L467->SetBinContent(31,64585.71); h_SL2L467->SetBinContent(32,69964.28); h_SL2L467->SetBinContent(33,72221.43); h_SL2L467->SetBinContent(34,73092.86); h_SL2L467->SetBinContent(35,73371.43); h_SL2L467->SetBinContent(36,73214.28); h_SL2L467->SetBinContent(37,76385.71); h_SL2L467->SetBinContent(38,76864.28); h_SL2L467->SetBinContent(39,75657.14); h_SL2L467->SetBinContent(40,76314.28); h_SL2L467->SetBinContent(41,76871.43); h_SL2L467->SetBinContent(42,73764.28); h_SL2L467->SetBinContent(43,74750); h_SL2L467->SetBinContent(44,74235.71); h_SL2L467->SetBinContent(45,71878.57); h_SL2L467->SetBinContent(46,69564.28); h_SL2L467->SetBinContent(47,66207.14); h_SL2L467->SetBinContent(48,63714.29); h_SL2L467->SetBinContent(49,63564.29); h_SL2L467->SetBinContent(50,64564.29); h_SL2L467->SetBinContent(51,61721.43); h_SL2L467->SetBinContent(52,72964.28); h_SL2L467->SetBinContent(53,83350); h_SL2L467->SetBinContent(54,93607.14); h_SL2L467->SetBinContent(55,98707.14); h_SL2L467->SetBinContent(56,90292.86); h_SL2L467->SetBinContent(57,81671.43); h_SL2L467->SetMaximum(158560.3); 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 7447"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }