void RatesPerCell_Removing_noisy_cells_run_5873_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:15:03 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1731.756,67.5,15585.81); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5873",60,0,60); h_SL3L168->SetBinContent(1,2155.969); h_SL3L168->SetBinContent(2,3767.625); h_SL3L168->SetBinContent(4,6759.831); h_SL3L168->SetBinContent(5,6854.097); h_SL3L168->SetBinContent(6,7720.742); h_SL3L168->SetBinContent(7,7635.598); h_SL3L168->SetBinContent(8,7477.474); h_SL3L168->SetBinContent(9,7115.611); h_SL3L168->SetBinContent(10,8435.344); h_SL3L168->SetBinContent(11,7954.888); h_SL3L168->SetBinContent(12,7720.742); h_SL3L168->SetBinContent(13,7033.508); h_SL3L168->SetBinContent(14,8137.34); h_SL3L168->SetBinContent(15,7997.46); h_SL3L168->SetBinContent(16,7720.742); h_SL3L168->SetBinContent(17,7310.226); h_SL3L168->SetBinContent(18,8128.217); h_SL3L168->SetBinContent(19,8140.381); h_SL3L168->SetBinContent(20,8128.217); h_SL3L168->SetBinContent(21,7109.529); h_SL3L168->SetBinContent(22,8538.733); h_SL3L168->SetBinContent(23,8356.282); h_SL3L168->SetBinContent(24,7909.275); h_SL3L168->SetBinContent(25,7583.903); h_SL3L168->SetBinContent(26,8249.852); h_SL3L168->SetBinContent(27,8392.772); h_SL3L168->SetBinContent(28,7845.417); h_SL3L168->SetBinContent(29,7757.232); h_SL3L168->SetBinContent(30,8903.637); h_SL3L168->SetBinContent(31,8751.594); h_SL3L168->SetBinContent(32,8225.524); h_SL3L168->SetBinContent(33,7878.867); h_SL3L168->SetBinContent(34,8833.696); h_SL3L168->SetBinContent(35,8937.086); h_SL3L168->SetBinContent(36,8255.934); h_SL3L168->SetBinContent(37,7872.785); h_SL3L168->SetBinContent(38,8958.372); h_SL3L168->SetBinContent(39,8605.632); h_SL3L168->SetBinContent(40,8164.708); h_SL3L168->SetBinContent(41,8003.542); h_SL3L168->SetBinContent(42,8654.286); h_SL3L168->SetBinContent(43,8672.531); h_SL3L168->SetBinContent(44,8255.934); h_SL3L168->SetBinContent(45,7659.925); h_SL3L168->SetBinContent(46,8681.653); h_SL3L168->SetBinContent(47,8401.895); h_SL3L168->SetBinContent(48,7839.335); h_SL3L168->SetBinContent(50,3874.055); h_SL3L168->SetBinContent(51,5218.115); h_SL3L168->SetBinContent(52,6787.198); h_SL3L168->SetBinContent(53,6489.194); h_SL3L168->SetBinContent(54,7246.368); h_SL3L168->SetBinContent(55,7085.203); h_SL3L168->SetBinContent(56,6869.302); h_SL3L168->SetBinContent(57,6854.097); h_SL3L168->SetBinContent(58,6759.831); h_SL3L168->SetBinContent(59,5236.36); h_SL3L168->SetMaximum(13854.05); 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,608.1719); h_SL3L269->SetBinContent(2,5145.134); h_SL3L269->SetBinContent(4,3913.586); h_SL3L269->SetBinContent(5,6276.334); h_SL3L269->SetBinContent(6,7647.762); h_SL3L269->SetBinContent(7,7462.269); h_SL3L269->SetBinContent(8,7535.25); h_SL3L269->SetBinContent(9,7051.753); h_SL3L269->SetBinContent(10,8009.624); h_SL3L269->SetBinContent(11,8140.381); h_SL3L269->SetBinContent(12,7878.867); h_SL3L269->SetBinContent(13,6990.936); h_SL3L269->SetBinContent(14,8052.196); h_SL3L269->SetBinContent(15,8070.441); h_SL3L269->SetBinContent(16,7787.641); h_SL3L269->SetBinContent(17,7085.203); h_SL3L269->SetBinContent(18,7976.174); h_SL3L269->SetBinContent(19,7985.297); h_SL3L269->SetBinContent(20,8058.277); h_SL3L269->SetBinContent(21,7215.959); h_SL3L269->SetBinContent(22,8122.136); h_SL3L269->SetBinContent(23,8344.118); h_SL3L269->SetBinContent(24,8231.606); h_SL3L269->SetBinContent(25,7371.043); h_SL3L269->SetBinContent(26,8350.2); h_SL3L269->SetBinContent(27,8249.852); h_SL3L269->SetBinContent(28,8161.667); h_SL3L269->SetBinContent(29,7529.168); h_SL3L269->SetBinContent(30,8633); h_SL3L269->SetBinContent(31,8705.98); h_SL3L269->SetBinContent(32,8106.931); h_SL3L269->SetBinContent(33,7960.97); h_SL3L269->SetBinContent(34,8417.099); h_SL3L269->SetBinContent(35,8912.759); h_SL3L269->SetBinContent(36,8587.387); h_SL3L269->SetBinContent(37,7659.925); h_SL3L269->SetBinContent(38,8943.168); h_SL3L269->SetBinContent(39,8529.61); h_SL3L269->SetBinContent(40,8149.503); h_SL3L269->SetBinContent(41,7726.824); h_SL3L269->SetBinContent(42,8800.247); h_SL3L269->SetBinContent(43,8456.63); h_SL3L269->SetBinContent(44,8602.592); h_SL3L269->SetBinContent(45,7538.291); h_SL3L269->SetBinContent(46,8547.855); h_SL3L269->SetBinContent(47,8307.628); h_SL3L269->SetBinContent(48,7596.067); h_SL3L269->SetBinContent(49,7112.57); h_SL3L269->SetBinContent(50,7100.407); h_SL3L269->SetBinContent(51,2055.621); h_SL3L269->SetBinContent(52,6984.854); h_SL3L269->SetBinContent(53,6513.521); h_SL3L269->SetBinContent(54,7237.246); h_SL3L269->SetBinContent(55,7012.222); h_SL3L269->SetBinContent(56,6887.547); h_SL3L269->SetBinContent(57,6814.566); h_SL3L269->SetBinContent(58,6911.874); h_SL3L269->SetBinContent(59,6185.108); h_SL3L269->SetMaximum(12047.12); 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,2672.916); h_SL3L370->SetBinContent(2,3320.619); h_SL3L370->SetBinContent(3,1328.856); h_SL3L370->SetBinContent(4,5792.837); h_SL3L370->SetBinContent(5,7173.388); h_SL3L370->SetBinContent(6,7380.166); h_SL3L370->SetBinContent(7,7331.512); h_SL3L370->SetBinContent(8,7142.979); h_SL3L370->SetBinContent(9,7845.417); h_SL3L370->SetBinContent(10,8018.747); h_SL3L370->SetBinContent(11,7964.011); h_SL3L370->SetBinContent(12,7486.596); h_SL3L370->SetBinContent(13,7729.865); h_SL3L370->SetBinContent(14,7906.234); h_SL3L370->SetBinContent(15,7653.843); h_SL3L370->SetBinContent(16,7368.002); h_SL3L370->SetBinContent(17,7848.458); h_SL3L370->SetBinContent(18,7957.929); h_SL3L370->SetBinContent(19,7891.03); h_SL3L370->SetBinContent(20,7714.661); h_SL3L370->SetBinContent(21,8122.136); h_SL3L370->SetBinContent(22,8189.035); h_SL3L370->SetBinContent(23,8131.258); h_SL3L370->SetBinContent(24,7462.269); h_SL3L370->SetBinContent(25,8271.138); h_SL3L370->SetBinContent(26,8195.116); h_SL3L370->SetBinContent(27,8131.258); h_SL3L370->SetBinContent(28,7881.908); h_SL3L370->SetBinContent(29,8195.116); h_SL3L370->SetBinContent(30,8617.796); h_SL3L370->SetBinContent(31,8365.404); h_SL3L370->SetBinContent(32,7954.888); h_SL3L370->SetBinContent(33,8462.712); h_SL3L370->SetBinContent(34,8620.837); h_SL3L370->SetBinContent(35,8617.796); h_SL3L370->SetBinContent(36,8094.768); h_SL3L370->SetBinContent(37,8654.286); h_SL3L370->SetBinContent(38,8608.673); h_SL3L370->SetBinContent(39,8085.646); h_SL3L370->SetBinContent(40,7827.172); h_SL3L370->SetBinContent(41,8718.145); h_SL3L370->SetBinContent(42,8550.896); h_SL3L370->SetBinContent(43,8538.733); h_SL3L370->SetBinContent(44,8009.624); h_SL3L370->SetBinContent(45,10475.76); h_SL3L370->SetBinContent(46,8313.71); h_SL3L370->SetBinContent(47,8143.422); h_SL3L370->SetBinContent(48,7295.022); h_SL3L370->SetBinContent(49,7918.398); h_SL3L370->SetBinContent(50,3874.055); h_SL3L370->SetBinContent(51,4619.065); h_SL3L370->SetBinContent(52,6546.97); h_SL3L370->SetBinContent(53,7304.145); h_SL3L370->SetBinContent(54,7115.611); h_SL3L370->SetBinContent(55,6887.547); h_SL3L370->SetBinContent(56,6854.097); h_SL3L370->SetBinContent(57,7003.099); h_SL3L370->SetBinContent(58,6440.541); h_SL3L370->SetBinContent(59,4962.683); h_SL3L370->SetMaximum(12047.12); 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,4831.926); h_SL3L471->SetBinContent(3,1295.406); h_SL3L471->SetBinContent(4,3551.724); h_SL3L471->SetBinContent(5,6565.215); h_SL3L471->SetBinContent(6,7255.491); h_SL3L471->SetBinContent(7,7480.514); h_SL3L471->SetBinContent(8,7231.164); h_SL3L471->SetBinContent(9,7304.145); h_SL3L471->SetBinContent(10,8149.503); h_SL3L471->SetBinContent(11,7942.725); h_SL3L471->SetBinContent(12,7623.435); h_SL3L471->SetBinContent(13,7431.86); h_SL3L471->SetBinContent(14,7954.888); h_SL3L471->SetBinContent(15,7848.458); h_SL3L471->SetBinContent(16,7462.269); h_SL3L471->SetBinContent(17,7608.23); h_SL3L471->SetBinContent(18,8116.054); h_SL3L471->SetBinContent(19,7860.622); h_SL3L471->SetBinContent(20,7781.56); h_SL3L471->SetBinContent(21,7924.48); h_SL3L471->SetBinContent(22,8246.811); h_SL3L471->SetBinContent(23,8155.585); h_SL3L471->SetBinContent(24,7918.398); h_SL3L471->SetBinContent(25,7982.256); h_SL3L471->SetBinContent(26,8544.815); h_SL3L471->SetBinContent(27,8231.606); h_SL3L471->SetBinContent(28,7738.987); h_SL3L471->SetBinContent(29,8030.91); h_SL3L471->SetBinContent(30,8669.49); h_SL3L471->SetBinContent(31,8453.589); h_SL3L471->SetBinContent(32,7894.071); h_SL3L471->SetBinContent(33,8438.385); h_SL3L471->SetBinContent(34,8696.858); h_SL3L471->SetBinContent(35,8669.49); h_SL3L471->SetBinContent(36,8380.608); h_SL3L471->SetBinContent(37,8024.828); h_SL3L471->SetBinContent(38,9034.394); h_SL3L471->SetBinContent(39,8255.934); h_SL3L471->SetBinContent(40,7954.888); h_SL3L471->SetBinContent(41,8359.322); h_SL3L471->SetBinContent(42,8782.002); h_SL3L471->SetBinContent(43,8471.834); h_SL3L471->SetBinContent(44,8274.179); h_SL3L471->SetBinContent(45,8204.239); h_SL3L471->SetBinContent(46,8474.875); h_SL3L471->SetBinContent(47,8295.465); h_SL3L471->SetBinContent(48,7404.493); h_SL3L471->SetBinContent(49,7529.168); h_SL3L471->SetBinContent(51,1979.599); h_SL3L471->SetBinContent(52,6501.357); h_SL3L471->SetBinContent(53,7161.224); h_SL3L471->SetBinContent(54,7489.637); h_SL3L471->SetBinContent(55,7149.061); h_SL3L471->SetBinContent(56,6613.869); h_SL3L471->SetBinContent(57,7079.121); h_SL3L471->SetBinContent(58,6726.381); h_SL3L471->SetBinContent(59,5555.65); h_SL3L471->SetMaximum(12047.12); 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 5873"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }