void RatesPerCell_Removing_noisy_cells_run_7745_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:17:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2578.875,67.5,23209.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7745",60,0,60); h_SL3L168->SetBinContent(1,192.8571); h_SL3L168->SetBinContent(2,114.2857); h_SL3L168->SetBinContent(3,171.4286); h_SL3L168->SetBinContent(4,164.2857); h_SL3L168->SetBinContent(5,207.1429); h_SL3L168->SetBinContent(6,214.2857); h_SL3L168->SetBinContent(7,264.2857); h_SL3L168->SetBinContent(8,264.2857); h_SL3L168->SetBinContent(9,278.5714); h_SL3L168->SetBinContent(10,292.8571); h_SL3L168->SetBinContent(11,328.5714); h_SL3L168->SetBinContent(12,428.5714); h_SL3L168->SetBinContent(13,1442.857); h_SL3L168->SetBinContent(14,4700); h_SL3L168->SetBinContent(15,5700); h_SL3L168->SetBinContent(16,6228.571); h_SL3L168->SetBinContent(17,8050); h_SL3L168->SetBinContent(18,10835.71); h_SL3L168->SetBinContent(19,11935.71); h_SL3L168->SetBinContent(20,11685.71); h_SL3L168->SetBinContent(21,12721.43); h_SL3L168->SetBinContent(22,14142.86); h_SL3L168->SetBinContent(23,13435.71); h_SL3L168->SetBinContent(24,12828.57); h_SL3L168->SetBinContent(25,12692.86); h_SL3L168->SetBinContent(26,15450); h_SL3L168->SetBinContent(27,15057.14); h_SL3L168->SetBinContent(28,13064.29); h_SL3L168->SetBinContent(29,11492.86); h_SL3L168->SetBinContent(30,12878.57); h_SL3L168->SetBinContent(31,12828.57); h_SL3L168->SetBinContent(32,11350); h_SL3L168->SetBinContent(33,12028.57); h_SL3L168->SetBinContent(34,13585.71); h_SL3L168->SetBinContent(35,12892.86); h_SL3L168->SetBinContent(36,11621.43); h_SL3L168->SetBinContent(37,11457.14); h_SL3L168->SetBinContent(38,12078.57); h_SL3L168->SetBinContent(39,11914.29); h_SL3L168->SetBinContent(40,11107.14); h_SL3L168->SetBinContent(41,11071.43); h_SL3L168->SetBinContent(42,12285.71); h_SL3L168->SetBinContent(43,12607.14); h_SL3L168->SetBinContent(44,11264.29); h_SL3L168->SetBinContent(45,9542.857); h_SL3L168->SetBinContent(46,9214.285); h_SL3L168->SetBinContent(47,9107.143); h_SL3L168->SetBinContent(48,8500); h_SL3L168->SetBinContent(49,3950); h_SL3L168->SetMaximum(20631); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,164.2857); h_SL3L269->SetBinContent(2,135.7143); h_SL3L269->SetBinContent(3,164.2857); h_SL3L269->SetBinContent(4,185.7143); h_SL3L269->SetBinContent(5,192.8571); h_SL3L269->SetBinContent(6,300); h_SL3L269->SetBinContent(7,192.8571); h_SL3L269->SetBinContent(8,257.1429); h_SL3L269->SetBinContent(9,221.4286); h_SL3L269->SetBinContent(10,264.2857); h_SL3L269->SetBinContent(11,321.4286); h_SL3L269->SetBinContent(12,435.7143); h_SL3L269->SetBinContent(13,642.8571); h_SL3L269->SetBinContent(14,3828.571); h_SL3L269->SetBinContent(15,5178.571); h_SL3L269->SetBinContent(16,6328.571); h_SL3L269->SetBinContent(17,6742.857); h_SL3L269->SetBinContent(18,9878.571); h_SL3L269->SetBinContent(19,11792.86); h_SL3L269->SetBinContent(20,11492.86); h_SL3L269->SetBinContent(21,12050); h_SL3L269->SetBinContent(22,13935.71); h_SL3L269->SetBinContent(23,13507.14); h_SL3L269->SetBinContent(24,12857.14); h_SL3L269->SetBinContent(25,13021.43); h_SL3L269->SetBinContent(26,14535.71); h_SL3L269->SetBinContent(27,15600); h_SL3L269->SetBinContent(28,13957.14); h_SL3L269->SetBinContent(29,13021.43); h_SL3L269->SetBinContent(30,11742.86); h_SL3L269->SetBinContent(31,13535.71); h_SL3L269->SetBinContent(32,12092.86); h_SL3L269->SetBinContent(33,12335.71); h_SL3L269->SetBinContent(34,13935.71); h_SL3L269->SetBinContent(35,13742.86); h_SL3L269->SetBinContent(36,12800); h_SL3L269->SetBinContent(37,11914.29); h_SL3L269->SetBinContent(38,11814.29); h_SL3L269->SetBinContent(39,12735.71); h_SL3L269->SetBinContent(40,11107.14); h_SL3L269->SetBinContent(41,11692.86); h_SL3L269->SetBinContent(42,12085.71); h_SL3L269->SetBinContent(43,12935.71); h_SL3L269->SetBinContent(44,12014.29); h_SL3L269->SetBinContent(45,10364.29); h_SL3L269->SetBinContent(46,9964.285); h_SL3L269->SetBinContent(47,9785.714); h_SL3L269->SetBinContent(48,9442.857); h_SL3L269->SetBinContent(49,7507.143); h_SL3L269->SetMaximum(17940); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,85.71429); h_SL3L370->SetBinContent(2,135.7143); h_SL3L370->SetBinContent(3,192.8571); h_SL3L370->SetBinContent(4,150); h_SL3L370->SetBinContent(5,221.4286); h_SL3L370->SetBinContent(6,221.4286); h_SL3L370->SetBinContent(7,178.5714); h_SL3L370->SetBinContent(8,292.8571); h_SL3L370->SetBinContent(9,250); h_SL3L370->SetBinContent(10,321.4286); h_SL3L370->SetBinContent(11,378.5714); h_SL3L370->SetBinContent(12,535.7143); h_SL3L370->SetBinContent(13,2892.857); h_SL3L370->SetBinContent(14,4742.857); h_SL3L370->SetBinContent(15,5328.571); h_SL3L370->SetBinContent(16,5971.429); h_SL3L370->SetBinContent(17,8864.285); h_SL3L370->SetBinContent(18,10585.71); h_SL3L370->SetBinContent(19,11871.43); h_SL3L370->SetBinContent(20,11335.71); h_SL3L370->SetBinContent(21,13335.71); h_SL3L370->SetBinContent(22,13607.14); h_SL3L370->SetBinContent(23,12957.14); h_SL3L370->SetBinContent(24,12714.29); h_SL3L370->SetBinContent(25,14307.14); h_SL3L370->SetBinContent(26,14585.71); h_SL3L370->SetBinContent(27,14671.43); h_SL3L370->SetBinContent(28,12900); h_SL3L370->SetBinContent(29,13214.29); h_SL3L370->SetBinContent(30,12728.57); h_SL3L370->SetBinContent(31,12607.14); h_SL3L370->SetBinContent(32,11200); h_SL3L370->SetBinContent(33,13521.43); h_SL3L370->SetBinContent(34,13464.29); h_SL3L370->SetBinContent(35,13307.14); h_SL3L370->SetBinContent(36,11600); h_SL3L370->SetBinContent(37,12742.86); h_SL3L370->SetBinContent(38,12042.86); h_SL3L370->SetBinContent(39,11907.14); h_SL3L370->SetBinContent(40,10600); h_SL3L370->SetBinContent(41,12292.86); h_SL3L370->SetBinContent(42,12335.71); h_SL3L370->SetBinContent(43,12571.43); h_SL3L370->SetBinContent(44,10214.29); h_SL3L370->SetBinContent(45,11164.29); h_SL3L370->SetBinContent(46,9107.143); h_SL3L370->SetBinContent(47,9535.714); h_SL3L370->SetBinContent(48,9307.143); h_SL3L370->SetBinContent(49,4178.571); h_SL3L370->SetMaximum(17940); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,164.2857); h_SL3L471->SetBinContent(3,185.7143); h_SL3L471->SetBinContent(4,185.7143); h_SL3L471->SetBinContent(5,178.5714); h_SL3L471->SetBinContent(6,271.4286); h_SL3L471->SetBinContent(7,221.4286); h_SL3L471->SetBinContent(8,278.5714); h_SL3L471->SetBinContent(9,314.2857); h_SL3L471->SetBinContent(10,328.5714); h_SL3L471->SetBinContent(11,407.1429); h_SL3L471->SetBinContent(12,592.8571); h_SL3L471->SetBinContent(13,2014.286); h_SL3L471->SetBinContent(14,4192.857); h_SL3L471->SetBinContent(15,4942.857); h_SL3L471->SetBinContent(16,5757.143); h_SL3L471->SetBinContent(17,6878.571); h_SL3L471->SetBinContent(18,9742.857); h_SL3L471->SetBinContent(19,10700); h_SL3L471->SetBinContent(20,11171.43); h_SL3L471->SetBinContent(21,12057.14); h_SL3L471->SetBinContent(22,12971.43); h_SL3L471->SetBinContent(23,13021.43); h_SL3L471->SetBinContent(24,12442.86); h_SL3L471->SetBinContent(25,13085.71); h_SL3L471->SetBinContent(26,14764.29); h_SL3L471->SetBinContent(27,14685.71); h_SL3L471->SetBinContent(28,13192.86); h_SL3L471->SetBinContent(29,13064.29); h_SL3L471->SetBinContent(30,12850); h_SL3L471->SetBinContent(31,12314.29); h_SL3L471->SetBinContent(32,11464.29); h_SL3L471->SetBinContent(33,12171.43); h_SL3L471->SetBinContent(34,13185.71); h_SL3L471->SetBinContent(35,13571.43); h_SL3L471->SetBinContent(36,11592.86); h_SL3L471->SetBinContent(37,11992.86); h_SL3L471->SetBinContent(38,11907.14); h_SL3L471->SetBinContent(39,12250); h_SL3L471->SetBinContent(40,10421.43); h_SL3L471->SetBinContent(41,11221.43); h_SL3L471->SetBinContent(42,11814.29); h_SL3L471->SetBinContent(43,12071.43); h_SL3L471->SetBinContent(44,11314.29); h_SL3L471->SetBinContent(45,10485.71); h_SL3L471->SetBinContent(46,10278.57); h_SL3L471->SetBinContent(47,8878.571); h_SL3L471->SetBinContent(48,8771.429); h_SL3L471->SetBinContent(49,7821.429); h_SL3L471->SetMaximum(17940); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7745"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }