void RatesPerCell_Removing_noisy_cells_run_7099_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:10:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14253.68,67.5,128283.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7099",60,0,60); h_SL1L160->SetBinContent(1,133.9286); h_SL1L160->SetBinContent(2,62.5); h_SL1L160->SetBinContent(3,133.9286); h_SL1L160->SetBinContent(4,116.0714); h_SL1L160->SetBinContent(5,142.8571); h_SL1L160->SetBinContent(6,241.0714); h_SL1L160->SetBinContent(7,196.4286); h_SL1L160->SetBinContent(8,223.2143); h_SL1L160->SetBinContent(9,116.0714); h_SL1L160->SetBinContent(10,151.7857); h_SL1L160->SetBinContent(11,187.5); h_SL1L160->SetBinContent(12,232.1429); h_SL1L160->SetBinContent(13,464.2857); h_SL1L160->SetBinContent(14,464.2857); h_SL1L160->SetBinContent(15,500); h_SL1L160->SetBinContent(16,303.5714); h_SL1L160->SetBinContent(17,392.8571); h_SL1L160->SetBinContent(18,553.5715); h_SL1L160->SetBinContent(19,553.5715); h_SL1L160->SetBinContent(20,714.2858); h_SL1L160->SetBinContent(21,669.6429); h_SL1L160->SetBinContent(22,1187.5); h_SL1L160->SetBinContent(23,1250); h_SL1L160->SetBinContent(24,1491.072); h_SL1L160->SetBinContent(25,3339.286); h_SL1L160->SetBinContent(26,7437.5); h_SL1L160->SetBinContent(27,11044.64); h_SL1L160->SetBinContent(28,11678.57); h_SL1L160->SetBinContent(29,11562.5); h_SL1L160->SetBinContent(30,11044.64); h_SL1L160->SetBinContent(31,6294.643); h_SL1L160->SetBinContent(32,2196.429); h_SL1L160->SetBinContent(33,2785.714); h_SL1L160->SetBinContent(34,2446.429); h_SL1L160->SetBinContent(35,1732.143); h_SL1L160->SetBinContent(36,1625); h_SL1L160->SetBinContent(37,1071.429); h_SL1L160->SetBinContent(38,892.8572); h_SL1L160->SetBinContent(39,919.6429); h_SL1L160->SetBinContent(41,464.2857); h_SL1L160->SetBinContent(42,535.7143); h_SL1L160->SetBinContent(43,553.5715); h_SL1L160->SetBinContent(44,437.5); h_SL1L160->SetBinContent(45,339.2857); h_SL1L160->SetBinContent(46,241.0714); h_SL1L160->SetBinContent(47,339.2857); h_SL1L160->SetBinContent(48,348.2143); h_SL1L160->SetBinContent(49,321.4286); h_SL1L160->SetBinContent(50,285.7143); h_SL1L160->SetBinContent(51,303.5714); h_SL1L160->SetBinContent(52,250); h_SL1L160->SetBinContent(53,232.1429); h_SL1L160->SetBinContent(54,187.5); h_SL1L160->SetBinContent(55,232.1429); h_SL1L160->SetBinContent(56,214.2857); h_SL1L160->SetMaximum(114029.4); 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,455.3571); h_SL1L261->SetBinContent(2,580.3572); h_SL1L261->SetBinContent(3,1098.214); h_SL1L261->SetBinContent(4,508.9286); h_SL1L261->SetBinContent(5,660.7143); h_SL1L261->SetBinContent(6,526.7857); h_SL1L261->SetBinContent(7,651.7857); h_SL1L261->SetBinContent(8,678.5715); h_SL1L261->SetBinContent(9,6785.714); h_SL1L261->SetBinContent(10,803.5715); h_SL1L261->SetBinContent(11,1008.929); h_SL1L261->SetBinContent(12,1035.714); h_SL1L261->SetBinContent(13,1062.5); h_SL1L261->SetBinContent(14,1258.929); h_SL1L261->SetBinContent(15,1339.286); h_SL1L261->SetBinContent(16,1598.214); h_SL1L261->SetBinContent(17,1625); h_SL1L261->SetBinContent(18,2392.857); h_SL1L261->SetBinContent(19,2589.286); h_SL1L261->SetBinContent(20,3142.857); h_SL1L261->SetBinContent(21,3446.429); h_SL1L261->SetBinContent(22,4169.643); h_SL1L261->SetBinContent(23,5205.357); h_SL1L261->SetBinContent(24,7107.143); h_SL1L261->SetBinContent(25,11705.36); h_SL1L261->SetBinContent(26,32544.64); h_SL1L261->SetBinContent(27,49723.21); h_SL1L261->SetBinContent(28,65696.43); h_SL1L261->SetBinContent(29,84294.65); h_SL1L261->SetBinContent(30,79214.29); h_SL1L261->SetBinContent(31,53339.29); h_SL1L261->SetBinContent(32,23669.64); h_SL1L261->SetBinContent(33,9651.786); h_SL1L261->SetBinContent(34,6651.786); h_SL1L261->SetBinContent(35,5366.072); h_SL1L261->SetBinContent(36,4008.929); h_SL1L261->SetBinContent(37,3526.786); h_SL1L261->SetBinContent(38,3205.357); h_SL1L261->SetBinContent(39,2839.286); h_SL1L261->SetBinContent(40,2276.786); h_SL1L261->SetBinContent(41,2473.214); h_SL1L261->SetBinContent(42,2535.714); h_SL1L261->SetBinContent(43,2196.429); h_SL1L261->SetBinContent(44,2071.429); h_SL1L261->SetBinContent(45,1955.357); h_SL1L261->SetBinContent(46,1866.072); h_SL1L261->SetBinContent(47,1723.214); h_SL1L261->SetBinContent(48,1562.5); h_SL1L261->SetBinContent(49,1714.286); h_SL1L261->SetBinContent(50,1357.143); h_SL1L261->SetBinContent(51,1312.5); h_SL1L261->SetBinContent(52,1517.857); h_SL1L261->SetBinContent(53,1187.5); h_SL1L261->SetBinContent(54,1169.643); h_SL1L261->SetBinContent(55,1160.714); h_SL1L261->SetBinContent(56,1116.071); h_SL1L261->SetMaximum(99156.7); 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,401.7857); h_SL1L362->SetBinContent(2,437.5); h_SL1L362->SetBinContent(3,482.1429); h_SL1L362->SetBinContent(4,544.6429); h_SL1L362->SetBinContent(5,598.2143); h_SL1L362->SetBinContent(6,651.7857); h_SL1L362->SetBinContent(7,741.0715); h_SL1L362->SetBinContent(8,750); h_SL1L362->SetBinContent(9,732.1429); h_SL1L362->SetBinContent(10,776.7858); h_SL1L362->SetBinContent(11,1107.143); h_SL1L362->SetBinContent(12,955.3572); h_SL1L362->SetBinContent(13,1071.429); h_SL1L362->SetBinContent(14,1526.786); h_SL1L362->SetBinContent(15,1562.5); h_SL1L362->SetBinContent(16,1642.857); h_SL1L362->SetBinContent(17,1955.357); h_SL1L362->SetBinContent(18,2366.072); h_SL1L362->SetBinContent(19,2750); h_SL1L362->SetBinContent(20,3178.572); h_SL1L362->SetBinContent(21,3705.357); h_SL1L362->SetBinContent(22,4553.572); h_SL1L362->SetBinContent(23,5616.072); h_SL1L362->SetBinContent(24,8633.929); h_SL1L362->SetBinContent(25,21473.21); h_SL1L362->SetBinContent(26,40964.29); h_SL1L362->SetBinContent(27,61267.86); h_SL1L362->SetBinContent(28,78696.43); h_SL1L362->SetBinContent(29,86223.22); h_SL1L362->SetBinContent(30,67258.93); h_SL1L362->SetBinContent(31,38607.14); h_SL1L362->SetBinContent(32,12553.57); h_SL1L362->SetBinContent(33,7839.286); h_SL1L362->SetBinContent(34,5714.286); h_SL1L362->SetBinContent(35,4473.214); h_SL1L362->SetBinContent(36,3741.072); h_SL1L362->SetBinContent(37,3116.072); h_SL1L362->SetBinContent(38,3044.643); h_SL1L362->SetBinContent(39,2750); h_SL1L362->SetBinContent(40,2312.5); h_SL1L362->SetBinContent(41,2366.072); h_SL1L362->SetBinContent(42,2401.786); h_SL1L362->SetBinContent(43,2169.643); h_SL1L362->SetBinContent(44,1758.929); h_SL1L362->SetBinContent(45,1937.5); h_SL1L362->SetBinContent(46,1696.429); h_SL1L362->SetBinContent(47,1705.357); h_SL1L362->SetBinContent(48,1500); h_SL1L362->SetBinContent(49,1419.643); h_SL1L362->SetBinContent(50,1258.929); h_SL1L362->SetBinContent(51,1500); h_SL1L362->SetBinContent(52,1241.071); h_SL1L362->SetBinContent(53,1071.429); h_SL1L362->SetBinContent(54,937.5); h_SL1L362->SetBinContent(55,955.3572); h_SL1L362->SetBinContent(56,982.1429); h_SL1L362->SetMaximum(99156.7); 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,321.4286); h_SL1L463->SetBinContent(3,366.0714); h_SL1L463->SetBinContent(4,446.4286); h_SL1L463->SetBinContent(5,491.0714); h_SL1L463->SetBinContent(6,535.7143); h_SL1L463->SetBinContent(7,491.0714); h_SL1L463->SetBinContent(8,580.3572); h_SL1L463->SetBinContent(9,696.4286); h_SL1L463->SetBinContent(10,687.5); h_SL1L463->SetBinContent(11,839.2858); h_SL1L463->SetBinContent(12,892.8572); h_SL1L463->SetBinContent(13,1008.929); h_SL1L463->SetBinContent(14,1651.786); h_SL1L463->SetBinContent(15,1383.929); h_SL1L463->SetBinContent(16,1732.143); h_SL1L463->SetBinContent(17,1312.5); h_SL1L463->SetBinContent(18,1991.072); h_SL1L463->SetBinContent(19,2321.429); h_SL1L463->SetBinContent(20,2526.786); h_SL1L463->SetBinContent(21,2901.786); h_SL1L463->SetBinContent(22,3625); h_SL1L463->SetBinContent(23,4410.714); h_SL1L463->SetBinContent(24,6044.643); h_SL1L463->SetBinContent(25,8553.571); h_SL1L463->SetBinContent(26,27419.64); h_SL1L463->SetBinContent(27,41169.64); h_SL1L463->SetBinContent(28,53098.21); h_SL1L463->SetBinContent(29,63294.64); h_SL1L463->SetBinContent(30,60500); h_SL1L463->SetBinContent(31,44348.21); h_SL1L463->SetBinContent(32,19607.14); h_SL1L463->SetBinContent(33,7714.286); h_SL1L463->SetBinContent(34,5598.214); h_SL1L463->SetBinContent(35,4589.286); h_SL1L463->SetBinContent(36,3401.786); h_SL1L463->SetBinContent(41,1848.214); h_SL1L463->SetBinContent(42,2053.572); h_SL1L463->SetBinContent(43,1714.286); h_SL1L463->SetBinContent(44,1758.929); h_SL1L463->SetBinContent(45,1741.072); h_SL1L463->SetBinContent(46,1607.143); h_SL1L463->SetBinContent(47,1500); h_SL1L463->SetBinContent(48,1312.5); h_SL1L463->SetBinContent(49,1196.429); h_SL1L463->SetBinContent(50,973.2143); h_SL1L463->SetBinContent(51,1151.786); h_SL1L463->SetBinContent(52,1196.429); h_SL1L463->SetBinContent(53,973.2143); h_SL1L463->SetBinContent(54,910.7143); h_SL1L463->SetBinContent(56,964.2858); h_SL1L463->SetMaximum(99156.7); 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 7099"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }