void RatesPerCell_Removing_noisy_cells_run_6875_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13817.83,67.5,124360.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6875",60,0,60); h_SL1L160->SetBinContent(1,17952.62); h_SL1L160->SetBinContent(2,17709); h_SL1L160->SetBinContent(3,18633.32); h_SL1L160->SetBinContent(4,17726.91); h_SL1L160->SetBinContent(5,16960.23); h_SL1L160->SetBinContent(6,18164); h_SL1L160->SetBinContent(7,17895.3); h_SL1L160->SetBinContent(8,18070.85); h_SL1L160->SetBinContent(9,16293.86); h_SL1L160->SetBinContent(10,14746.16); h_SL1L160->SetBinContent(11,14864.38); h_SL1L160->SetBinContent(12,16017.99); h_SL1L160->SetBinContent(13,16472.99); h_SL1L160->SetBinContent(14,15799.45); h_SL1L160->SetBinContent(15,16025.16); h_SL1L160->SetBinContent(16,15602.41); h_SL1L160->SetBinContent(17,16154.13); h_SL1L160->SetBinContent(18,16884.99); h_SL1L160->SetBinContent(19,18110.26); h_SL1L160->SetBinContent(20,17855.89); h_SL1L160->SetBinContent(21,18902.02); h_SL1L160->SetBinContent(22,18432.7); h_SL1L160->SetBinContent(23,18013.53); h_SL1L160->SetBinContent(24,17999.2); h_SL1L160->SetBinContent(25,18099.51); h_SL1L160->SetBinContent(26,17623.02); h_SL1L160->SetBinContent(27,17526.29); h_SL1L160->SetBinContent(28,18393.29); h_SL1L160->SetBinContent(29,18189.07); h_SL1L160->SetBinContent(30,18934.26); h_SL1L160->SetBinContent(31,18321.63); h_SL1L160->SetBinContent(32,19915.91); h_SL1L160->SetBinContent(33,43006.04); h_SL1L160->SetBinContent(34,59633.08); h_SL1L160->SetBinContent(35,64265.44); h_SL1L160->SetBinContent(36,64799.25); h_SL1L160->SetBinContent(37,70438.33); h_SL1L160->SetBinContent(38,67916.15); h_SL1L160->SetBinContent(39,46237.58); h_SL1L160->SetBinContent(40,20224.02); h_SL1L160->SetBinContent(41,17734.08); h_SL1L160->SetBinContent(42,16677.2); h_SL1L160->SetBinContent(43,16480.15); h_SL1L160->SetBinContent(44,16089.65); h_SL1L160->SetBinContent(45,15036.35); h_SL1L160->SetBinContent(46,14448.8); h_SL1L160->SetBinContent(47,14258.92); h_SL1L160->SetBinContent(48,13209.2); h_SL1L160->SetBinContent(49,13359.67); h_SL1L160->SetBinContent(50,13345.34); h_SL1L160->SetBinContent(51,12754.21); h_SL1L160->SetBinContent(52,12421.02); h_SL1L160->SetBinContent(53,13076.64); h_SL1L160->SetBinContent(54,12804.36); h_SL1L160->SetBinContent(55,12603.74); h_SL1L160->SetBinContent(56,13205.62); h_SL1L160->SetBinContent(57,13044.4); h_SL1L160->SetBinContent(58,13542.39); h_SL1L160->SetBinContent(59,13893.49); h_SL1L160->SetMaximum(110542.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,18307.3); h_SL1L261->SetBinContent(2,17562.11); h_SL1L261->SetBinContent(3,18300.14); h_SL1L261->SetBinContent(4,17601.52); h_SL1L261->SetBinContent(5,18275.06); h_SL1L261->SetBinContent(6,19622.13); h_SL1L261->SetBinContent(7,19159.97); h_SL1L261->SetBinContent(8,18665.57); h_SL1L261->SetBinContent(9,18002.78); h_SL1L261->SetBinContent(10,16322.52); h_SL1L261->SetBinContent(11,16057.4); h_SL1L261->SetBinContent(12,16215.04); h_SL1L261->SetBinContent(13,17397.31); h_SL1L261->SetBinContent(14,17787.82); h_SL1L261->SetBinContent(15,17827.23); h_SL1L261->SetBinContent(16,17859.47); h_SL1L261->SetBinContent(17,17479.71); h_SL1L261->SetBinContent(18,17884.55); h_SL1L261->SetBinContent(19,18482.85); h_SL1L261->SetBinContent(20,19736.78); h_SL1L261->SetBinContent(21,20489.13); h_SL1L261->SetBinContent(22,20929.8); h_SL1L261->SetBinContent(23,20936.96); h_SL1L261->SetBinContent(24,20643.19); h_SL1L261->SetBinContent(25,21811.13); h_SL1L261->SetBinContent(26,20410.31); h_SL1L261->SetBinContent(27,20026.97); h_SL1L261->SetBinContent(28,20818.73); h_SL1L261->SetBinContent(29,21732.31); h_SL1L261->SetBinContent(30,21839.79); h_SL1L261->SetBinContent(31,21585.42); h_SL1L261->SetBinContent(32,23706.34); h_SL1L261->SetBinContent(33,35177.96); h_SL1L261->SetBinContent(34,66454.43); h_SL1L261->SetBinContent(35,75475.52); h_SL1L261->SetBinContent(36,79584.82); h_SL1L261->SetBinContent(37,83131.63); h_SL1L261->SetBinContent(38,82013.85); h_SL1L261->SetBinContent(39,71144.11); h_SL1L261->SetBinContent(40,33365.15); h_SL1L261->SetBinContent(41,22552.73); h_SL1L261->SetBinContent(42,19367.76); h_SL1L261->SetBinContent(43,18712.14); h_SL1L261->SetBinContent(44,17486.88); h_SL1L261->SetBinContent(45,17709); h_SL1L261->SetBinContent(46,17529.87); h_SL1L261->SetBinContent(47,17594.36); h_SL1L261->SetBinContent(48,16820.51); h_SL1L261->SetBinContent(49,30151.52); h_SL1L261->SetBinContent(50,16480.15); h_SL1L261->SetBinContent(51,15881.85); h_SL1L261->SetBinContent(52,14667.34); h_SL1L261->SetBinContent(53,15484.18); h_SL1L261->SetBinContent(54,15322.96); h_SL1L261->SetBinContent(55,15097.25); h_SL1L261->SetBinContent(56,20327.91); h_SL1L261->SetBinContent(57,14667.34); h_SL1L261->SetBinContent(58,15129.5); h_SL1L261->SetBinContent(59,14151.44); h_SL1L261->SetMaximum(96124.62); 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,17397.31); h_SL1L362->SetBinContent(2,17375.81); h_SL1L362->SetBinContent(3,17923.96); h_SL1L362->SetBinContent(4,17261.17); h_SL1L362->SetBinContent(5,18959.34); h_SL1L362->SetBinContent(6,18601.08); h_SL1L362->SetBinContent(7,18260.73); h_SL1L362->SetBinContent(8,18002.78); h_SL1L362->SetBinContent(9,16286.69); h_SL1L362->SetBinContent(10,14921.71); h_SL1L362->SetBinContent(11,14979.03); h_SL1L362->SetBinContent(12,15749.3); h_SL1L362->SetBinContent(13,16515.98); h_SL1L362->SetBinContent(14,17035.46); h_SL1L362->SetBinContent(15,17350.74); h_SL1L362->SetBinContent(16,16344.01); h_SL1L362->SetBinContent(17,16978.14); h_SL1L362->SetBinContent(18,18106.67); h_SL1L362->SetBinContent(19,18669.15); h_SL1L362->SetBinContent(20,18568.84); h_SL1L362->SetBinContent(21,20044.88); h_SL1L362->SetBinContent(22,19210.13); h_SL1L362->SetBinContent(23,20080.71); h_SL1L362->SetBinContent(24,20485.55); h_SL1L362->SetBinContent(25,20610.94); h_SL1L362->SetBinContent(26,19640.04); h_SL1L362->SetBinContent(27,19571.97); h_SL1L362->SetBinContent(28,20288.5); h_SL1L362->SetBinContent(29,21026.53); h_SL1L362->SetBinContent(30,21065.94); h_SL1L362->SetBinContent(31,21162.67); h_SL1L362->SetBinContent(32,24096.85); h_SL1L362->SetBinContent(33,53116.25); h_SL1L362->SetBinContent(34,72315.63); h_SL1L362->SetBinContent(35,77205.95); h_SL1L362->SetBinContent(36,81411.96); h_SL1L362->SetBinContent(37,83586.62); h_SL1L362->SetBinContent(38,77306.26); h_SL1L362->SetBinContent(39,53549.75); h_SL1L362->SetBinContent(40,23745.75); h_SL1L362->SetBinContent(41,19564.81); h_SL1L362->SetBinContent(42,18425.53); h_SL1L362->SetBinContent(43,17583.61); h_SL1L362->SetBinContent(44,17121.45); h_SL1L362->SetBinContent(45,16523.15); h_SL1L362->SetBinContent(46,17207.43); h_SL1L362->SetBinContent(47,17339.99); h_SL1L362->SetBinContent(48,16000.08); h_SL1L362->SetBinContent(49,15878.27); h_SL1L362->SetBinContent(50,15426.86); h_SL1L362->SetBinContent(51,14527.61); h_SL1L362->SetBinContent(52,14588.52); h_SL1L362->SetBinContent(53,17906.05); h_SL1L362->SetBinContent(54,14903.79); h_SL1L362->SetBinContent(55,14918.12); h_SL1L362->SetBinContent(56,19224.46); h_SL1L362->SetBinContent(57,14796.31); h_SL1L362->SetBinContent(58,13592.54); h_SL1L362->SetBinContent(59,13621.21); h_SL1L362->SetMaximum(96124.62); 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,16268.78); h_SL1L463->SetBinContent(3,15609.57); h_SL1L463->SetBinContent(4,15688.39); h_SL1L463->SetBinContent(5,15580.91); h_SL1L463->SetBinContent(6,16644.96); h_SL1L463->SetBinContent(7,16003.66); h_SL1L463->SetBinContent(8,15896.18); h_SL1L463->SetBinContent(9,15738.55); h_SL1L463->SetBinContent(10,14018.88); h_SL1L463->SetBinContent(11,13864.83); h_SL1L463->SetBinContent(12,13943.64); h_SL1L463->SetBinContent(13,15477.01); h_SL1L463->SetBinContent(14,16422.83); h_SL1L463->SetBinContent(15,16114.73); h_SL1L463->SetBinContent(16,15681.23); h_SL1L463->SetBinContent(17,15014.85); h_SL1L463->SetBinContent(18,15469.85); h_SL1L463->SetBinContent(19,16157.72); h_SL1L463->SetBinContent(20,15846.03); h_SL1L463->SetBinContent(21,16125.47); h_SL1L463->SetBinContent(22,17633.77); h_SL1L463->SetBinContent(23,17261.17); h_SL1L463->SetBinContent(24,17006.8); h_SL1L463->SetBinContent(25,16573.3); h_SL1L463->SetBinContent(26,16938.73); h_SL1L463->SetBinContent(27,16272.36); h_SL1L463->SetBinContent(28,16752.44); h_SL1L463->SetBinContent(29,16999.64); h_SL1L463->SetBinContent(30,17698.25); h_SL1L463->SetBinContent(31,17472.55); h_SL1L463->SetBinContent(32,18866.2); h_SL1L463->SetBinContent(33,26525.88); h_SL1L463->SetBinContent(34,54871.75); h_SL1L463->SetBinContent(35,65773.73); h_SL1L463->SetBinContent(36,65526.53); h_SL1L463->SetBinContent(37,64118.55); h_SL1L463->SetBinContent(38,66031.68); h_SL1L463->SetBinContent(39,60980.16); h_SL1L463->SetBinContent(40,26124.63); h_SL1L463->SetBinContent(41,17626.6); h_SL1L463->SetBinContent(42,15588.08); h_SL1L463->SetBinContent(43,14982.61); h_SL1L463->SetBinContent(44,14556.28); h_SL1L463->SetBinContent(45,12962); h_SL1L463->SetBinContent(46,13159.04); h_SL1L463->SetBinContent(47,12976.33); h_SL1L463->SetBinContent(48,12997.83); h_SL1L463->SetBinContent(49,11622.09); h_SL1L463->SetBinContent(50,12241.89); h_SL1L463->SetBinContent(51,11371.31); h_SL1L463->SetBinContent(52,11099.03); h_SL1L463->SetBinContent(53,11493.12); h_SL1L463->SetBinContent(54,11453.71); h_SL1L463->SetBinContent(56,11579.1); h_SL1L463->SetBinContent(57,11632.84); h_SL1L463->SetBinContent(58,12757.79); h_SL1L463->SetBinContent(59,12034.1); h_SL1L463->SetMaximum(96124.62); 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 6875"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }