void RatesPerCell_Removing_noisy_cells_run_7625_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:18:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-10702.76,67.5,96324.86); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7625",60,0,60); h_SL1L160->SetBinContent(1,27835.71); h_SL1L160->SetBinContent(2,28271.43); h_SL1L160->SetBinContent(3,27042.86); h_SL1L160->SetBinContent(4,24978.57); h_SL1L160->SetBinContent(5,21042.86); h_SL1L160->SetBinContent(6,21700); h_SL1L160->SetBinContent(7,21400); h_SL1L160->SetBinContent(8,22535.71); h_SL1L160->SetBinContent(9,20957.14); h_SL1L160->SetBinContent(10,22007.14); h_SL1L160->SetBinContent(11,21671.43); h_SL1L160->SetBinContent(12,21435.71); h_SL1L160->SetBinContent(13,32964.29); h_SL1L160->SetBinContent(14,36571.43); h_SL1L160->SetBinContent(15,36021.43); h_SL1L160->SetBinContent(16,18664.29); h_SL1L160->SetBinContent(17,17257.14); h_SL1L160->SetBinContent(18,18657.14); h_SL1L160->SetBinContent(19,18735.71); h_SL1L160->SetBinContent(20,18521.43); h_SL1L160->SetBinContent(21,17871.43); h_SL1L160->SetBinContent(22,17471.43); h_SL1L160->SetBinContent(23,16407.14); h_SL1L160->SetBinContent(24,14035.71); h_SL1L160->SetBinContent(25,14064.29); h_SL1L160->SetBinContent(26,15900); h_SL1L160->SetBinContent(27,14878.57); h_SL1L160->SetBinContent(28,14328.57); h_SL1L160->SetBinContent(29,15828.57); h_SL1L160->SetBinContent(30,14821.43); h_SL1L160->SetBinContent(31,14242.86); h_SL1L160->SetBinContent(32,13785.71); h_SL1L160->SetBinContent(33,43414.29); h_SL1L160->SetBinContent(34,45757.14); h_SL1L160->SetBinContent(35,42957.14); h_SL1L160->SetBinContent(36,44128.57); h_SL1L160->SetBinContent(37,45042.86); h_SL1L160->SetBinContent(38,45685.71); h_SL1L160->SetBinContent(39,44135.71); h_SL1L160->SetBinContent(41,13585.71); h_SL1L160->SetBinContent(42,13957.14); h_SL1L160->SetBinContent(43,13478.57); h_SL1L160->SetBinContent(44,13028.57); h_SL1L160->SetBinContent(45,11657.14); h_SL1L160->SetBinContent(46,10492.86); h_SL1L160->SetBinContent(47,11135.71); h_SL1L160->SetBinContent(48,11621.43); h_SL1L160->SetBinContent(49,12007.14); h_SL1L160->SetBinContent(50,13592.86); h_SL1L160->SetBinContent(51,12207.14); h_SL1L160->SetBinContent(52,12771.43); h_SL1L160->SetBinContent(53,12550); h_SL1L160->SetBinContent(54,12735.71); h_SL1L160->SetBinContent(55,12650); h_SL1L160->SetBinContent(56,14978.57); h_SL1L160->SetMaximum(85622.1); 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,44771.43); h_SL1L261->SetBinContent(2,45614.29); h_SL1L261->SetBinContent(3,47300); h_SL1L261->SetBinContent(4,46614.29); h_SL1L261->SetBinContent(5,46621.43); h_SL1L261->SetBinContent(6,48835.71); h_SL1L261->SetBinContent(7,49250); h_SL1L261->SetBinContent(8,49314.29); h_SL1L261->SetBinContent(9,49342.86); h_SL1L261->SetBinContent(10,47442.86); h_SL1L261->SetBinContent(11,48728.57); h_SL1L261->SetBinContent(12,48935.71); h_SL1L261->SetBinContent(13,49464.29); h_SL1L261->SetBinContent(14,51421.43); h_SL1L261->SetBinContent(15,52721.43); h_SL1L261->SetBinContent(16,49242.86); h_SL1L261->SetBinContent(17,50114.29); h_SL1L261->SetBinContent(18,53835.71); h_SL1L261->SetBinContent(19,54500); h_SL1L261->SetBinContent(20,53907.14); h_SL1L261->SetBinContent(21,53885.71); h_SL1L261->SetBinContent(22,51128.57); h_SL1L261->SetBinContent(23,51185.71); h_SL1L261->SetBinContent(24,51157.14); h_SL1L261->SetBinContent(25,51985.71); h_SL1L261->SetBinContent(26,46921.43); h_SL1L261->SetBinContent(27,45578.57); h_SL1L261->SetBinContent(28,51350); h_SL1L261->SetBinContent(29,51557.14); h_SL1L261->SetBinContent(30,51171.43); h_SL1L261->SetBinContent(31,49928.57); h_SL1L261->SetBinContent(32,49507.14); h_SL1L261->SetBinContent(33,49450); h_SL1L261->SetBinContent(34,50250); h_SL1L261->SetBinContent(35,49521.43); h_SL1L261->SetBinContent(36,49135.71); h_SL1L261->SetBinContent(37,51721.43); h_SL1L261->SetBinContent(38,52485.71); h_SL1L261->SetBinContent(39,50521.43); h_SL1L261->SetBinContent(40,50635.71); h_SL1L261->SetBinContent(41,50114.29); h_SL1L261->SetBinContent(42,49850); h_SL1L261->SetBinContent(43,49735.71); h_SL1L261->SetBinContent(44,47892.86); h_SL1L261->SetBinContent(45,48635.71); h_SL1L261->SetBinContent(46,50628.57); h_SL1L261->SetBinContent(47,49564.29); h_SL1L261->SetBinContent(48,49378.57); h_SL1L261->SetBinContent(49,54792.86); h_SL1L261->SetBinContent(50,51178.57); h_SL1L261->SetBinContent(51,49378.57); h_SL1L261->SetBinContent(52,49907.14); h_SL1L261->SetBinContent(53,50321.43); h_SL1L261->SetBinContent(54,48128.57); h_SL1L261->SetBinContent(55,49228.57); h_SL1L261->SetBinContent(56,46878.57); h_SL1L261->SetMaximum(74454.28); 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,44128.57); h_SL1L362->SetBinContent(2,45121.43); h_SL1L362->SetBinContent(3,46057.14); h_SL1L362->SetBinContent(4,45478.57); h_SL1L362->SetBinContent(5,46764.29); h_SL1L362->SetBinContent(6,47300); h_SL1L362->SetBinContent(7,47392.86); h_SL1L362->SetBinContent(8,48521.43); h_SL1L362->SetBinContent(9,46535.71); h_SL1L362->SetBinContent(10,47678.57); h_SL1L362->SetBinContent(11,46592.86); h_SL1L362->SetBinContent(12,49107.14); h_SL1L362->SetBinContent(13,47371.43); h_SL1L362->SetBinContent(14,53500); h_SL1L362->SetBinContent(15,59342.86); h_SL1L362->SetBinContent(16,49321.43); h_SL1L362->SetBinContent(17,50914.29); h_SL1L362->SetBinContent(18,51642.86); h_SL1L362->SetBinContent(19,52221.43); h_SL1L362->SetBinContent(20,53721.43); h_SL1L362->SetBinContent(21,52635.71); h_SL1L362->SetBinContent(22,48978.57); h_SL1L362->SetBinContent(23,49614.29); h_SL1L362->SetBinContent(24,50271.43); h_SL1L362->SetBinContent(25,46785.71); h_SL1L362->SetBinContent(26,44771.43); h_SL1L362->SetBinContent(27,46385.71); h_SL1L362->SetBinContent(28,50600); h_SL1L362->SetBinContent(29,49292.86); h_SL1L362->SetBinContent(30,48771.43); h_SL1L362->SetBinContent(31,49107.14); h_SL1L362->SetBinContent(32,46521.43); h_SL1L362->SetBinContent(33,48600); h_SL1L362->SetBinContent(34,48900); h_SL1L362->SetBinContent(35,47721.43); h_SL1L362->SetBinContent(36,49542.86); h_SL1L362->SetBinContent(37,53200); h_SL1L362->SetBinContent(38,49342.86); h_SL1L362->SetBinContent(39,49628.57); h_SL1L362->SetBinContent(40,49457.14); h_SL1L362->SetBinContent(41,49414.29); h_SL1L362->SetBinContent(42,49164.29); h_SL1L362->SetBinContent(43,47914.29); h_SL1L362->SetBinContent(44,47221.43); h_SL1L362->SetBinContent(45,48814.29); h_SL1L362->SetBinContent(46,48528.57); h_SL1L362->SetBinContent(47,49135.71); h_SL1L362->SetBinContent(48,48250); h_SL1L362->SetBinContent(49,49057.14); h_SL1L362->SetBinContent(50,48892.86); h_SL1L362->SetBinContent(51,48492.86); h_SL1L362->SetBinContent(52,49585.71); h_SL1L362->SetBinContent(53,48942.86); h_SL1L362->SetBinContent(54,48121.43); h_SL1L362->SetBinContent(55,47678.57); h_SL1L362->SetBinContent(56,48107.14); h_SL1L362->SetMaximum(74454.28); 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,39335.71); h_SL1L463->SetBinContent(3,36578.57); h_SL1L463->SetBinContent(4,36314.29); h_SL1L463->SetBinContent(5,34785.71); h_SL1L463->SetBinContent(6,34814.29); h_SL1L463->SetBinContent(7,35164.29); h_SL1L463->SetBinContent(8,35750); h_SL1L463->SetBinContent(9,37392.86); h_SL1L463->SetBinContent(10,39557.14); h_SL1L463->SetBinContent(11,41878.57); h_SL1L463->SetBinContent(12,42964.29); h_SL1L463->SetBinContent(13,43571.43); h_SL1L463->SetBinContent(14,64742.86); h_SL1L463->SetBinContent(15,59814.29); h_SL1L463->SetBinContent(16,57200); h_SL1L463->SetBinContent(17,40214.29); h_SL1L463->SetBinContent(18,43300); h_SL1L463->SetBinContent(19,41600); h_SL1L463->SetBinContent(20,41978.57); h_SL1L463->SetBinContent(21,40121.43); h_SL1L463->SetBinContent(22,38528.57); h_SL1L463->SetBinContent(23,37157.14); h_SL1L463->SetBinContent(24,36592.86); h_SL1L463->SetBinContent(25,34985.71); h_SL1L463->SetBinContent(26,33307.14); h_SL1L463->SetBinContent(27,32500); h_SL1L463->SetBinContent(28,34407.14); h_SL1L463->SetBinContent(29,32892.86); h_SL1L463->SetBinContent(30,34178.57); h_SL1L463->SetBinContent(31,33235.71); h_SL1L463->SetBinContent(32,33071.43); h_SL1L463->SetBinContent(33,31085.71); h_SL1L463->SetBinContent(34,34764.29); h_SL1L463->SetBinContent(35,35592.86); h_SL1L463->SetBinContent(36,31478.57); h_SL1L463->SetBinContent(37,5135.714); h_SL1L463->SetBinContent(38,42.85714); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(41,29157.14); h_SL1L463->SetBinContent(42,29400); h_SL1L463->SetBinContent(43,30000); h_SL1L463->SetBinContent(44,28857.14); h_SL1L463->SetBinContent(45,26435.71); h_SL1L463->SetBinContent(46,28185.71); h_SL1L463->SetBinContent(47,27014.29); h_SL1L463->SetBinContent(48,26092.86); h_SL1L463->SetBinContent(49,25521.43); h_SL1L463->SetBinContent(50,26678.57); h_SL1L463->SetBinContent(51,26414.29); h_SL1L463->SetBinContent(52,27007.14); h_SL1L463->SetBinContent(53,27314.29); h_SL1L463->SetBinContent(54,24664.29); h_SL1L463->SetBinContent(55,14.28571); h_SL1L463->SetBinContent(56,28300); h_SL1L463->SetMaximum(74454.28); 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 7625"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }