void RatesPerCell_Removing_noisy_cells_run_7447_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:32:59 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-29125.62,67.5,262130.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7447",60,0,60); h_SL3L168->SetBinContent(1,39442.86); h_SL3L168->SetBinContent(2,49735.71); h_SL3L168->SetBinContent(4,75692.86); h_SL3L168->SetBinContent(5,68057.14); h_SL3L168->SetBinContent(6,70207.14); h_SL3L168->SetBinContent(7,69114.28); h_SL3L168->SetBinContent(8,68842.86); h_SL3L168->SetBinContent(9,69714.28); h_SL3L168->SetBinContent(10,70357.14); h_SL3L168->SetBinContent(11,72071.43); h_SL3L168->SetBinContent(12,71021.43); h_SL3L168->SetBinContent(13,69571.43); h_SL3L168->SetBinContent(14,72121.43); h_SL3L168->SetBinContent(15,70764.28); h_SL3L168->SetBinContent(16,71371.43); h_SL3L168->SetBinContent(17,86214.28); h_SL3L168->SetBinContent(18,88185.71); h_SL3L168->SetBinContent(19,87678.57); h_SL3L168->SetBinContent(20,88514.28); h_SL3L168->SetBinContent(21,75300); h_SL3L168->SetBinContent(22,72028.57); h_SL3L168->SetBinContent(23,72871.43); h_SL3L168->SetBinContent(24,73657.14); h_SL3L168->SetBinContent(25,68671.43); h_SL3L168->SetBinContent(26,66285.71); h_SL3L168->SetBinContent(27,71800); h_SL3L168->SetBinContent(28,76550); h_SL3L168->SetBinContent(29,76721.43); h_SL3L168->SetBinContent(30,75042.86); h_SL3L168->SetBinContent(31,75185.71); h_SL3L168->SetBinContent(32,74164.28); h_SL3L168->SetBinContent(33,81100); h_SL3L168->SetBinContent(34,81221.43); h_SL3L168->SetBinContent(35,80428.57); h_SL3L168->SetBinContent(36,80457.14); h_SL3L168->SetBinContent(37,74457.14); h_SL3L168->SetBinContent(38,77050); h_SL3L168->SetBinContent(39,76000); h_SL3L168->SetBinContent(40,73742.86); h_SL3L168->SetBinContent(41,74857.14); h_SL3L168->SetBinContent(42,75092.86); h_SL3L168->SetBinContent(43,74614.28); h_SL3L168->SetBinContent(44,71442.86); h_SL3L168->SetBinContent(45,72250); h_SL3L168->SetBinContent(46,72314.28); h_SL3L168->SetBinContent(47,73664.28); h_SL3L168->SetBinContent(48,76371.43); h_SL3L168->SetBinContent(49,85300); h_SL3L168->SetBinContent(50,82414.28); h_SL3L168->SetBinContent(51,81664.28); h_SL3L168->SetBinContent(52,81728.57); h_SL3L168->SetBinContent(53,74971.43); h_SL3L168->SetBinContent(54,74757.14); h_SL3L168->SetBinContent(55,74114.28); h_SL3L168->SetBinContent(56,74050); h_SL3L168->SetBinContent(57,70892.86); h_SL3L168->SetBinContent(58,62478.57); h_SL3L168->SetBinContent(59,56342.86); h_SL3L168->SetMaximum(233004.9); 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,37321.43); h_SL3L269->SetBinContent(2,45885.71); h_SL3L269->SetBinContent(4,67885.71); h_SL3L269->SetBinContent(5,63657.14); h_SL3L269->SetBinContent(6,66021.43); h_SL3L269->SetBinContent(7,66157.14); h_SL3L269->SetBinContent(8,66185.71); h_SL3L269->SetBinContent(9,65021.43); h_SL3L269->SetBinContent(10,67207.14); h_SL3L269->SetBinContent(11,67821.43); h_SL3L269->SetBinContent(12,68885.71); h_SL3L269->SetBinContent(13,68135.71); h_SL3L269->SetBinContent(14,67228.57); h_SL3L269->SetBinContent(15,66428.57); h_SL3L269->SetBinContent(16,66735.71); h_SL3L269->SetBinContent(17,79707.14); h_SL3L269->SetBinContent(18,83614.28); h_SL3L269->SetBinContent(19,84657.14); h_SL3L269->SetBinContent(20,86178.57); h_SL3L269->SetBinContent(21,73671.43); h_SL3L269->SetBinContent(22,69457.14); h_SL3L269->SetBinContent(23,70921.43); h_SL3L269->SetBinContent(24,68492.86); h_SL3L269->SetBinContent(25,67171.43); h_SL3L269->SetBinContent(26,64185.71); h_SL3L269->SetBinContent(27,65385.71); h_SL3L269->SetBinContent(28,71628.57); h_SL3L269->SetBinContent(29,72064.28); h_SL3L269->SetBinContent(30,72728.57); h_SL3L269->SetBinContent(31,70978.57); h_SL3L269->SetBinContent(32,70007.14); h_SL3L269->SetBinContent(33,77200); h_SL3L269->SetBinContent(34,77000); h_SL3L269->SetBinContent(35,78257.14); h_SL3L269->SetBinContent(36,77528.57); h_SL3L269->SetBinContent(37,70121.43); h_SL3L269->SetBinContent(38,72714.28); h_SL3L269->SetBinContent(39,72671.43); h_SL3L269->SetBinContent(40,70728.57); h_SL3L269->SetBinContent(41,71807.14); h_SL3L269->SetBinContent(42,71142.86); h_SL3L269->SetBinContent(43,71464.28); h_SL3L269->SetBinContent(44,70128.57); h_SL3L269->SetBinContent(45,69164.28); h_SL3L269->SetBinContent(46,69578.57); h_SL3L269->SetBinContent(47,69557.14); h_SL3L269->SetBinContent(48,70442.86); h_SL3L269->SetBinContent(49,162807.1); h_SL3L269->SetBinContent(50,81707.14); h_SL3L269->SetBinContent(51,75421.43); h_SL3L269->SetBinContent(52,99185.71); h_SL3L269->SetBinContent(53,176185.7); h_SL3L269->SetBinContent(54,72542.86); h_SL3L269->SetBinContent(55,71557.14); h_SL3L269->SetBinContent(56,115278.6); h_SL3L269->SetBinContent(57,75214.28); h_SL3L269->SetBinContent(58,62150); h_SL3L269->SetBinContent(59,53557.14); h_SL3L269->SetMaximum(202613.6); 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,38385.71); h_SL3L370->SetBinContent(2,47078.57); h_SL3L370->SetBinContent(3,58328.57); h_SL3L370->SetBinContent(4,67950); h_SL3L370->SetBinContent(5,61757.14); h_SL3L370->SetBinContent(6,62521.43); h_SL3L370->SetBinContent(7,63192.86); h_SL3L370->SetBinContent(8,61985.71); h_SL3L370->SetBinContent(9,63378.57); h_SL3L370->SetBinContent(10,65064.29); h_SL3L370->SetBinContent(11,65742.86); h_SL3L370->SetBinContent(12,65207.14); h_SL3L370->SetBinContent(13,63278.57); h_SL3L370->SetBinContent(14,65500); h_SL3L370->SetBinContent(15,65835.71); h_SL3L370->SetBinContent(16,65007.14); h_SL3L370->SetBinContent(17,79064.28); h_SL3L370->SetBinContent(18,80307.14); h_SL3L370->SetBinContent(19,79592.86); h_SL3L370->SetBinContent(20,80642.86); h_SL3L370->SetBinContent(21,69035.71); h_SL3L370->SetBinContent(22,66828.57); h_SL3L370->SetBinContent(23,65778.57); h_SL3L370->SetBinContent(24,64471.43); h_SL3L370->SetBinContent(25,61578.57); h_SL3L370->SetBinContent(26,62021.43); h_SL3L370->SetBinContent(27,65135.71); h_SL3L370->SetBinContent(28,69100); h_SL3L370->SetBinContent(29,69014.28); h_SL3L370->SetBinContent(30,70450); h_SL3L370->SetBinContent(31,69742.86); h_SL3L370->SetBinContent(32,66592.86); h_SL3L370->SetBinContent(33,74571.43); h_SL3L370->SetBinContent(34,74700); h_SL3L370->SetBinContent(35,72714.28); h_SL3L370->SetBinContent(36,73535.71); h_SL3L370->SetBinContent(37,67078.57); h_SL3L370->SetBinContent(38,68221.43); h_SL3L370->SetBinContent(39,69357.14); h_SL3L370->SetBinContent(40,66942.86); h_SL3L370->SetBinContent(41,68457.14); h_SL3L370->SetBinContent(42,68250); h_SL3L370->SetBinContent(43,68442.86); h_SL3L370->SetBinContent(44,65721.43); h_SL3L370->SetBinContent(45,9364.285); h_SL3L370->SetBinContent(46,66464.28); h_SL3L370->SetBinContent(47,68228.57); h_SL3L370->SetBinContent(48,68385.71); h_SL3L370->SetBinContent(49,78257.14); h_SL3L370->SetBinContent(50,74657.14); h_SL3L370->SetBinContent(51,75400); h_SL3L370->SetBinContent(52,75657.14); h_SL3L370->SetBinContent(53,84428.57); h_SL3L370->SetBinContent(54,68014.28); h_SL3L370->SetBinContent(55,66757.14); h_SL3L370->SetBinContent(56,70685.71); h_SL3L370->SetBinContent(57,62735.71); h_SL3L370->SetBinContent(58,57171.43); h_SL3L370->SetBinContent(59,51642.86); h_SL3L370->SetMaximum(202613.6); 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,43700); h_SL3L471->SetBinContent(3,48285.71); h_SL3L471->SetBinContent(4,60914.29); h_SL3L471->SetBinContent(5,58635.71); h_SL3L471->SetBinContent(6,60200); h_SL3L471->SetBinContent(7,60571.43); h_SL3L471->SetBinContent(8,57757.14); h_SL3L471->SetBinContent(9,59535.71); h_SL3L471->SetBinContent(10,62157.14); h_SL3L471->SetBinContent(11,61514.29); h_SL3L471->SetBinContent(12,61707.14); h_SL3L471->SetBinContent(13,61257.14); h_SL3L471->SetBinContent(14,62185.71); h_SL3L471->SetBinContent(15,59907.14); h_SL3L471->SetBinContent(16,61114.29); h_SL3L471->SetBinContent(17,73192.86); h_SL3L471->SetBinContent(18,76528.57); h_SL3L471->SetBinContent(19,78257.14); h_SL3L471->SetBinContent(20,76371.43); h_SL3L471->SetBinContent(21,66892.86); h_SL3L471->SetBinContent(22,64407.14); h_SL3L471->SetBinContent(23,63107.14); h_SL3L471->SetBinContent(24,62500); h_SL3L471->SetBinContent(25,61007.14); h_SL3L471->SetBinContent(26,58028.57); h_SL3L471->SetBinContent(27,60164.29); h_SL3L471->SetBinContent(28,64828.57); h_SL3L471->SetBinContent(29,65964.28); h_SL3L471->SetBinContent(30,66200); h_SL3L471->SetBinContent(31,64300); h_SL3L471->SetBinContent(32,64128.57); h_SL3L471->SetBinContent(33,71342.86); h_SL3L471->SetBinContent(34,71535.71); h_SL3L471->SetBinContent(35,70764.28); h_SL3L471->SetBinContent(36,71364.28); h_SL3L471->SetBinContent(37,63350); h_SL3L471->SetBinContent(38,65264.29); h_SL3L471->SetBinContent(39,65371.43); h_SL3L471->SetBinContent(40,64050); h_SL3L471->SetBinContent(41,63550); h_SL3L471->SetBinContent(42,65085.71); h_SL3L471->SetBinContent(43,64814.29); h_SL3L471->SetBinContent(44,63307.14); h_SL3L471->SetBinContent(45,62478.57); h_SL3L471->SetBinContent(46,63942.86); h_SL3L471->SetBinContent(47,64571.43); h_SL3L471->SetBinContent(48,64342.86); h_SL3L471->SetBinContent(49,73492.86); h_SL3L471->SetBinContent(50,73764.28); h_SL3L471->SetBinContent(51,67457.14); h_SL3L471->SetBinContent(52,72878.57); h_SL3L471->SetBinContent(53,65285.71); h_SL3L471->SetBinContent(54,65678.57); h_SL3L471->SetBinContent(55,64764.29); h_SL3L471->SetBinContent(56,64907.14); h_SL3L471->SetBinContent(57,69207.14); h_SL3L471->SetBinContent(58,56864.29); h_SL3L471->SetBinContent(59,49192.86); h_SL3L471->SetMaximum(202613.6); 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 7447"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }