void RatesPerCell_Removing_noisy_cells_run_7721_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:20:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6160.119,67.5,55441.07); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7721",60,0,60); h_SL1L160->SetBinContent(1,15557.14); h_SL1L160->SetBinContent(2,15578.57); h_SL1L160->SetBinContent(3,15100); h_SL1L160->SetBinContent(4,14171.43); h_SL1L160->SetBinContent(5,13007.14); h_SL1L160->SetBinContent(6,13314.29); h_SL1L160->SetBinContent(7,13635.71); h_SL1L160->SetBinContent(8,13700); h_SL1L160->SetBinContent(9,13350); h_SL1L160->SetBinContent(10,13821.43); h_SL1L160->SetBinContent(11,14128.57); h_SL1L160->SetBinContent(12,14371.43); h_SL1L160->SetBinContent(13,23557.14); h_SL1L160->SetBinContent(14,25421.43); h_SL1L160->SetBinContent(15,24242.86); h_SL1L160->SetBinContent(16,12757.14); h_SL1L160->SetBinContent(17,11771.43); h_SL1L160->SetBinContent(18,12607.14); h_SL1L160->SetBinContent(19,13392.86); h_SL1L160->SetBinContent(20,12300); h_SL1L160->SetBinContent(21,11778.57); h_SL1L160->SetBinContent(22,11964.29); h_SL1L160->SetBinContent(23,10978.57); h_SL1L160->SetBinContent(24,10000); h_SL1L160->SetBinContent(25,9378.571); h_SL1L160->SetBinContent(26,10042.86); h_SL1L160->SetBinContent(27,9800); h_SL1L160->SetBinContent(28,10171.43); h_SL1L160->SetBinContent(29,11250); h_SL1L160->SetBinContent(30,10492.86); h_SL1L160->SetBinContent(31,9578.571); h_SL1L160->SetBinContent(32,9428.571); h_SL1L160->SetBinContent(33,22971.43); h_SL1L160->SetBinContent(34,23764.29); h_SL1L160->SetBinContent(35,22928.57); h_SL1L160->SetBinContent(36,22464.29); h_SL1L160->SetBinContent(37,22864.29); h_SL1L160->SetBinContent(38,23914.29); h_SL1L160->SetBinContent(39,22350); h_SL1L160->SetBinContent(41,9100); h_SL1L160->SetBinContent(42,9642.857); h_SL1L160->SetBinContent(43,8764.285); h_SL1L160->SetBinContent(44,8471.429); h_SL1L160->SetBinContent(45,7571.429); h_SL1L160->SetBinContent(46,8007.143); h_SL1L160->SetBinContent(47,7978.571); h_SL1L160->SetBinContent(48,7900); h_SL1L160->SetBinContent(49,8092.857); h_SL1L160->SetBinContent(50,8764.285); h_SL1L160->SetBinContent(51,8721.429); h_SL1L160->SetBinContent(52,8757.143); h_SL1L160->SetBinContent(53,8642.857); h_SL1L160->SetBinContent(54,8900); h_SL1L160->SetBinContent(55,9042.857); h_SL1L160->SetBinContent(56,9342.857); h_SL1L160->SetMaximum(49280.95); 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,18621.43); h_SL1L261->SetBinContent(2,19542.86); h_SL1L261->SetBinContent(3,20542.86); h_SL1L261->SetBinContent(4,21421.43); h_SL1L261->SetBinContent(5,20828.57); h_SL1L261->SetBinContent(6,22521.43); h_SL1L261->SetBinContent(7,22585.71); h_SL1L261->SetBinContent(8,23107.14); h_SL1L261->SetBinContent(9,24100); h_SL1L261->SetBinContent(10,23285.71); h_SL1L261->SetBinContent(11,24000); h_SL1L261->SetBinContent(12,23407.14); h_SL1L261->SetBinContent(13,24614.29); h_SL1L261->SetBinContent(14,25135.71); h_SL1L261->SetBinContent(15,26271.43); h_SL1L261->SetBinContent(16,23235.71); h_SL1L261->SetBinContent(17,24550); h_SL1L261->SetBinContent(18,25914.29); h_SL1L261->SetBinContent(19,25400); h_SL1L261->SetBinContent(20,26514.29); h_SL1L261->SetBinContent(21,25250); h_SL1L261->SetBinContent(22,25635.71); h_SL1L261->SetBinContent(23,24342.86); h_SL1L261->SetBinContent(24,23664.29); h_SL1L261->SetBinContent(25,24092.86); h_SL1L261->SetBinContent(26,23135.71); h_SL1L261->SetBinContent(27,22364.29); h_SL1L261->SetBinContent(28,24600); h_SL1L261->SetBinContent(29,25471.43); h_SL1L261->SetBinContent(30,25242.86); h_SL1L261->SetBinContent(31,24264.29); h_SL1L261->SetBinContent(32,24835.71); h_SL1L261->SetBinContent(33,23850); h_SL1L261->SetBinContent(34,24714.29); h_SL1L261->SetBinContent(35,23785.71); h_SL1L261->SetBinContent(36,23457.14); h_SL1L261->SetBinContent(37,24400); h_SL1L261->SetBinContent(38,25321.43); h_SL1L261->SetBinContent(39,24200); h_SL1L261->SetBinContent(40,24942.86); h_SL1L261->SetBinContent(41,24421.43); h_SL1L261->SetBinContent(42,25264.29); h_SL1L261->SetBinContent(43,24585.71); h_SL1L261->SetBinContent(44,24300); h_SL1L261->SetBinContent(45,24257.14); h_SL1L261->SetBinContent(46,24621.43); h_SL1L261->SetBinContent(47,23692.86); h_SL1L261->SetBinContent(48,23221.43); h_SL1L261->SetBinContent(49,24414.29); h_SL1L261->SetBinContent(50,24921.43); h_SL1L261->SetBinContent(51,24085.71); h_SL1L261->SetBinContent(52,23957.14); h_SL1L261->SetBinContent(53,24342.86); h_SL1L261->SetBinContent(54,24192.86); h_SL1L261->SetBinContent(55,23021.43); h_SL1L261->SetBinContent(56,22550); h_SL1L261->SetMaximum(42853.93); 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,18914.29); h_SL1L362->SetBinContent(2,19150); h_SL1L362->SetBinContent(3,20971.43); h_SL1L362->SetBinContent(4,21414.29); h_SL1L362->SetBinContent(5,21885.71); h_SL1L362->SetBinContent(6,22414.29); h_SL1L362->SetBinContent(7,22621.43); h_SL1L362->SetBinContent(8,23321.43); h_SL1L362->SetBinContent(9,23435.71); h_SL1L362->SetBinContent(10,23350); h_SL1L362->SetBinContent(11,22392.86); h_SL1L362->SetBinContent(12,24607.14); h_SL1L362->SetBinContent(13,23235.71); h_SL1L362->SetBinContent(14,26628.57); h_SL1L362->SetBinContent(15,31007.14); h_SL1L362->SetBinContent(16,24221.43); h_SL1L362->SetBinContent(17,23921.43); h_SL1L362->SetBinContent(18,25678.57); h_SL1L362->SetBinContent(19,25107.14); h_SL1L362->SetBinContent(20,26507.14); h_SL1L362->SetBinContent(21,25200); h_SL1L362->SetBinContent(22,23278.57); h_SL1L362->SetBinContent(23,23928.57); h_SL1L362->SetBinContent(24,24571.43); h_SL1L362->SetBinContent(25,23471.43); h_SL1L362->SetBinContent(26,22321.43); h_SL1L362->SetBinContent(27,22535.71); h_SL1L362->SetBinContent(28,24692.86); h_SL1L362->SetBinContent(29,25528.57); h_SL1L362->SetBinContent(30,24728.57); h_SL1L362->SetBinContent(31,24514.29); h_SL1L362->SetBinContent(32,24107.14); h_SL1L362->SetBinContent(33,24400); h_SL1L362->SetBinContent(34,24007.14); h_SL1L362->SetBinContent(35,23442.86); h_SL1L362->SetBinContent(36,23700); h_SL1L362->SetBinContent(37,24364.29); h_SL1L362->SetBinContent(38,25264.29); h_SL1L362->SetBinContent(39,23628.57); h_SL1L362->SetBinContent(40,24550); h_SL1L362->SetBinContent(41,24071.43); h_SL1L362->SetBinContent(42,24485.71); h_SL1L362->SetBinContent(43,23757.14); h_SL1L362->SetBinContent(44,23300); h_SL1L362->SetBinContent(45,23057.14); h_SL1L362->SetBinContent(46,23635.71); h_SL1L362->SetBinContent(47,22828.57); h_SL1L362->SetBinContent(48,23621.43); h_SL1L362->SetBinContent(49,23428.57); h_SL1L362->SetBinContent(50,22450); h_SL1L362->SetBinContent(51,22442.86); h_SL1L362->SetBinContent(52,22528.57); h_SL1L362->SetBinContent(53,23964.29); h_SL1L362->SetBinContent(54,22357.14); h_SL1L362->SetBinContent(55,22521.43); h_SL1L362->SetBinContent(56,22235.71); h_SL1L362->SetMaximum(42853.93); 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,15535.71); h_SL1L463->SetBinContent(3,15021.43); h_SL1L463->SetBinContent(4,15450); h_SL1L463->SetBinContent(5,14728.57); h_SL1L463->SetBinContent(6,15400); h_SL1L463->SetBinContent(7,15278.57); h_SL1L463->SetBinContent(8,16114.29); h_SL1L463->SetBinContent(9,17350); h_SL1L463->SetBinContent(10,17428.57); h_SL1L463->SetBinContent(11,18600); h_SL1L463->SetBinContent(12,19450); h_SL1L463->SetBinContent(13,20985.71); h_SL1L463->SetBinContent(14,37264.29); h_SL1L463->SetBinContent(15,31471.43); h_SL1L463->SetBinContent(16,30164.29); h_SL1L463->SetBinContent(17,17128.57); h_SL1L463->SetBinContent(18,18100); h_SL1L463->SetBinContent(19,17192.86); h_SL1L463->SetBinContent(20,17942.86); h_SL1L463->SetBinContent(21,17757.14); h_SL1L463->SetBinContent(22,16950); h_SL1L463->SetBinContent(23,15692.86); h_SL1L463->SetBinContent(24,14928.57); h_SL1L463->SetBinContent(25,14771.43); h_SL1L463->SetBinContent(26,15064.29); h_SL1L463->SetBinContent(27,14235.71); h_SL1L463->SetBinContent(28,15192.86); h_SL1L463->SetBinContent(29,14371.43); h_SL1L463->SetBinContent(30,14728.57); h_SL1L463->SetBinContent(31,14435.71); h_SL1L463->SetBinContent(32,13578.57); h_SL1L463->SetBinContent(33,13257.14); h_SL1L463->SetBinContent(34,15528.57); h_SL1L463->SetBinContent(35,15400); h_SL1L463->SetBinContent(36,12814.29); h_SL1L463->SetBinContent(37,50); h_SL1L463->SetBinContent(41,12257.14); h_SL1L463->SetBinContent(42,12964.29); h_SL1L463->SetBinContent(43,12900); h_SL1L463->SetBinContent(44,12507.14); h_SL1L463->SetBinContent(45,11650); h_SL1L463->SetBinContent(46,12428.57); h_SL1L463->SetBinContent(47,11657.14); h_SL1L463->SetBinContent(48,11314.29); h_SL1L463->SetBinContent(49,10928.57); h_SL1L463->SetBinContent(50,11100); h_SL1L463->SetBinContent(51,10414.29); h_SL1L463->SetBinContent(52,11635.71); h_SL1L463->SetBinContent(53,11050); h_SL1L463->SetBinContent(54,10721.43); h_SL1L463->SetBinContent(55,107.1429); h_SL1L463->SetBinContent(56,11614.29); h_SL1L463->SetMaximum(42853.93); 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 7721"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }