void RatesPerCell_Removing_noisy_cells_run_7093_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:16:22 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8318.669,67.5,74868.02); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7093",60,0,60); h_SL2L164->SetBinContent(1,107.1429); h_SL2L164->SetBinContent(2,71.42857); h_SL2L164->SetBinContent(3,133.9286); h_SL2L164->SetBinContent(4,116.0714); h_SL2L164->SetBinContent(5,178.5714); h_SL2L164->SetBinContent(6,223.2143); h_SL2L164->SetBinContent(7,178.5714); h_SL2L164->SetBinContent(8,303.5714); h_SL2L164->SetBinContent(9,276.7857); h_SL2L164->SetBinContent(10,428.5714); h_SL2L164->SetBinContent(11,348.2143); h_SL2L164->SetBinContent(12,491.0714); h_SL2L164->SetBinContent(13,464.2857); h_SL2L164->SetBinContent(14,687.5); h_SL2L164->SetBinContent(15,535.7143); h_SL2L164->SetBinContent(16,750); h_SL2L164->SetBinContent(17,964.2858); h_SL2L164->SetBinContent(18,1107.143); h_SL2L164->SetBinContent(19,1392.857); h_SL2L164->SetBinContent(20,1446.429); h_SL2L164->SetBinContent(21,2008.929); h_SL2L164->SetBinContent(22,2678.572); h_SL2L164->SetBinContent(23,2946.429); h_SL2L164->SetBinContent(24,3303.572); h_SL2L164->SetBinContent(25,5803.572); h_SL2L164->SetBinContent(26,16000); h_SL2L164->SetBinContent(27,33750); h_SL2L164->SetBinContent(28,40392.86); h_SL2L164->SetBinContent(29,50321.43); h_SL2L164->SetBinContent(30,44642.86); h_SL2L164->SetBinContent(31,34866.07); h_SL2L164->SetBinContent(32,30258.93); h_SL2L164->SetBinContent(33,31187.5); h_SL2L164->SetBinContent(34,19812.5); h_SL2L164->SetBinContent(36,5223.214); h_SL2L164->SetBinContent(37,4741.072); h_SL2L164->SetBinContent(38,3598.214); h_SL2L164->SetBinContent(39,3196.429); h_SL2L164->SetBinContent(40,2258.929); h_SL2L164->SetBinContent(41,2142.857); h_SL2L164->SetBinContent(42,2303.572); h_SL2L164->SetBinContent(43,2500); h_SL2L164->SetBinContent(44,1937.5); h_SL2L164->SetBinContent(45,1919.643); h_SL2L164->SetBinContent(46,1839.286); h_SL2L164->SetBinContent(47,1598.214); h_SL2L164->SetBinContent(48,1589.286); h_SL2L164->SetBinContent(49,1553.572); h_SL2L164->SetBinContent(50,1330.357); h_SL2L164->SetBinContent(51,1169.643); h_SL2L164->SetBinContent(52,1062.5); h_SL2L164->SetBinContent(53,1142.857); h_SL2L164->SetBinContent(54,848.2143); h_SL2L164->SetBinContent(55,794.6429); h_SL2L164->SetBinContent(56,633.9286); h_SL2L164->SetBinContent(57,776.7858); h_SL2L164->SetMaximum(66549.35); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,133.9286); h_SL2L265->SetBinContent(2,142.8571); h_SL2L265->SetBinContent(3,169.6429); h_SL2L265->SetBinContent(4,169.6429); h_SL2L265->SetBinContent(5,196.4286); h_SL2L265->SetBinContent(6,223.2143); h_SL2L265->SetBinContent(7,285.7143); h_SL2L265->SetBinContent(8,330.3571); h_SL2L265->SetBinContent(9,321.4286); h_SL2L265->SetBinContent(10,303.5714); h_SL2L265->SetBinContent(11,375); h_SL2L265->SetBinContent(12,571.4286); h_SL2L265->SetBinContent(13,437.5); h_SL2L265->SetBinContent(14,705.3572); h_SL2L265->SetBinContent(15,705.3572); h_SL2L265->SetBinContent(16,848.2143); h_SL2L265->SetBinContent(17,839.2858); h_SL2L265->SetBinContent(18,1062.5); h_SL2L265->SetBinContent(19,1098.214); h_SL2L265->SetBinContent(20,1401.786); h_SL2L265->SetBinContent(21,1580.357); h_SL2L265->SetBinContent(22,2151.786); h_SL2L265->SetBinContent(23,2830.357); h_SL2L265->SetBinContent(24,3089.286); h_SL2L265->SetBinContent(25,3678.572); h_SL2L265->SetBinContent(26,10276.79); h_SL2L265->SetBinContent(27,22142.86); h_SL2L265->SetBinContent(28,37803.57); h_SL2L265->SetBinContent(29,43696.43); h_SL2L265->SetBinContent(30,45508.93); h_SL2L265->SetBinContent(31,38312.5); h_SL2L265->SetBinContent(32,30660.71); h_SL2L265->SetBinContent(33,29964.29); h_SL2L265->SetBinContent(34,27776.79); h_SL2L265->SetBinContent(35,11633.93); h_SL2L265->SetBinContent(36,6223.214); h_SL2L265->SetBinContent(37,5303.572); h_SL2L265->SetBinContent(38,4017.857); h_SL2L265->SetBinContent(39,3080.357); h_SL2L265->SetBinContent(40,2875); h_SL2L265->SetBinContent(41,2419.643); h_SL2L265->SetBinContent(42,2357.143); h_SL2L265->SetBinContent(43,2303.572); h_SL2L265->SetBinContent(44,2017.857); h_SL2L265->SetBinContent(45,1821.429); h_SL2L265->SetBinContent(46,1848.214); h_SL2L265->SetBinContent(47,1678.572); h_SL2L265->SetBinContent(48,1571.429); h_SL2L265->SetBinContent(49,1419.643); h_SL2L265->SetBinContent(50,1464.286); h_SL2L265->SetBinContent(51,1107.143); h_SL2L265->SetBinContent(52,1071.429); h_SL2L265->SetBinContent(53,1062.5); h_SL2L265->SetBinContent(54,982.1429); h_SL2L265->SetBinContent(55,892.8572); h_SL2L265->SetBinContent(56,705.3572); h_SL2L265->SetBinContent(57,732.1429); h_SL2L265->SetMaximum(57869.64); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,160.7143); h_SL2L366->SetBinContent(2,125); h_SL2L366->SetBinContent(3,205.3571); h_SL2L366->SetBinContent(4,205.3571); h_SL2L366->SetBinContent(5,223.2143); h_SL2L366->SetBinContent(6,276.7857); h_SL2L366->SetBinContent(7,187.5); h_SL2L366->SetBinContent(8,276.7857); h_SL2L366->SetBinContent(9,321.4286); h_SL2L366->SetBinContent(10,383.9286); h_SL2L366->SetBinContent(11,544.6429); h_SL2L366->SetBinContent(12,473.2143); h_SL2L366->SetBinContent(13,544.6429); h_SL2L366->SetBinContent(14,785.7143); h_SL2L366->SetBinContent(15,562.5); h_SL2L366->SetBinContent(16,785.7143); h_SL2L366->SetBinContent(17,1053.571); h_SL2L366->SetBinContent(18,1008.929); h_SL2L366->SetBinContent(19,1383.929); h_SL2L366->SetBinContent(20,1267.857); h_SL2L366->SetBinContent(21,2026.786); h_SL2L366->SetBinContent(22,2660.714); h_SL2L366->SetBinContent(23,2892.857); h_SL2L366->SetBinContent(24,3169.643); h_SL2L366->SetBinContent(25,6232.143); h_SL2L366->SetBinContent(26,16508.93); h_SL2L366->SetBinContent(27,31464.29); h_SL2L366->SetBinContent(28,41535.71); h_SL2L366->SetBinContent(29,46562.5); h_SL2L366->SetBinContent(30,43973.21); h_SL2L366->SetBinContent(31,35276.79); h_SL2L366->SetBinContent(32,31401.79); h_SL2L366->SetBinContent(33,31419.64); h_SL2L366->SetBinContent(34,18982.14); h_SL2L366->SetBinContent(35,7633.929); h_SL2L366->SetBinContent(36,5589.286); h_SL2L366->SetBinContent(37,4517.857); h_SL2L366->SetBinContent(38,3312.5); h_SL2L366->SetBinContent(39,3035.714); h_SL2L366->SetBinContent(40,2562.5); h_SL2L366->SetBinContent(41,2348.214); h_SL2L366->SetBinContent(42,2151.786); h_SL2L366->SetBinContent(43,2401.786); h_SL2L366->SetBinContent(44,1964.286); h_SL2L366->SetBinContent(45,1741.072); h_SL2L366->SetBinContent(46,1848.214); h_SL2L366->SetBinContent(47,1625); h_SL2L366->SetBinContent(48,1517.857); h_SL2L366->SetBinContent(49,1357.143); h_SL2L366->SetBinContent(50,1250); h_SL2L366->SetBinContent(51,1116.071); h_SL2L366->SetBinContent(52,1017.857); h_SL2L366->SetBinContent(53,1107.143); h_SL2L366->SetBinContent(54,812.5); h_SL2L366->SetBinContent(55,750); h_SL2L366->SetBinContent(56,723.2143); h_SL2L366->SetBinContent(57,714.2858); h_SL2L366->SetMaximum(57869.64); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,142.8571); h_SL2L467->SetBinContent(3,160.7143); h_SL2L467->SetBinContent(4,160.7143); h_SL2L467->SetBinContent(5,160.7143); h_SL2L467->SetBinContent(6,214.2857); h_SL2L467->SetBinContent(7,276.7857); h_SL2L467->SetBinContent(8,258.9286); h_SL2L467->SetBinContent(9,294.6429); h_SL2L467->SetBinContent(10,223.2143); h_SL2L467->SetBinContent(11,330.3571); h_SL2L467->SetBinContent(12,526.7857); h_SL2L467->SetBinContent(13,410.7143); h_SL2L467->SetBinContent(14,705.3572); h_SL2L467->SetBinContent(15,687.5); h_SL2L467->SetBinContent(16,785.7143); h_SL2L467->SetBinContent(17,732.1429); h_SL2L467->SetBinContent(18,901.7858); h_SL2L467->SetBinContent(19,1232.143); h_SL2L467->SetBinContent(20,1366.071); h_SL2L467->SetBinContent(21,1642.857); h_SL2L467->SetBinContent(22,2294.643); h_SL2L467->SetBinContent(23,2767.857); h_SL2L467->SetBinContent(24,3080.357); h_SL2L467->SetBinContent(25,3651.786); h_SL2L467->SetBinContent(26,10258.93); h_SL2L467->SetBinContent(27,24866.07); h_SL2L467->SetBinContent(28,36955.36); h_SL2L467->SetBinContent(29,43767.86); h_SL2L467->SetBinContent(30,47812.5); h_SL2L467->SetBinContent(31,37946.43); h_SL2L467->SetBinContent(32,32669.64); h_SL2L467->SetBinContent(33,30080.36); h_SL2L467->SetBinContent(34,27267.86); h_SL2L467->SetBinContent(35,11044.64); h_SL2L467->SetBinContent(36,6125); h_SL2L467->SetBinContent(37,5660.714); h_SL2L467->SetBinContent(38,3562.5); h_SL2L467->SetBinContent(39,2857.143); h_SL2L467->SetBinContent(40,2785.714); h_SL2L467->SetBinContent(41,2160.714); h_SL2L467->SetBinContent(42,2375); h_SL2L467->SetBinContent(43,2187.5); h_SL2L467->SetBinContent(44,1901.786); h_SL2L467->SetBinContent(45,1830.357); h_SL2L467->SetBinContent(46,1732.143); h_SL2L467->SetBinContent(47,1732.143); h_SL2L467->SetBinContent(48,1571.429); h_SL2L467->SetBinContent(49,1392.857); h_SL2L467->SetBinContent(50,1392.857); h_SL2L467->SetBinContent(51,937.5); h_SL2L467->SetBinContent(52,1214.286); h_SL2L467->SetBinContent(53,1062.5); h_SL2L467->SetBinContent(54,1008.929); h_SL2L467->SetBinContent(55,821.4286); h_SL2L467->SetBinContent(56,696.4286); h_SL2L467->SetBinContent(57,696.4286); h_SL2L467->SetMaximum(57869.64); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7093"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }