void RatesPerCell_Removing_noisy_cells_run_7571_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:51:11 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-24128.44,67.5,217155.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7571",60,0,60); h_SL1L160->SetBinContent(1,90092.86); h_SL1L160->SetBinContent(2,89978.57); h_SL1L160->SetBinContent(3,86557.14); h_SL1L160->SetBinContent(4,78064.28); h_SL1L160->SetBinContent(5,60421.43); h_SL1L160->SetBinContent(6,62750); h_SL1L160->SetBinContent(7,60871.43); h_SL1L160->SetBinContent(8,62292.86); h_SL1L160->SetBinContent(9,62035.71); h_SL1L160->SetBinContent(10,61978.57); h_SL1L160->SetBinContent(11,61314.29); h_SL1L160->SetBinContent(12,58264.29); h_SL1L160->SetBinContent(13,59692.86); h_SL1L160->SetBinContent(14,89692.86); h_SL1L160->SetBinContent(15,84821.43); h_SL1L160->SetBinContent(16,50764.29); h_SL1L160->SetBinContent(17,55164.29); h_SL1L160->SetBinContent(18,58764.29); h_SL1L160->SetBinContent(19,60792.86); h_SL1L160->SetBinContent(20,58835.71); h_SL1L160->SetBinContent(21,52428.57); h_SL1L160->SetBinContent(22,52564.29); h_SL1L160->SetBinContent(23,48414.29); h_SL1L160->SetBinContent(24,42650); h_SL1L160->SetBinContent(25,39221.43); h_SL1L160->SetBinContent(26,43228.57); h_SL1L160->SetBinContent(27,40907.14); h_SL1L160->SetBinContent(28,43514.29); h_SL1L160->SetBinContent(29,44500); h_SL1L160->SetBinContent(30,40828.57); h_SL1L160->SetBinContent(31,39100); h_SL1L160->SetBinContent(32,37257.14); h_SL1L160->SetBinContent(33,132078.6); h_SL1L160->SetBinContent(34,135257.1); h_SL1L160->SetBinContent(35,135171.4); h_SL1L160->SetBinContent(36,135771.4); h_SL1L160->SetBinContent(37,127785.7); h_SL1L160->SetBinContent(38,130464.3); h_SL1L160->SetBinContent(39,126128.6); h_SL1L160->SetBinContent(41,37042.86); h_SL1L160->SetBinContent(42,37178.57); h_SL1L160->SetBinContent(43,35192.86); h_SL1L160->SetBinContent(44,34435.71); h_SL1L160->SetBinContent(45,33492.86); h_SL1L160->SetBinContent(46,31871.43); h_SL1L160->SetBinContent(47,31842.86); h_SL1L160->SetBinContent(48,32528.57); h_SL1L160->SetBinContent(49,38700); h_SL1L160->SetBinContent(50,42300); h_SL1L160->SetBinContent(51,43942.86); h_SL1L160->SetBinContent(52,43107.14); h_SL1L160->SetBinContent(53,35907.14); h_SL1L160->SetBinContent(54,37864.29); h_SL1L160->SetBinContent(55,39078.57); h_SL1L160->SetBinContent(56,46364.29); h_SL1L160->SetMaximum(193027.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,124900); h_SL1L261->SetBinContent(2,126171.4); h_SL1L261->SetBinContent(3,127985.7); h_SL1L261->SetBinContent(4,129164.3); h_SL1L261->SetBinContent(5,122664.3); h_SL1L261->SetBinContent(6,127378.6); h_SL1L261->SetBinContent(7,125800); h_SL1L261->SetBinContent(8,126978.6); h_SL1L261->SetBinContent(9,128235.7); h_SL1L261->SetBinContent(10,124807.1); h_SL1L261->SetBinContent(11,129057.1); h_SL1L261->SetBinContent(12,129507.1); h_SL1L261->SetBinContent(13,128464.3); h_SL1L261->SetBinContent(14,129557.1); h_SL1L261->SetBinContent(15,129800); h_SL1L261->SetBinContent(16,125778.6); h_SL1L261->SetBinContent(17,135757.1); h_SL1L261->SetBinContent(18,142878.6); h_SL1L261->SetBinContent(19,145957.1); h_SL1L261->SetBinContent(20,145907.1); h_SL1L261->SetBinContent(21,138085.7); h_SL1L261->SetBinContent(22,133642.9); h_SL1L261->SetBinContent(23,128507.1); h_SL1L261->SetBinContent(24,128821.4); h_SL1L261->SetBinContent(25,128857.1); h_SL1L261->SetBinContent(26,117764.3); h_SL1L261->SetBinContent(27,117685.7); h_SL1L261->SetBinContent(28,125307.1); h_SL1L261->SetBinContent(29,133235.7); h_SL1L261->SetBinContent(30,133157.1); h_SL1L261->SetBinContent(31,130635.7); h_SL1L261->SetBinContent(32,126207.1); h_SL1L261->SetBinContent(33,132021.4); h_SL1L261->SetBinContent(34,131950); h_SL1L261->SetBinContent(35,130335.7); h_SL1L261->SetBinContent(36,131878.6); h_SL1L261->SetBinContent(37,128942.9); h_SL1L261->SetBinContent(38,131328.6); h_SL1L261->SetBinContent(39,130928.6); h_SL1L261->SetBinContent(40,127800); h_SL1L261->SetBinContent(41,130342.9); h_SL1L261->SetBinContent(42,130035.7); h_SL1L261->SetBinContent(43,129850); h_SL1L261->SetBinContent(44,122178.6); h_SL1L261->SetBinContent(45,124007.1); h_SL1L261->SetBinContent(46,127128.6); h_SL1L261->SetBinContent(47,129042.9); h_SL1L261->SetBinContent(48,130435.7); h_SL1L261->SetBinContent(49,137721.4); h_SL1L261->SetBinContent(50,135892.9); h_SL1L261->SetBinContent(51,134828.6); h_SL1L261->SetBinContent(52,134364.3); h_SL1L261->SetBinContent(53,130800); h_SL1L261->SetBinContent(54,128014.3); h_SL1L261->SetBinContent(55,131064.3); h_SL1L261->SetBinContent(56,128514.3); h_SL1L261->SetMaximum(167850.7); 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,123364.3); h_SL1L362->SetBinContent(2,126864.3); h_SL1L362->SetBinContent(3,126007.1); h_SL1L362->SetBinContent(4,126471.4); h_SL1L362->SetBinContent(5,120892.9); h_SL1L362->SetBinContent(6,120992.9); h_SL1L362->SetBinContent(7,122307.1); h_SL1L362->SetBinContent(8,125164.3); h_SL1L362->SetBinContent(9,118928.6); h_SL1L362->SetBinContent(10,125207.1); h_SL1L362->SetBinContent(11,126414.3); h_SL1L362->SetBinContent(12,125878.6); h_SL1L362->SetBinContent(13,124257.1); h_SL1L362->SetBinContent(14,125235.7); h_SL1L362->SetBinContent(15,123314.3); h_SL1L362->SetBinContent(16,122328.6); h_SL1L362->SetBinContent(17,134142.9); h_SL1L362->SetBinContent(18,141357.1); h_SL1L362->SetBinContent(19,140707.1); h_SL1L362->SetBinContent(20,144271.4); h_SL1L362->SetBinContent(21,132235.7); h_SL1L362->SetBinContent(22,126785.7); h_SL1L362->SetBinContent(23,124814.3); h_SL1L362->SetBinContent(24,123521.4); h_SL1L362->SetBinContent(25,119235.7); h_SL1L362->SetBinContent(26,113428.6); h_SL1L362->SetBinContent(27,116907.1); h_SL1L362->SetBinContent(28,127921.4); h_SL1L362->SetBinContent(29,128485.7); h_SL1L362->SetBinContent(30,127914.3); h_SL1L362->SetBinContent(31,125742.9); h_SL1L362->SetBinContent(32,120650); h_SL1L362->SetBinContent(33,129628.6); h_SL1L362->SetBinContent(34,130307.1); h_SL1L362->SetBinContent(35,127571.4); h_SL1L362->SetBinContent(36,131592.9); h_SL1L362->SetBinContent(37,127807.1); h_SL1L362->SetBinContent(38,126278.6); h_SL1L362->SetBinContent(39,126228.6); h_SL1L362->SetBinContent(40,124742.9); h_SL1L362->SetBinContent(41,124121.4); h_SL1L362->SetBinContent(42,127592.9); h_SL1L362->SetBinContent(43,123814.3); h_SL1L362->SetBinContent(44,117300); h_SL1L362->SetBinContent(45,120385.7); h_SL1L362->SetBinContent(46,123400); h_SL1L362->SetBinContent(47,125057.1); h_SL1L362->SetBinContent(48,126964.3); h_SL1L362->SetBinContent(49,134935.7); h_SL1L362->SetBinContent(50,134114.3); h_SL1L362->SetBinContent(51,128064.3); h_SL1L362->SetBinContent(52,131485.7); h_SL1L362->SetBinContent(53,122950); h_SL1L362->SetBinContent(54,123414.3); h_SL1L362->SetBinContent(55,123742.9); h_SL1L362->SetBinContent(56,122585.7); h_SL1L362->SetMaximum(167850.7); 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,72478.57); h_SL1L463->SetBinContent(3,65692.86); h_SL1L463->SetBinContent(4,61128.57); h_SL1L463->SetBinContent(5,54050); h_SL1L463->SetBinContent(6,54221.43); h_SL1L463->SetBinContent(7,54607.14); h_SL1L463->SetBinContent(8,58014.29); h_SL1L463->SetBinContent(9,60321.43); h_SL1L463->SetBinContent(10,68100); h_SL1L463->SetBinContent(11,75114.28); h_SL1L463->SetBinContent(12,77050); h_SL1L463->SetBinContent(13,77171.43); h_SL1L463->SetBinContent(14,80357.14); h_SL1L463->SetBinContent(15,124607.1); h_SL1L463->SetBinContent(16,88300); h_SL1L463->SetBinContent(17,69878.57); h_SL1L463->SetBinContent(18,67728.57); h_SL1L463->SetBinContent(19,66542.86); h_SL1L463->SetBinContent(20,65100); h_SL1L463->SetBinContent(21,60900); h_SL1L463->SetBinContent(22,59871.43); h_SL1L463->SetBinContent(23,55985.71); h_SL1L463->SetBinContent(24,55157.14); h_SL1L463->SetBinContent(25,49142.86); h_SL1L463->SetBinContent(26,50428.57); h_SL1L463->SetBinContent(27,46835.71); h_SL1L463->SetBinContent(28,48807.14); h_SL1L463->SetBinContent(29,46571.43); h_SL1L463->SetBinContent(30,48292.86); h_SL1L463->SetBinContent(31,45900); h_SL1L463->SetBinContent(32,43221.43); h_SL1L463->SetBinContent(33,39835.71); h_SL1L463->SetBinContent(34,45942.86); h_SL1L463->SetBinContent(35,45442.86); h_SL1L463->SetBinContent(36,40214.29); h_SL1L463->SetBinContent(37,11150); h_SL1L463->SetBinContent(38,157.1429); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,33328.57); h_SL1L463->SetBinContent(42,35578.57); h_SL1L463->SetBinContent(43,36592.86); h_SL1L463->SetBinContent(44,35042.86); h_SL1L463->SetBinContent(45,32264.29); h_SL1L463->SetBinContent(46,33914.29); h_SL1L463->SetBinContent(47,31942.86); h_SL1L463->SetBinContent(48,31114.29); h_SL1L463->SetBinContent(49,30864.29); h_SL1L463->SetBinContent(50,33778.57); h_SL1L463->SetBinContent(51,33300); h_SL1L463->SetBinContent(52,34007.14); h_SL1L463->SetBinContent(53,34135.71); h_SL1L463->SetBinContent(54,32614.29); h_SL1L463->SetBinContent(56,37507.14); h_SL1L463->SetMaximum(167850.7); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 7571"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }