void RatesPerCell_Removing_noisy_cells_run_7631_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:19:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13503.59,67.5,121532.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7631",60,0,60); h_SL1L160->SetBinContent(1,36971.43); h_SL1L160->SetBinContent(2,37285.71); h_SL1L160->SetBinContent(3,38450); h_SL1L160->SetBinContent(4,37721.43); h_SL1L160->SetBinContent(5,33864.29); h_SL1L160->SetBinContent(6,36242.86); h_SL1L160->SetBinContent(7,35007.14); h_SL1L160->SetBinContent(8,36492.86); h_SL1L160->SetBinContent(9,36000); h_SL1L160->SetBinContent(10,35557.14); h_SL1L160->SetBinContent(11,36192.86); h_SL1L160->SetBinContent(12,36414.29); h_SL1L160->SetBinContent(13,57492.86); h_SL1L160->SetBinContent(14,66135.71); h_SL1L160->SetBinContent(15,64514.29); h_SL1L160->SetBinContent(16,32878.57); h_SL1L160->SetBinContent(17,33171.43); h_SL1L160->SetBinContent(18,34421.43); h_SL1L160->SetBinContent(19,35128.57); h_SL1L160->SetBinContent(20,35442.86); h_SL1L160->SetBinContent(21,34178.57); h_SL1L160->SetBinContent(22,32750); h_SL1L160->SetBinContent(23,31485.71); h_SL1L160->SetBinContent(24,28435.71); h_SL1L160->SetBinContent(25,27935.71); h_SL1L160->SetBinContent(26,29385.71); h_SL1L160->SetBinContent(27,27492.86); h_SL1L160->SetBinContent(28,29692.86); h_SL1L160->SetBinContent(29,30571.43); h_SL1L160->SetBinContent(30,29528.57); h_SL1L160->SetBinContent(31,27928.57); h_SL1L160->SetBinContent(32,25785.71); h_SL1L160->SetBinContent(33,42457.14); h_SL1L160->SetBinContent(34,44221.43); h_SL1L160->SetBinContent(35,43235.71); h_SL1L160->SetBinContent(36,44828.57); h_SL1L160->SetBinContent(37,46421.43); h_SL1L160->SetBinContent(38,46550); h_SL1L160->SetBinContent(39,44778.57); h_SL1L160->SetBinContent(41,27807.14); h_SL1L160->SetBinContent(42,28821.43); h_SL1L160->SetBinContent(43,27742.86); h_SL1L160->SetBinContent(44,26214.29); h_SL1L160->SetBinContent(45,25228.57); h_SL1L160->SetBinContent(46,24957.14); h_SL1L160->SetBinContent(47,24907.14); h_SL1L160->SetBinContent(48,24385.71); h_SL1L160->SetBinContent(49,26764.29); h_SL1L160->SetBinContent(50,26828.57); h_SL1L160->SetBinContent(51,26578.57); h_SL1L160->SetBinContent(52,25371.43); h_SL1L160->SetBinContent(53,25985.71); h_SL1L160->SetBinContent(54,26185.71); h_SL1L160->SetBinContent(55,25907.14); h_SL1L160->SetBinContent(56,28500); h_SL1L160->SetMaximum(108028.7); 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,37671.43); h_SL1L261->SetBinContent(2,38307.14); h_SL1L261->SetBinContent(3,38950); h_SL1L261->SetBinContent(4,39878.57); h_SL1L261->SetBinContent(5,39892.86); h_SL1L261->SetBinContent(6,40985.71); h_SL1L261->SetBinContent(7,41835.71); h_SL1L261->SetBinContent(8,43028.57); h_SL1L261->SetBinContent(9,43464.29); h_SL1L261->SetBinContent(10,41021.43); h_SL1L261->SetBinContent(11,42385.71); h_SL1L261->SetBinContent(12,44400); h_SL1L261->SetBinContent(13,42742.86); h_SL1L261->SetBinContent(14,46735.71); h_SL1L261->SetBinContent(15,50535.71); h_SL1L261->SetBinContent(16,44728.57); h_SL1L261->SetBinContent(17,43257.14); h_SL1L261->SetBinContent(18,47307.14); h_SL1L261->SetBinContent(19,46192.86); h_SL1L261->SetBinContent(20,47264.29); h_SL1L261->SetBinContent(21,46550); h_SL1L261->SetBinContent(22,44842.86); h_SL1L261->SetBinContent(23,43642.86); h_SL1L261->SetBinContent(24,42971.43); h_SL1L261->SetBinContent(25,44507.14); h_SL1L261->SetBinContent(26,40835.71); h_SL1L261->SetBinContent(27,42135.71); h_SL1L261->SetBinContent(28,43971.43); h_SL1L261->SetBinContent(29,44914.29); h_SL1L261->SetBinContent(30,45285.71); h_SL1L261->SetBinContent(31,45207.14); h_SL1L261->SetBinContent(32,45014.29); h_SL1L261->SetBinContent(33,43985.71); h_SL1L261->SetBinContent(34,44228.57); h_SL1L261->SetBinContent(35,41764.29); h_SL1L261->SetBinContent(36,43578.57); h_SL1L261->SetBinContent(37,46157.14); h_SL1L261->SetBinContent(38,46314.29); h_SL1L261->SetBinContent(39,45157.14); h_SL1L261->SetBinContent(40,44571.43); h_SL1L261->SetBinContent(41,44221.43); h_SL1L261->SetBinContent(42,45285.71); h_SL1L261->SetBinContent(43,43985.71); h_SL1L261->SetBinContent(44,42914.29); h_SL1L261->SetBinContent(45,43264.29); h_SL1L261->SetBinContent(46,44442.86); h_SL1L261->SetBinContent(47,43742.86); h_SL1L261->SetBinContent(48,43850); h_SL1L261->SetBinContent(49,50050); h_SL1L261->SetBinContent(50,45550); h_SL1L261->SetBinContent(51,44664.29); h_SL1L261->SetBinContent(52,44321.43); h_SL1L261->SetBinContent(53,45307.14); h_SL1L261->SetBinContent(54,43814.29); h_SL1L261->SetBinContent(55,43550); h_SL1L261->SetBinContent(56,42250); h_SL1L261->SetMaximum(93938.57); 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,35471.43); h_SL1L362->SetBinContent(2,36792.86); h_SL1L362->SetBinContent(3,39157.14); h_SL1L362->SetBinContent(4,39257.14); h_SL1L362->SetBinContent(5,39978.57); h_SL1L362->SetBinContent(6,40957.14); h_SL1L362->SetBinContent(7,40000); h_SL1L362->SetBinContent(8,43285.71); h_SL1L362->SetBinContent(9,42114.29); h_SL1L362->SetBinContent(10,41750); h_SL1L362->SetBinContent(11,41971.43); h_SL1L362->SetBinContent(12,43821.43); h_SL1L362->SetBinContent(13,41528.57); h_SL1L362->SetBinContent(14,49957.14); h_SL1L362->SetBinContent(15,64678.57); h_SL1L362->SetBinContent(16,45150); h_SL1L362->SetBinContent(17,44192.86); h_SL1L362->SetBinContent(18,45442.86); h_SL1L362->SetBinContent(19,46771.43); h_SL1L362->SetBinContent(20,46892.86); h_SL1L362->SetBinContent(21,45485.71); h_SL1L362->SetBinContent(22,43371.43); h_SL1L362->SetBinContent(23,42750); h_SL1L362->SetBinContent(24,42450); h_SL1L362->SetBinContent(25,41235.71); h_SL1L362->SetBinContent(26,39992.86); h_SL1L362->SetBinContent(27,40578.57); h_SL1L362->SetBinContent(28,44992.86); h_SL1L362->SetBinContent(29,44207.14); h_SL1L362->SetBinContent(30,44828.57); h_SL1L362->SetBinContent(31,44050); h_SL1L362->SetBinContent(32,42307.14); h_SL1L362->SetBinContent(33,42764.29); h_SL1L362->SetBinContent(34,42528.57); h_SL1L362->SetBinContent(35,42592.86); h_SL1L362->SetBinContent(36,44807.14); h_SL1L362->SetBinContent(37,47785.71); h_SL1L362->SetBinContent(38,44950); h_SL1L362->SetBinContent(39,43785.71); h_SL1L362->SetBinContent(40,43314.29); h_SL1L362->SetBinContent(41,43328.57); h_SL1L362->SetBinContent(42,43164.29); h_SL1L362->SetBinContent(43,41321.43); h_SL1L362->SetBinContent(44,41450); h_SL1L362->SetBinContent(45,41107.14); h_SL1L362->SetBinContent(46,43514.29); h_SL1L362->SetBinContent(47,42014.29); h_SL1L362->SetBinContent(48,44178.57); h_SL1L362->SetBinContent(49,44478.57); h_SL1L362->SetBinContent(50,43700); h_SL1L362->SetBinContent(51,43035.71); h_SL1L362->SetBinContent(52,42757.14); h_SL1L362->SetBinContent(53,43585.71); h_SL1L362->SetBinContent(54,42650); h_SL1L362->SetBinContent(55,41614.29); h_SL1L362->SetBinContent(56,43621.43); h_SL1L362->SetMaximum(93938.57); 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,31278.57); h_SL1L463->SetBinContent(3,31471.43); h_SL1L463->SetBinContent(4,31478.57); h_SL1L463->SetBinContent(5,29350); h_SL1L463->SetBinContent(6,30964.29); h_SL1L463->SetBinContent(7,31478.57); h_SL1L463->SetBinContent(8,32242.86); h_SL1L463->SetBinContent(9,33178.57); h_SL1L463->SetBinContent(10,34328.57); h_SL1L463->SetBinContent(11,37464.29); h_SL1L463->SetBinContent(12,37228.57); h_SL1L463->SetBinContent(13,38707.14); h_SL1L463->SetBinContent(14,81685.71); h_SL1L463->SetBinContent(15,70221.43); h_SL1L463->SetBinContent(16,66550); h_SL1L463->SetBinContent(17,35650); h_SL1L463->SetBinContent(18,36792.86); h_SL1L463->SetBinContent(19,35964.29); h_SL1L463->SetBinContent(20,37292.86); h_SL1L463->SetBinContent(21,34535.71); h_SL1L463->SetBinContent(22,32885.71); h_SL1L463->SetBinContent(23,32371.43); h_SL1L463->SetBinContent(24,31221.43); h_SL1L463->SetBinContent(25,30728.57); h_SL1L463->SetBinContent(26,29364.29); h_SL1L463->SetBinContent(27,29178.57); h_SL1L463->SetBinContent(28,31300); h_SL1L463->SetBinContent(29,30278.57); h_SL1L463->SetBinContent(30,30614.29); h_SL1L463->SetBinContent(31,30250); h_SL1L463->SetBinContent(32,28150); h_SL1L463->SetBinContent(33,27700); h_SL1L463->SetBinContent(34,30307.14); h_SL1L463->SetBinContent(35,30992.86); h_SL1L463->SetBinContent(36,27314.29); h_SL1L463->SetBinContent(37,10442.86); h_SL1L463->SetBinContent(38,92.85714); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,25471.43); h_SL1L463->SetBinContent(42,25792.86); h_SL1L463->SetBinContent(43,26535.71); h_SL1L463->SetBinContent(44,26157.14); h_SL1L463->SetBinContent(45,23657.14); h_SL1L463->SetBinContent(46,24257.14); h_SL1L463->SetBinContent(47,23807.14); h_SL1L463->SetBinContent(48,22871.43); h_SL1L463->SetBinContent(49,23342.86); h_SL1L463->SetBinContent(50,24242.86); h_SL1L463->SetBinContent(51,23778.57); h_SL1L463->SetBinContent(52,23314.29); h_SL1L463->SetBinContent(53,25064.29); h_SL1L463->SetBinContent(54,23357.14); h_SL1L463->SetBinContent(56,24142.86); h_SL1L463->SetMaximum(93938.57); 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 7631"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }