void RatesPerCell_Removing_noisy_cells_run_7474_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Dec 23 11:45:43 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14957.19,67.5,134614.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7474",60,0,60); h_SL1L160->SetBinContent(1,49721.43); h_SL1L160->SetBinContent(2,50421.43); h_SL1L160->SetBinContent(3,49992.86); h_SL1L160->SetBinContent(4,48014.29); h_SL1L160->SetBinContent(5,36928.57); h_SL1L160->SetBinContent(6,39942.86); h_SL1L160->SetBinContent(7,38007.14); h_SL1L160->SetBinContent(8,40321.43); h_SL1L160->SetBinContent(9,37171.43); h_SL1L160->SetBinContent(10,38085.71); h_SL1L160->SetBinContent(11,38457.14); h_SL1L160->SetBinContent(12,36171.43); h_SL1L160->SetBinContent(13,59257.14); h_SL1L160->SetBinContent(14,69485.71); h_SL1L160->SetBinContent(15,68664.28); h_SL1L160->SetBinContent(16,34078.57); h_SL1L160->SetBinContent(17,39557.14); h_SL1L160->SetBinContent(18,44035.71); h_SL1L160->SetBinContent(19,44007.14); h_SL1L160->SetBinContent(20,42207.14); h_SL1L160->SetBinContent(21,37285.71); h_SL1L160->SetBinContent(22,35635.71); h_SL1L160->SetBinContent(23,33935.71); h_SL1L160->SetBinContent(24,30314.29); h_SL1L160->SetBinContent(25,30900); h_SL1L160->SetBinContent(26,31514.29); h_SL1L160->SetBinContent(27,29328.57); h_SL1L160->SetBinContent(28,31128.57); h_SL1L160->SetBinContent(29,31378.57); h_SL1L160->SetBinContent(30,31100); h_SL1L160->SetBinContent(31,32828.57); h_SL1L160->SetBinContent(32,31114.29); h_SL1L160->SetBinContent(33,65292.86); h_SL1L160->SetBinContent(34,66371.43); h_SL1L160->SetBinContent(35,65178.57); h_SL1L160->SetBinContent(36,66992.86); h_SL1L160->SetBinContent(37,61900); h_SL1L160->SetBinContent(38,64142.86); h_SL1L160->SetBinContent(39,66842.86); h_SL1L160->SetBinContent(41,30200); h_SL1L160->SetBinContent(42,30271.43); h_SL1L160->SetBinContent(43,29935.71); h_SL1L160->SetBinContent(44,28992.86); h_SL1L160->SetBinContent(45,27871.43); h_SL1L160->SetBinContent(46,25407.14); h_SL1L160->SetBinContent(47,26014.29); h_SL1L160->SetBinContent(48,26192.86); h_SL1L160->SetBinContent(49,28864.29); h_SL1L160->SetBinContent(50,30328.57); h_SL1L160->SetBinContent(51,29450); h_SL1L160->SetBinContent(52,30150); h_SL1L160->SetBinContent(53,28835.71); h_SL1L160->SetBinContent(54,29142.86); h_SL1L160->SetBinContent(55,29728.57); h_SL1L160->SetBinContent(56,32585.71); h_SL1L160->SetMaximum(119657.5); 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,55721.43); h_SL1L261->SetBinContent(2,55485.71); h_SL1L261->SetBinContent(3,58821.43); h_SL1L261->SetBinContent(4,58885.71); h_SL1L261->SetBinContent(5,54814.29); h_SL1L261->SetBinContent(6,56828.57); h_SL1L261->SetBinContent(7,53964.29); h_SL1L261->SetBinContent(8,57171.43); h_SL1L261->SetBinContent(9,57278.57); h_SL1L261->SetBinContent(10,53064.29); h_SL1L261->SetBinContent(11,56778.57); h_SL1L261->SetBinContent(12,58057.14); h_SL1L261->SetBinContent(13,56985.71); h_SL1L261->SetBinContent(14,59507.14); h_SL1L261->SetBinContent(15,62085.71); h_SL1L261->SetBinContent(16,55821.43); h_SL1L261->SetBinContent(17,65192.86); h_SL1L261->SetBinContent(18,69407.14); h_SL1L261->SetBinContent(19,71242.86); h_SL1L261->SetBinContent(20,70292.86); h_SL1L261->SetBinContent(21,61250); h_SL1L261->SetBinContent(22,60071.43); h_SL1L261->SetBinContent(23,59207.14); h_SL1L261->SetBinContent(24,57700); h_SL1L261->SetBinContent(25,59892.86); h_SL1L261->SetBinContent(26,55921.43); h_SL1L261->SetBinContent(27,54150); h_SL1L261->SetBinContent(28,59750); h_SL1L261->SetBinContent(29,61742.86); h_SL1L261->SetBinContent(30,60378.57); h_SL1L261->SetBinContent(31,66242.86); h_SL1L261->SetBinContent(32,63864.29); h_SL1L261->SetBinContent(33,63450); h_SL1L261->SetBinContent(34,64507.14); h_SL1L261->SetBinContent(35,63964.29); h_SL1L261->SetBinContent(36,63050); h_SL1L261->SetBinContent(37,61385.71); h_SL1L261->SetBinContent(38,59878.57); h_SL1L261->SetBinContent(39,66742.86); h_SL1L261->SetBinContent(40,64950); h_SL1L261->SetBinContent(41,60221.43); h_SL1L261->SetBinContent(42,61400); h_SL1L261->SetBinContent(43,62921.43); h_SL1L261->SetBinContent(44,60142.86); h_SL1L261->SetBinContent(45,60721.43); h_SL1L261->SetBinContent(46,62464.29); h_SL1L261->SetBinContent(47,59500); h_SL1L261->SetBinContent(48,59821.43); h_SL1L261->SetBinContent(49,66342.86); h_SL1L261->SetBinContent(50,66092.86); h_SL1L261->SetBinContent(51,64142.86); h_SL1L261->SetBinContent(52,64800); h_SL1L261->SetBinContent(53,61442.86); h_SL1L261->SetBinContent(54,60764.29); h_SL1L261->SetBinContent(55,61428.57); h_SL1L261->SetBinContent(56,60457.14); h_SL1L261->SetMaximum(104050.4); 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,53650); h_SL1L362->SetBinContent(2,55492.86); h_SL1L362->SetBinContent(3,57150); h_SL1L362->SetBinContent(4,57492.86); h_SL1L362->SetBinContent(5,54600); h_SL1L362->SetBinContent(6,52757.14); h_SL1L362->SetBinContent(7,55000); h_SL1L362->SetBinContent(8,56600); h_SL1L362->SetBinContent(9,52328.57); h_SL1L362->SetBinContent(10,54528.57); h_SL1L362->SetBinContent(11,54900); h_SL1L362->SetBinContent(12,55621.43); h_SL1L362->SetBinContent(13,54328.57); h_SL1L362->SetBinContent(14,61635.71); h_SL1L362->SetBinContent(15,75450); h_SL1L362->SetBinContent(16,56535.71); h_SL1L362->SetBinContent(17,63828.57); h_SL1L362->SetBinContent(18,67250); h_SL1L362->SetBinContent(19,68071.43); h_SL1L362->SetBinContent(20,68971.43); h_SL1L362->SetBinContent(21,60857.14); h_SL1L362->SetBinContent(22,56585.71); h_SL1L362->SetBinContent(23,57421.43); h_SL1L362->SetBinContent(24,56500); h_SL1L362->SetBinContent(25,55242.86); h_SL1L362->SetBinContent(26,52664.29); h_SL1L362->SetBinContent(27,54764.29); h_SL1L362->SetBinContent(28,58764.29); h_SL1L362->SetBinContent(29,58064.29); h_SL1L362->SetBinContent(30,57907.14); h_SL1L362->SetBinContent(31,63585.71); h_SL1L362->SetBinContent(32,59828.57); h_SL1L362->SetBinContent(33,62942.86); h_SL1L362->SetBinContent(34,62535.71); h_SL1L362->SetBinContent(35,62078.57); h_SL1L362->SetBinContent(36,63807.14); h_SL1L362->SetBinContent(37,60964.29); h_SL1L362->SetBinContent(38,59850); h_SL1L362->SetBinContent(39,64714.29); h_SL1L362->SetBinContent(40,64435.71); h_SL1L362->SetBinContent(41,60928.57); h_SL1L362->SetBinContent(42,60485.71); h_SL1L362->SetBinContent(43,60485.71); h_SL1L362->SetBinContent(44,58250); h_SL1L362->SetBinContent(45,60528.57); h_SL1L362->SetBinContent(46,60492.86); h_SL1L362->SetBinContent(47,57635.71); h_SL1L362->SetBinContent(48,58657.14); h_SL1L362->SetBinContent(49,64642.86); h_SL1L362->SetBinContent(50,62671.43); h_SL1L362->SetBinContent(51,63964.29); h_SL1L362->SetBinContent(52,63878.57); h_SL1L362->SetBinContent(53,58064.29); h_SL1L362->SetBinContent(54,57878.57); h_SL1L362->SetBinContent(55,60128.57); h_SL1L362->SetBinContent(56,58007.14); h_SL1L362->SetMaximum(104050.4); 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,41300); h_SL1L463->SetBinContent(3,40064.29); h_SL1L463->SetBinContent(4,38850); h_SL1L463->SetBinContent(5,35550); h_SL1L463->SetBinContent(6,34535.71); h_SL1L463->SetBinContent(7,34671.43); h_SL1L463->SetBinContent(8,35778.57); h_SL1L463->SetBinContent(9,37400); h_SL1L463->SetBinContent(10,39385.71); h_SL1L463->SetBinContent(11,42085.71); h_SL1L463->SetBinContent(12,42771.43); h_SL1L463->SetBinContent(13,45478.57); h_SL1L463->SetBinContent(14,90478.57); h_SL1L463->SetBinContent(15,77307.14); h_SL1L463->SetBinContent(16,74978.57); h_SL1L463->SetBinContent(17,44578.57); h_SL1L463->SetBinContent(18,46278.57); h_SL1L463->SetBinContent(19,43107.14); h_SL1L463->SetBinContent(20,43542.86); h_SL1L463->SetBinContent(21,40464.29); h_SL1L463->SetBinContent(22,36900); h_SL1L463->SetBinContent(23,35814.29); h_SL1L463->SetBinContent(24,35485.71); h_SL1L463->SetBinContent(25,31842.86); h_SL1L463->SetBinContent(26,32135.71); h_SL1L463->SetBinContent(27,31071.43); h_SL1L463->SetBinContent(28,33014.29); h_SL1L463->SetBinContent(29,31821.43); h_SL1L463->SetBinContent(30,33742.86); h_SL1L463->SetBinContent(31,36742.86); h_SL1L463->SetBinContent(32,32592.86); h_SL1L463->SetBinContent(33,30328.57); h_SL1L463->SetBinContent(34,37028.57); h_SL1L463->SetBinContent(35,39035.71); h_SL1L463->SetBinContent(36,32292.86); h_SL1L463->SetBinContent(37,6142.857); h_SL1L463->SetBinContent(38,14.28571); h_SL1L463->SetBinContent(39,14.28571); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,27978.57); h_SL1L463->SetBinContent(42,29435.71); h_SL1L463->SetBinContent(43,30185.71); h_SL1L463->SetBinContent(44,27885.71); h_SL1L463->SetBinContent(45,26821.43); h_SL1L463->SetBinContent(46,28335.71); h_SL1L463->SetBinContent(47,26807.14); h_SL1L463->SetBinContent(48,25492.86); h_SL1L463->SetBinContent(49,26142.86); h_SL1L463->SetBinContent(50,28242.86); h_SL1L463->SetBinContent(51,26750); h_SL1L463->SetBinContent(52,27185.71); h_SL1L463->SetBinContent(53,26592.86); h_SL1L463->SetBinContent(54,25357.14); h_SL1L463->SetBinContent(56,28607.14); h_SL1L463->SetMaximum(104050.4); 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 7474"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }