void RatesPerCell_Removing_noisy_cells_run_6653_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:05 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16163.11,67.5,145468); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6653",60,0,60); h_SL1L160->SetBinContent(1,32570.54); h_SL1L160->SetBinContent(2,30421.07); h_SL1L160->SetBinContent(3,31011.4); h_SL1L160->SetBinContent(4,29183.28); h_SL1L160->SetBinContent(5,27443.23); h_SL1L160->SetBinContent(6,29138.05); h_SL1L160->SetBinContent(7,27669.37); h_SL1L160->SetBinContent(8,27207.57); h_SL1L160->SetBinContent(9,25796.02); h_SL1L160->SetBinContent(10,23120.49); h_SL1L160->SetBinContent(11,22770.57); h_SL1L160->SetBinContent(12,22511.11); h_SL1L160->SetBinContent(13,24113.1); h_SL1L160->SetBinContent(14,23210.94); h_SL1L160->SetBinContent(15,23279.97); h_SL1L160->SetBinContent(16,22106.45); h_SL1L160->SetBinContent(17,22346.87); h_SL1L160->SetBinContent(18,23313.3); h_SL1L160->SetBinContent(19,25265.2); h_SL1L160->SetBinContent(20,23772.71); h_SL1L160->SetBinContent(21,25796.02); h_SL1L160->SetBinContent(22,25672.24); h_SL1L160->SetBinContent(23,25591.3); h_SL1L160->SetBinContent(24,23082.4); h_SL1L160->SetBinContent(25,23815.55); h_SL1L160->SetBinContent(26,23284.73); h_SL1L160->SetBinContent(27,23020.51); h_SL1L160->SetBinContent(28,23310.92); h_SL1L160->SetBinContent(29,23030.03); h_SL1L160->SetBinContent(30,22537.3); h_SL1L160->SetBinContent(31,22161.2); h_SL1L160->SetBinContent(32,21804.14); h_SL1L160->SetBinContent(33,34072.55); h_SL1L160->SetBinContent(34,42672.8); h_SL1L160->SetBinContent(35,44867.5); h_SL1L160->SetBinContent(36,43644); h_SL1L160->SetBinContent(37,47919.13); h_SL1L160->SetBinContent(38,47105.05); h_SL1L160->SetBinContent(39,36083.95); h_SL1L160->SetBinContent(40,21896.98); h_SL1L160->SetBinContent(41,19978.4); h_SL1L160->SetBinContent(42,19228.59); h_SL1L160->SetBinContent(43,19240.49); h_SL1L160->SetBinContent(44,18493.06); h_SL1L160->SetBinContent(45,18197.89); h_SL1L160->SetBinContent(46,17041.03); h_SL1L160->SetBinContent(47,16676.84); h_SL1L160->SetBinContent(48,15529.5); h_SL1L160->SetBinContent(49,15936.54); h_SL1L160->SetBinContent(50,16805.38); h_SL1L160->SetBinContent(51,15791.34); h_SL1L160->SetBinContent(52,15098.66); h_SL1L160->SetBinContent(53,16338.83); h_SL1L160->SetBinContent(54,16069.84); h_SL1L160->SetBinContent(55,16626.85); h_SL1L160->SetBinContent(56,17595.66); h_SL1L160->SetBinContent(57,19490.43); h_SL1L160->SetBinContent(58,20352.12); h_SL1L160->SetBinContent(59,22199.29); h_SL1L160->SetMaximum(129304.8); 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,36950.41); h_SL1L261->SetBinContent(2,34567.66); h_SL1L261->SetBinContent(3,34760.47); h_SL1L261->SetBinContent(4,35210.36); h_SL1L261->SetBinContent(5,34220.13); h_SL1L261->SetBinContent(6,37662.14); h_SL1L261->SetBinContent(7,36945.65); h_SL1L261->SetBinContent(8,35998.26); h_SL1L261->SetBinContent(9,35357.95); h_SL1L261->SetBinContent(10,30966.17); h_SL1L261->SetBinContent(11,29885.48); h_SL1L261->SetBinContent(12,31004.26); h_SL1L261->SetBinContent(13,31958.78); h_SL1L261->SetBinContent(14,34401.04); h_SL1L261->SetBinContent(15,34767.61); h_SL1L261->SetBinContent(16,34184.42); h_SL1L261->SetBinContent(17,34022.56); h_SL1L261->SetBinContent(18,34750.95); h_SL1L261->SetBinContent(19,35945.89); h_SL1L261->SetBinContent(20,36786.16); h_SL1L261->SetBinContent(21,38259.61); h_SL1L261->SetBinContent(22,38473.84); h_SL1L261->SetBinContent(23,39504.54); h_SL1L261->SetBinContent(24,39856.83); h_SL1L261->SetBinContent(25,40149.62); h_SL1L261->SetBinContent(26,38554.77); h_SL1L261->SetBinContent(27,37274.14); h_SL1L261->SetBinContent(28,37309.84); h_SL1L261->SetBinContent(29,39128.44); h_SL1L261->SetBinContent(30,39166.53); h_SL1L261->SetBinContent(31,39109.4); h_SL1L261->SetBinContent(32,41251.73); h_SL1L261->SetBinContent(33,50789.85); h_SL1L261->SetBinContent(34,80537.27); h_SL1L261->SetBinContent(35,88587.67); h_SL1L261->SetBinContent(36,92758.07); h_SL1L261->SetBinContent(37,97773.5); h_SL1L261->SetBinContent(38,96633.3); h_SL1L261->SetBinContent(39,83322.3); h_SL1L261->SetBinContent(40,48100.04); h_SL1L261->SetBinContent(41,37138.46); h_SL1L261->SetBinContent(42,33403.66); h_SL1L261->SetBinContent(43,32220.62); h_SL1L261->SetBinContent(44,31397.02); h_SL1L261->SetBinContent(45,31787.4); h_SL1L261->SetBinContent(46,31106.61); h_SL1L261->SetBinContent(47,31813.58); h_SL1L261->SetBinContent(48,31889.75); h_SL1L261->SetBinContent(49,29364.18); h_SL1L261->SetBinContent(50,29290.39); h_SL1L261->SetBinContent(51,28319.2); h_SL1L261->SetBinContent(52,27202.81); h_SL1L261->SetBinContent(53,28269.22); h_SL1L261->SetBinContent(54,27905.02); h_SL1L261->SetBinContent(55,28890.49); h_SL1L261->SetBinContent(56,29119.01); h_SL1L261->SetBinContent(57,27976.43); h_SL1L261->SetBinContent(58,27471.79); h_SL1L261->SetBinContent(59,26717.22); h_SL1L261->SetMaximum(112439.5); 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,34191.57); h_SL1L362->SetBinContent(2,33132.3); h_SL1L362->SetBinContent(3,33670.27); h_SL1L362->SetBinContent(4,33422.71); h_SL1L362->SetBinContent(5,35396.03); h_SL1L362->SetBinContent(6,36662.38); h_SL1L362->SetBinContent(7,34689.06); h_SL1L362->SetBinContent(8,35317.48); h_SL1L362->SetBinContent(9,31880.23); h_SL1L362->SetBinContent(10,29121.39); h_SL1L362->SetBinContent(11,29209.46); h_SL1L362->SetBinContent(12,30844.77); h_SL1L362->SetBinContent(13,32282.51); h_SL1L362->SetBinContent(14,33317.97); h_SL1L362->SetBinContent(15,33694.07); h_SL1L362->SetBinContent(16,31984.97); h_SL1L362->SetBinContent(17,32753.82); h_SL1L362->SetBinContent(18,34234.41); h_SL1L362->SetBinContent(19,34922.34); h_SL1L362->SetBinContent(20,35567.41); h_SL1L362->SetBinContent(21,37343.17); h_SL1L362->SetBinContent(22,38281.03); h_SL1L362->SetBinContent(23,37700.22); h_SL1L362->SetBinContent(24,38450.04); h_SL1L362->SetBinContent(25,38864.22); h_SL1L362->SetBinContent(26,35562.66); h_SL1L362->SetBinContent(27,36236.3); h_SL1L362->SetBinContent(28,36926.61); h_SL1L362->SetBinContent(29,37621.67); h_SL1L362->SetBinContent(30,38145.35); h_SL1L362->SetBinContent(31,38495.27); h_SL1L362->SetBinContent(32,40409.08); h_SL1L362->SetBinContent(33,67588.09); h_SL1L362->SetBinContent(34,84341.09); h_SL1L362->SetBinContent(35,90668.11); h_SL1L362->SetBinContent(36,94538.58); h_SL1L362->SetBinContent(37,97623.53); h_SL1L362->SetBinContent(38,90760.95); h_SL1L362->SetBinContent(39,67983.23); h_SL1L362->SetBinContent(40,37702.6); h_SL1L362->SetBinContent(41,33077.55); h_SL1L362->SetBinContent(42,32342.02); h_SL1L362->SetBinContent(43,31399.4); h_SL1L362->SetBinContent(44,30323.47); h_SL1L362->SetBinContent(45,30273.48); h_SL1L362->SetBinContent(46,30225.88); h_SL1L362->SetBinContent(47,30916.18); h_SL1L362->SetBinContent(48,29830.74); h_SL1L362->SetBinContent(49,28573.9); h_SL1L362->SetBinContent(50,28273.98); h_SL1L362->SetBinContent(51,27064.75); h_SL1L362->SetBinContent(52,26545.83); h_SL1L362->SetBinContent(53,27445.61); h_SL1L362->SetBinContent(54,27400.38); h_SL1L362->SetBinContent(55,28021.66); h_SL1L362->SetBinContent(56,27079.03); h_SL1L362->SetBinContent(57,26979.06); h_SL1L362->SetBinContent(58,25888.85); h_SL1L362->SetBinContent(59,25934.08); h_SL1L362->SetMaximum(112439.5); 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,9376.258); h_SL1L463->SetBinContent(3,8300.333); h_SL1L463->SetBinContent(4,7710.002); h_SL1L463->SetBinContent(5,7483.868); h_SL1L463->SetBinContent(6,7486.249); h_SL1L463->SetBinContent(7,7957.561); h_SL1L463->SetBinContent(8,7783.794); h_SL1L463->SetBinContent(9,8374.125); h_SL1L463->SetBinContent(10,7962.321); h_SL1L463->SetBinContent(11,8371.744); h_SL1L463->SetBinContent(12,8647.866); h_SL1L463->SetBinContent(13,8883.522); h_SL1L463->SetBinContent(14,9528.602); h_SL1L463->SetBinContent(15,8809.731); h_SL1L463->SetBinContent(16,8226.542); h_SL1L463->SetBinContent(17,7045.881); h_SL1L463->SetBinContent(18,6891.157); h_SL1L463->SetBinContent(19,7445.782); h_SL1L463->SetBinContent(20,6967.329); h_SL1L463->SetBinContent(21,6986.372); h_SL1L463->SetBinContent(22,7238.69); h_SL1L463->SetBinContent(23,7031.599); h_SL1L463->SetBinContent(24,6912.581); h_SL1L463->SetBinContent(25,6284.164); h_SL1L463->SetBinContent(26,6843.55); h_SL1L463->SetBinContent(27,6291.305); h_SL1L463->SetBinContent(28,6334.152); h_SL1L463->SetBinContent(29,6167.526); h_SL1L463->SetBinContent(30,6174.667); h_SL1L463->SetBinContent(31,6455.55); h_SL1L463->SetBinContent(32,6210.373); h_SL1L463->SetBinContent(33,6243.698); h_SL1L463->SetBinContent(34,8812.111); h_SL1L463->SetBinContent(35,11092.5); h_SL1L463->SetBinContent(36,10706.88); h_SL1L463->SetBinContent(37,9464.332); h_SL1L463->SetBinContent(38,9730.933); h_SL1L463->SetBinContent(39,9523.841); h_SL1L463->SetBinContent(40,5996.14); h_SL1L463->SetBinContent(41,5605.76); h_SL1L463->SetBinContent(42,5665.269); h_SL1L463->SetBinContent(43,5636.705); h_SL1L463->SetBinContent(44,5727.159); h_SL1L463->SetBinContent(45,5220.141); h_SL1L463->SetBinContent(46,5910.447); h_SL1L463->SetBinContent(47,4924.976); h_SL1L463->SetBinContent(48,4905.933); h_SL1L463->SetBinContent(49,4229.909); h_SL1L463->SetBinContent(50,4570.301); h_SL1L463->SetBinContent(51,4251.332); h_SL1L463->SetBinContent(52,4120.412); h_SL1L463->SetBinContent(53,3806.204); h_SL1L463->SetBinContent(54,4106.13); h_SL1L463->SetBinContent(56,4234.669); h_SL1L463->SetBinContent(57,4258.473); h_SL1L463->SetBinContent(58,5558.152); h_SL1L463->SetBinContent(59,6046.127); h_SL1L463->SetMaximum(112439.5); 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 6653"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }