void RatesPerCell_Removing_noisy_cells_run_7752_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:22:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4842.363,67.5,43581.26); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7752",60,0,60); h_SL1L160->SetBinContent(1,3521.428); h_SL1L160->SetBinContent(2,3421.428); h_SL1L160->SetBinContent(3,3271.428); h_SL1L160->SetBinContent(4,2935.714); h_SL1L160->SetBinContent(5,2628.571); h_SL1L160->SetBinContent(6,2892.857); h_SL1L160->SetBinContent(7,2664.286); h_SL1L160->SetBinContent(8,2764.286); h_SL1L160->SetBinContent(9,2685.714); h_SL1L160->SetBinContent(10,2757.143); h_SL1L160->SetBinContent(11,2742.857); h_SL1L160->SetBinContent(12,2700); h_SL1L160->SetBinContent(13,4571.429); h_SL1L160->SetBinContent(14,4542.857); h_SL1L160->SetBinContent(15,4657.143); h_SL1L160->SetBinContent(16,2735.714); h_SL1L160->SetBinContent(17,1721.429); h_SL1L160->SetBinContent(18,1935.714); h_SL1L160->SetBinContent(19,2121.428); h_SL1L160->SetBinContent(20,1950); h_SL1L160->SetBinContent(21,2021.429); h_SL1L160->SetBinContent(22,2042.857); h_SL1L160->SetBinContent(23,1828.571); h_SL1L160->SetBinContent(24,1335.714); h_SL1L160->SetBinContent(25,1514.286); h_SL1L160->SetBinContent(26,1607.143); h_SL1L160->SetBinContent(27,1514.286); h_SL1L160->SetBinContent(28,1485.714); h_SL1L160->SetBinContent(29,1657.143); h_SL1L160->SetBinContent(30,1707.143); h_SL1L160->SetBinContent(31,1264.286); h_SL1L160->SetBinContent(32,1157.143); h_SL1L160->SetBinContent(33,6842.857); h_SL1L160->SetBinContent(34,7150); h_SL1L160->SetBinContent(35,7735.714); h_SL1L160->SetBinContent(36,6642.857); h_SL1L160->SetBinContent(37,7164.286); h_SL1L160->SetBinContent(38,7057.143); h_SL1L160->SetBinContent(39,6935.714); h_SL1L160->SetBinContent(41,1478.571); h_SL1L160->SetBinContent(42,1628.571); h_SL1L160->SetBinContent(43,1585.714); h_SL1L160->SetBinContent(44,1442.857); h_SL1L160->SetBinContent(45,1142.857); h_SL1L160->SetBinContent(46,1014.286); h_SL1L160->SetBinContent(47,1014.286); h_SL1L160->SetBinContent(48,1292.857); h_SL1L160->SetBinContent(49,1257.143); h_SL1L160->SetBinContent(50,1342.857); h_SL1L160->SetBinContent(51,1250); h_SL1L160->SetBinContent(52,1328.571); h_SL1L160->SetBinContent(53,1385.714); h_SL1L160->SetBinContent(54,1350); h_SL1L160->SetBinContent(55,1335.714); h_SL1L160->SetBinContent(56,1528.571); h_SL1L160->SetMaximum(38738.9); 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,18264.29); h_SL1L261->SetBinContent(2,18400); h_SL1L261->SetBinContent(3,20107.14); h_SL1L261->SetBinContent(4,21107.14); h_SL1L261->SetBinContent(5,21750); h_SL1L261->SetBinContent(6,22921.43); h_SL1L261->SetBinContent(7,22685.71); h_SL1L261->SetBinContent(8,23064.29); h_SL1L261->SetBinContent(9,23571.43); h_SL1L261->SetBinContent(10,22607.14); h_SL1L261->SetBinContent(11,23871.43); h_SL1L261->SetBinContent(12,23350); h_SL1L261->SetBinContent(13,23528.57); h_SL1L261->SetBinContent(14,24550); h_SL1L261->SetBinContent(15,23600); h_SL1L261->SetBinContent(16,23357.14); h_SL1L261->SetBinContent(17,24207.14); h_SL1L261->SetBinContent(18,25528.57); h_SL1L261->SetBinContent(19,25100); h_SL1L261->SetBinContent(20,25464.29); h_SL1L261->SetBinContent(21,26571.43); h_SL1L261->SetBinContent(22,24842.86); h_SL1L261->SetBinContent(23,24571.43); h_SL1L261->SetBinContent(24,23400); h_SL1L261->SetBinContent(25,23721.43); h_SL1L261->SetBinContent(26,23328.57); h_SL1L261->SetBinContent(27,23578.57); h_SL1L261->SetBinContent(28,24028.57); h_SL1L261->SetBinContent(29,25014.29); h_SL1L261->SetBinContent(30,24392.86); h_SL1L261->SetBinContent(31,24478.57); h_SL1L261->SetBinContent(32,25071.43); h_SL1L261->SetBinContent(33,24214.29); h_SL1L261->SetBinContent(34,24307.14); h_SL1L261->SetBinContent(35,24585.71); h_SL1L261->SetBinContent(36,24428.57); h_SL1L261->SetBinContent(37,28078.57); h_SL1L261->SetBinContent(38,26142.86); h_SL1L261->SetBinContent(39,24700); h_SL1L261->SetBinContent(40,23492.86); h_SL1L261->SetBinContent(41,24592.86); h_SL1L261->SetBinContent(42,25228.57); h_SL1L261->SetBinContent(43,24614.29); h_SL1L261->SetBinContent(44,24092.86); h_SL1L261->SetBinContent(45,24028.57); h_SL1L261->SetBinContent(46,24814.29); h_SL1L261->SetBinContent(47,23535.71); h_SL1L261->SetBinContent(48,23650); h_SL1L261->SetBinContent(49,24814.29); h_SL1L261->SetBinContent(50,23557.14); h_SL1L261->SetBinContent(51,23571.43); h_SL1L261->SetBinContent(52,23492.86); h_SL1L261->SetBinContent(53,24450); h_SL1L261->SetBinContent(54,23792.86); h_SL1L261->SetBinContent(55,23314.29); h_SL1L261->SetBinContent(56,22328.57); h_SL1L261->SetMaximum(33686.79); 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,18257.14); h_SL1L362->SetBinContent(2,19621.43); h_SL1L362->SetBinContent(3,21028.57); h_SL1L362->SetBinContent(4,21100); h_SL1L362->SetBinContent(5,22921.43); h_SL1L362->SetBinContent(6,22071.43); h_SL1L362->SetBinContent(7,22842.86); h_SL1L362->SetBinContent(8,23285.71); h_SL1L362->SetBinContent(9,23000); h_SL1L362->SetBinContent(10,22557.14); h_SL1L362->SetBinContent(11,23764.29); h_SL1L362->SetBinContent(12,23242.86); h_SL1L362->SetBinContent(13,23192.86); h_SL1L362->SetBinContent(14,23928.57); h_SL1L362->SetBinContent(15,23278.57); h_SL1L362->SetBinContent(16,24035.71); h_SL1L362->SetBinContent(17,24585.71); h_SL1L362->SetBinContent(18,25171.43); h_SL1L362->SetBinContent(19,24214.29); h_SL1L362->SetBinContent(20,25721.43); h_SL1L362->SetBinContent(21,24821.43); h_SL1L362->SetBinContent(22,24650); h_SL1L362->SetBinContent(23,23728.57); h_SL1L362->SetBinContent(24,23478.57); h_SL1L362->SetBinContent(25,23285.71); h_SL1L362->SetBinContent(26,22421.43); h_SL1L362->SetBinContent(27,22942.86); h_SL1L362->SetBinContent(28,24285.71); h_SL1L362->SetBinContent(29,24114.29); h_SL1L362->SetBinContent(30,24707.14); h_SL1L362->SetBinContent(31,24128.57); h_SL1L362->SetBinContent(32,24014.29); h_SL1L362->SetBinContent(33,24371.43); h_SL1L362->SetBinContent(34,24507.14); h_SL1L362->SetBinContent(35,23842.86); h_SL1L362->SetBinContent(36,25385.71); h_SL1L362->SetBinContent(37,29292.86); h_SL1L362->SetBinContent(38,25535.71); h_SL1L362->SetBinContent(39,23764.29); h_SL1L362->SetBinContent(40,23421.43); h_SL1L362->SetBinContent(41,25364.29); h_SL1L362->SetBinContent(42,24414.29); h_SL1L362->SetBinContent(43,22907.14); h_SL1L362->SetBinContent(44,23507.14); h_SL1L362->SetBinContent(45,23757.14); h_SL1L362->SetBinContent(46,23892.86); h_SL1L362->SetBinContent(47,22842.86); h_SL1L362->SetBinContent(48,23607.14); h_SL1L362->SetBinContent(49,24114.29); h_SL1L362->SetBinContent(50,23914.29); h_SL1L362->SetBinContent(51,22550); h_SL1L362->SetBinContent(52,23435.71); h_SL1L362->SetBinContent(53,23457.14); h_SL1L362->SetBinContent(54,22985.71); h_SL1L362->SetBinContent(55,22335.71); h_SL1L362->SetBinContent(56,21050); h_SL1L362->SetMaximum(33686.79); 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,15800); h_SL1L463->SetBinContent(3,16157.14); h_SL1L463->SetBinContent(4,15671.43); h_SL1L463->SetBinContent(5,15421.43); h_SL1L463->SetBinContent(6,16035.71); h_SL1L463->SetBinContent(7,16721.43); h_SL1L463->SetBinContent(8,17578.57); h_SL1L463->SetBinContent(9,18200); h_SL1L463->SetBinContent(10,18328.57); h_SL1L463->SetBinContent(11,19485.71); h_SL1L463->SetBinContent(12,20207.14); h_SL1L463->SetBinContent(13,20042.86); h_SL1L463->SetBinContent(14,23450); h_SL1L463->SetBinContent(15,22607.14); h_SL1L463->SetBinContent(16,21264.29); h_SL1L463->SetBinContent(17,19464.29); h_SL1L463->SetBinContent(18,20235.71); h_SL1L463->SetBinContent(19,18842.86); h_SL1L463->SetBinContent(20,19135.71); h_SL1L463->SetBinContent(21,19335.71); h_SL1L463->SetBinContent(22,18157.14); h_SL1L463->SetBinContent(23,17185.71); h_SL1L463->SetBinContent(24,17721.43); h_SL1L463->SetBinContent(25,15785.71); h_SL1L463->SetBinContent(26,16100); h_SL1L463->SetBinContent(27,14485.71); h_SL1L463->SetBinContent(28,15864.29); h_SL1L463->SetBinContent(29,15121.43); h_SL1L463->SetBinContent(30,16357.14); h_SL1L463->SetBinContent(31,15621.43); h_SL1L463->SetBinContent(32,15807.14); h_SL1L463->SetBinContent(33,15414.29); h_SL1L463->SetBinContent(34,17564.29); h_SL1L463->SetBinContent(35,17735.71); h_SL1L463->SetBinContent(36,15214.29); h_SL1L463->SetBinContent(37,17835.71); h_SL1L463->SetBinContent(38,71.42857); h_SL1L463->SetBinContent(41,14178.57); h_SL1L463->SetBinContent(42,16121.43); h_SL1L463->SetBinContent(43,15071.43); h_SL1L463->SetBinContent(44,14642.86); h_SL1L463->SetBinContent(45,13585.71); h_SL1L463->SetBinContent(46,14000); h_SL1L463->SetBinContent(47,13828.57); h_SL1L463->SetBinContent(48,12664.29); h_SL1L463->SetBinContent(49,12735.71); h_SL1L463->SetBinContent(50,14028.57); h_SL1L463->SetBinContent(51,12342.86); h_SL1L463->SetBinContent(52,12885.71); h_SL1L463->SetBinContent(53,12971.43); h_SL1L463->SetBinContent(54,11821.43); h_SL1L463->SetBinContent(55,1335.714); h_SL1L463->SetBinContent(56,12742.86); h_SL1L463->SetMaximum(33686.79); 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 7752"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }