void RatesPerCell_Removing_noisy_cells_run_7089_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:15:28 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14349.7,67.5,129147.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7089",60,0,60); h_SL1L160->SetBinContent(1,419.6429); h_SL1L160->SetBinContent(2,464.2857); h_SL1L160->SetBinContent(3,455.3571); h_SL1L160->SetBinContent(4,651.7857); h_SL1L160->SetBinContent(5,678.5715); h_SL1L160->SetBinContent(6,544.6429); h_SL1L160->SetBinContent(7,714.2858); h_SL1L160->SetBinContent(8,785.7143); h_SL1L160->SetBinContent(9,919.6429); h_SL1L160->SetBinContent(10,946.4286); h_SL1L160->SetBinContent(11,991.0715); h_SL1L160->SetBinContent(12,892.8572); h_SL1L160->SetBinContent(13,2357.143); h_SL1L160->SetBinContent(14,2812.5); h_SL1L160->SetBinContent(15,2312.5); h_SL1L160->SetBinContent(16,1401.786); h_SL1L160->SetBinContent(17,1901.786); h_SL1L160->SetBinContent(18,2330.357); h_SL1L160->SetBinContent(19,2776.786); h_SL1L160->SetBinContent(20,3223.214); h_SL1L160->SetBinContent(21,3616.072); h_SL1L160->SetBinContent(22,4410.714); h_SL1L160->SetBinContent(23,6098.214); h_SL1L160->SetBinContent(24,7785.714); h_SL1L160->SetBinContent(25,18160.71); h_SL1L160->SetBinContent(26,35455.36); h_SL1L160->SetBinContent(27,49410.71); h_SL1L160->SetBinContent(28,63410.71); h_SL1L160->SetBinContent(29,65053.57); h_SL1L160->SetBinContent(30,53696.43); h_SL1L160->SetBinContent(31,31446.43); h_SL1L160->SetBinContent(32,10767.86); h_SL1L160->SetBinContent(33,8821.429); h_SL1L160->SetBinContent(34,6830.357); h_SL1L160->SetBinContent(35,5169.643); h_SL1L160->SetBinContent(36,3785.714); h_SL1L160->SetBinContent(37,3258.929); h_SL1L160->SetBinContent(38,3312.5); h_SL1L160->SetBinContent(39,3000); h_SL1L160->SetBinContent(41,2178.572); h_SL1L160->SetBinContent(42,2339.286); h_SL1L160->SetBinContent(43,1875); h_SL1L160->SetBinContent(44,1883.929); h_SL1L160->SetBinContent(45,1732.143); h_SL1L160->SetBinContent(46,1678.572); h_SL1L160->SetBinContent(47,1517.857); h_SL1L160->SetBinContent(48,1339.286); h_SL1L160->SetBinContent(49,1437.5); h_SL1L160->SetBinContent(50,1419.643); h_SL1L160->SetBinContent(51,1508.929); h_SL1L160->SetBinContent(52,1214.286); h_SL1L160->SetBinContent(53,1375); h_SL1L160->SetBinContent(54,1017.857); h_SL1L160->SetBinContent(55,1008.929); h_SL1L160->SetBinContent(56,928.5715); h_SL1L160->SetMaximum(114797.6); 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,571.4286); h_SL1L261->SetBinContent(2,535.7143); h_SL1L261->SetBinContent(3,1044.643); h_SL1L261->SetBinContent(4,598.2143); h_SL1L261->SetBinContent(5,642.8572); h_SL1L261->SetBinContent(6,491.0714); h_SL1L261->SetBinContent(7,678.5715); h_SL1L261->SetBinContent(8,857.1429); h_SL1L261->SetBinContent(9,7866.072); h_SL1L261->SetBinContent(10,883.9286); h_SL1L261->SetBinContent(11,964.2858); h_SL1L261->SetBinContent(12,1098.214); h_SL1L261->SetBinContent(13,1223.214); h_SL1L261->SetBinContent(14,1357.143); h_SL1L261->SetBinContent(15,1741.072); h_SL1L261->SetBinContent(16,1491.072); h_SL1L261->SetBinContent(17,1982.143); h_SL1L261->SetBinContent(18,2267.857); h_SL1L261->SetBinContent(19,2821.429); h_SL1L261->SetBinContent(20,3071.429); h_SL1L261->SetBinContent(21,3714.286); h_SL1L261->SetBinContent(22,4285.714); h_SL1L261->SetBinContent(23,5857.143); h_SL1L261->SetBinContent(24,6982.143); h_SL1L261->SetBinContent(25,12339.29); h_SL1L261->SetBinContent(26,33678.57); h_SL1L261->SetBinContent(27,49991.07); h_SL1L261->SetBinContent(28,64910.71); h_SL1L261->SetBinContent(29,82750); h_SL1L261->SetBinContent(30,80866.07); h_SL1L261->SetBinContent(31,51339.29); h_SL1L261->SetBinContent(32,23839.29); h_SL1L261->SetBinContent(33,9767.857); h_SL1L261->SetBinContent(34,6928.572); h_SL1L261->SetBinContent(35,5401.786); h_SL1L261->SetBinContent(36,3910.714); h_SL1L261->SetBinContent(37,3401.786); h_SL1L261->SetBinContent(38,2919.643); h_SL1L261->SetBinContent(39,3196.429); h_SL1L261->SetBinContent(40,2660.714); h_SL1L261->SetBinContent(41,2357.143); h_SL1L261->SetBinContent(42,2276.786); h_SL1L261->SetBinContent(43,2071.429); h_SL1L261->SetBinContent(44,1937.5); h_SL1L261->SetBinContent(45,2026.786); h_SL1L261->SetBinContent(46,2053.572); h_SL1L261->SetBinContent(47,1705.357); h_SL1L261->SetBinContent(48,1455.357); h_SL1L261->SetBinContent(49,1607.143); h_SL1L261->SetBinContent(50,1437.5); h_SL1L261->SetBinContent(51,1312.5); h_SL1L261->SetBinContent(52,1401.786); h_SL1L261->SetBinContent(53,1330.357); h_SL1L261->SetBinContent(54,1169.643); h_SL1L261->SetBinContent(55,1267.857); h_SL1L261->SetBinContent(56,1026.786); h_SL1L261->SetMaximum(99824.11); 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,392.8571); h_SL1L362->SetBinContent(2,428.5714); h_SL1L362->SetBinContent(3,491.0714); h_SL1L362->SetBinContent(4,616.0715); h_SL1L362->SetBinContent(5,633.9286); h_SL1L362->SetBinContent(6,651.7857); h_SL1L362->SetBinContent(7,794.6429); h_SL1L362->SetBinContent(8,732.1429); h_SL1L362->SetBinContent(9,883.9286); h_SL1L362->SetBinContent(10,901.7858); h_SL1L362->SetBinContent(11,1044.643); h_SL1L362->SetBinContent(12,973.2143); h_SL1L362->SetBinContent(13,1410.714); h_SL1L362->SetBinContent(14,1696.429); h_SL1L362->SetBinContent(15,2053.572); h_SL1L362->SetBinContent(16,1633.929); h_SL1L362->SetBinContent(17,2241.072); h_SL1L362->SetBinContent(18,2267.857); h_SL1L362->SetBinContent(19,2857.143); h_SL1L362->SetBinContent(20,3455.357); h_SL1L362->SetBinContent(21,3687.5); h_SL1L362->SetBinContent(22,4839.286); h_SL1L362->SetBinContent(23,6250); h_SL1L362->SetBinContent(24,8750); h_SL1L362->SetBinContent(25,21723.21); h_SL1L362->SetBinContent(26,41562.5); h_SL1L362->SetBinContent(27,60044.64); h_SL1L362->SetBinContent(28,79000); h_SL1L362->SetBinContent(29,86803.57); h_SL1L362->SetBinContent(30,65375); h_SL1L362->SetBinContent(31,39375); h_SL1L362->SetBinContent(32,12223.21); h_SL1L362->SetBinContent(33,8187.5); h_SL1L362->SetBinContent(34,6178.572); h_SL1L362->SetBinContent(35,4508.929); h_SL1L362->SetBinContent(36,3857.143); h_SL1L362->SetBinContent(37,3241.072); h_SL1L362->SetBinContent(38,3017.857); h_SL1L362->SetBinContent(39,2866.072); h_SL1L362->SetBinContent(40,2491.072); h_SL1L362->SetBinContent(41,2258.929); h_SL1L362->SetBinContent(42,2383.929); h_SL1L362->SetBinContent(43,1973.214); h_SL1L362->SetBinContent(44,2026.786); h_SL1L362->SetBinContent(45,1883.929); h_SL1L362->SetBinContent(46,1875); h_SL1L362->SetBinContent(47,1616.072); h_SL1L362->SetBinContent(48,1473.214); h_SL1L362->SetBinContent(49,1455.357); h_SL1L362->SetBinContent(50,1285.714); h_SL1L362->SetBinContent(51,1464.286); h_SL1L362->SetBinContent(52,1321.429); h_SL1L362->SetBinContent(53,1196.429); h_SL1L362->SetBinContent(54,1017.857); h_SL1L362->SetBinContent(55,1098.214); h_SL1L362->SetBinContent(56,1044.643); h_SL1L362->SetMaximum(99824.11); 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(11,8.928572); h_SL1L463->SetBinContent(13,80.35715); h_SL1L463->SetBinContent(14,1794.643); h_SL1L463->SetBinContent(15,1410.714); h_SL1L463->SetBinContent(16,1437.5); h_SL1L463->SetBinContent(26,8.928572); h_SL1L463->SetBinContent(30,8.928572); h_SL1L463->SetBinContent(31,80.35715); h_SL1L463->SetBinContent(35,35.71429); h_SL1L463->SetBinContent(43,8.928572); h_SL1L463->SetBinContent(44,17.85714); h_SL1L463->SetMaximum(99824.11); 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 7089"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }