void RatesPerCell_Removing_noisy_cells_run_7564_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18198.46,67.5,163786.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7564",60,0,60); h_SL1L160->SetBinContent(1,59978.57); h_SL1L160->SetBinContent(2,60578.57); h_SL1L160->SetBinContent(3,59692.86); h_SL1L160->SetBinContent(4,55992.86); h_SL1L160->SetBinContent(5,45607.14); h_SL1L160->SetBinContent(6,47685.71); h_SL1L160->SetBinContent(7,45800); h_SL1L160->SetBinContent(8,47007.14); h_SL1L160->SetBinContent(9,45578.57); h_SL1L160->SetBinContent(10,46071.43); h_SL1L160->SetBinContent(11,46007.14); h_SL1L160->SetBinContent(12,45442.86); h_SL1L160->SetBinContent(13,74492.86); h_SL1L160->SetBinContent(14,84564.28); h_SL1L160->SetBinContent(15,85314.28); h_SL1L160->SetBinContent(16,43228.57); h_SL1L160->SetBinContent(17,45742.86); h_SL1L160->SetBinContent(18,48828.57); h_SL1L160->SetBinContent(19,50678.57); h_SL1L160->SetBinContent(20,49564.29); h_SL1L160->SetBinContent(21,43721.43); h_SL1L160->SetBinContent(22,41935.71); h_SL1L160->SetBinContent(23,39614.29); h_SL1L160->SetBinContent(24,36635.71); h_SL1L160->SetBinContent(25,34821.43); h_SL1L160->SetBinContent(26,36592.86); h_SL1L160->SetBinContent(27,35628.57); h_SL1L160->SetBinContent(28,36257.14); h_SL1L160->SetBinContent(29,38692.86); h_SL1L160->SetBinContent(30,36535.71); h_SL1L160->SetBinContent(31,37685.71); h_SL1L160->SetBinContent(32,36707.14); h_SL1L160->SetBinContent(33,76385.71); h_SL1L160->SetBinContent(34,77757.14); h_SL1L160->SetBinContent(35,77235.71); h_SL1L160->SetBinContent(36,77871.43); h_SL1L160->SetBinContent(37,69771.43); h_SL1L160->SetBinContent(38,67500); h_SL1L160->SetBinContent(39,76707.14); h_SL1L160->SetBinContent(41,33714.29); h_SL1L160->SetBinContent(42,34571.43); h_SL1L160->SetBinContent(43,32521.43); h_SL1L160->SetBinContent(44,32921.43); h_SL1L160->SetBinContent(45,30064.29); h_SL1L160->SetBinContent(46,29742.86); h_SL1L160->SetBinContent(47,30007.14); h_SL1L160->SetBinContent(48,30171.43); h_SL1L160->SetBinContent(49,33342.86); h_SL1L160->SetBinContent(50,34678.57); h_SL1L160->SetBinContent(51,33300); h_SL1L160->SetBinContent(52,34400); h_SL1L160->SetBinContent(53,31807.14); h_SL1L160->SetBinContent(54,32071.43); h_SL1L160->SetBinContent(55,33742.86); h_SL1L160->SetBinContent(56,36785.71); h_SL1L160->SetMaximum(145587.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,68057.14); h_SL1L261->SetBinContent(2,68335.71); h_SL1L261->SetBinContent(3,70550); h_SL1L261->SetBinContent(4,72071.43); h_SL1L261->SetBinContent(5,63607.14); h_SL1L261->SetBinContent(6,64692.86); h_SL1L261->SetBinContent(7,65664.28); h_SL1L261->SetBinContent(8,68142.86); h_SL1L261->SetBinContent(9,67707.14); h_SL1L261->SetBinContent(10,64935.71); h_SL1L261->SetBinContent(11,67792.86); h_SL1L261->SetBinContent(12,67535.71); h_SL1L261->SetBinContent(13,67478.57); h_SL1L261->SetBinContent(14,72592.86); h_SL1L261->SetBinContent(15,78857.14); h_SL1L261->SetBinContent(16,71657.14); h_SL1L261->SetBinContent(17,73950); h_SL1L261->SetBinContent(18,79064.28); h_SL1L261->SetBinContent(19,80007.14); h_SL1L261->SetBinContent(20,79614.28); h_SL1L261->SetBinContent(21,72528.57); h_SL1L261->SetBinContent(22,71421.43); h_SL1L261->SetBinContent(23,66807.14); h_SL1L261->SetBinContent(24,68100); h_SL1L261->SetBinContent(25,68178.57); h_SL1L261->SetBinContent(26,61792.86); h_SL1L261->SetBinContent(27,62600); h_SL1L261->SetBinContent(28,67221.43); h_SL1L261->SetBinContent(29,70392.86); h_SL1L261->SetBinContent(30,68235.71); h_SL1L261->SetBinContent(31,74242.86); h_SL1L261->SetBinContent(32,72628.57); h_SL1L261->SetBinContent(33,73564.28); h_SL1L261->SetBinContent(34,74650); h_SL1L261->SetBinContent(35,72714.28); h_SL1L261->SetBinContent(36,74557.14); h_SL1L261->SetBinContent(37,67821.43); h_SL1L261->SetBinContent(38,69500); h_SL1L261->SetBinContent(39,75828.57); h_SL1L261->SetBinContent(40,73371.43); h_SL1L261->SetBinContent(41,66464.28); h_SL1L261->SetBinContent(42,69528.57); h_SL1L261->SetBinContent(43,68114.28); h_SL1L261->SetBinContent(44,65078.57); h_SL1L261->SetBinContent(45,66721.43); h_SL1L261->SetBinContent(46,67764.28); h_SL1L261->SetBinContent(47,66650); h_SL1L261->SetBinContent(48,66778.57); h_SL1L261->SetBinContent(49,79050); h_SL1L261->SetBinContent(50,74685.71); h_SL1L261->SetBinContent(51,73635.71); h_SL1L261->SetBinContent(52,71957.14); h_SL1L261->SetBinContent(53,69664.28); h_SL1L261->SetBinContent(54,67707.14); h_SL1L261->SetBinContent(55,68350); h_SL1L261->SetBinContent(56,67592.86); h_SL1L261->SetMaximum(126598.6); 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,65550); h_SL1L362->SetBinContent(2,67828.57); h_SL1L362->SetBinContent(3,68528.57); h_SL1L362->SetBinContent(4,68471.43); h_SL1L362->SetBinContent(5,64007.14); h_SL1L362->SetBinContent(6,63357.14); h_SL1L362->SetBinContent(7,63007.14); h_SL1L362->SetBinContent(8,66042.86); h_SL1L362->SetBinContent(9,62878.57); h_SL1L362->SetBinContent(10,64542.86); h_SL1L362->SetBinContent(11,65485.71); h_SL1L362->SetBinContent(12,67092.86); h_SL1L362->SetBinContent(13,65835.71); h_SL1L362->SetBinContent(14,74378.57); h_SL1L362->SetBinContent(15,94521.43); h_SL1L362->SetBinContent(16,70592.86); h_SL1L362->SetBinContent(17,73342.86); h_SL1L362->SetBinContent(18,77400); h_SL1L362->SetBinContent(19,77357.14); h_SL1L362->SetBinContent(20,78100); h_SL1L362->SetBinContent(21,68942.86); h_SL1L362->SetBinContent(22,65214.29); h_SL1L362->SetBinContent(23,66171.43); h_SL1L362->SetBinContent(24,65214.29); h_SL1L362->SetBinContent(25,63814.29); h_SL1L362->SetBinContent(26,59700); h_SL1L362->SetBinContent(27,62021.43); h_SL1L362->SetBinContent(28,67114.28); h_SL1L362->SetBinContent(29,66850); h_SL1L362->SetBinContent(30,66100); h_SL1L362->SetBinContent(31,71357.14); h_SL1L362->SetBinContent(32,69307.14); h_SL1L362->SetBinContent(33,72771.43); h_SL1L362->SetBinContent(34,70871.43); h_SL1L362->SetBinContent(35,71557.14); h_SL1L362->SetBinContent(36,73335.71); h_SL1L362->SetBinContent(37,67742.86); h_SL1L362->SetBinContent(38,66400); h_SL1L362->SetBinContent(39,73857.14); h_SL1L362->SetBinContent(40,74250); h_SL1L362->SetBinContent(41,65992.86); h_SL1L362->SetBinContent(42,67228.57); h_SL1L362->SetBinContent(43,65535.71); h_SL1L362->SetBinContent(44,62214.29); h_SL1L362->SetBinContent(45,66400); h_SL1L362->SetBinContent(46,67307.14); h_SL1L362->SetBinContent(47,67250); h_SL1L362->SetBinContent(48,65735.71); h_SL1L362->SetBinContent(49,73071.43); h_SL1L362->SetBinContent(50,72014.28); h_SL1L362->SetBinContent(51,71378.57); h_SL1L362->SetBinContent(52,71750); h_SL1L362->SetBinContent(53,64950); h_SL1L362->SetBinContent(54,64521.43); h_SL1L362->SetBinContent(55,66071.43); h_SL1L362->SetBinContent(56,65278.57); h_SL1L362->SetMaximum(126598.6); 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,51478.57); h_SL1L463->SetBinContent(3,48235.71); h_SL1L463->SetBinContent(4,45585.71); h_SL1L463->SetBinContent(5,42050); h_SL1L463->SetBinContent(6,41714.29); h_SL1L463->SetBinContent(7,41892.86); h_SL1L463->SetBinContent(8,44157.14); h_SL1L463->SetBinContent(9,45250); h_SL1L463->SetBinContent(10,47257.14); h_SL1L463->SetBinContent(11,50164.29); h_SL1L463->SetBinContent(12,52321.43); h_SL1L463->SetBinContent(13,53957.14); h_SL1L463->SetBinContent(14,110085.7); h_SL1L463->SetBinContent(15,95928.57); h_SL1L463->SetBinContent(16,92250); h_SL1L463->SetBinContent(17,50285.71); h_SL1L463->SetBinContent(18,52700); h_SL1L463->SetBinContent(19,51178.57); h_SL1L463->SetBinContent(20,49757.14); h_SL1L463->SetBinContent(21,45635.71); h_SL1L463->SetBinContent(22,43585.71); h_SL1L463->SetBinContent(23,43007.14); h_SL1L463->SetBinContent(24,42342.86); h_SL1L463->SetBinContent(25,37728.57); h_SL1L463->SetBinContent(26,38035.71); h_SL1L463->SetBinContent(27,36750); h_SL1L463->SetBinContent(28,38914.29); h_SL1L463->SetBinContent(29,38021.43); h_SL1L463->SetBinContent(30,39671.43); h_SL1L463->SetBinContent(31,41200); h_SL1L463->SetBinContent(32,38864.29); h_SL1L463->SetBinContent(33,36000); h_SL1L463->SetBinContent(34,43314.29); h_SL1L463->SetBinContent(35,45035.71); h_SL1L463->SetBinContent(36,37185.71); h_SL1L463->SetBinContent(37,3792.857); h_SL1L463->SetBinContent(41,32500); h_SL1L463->SetBinContent(42,33292.86); h_SL1L463->SetBinContent(43,33328.57); h_SL1L463->SetBinContent(44,32157.14); h_SL1L463->SetBinContent(45,29614.29); h_SL1L463->SetBinContent(46,31385.71); h_SL1L463->SetBinContent(47,30607.14); h_SL1L463->SetBinContent(48,28800); h_SL1L463->SetBinContent(49,30521.43); h_SL1L463->SetBinContent(50,31192.86); h_SL1L463->SetBinContent(51,30878.57); h_SL1L463->SetBinContent(52,31900); h_SL1L463->SetBinContent(53,29835.71); h_SL1L463->SetBinContent(54,29685.71); h_SL1L463->SetBinContent(55,14.28571); h_SL1L463->SetBinContent(56,32121.43); h_SL1L463->SetMaximum(126598.6); 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 7564"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }