void RatesPerCell_Removing_noisy_cells_run_6812_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13851.18,67.5,124660.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6812",60,0,60); h_SL1L160->SetBinContent(1,18658.81); h_SL1L160->SetBinContent(2,18308.16); h_SL1L160->SetBinContent(3,18456.51); h_SL1L160->SetBinContent(4,17613.6); h_SL1L160->SetBinContent(5,17413.54); h_SL1L160->SetBinContent(6,18173.29); h_SL1L160->SetBinContent(7,17730.48); h_SL1L160->SetBinContent(8,17552.91); h_SL1L160->SetBinContent(9,16094.1); h_SL1L160->SetBinContent(10,14878.05); h_SL1L160->SetBinContent(11,15314.12); h_SL1L160->SetBinContent(12,15269.16); h_SL1L160->SetBinContent(13,16276.17); h_SL1L160->SetBinContent(14,16040.15); h_SL1L160->SetBinContent(15,16154.79); h_SL1L160->SetBinContent(16,14869.06); h_SL1L160->SetBinContent(17,15554.63); h_SL1L160->SetBinContent(18,16981.97); h_SL1L160->SetBinContent(19,17534.92); h_SL1L160->SetBinContent(20,17112.34); h_SL1L160->SetBinContent(21,18000.21); h_SL1L160->SetBinContent(22,18105.86); h_SL1L160->SetBinContent(23,18126.09); h_SL1L160->SetBinContent(24,16948.25); h_SL1L160->SetBinContent(25,17593.37); h_SL1L160->SetBinContent(26,16970.73); h_SL1L160->SetBinContent(27,16534.66); h_SL1L160->SetBinContent(28,17737.22); h_SL1L160->SetBinContent(29,17287.67); h_SL1L160->SetBinContent(30,17964.25); h_SL1L160->SetBinContent(31,17559.65); h_SL1L160->SetBinContent(32,19036.44); h_SL1L160->SetBinContent(33,39603.62); h_SL1L160->SetBinContent(34,54549.1); h_SL1L160->SetBinContent(35,58123.07); h_SL1L160->SetBinContent(36,58534.41); h_SL1L160->SetBinContent(37,63738.02); h_SL1L160->SetBinContent(38,61285.69); h_SL1L160->SetBinContent(39,41824.42); h_SL1L160->SetBinContent(40,18973.5); h_SL1L160->SetBinContent(41,16849.35); h_SL1L160->SetBinContent(42,16188.5); h_SL1L160->SetBinContent(43,15466.97); h_SL1L160->SetBinContent(44,15224.21); h_SL1L160->SetBinContent(45,14039.63); h_SL1L160->SetBinContent(46,13390.02); h_SL1L160->SetBinContent(47,13255.15); h_SL1L160->SetBinContent(48,12843.81); h_SL1L160->SetBinContent(49,12506.64); h_SL1L160->SetBinContent(50,12490.91); h_SL1L160->SetBinContent(51,12115.53); h_SL1L160->SetBinContent(52,12151.49); h_SL1L160->SetBinContent(53,12306.59); h_SL1L160->SetBinContent(54,11677.21); h_SL1L160->SetBinContent(55,12418.98); h_SL1L160->SetBinContent(56,12524.62); h_SL1L160->SetBinContent(57,13095.56); h_SL1L160->SetBinContent(58,13554.11); h_SL1L160->SetBinContent(59,13268.64); h_SL1L160->SetMaximum(110809.4); 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,19056.67); h_SL1L261->SetBinContent(2,18222.74); h_SL1L261->SetBinContent(3,18501.47); h_SL1L261->SetBinContent(4,18553.17); h_SL1L261->SetBinContent(5,18335.13); h_SL1L261->SetBinContent(6,20047.94); h_SL1L261->SetBinContent(7,19232); h_SL1L261->SetBinContent(8,19121.86); h_SL1L261->SetBinContent(9,18589.13); h_SL1L261->SetBinContent(10,16597.6); h_SL1L261->SetBinContent(11,16303.14); h_SL1L261->SetBinContent(12,16473.97); h_SL1L261->SetBinContent(13,16847.1); h_SL1L261->SetBinContent(14,18389.08); h_SL1L261->SetBinContent(15,18429.54); h_SL1L261->SetBinContent(16,18177.79); h_SL1L261->SetBinContent(17,17890.07); h_SL1L261->SetBinContent(18,18640.83); h_SL1L261->SetBinContent(19,18984.74); h_SL1L261->SetBinContent(20,19560.17); h_SL1L261->SetBinContent(21,19971.52); h_SL1L261->SetBinContent(22,20605.39); h_SL1L261->SetBinContent(23,20861.64); h_SL1L261->SetBinContent(24,20965.03); h_SL1L261->SetBinContent(25,21504.5); h_SL1L261->SetBinContent(26,20427.81); h_SL1L261->SetBinContent(27,19888.35); h_SL1L261->SetBinContent(28,21214.54); h_SL1L261->SetBinContent(29,21407.85); h_SL1L261->SetBinContent(30,21421.33); h_SL1L261->SetBinContent(31,21886.62); h_SL1L261->SetBinContent(32,23019.5); h_SL1L261->SetBinContent(33,34822.59); h_SL1L261->SetBinContent(34,66500.54); h_SL1L261->SetBinContent(35,74628.51); h_SL1L261->SetBinContent(36,80086.12); h_SL1L261->SetBinContent(37,83788.2); h_SL1L261->SetBinContent(38,81900.07); h_SL1L261->SetBinContent(39,69209.11); h_SL1L261->SetBinContent(40,33579.57); h_SL1L261->SetBinContent(41,22248.52); h_SL1L261->SetBinContent(42,19310.67); h_SL1L261->SetBinContent(43,18847.63); h_SL1L261->SetBinContent(44,18018.2); h_SL1L261->SetBinContent(45,17555.15); h_SL1L261->SetBinContent(46,17820.39); h_SL1L261->SetBinContent(47,17436.02); h_SL1L261->SetBinContent(48,16586.36); h_SL1L261->SetBinContent(49,23086.94); h_SL1L261->SetBinContent(50,16085.11); h_SL1L261->SetBinContent(51,15570.36); h_SL1L261->SetBinContent(52,15266.91); h_SL1L261->SetBinContent(53,15442.24); h_SL1L261->SetBinContent(54,15613.07); h_SL1L261->SetBinContent(55,15037.64); h_SL1L261->SetBinContent(56,17260.69); h_SL1L261->SetBinContent(57,15015.16); h_SL1L261->SetBinContent(58,14540.88); h_SL1L261->SetBinContent(59,14345.33); h_SL1L261->SetMaximum(96356.43); 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,15062.37); h_SL1L362->SetBinContent(2,14417.25); h_SL1L362->SetBinContent(3,14936.49); h_SL1L362->SetBinContent(4,15066.86); h_SL1L362->SetBinContent(5,15273.66); h_SL1L362->SetBinContent(6,15961.48); h_SL1L362->SetBinContent(7,15201.73); h_SL1L362->SetBinContent(8,15064.61); h_SL1L362->SetBinContent(9,13828.34); h_SL1L362->SetBinContent(10,12825.83); h_SL1L362->SetBinContent(11,13284.37); h_SL1L362->SetBinContent(12,13889.03); h_SL1L362->SetBinContent(13,13956.46); h_SL1L362->SetBinContent(14,14361.06); h_SL1L362->SetBinContent(15,15136.54); h_SL1L362->SetBinContent(16,13781.13); h_SL1L362->SetBinContent(17,14057.61); h_SL1L362->SetBinContent(18,14911.77); h_SL1L362->SetBinContent(19,15105.07); h_SL1L362->SetBinContent(20,15550.13); h_SL1L362->SetBinContent(21,16246.95); h_SL1L362->SetBinContent(22,16186.26); h_SL1L362->SetBinContent(23,16467.23); h_SL1L362->SetBinContent(24,16761.69); h_SL1L362->SetBinContent(25,15939); h_SL1L362->SetBinContent(26,14909.52); h_SL1L362->SetBinContent(27,15822.12); h_SL1L362->SetBinContent(28,15493.94); h_SL1L362->SetBinContent(29,16539.16); h_SL1L362->SetBinContent(30,16213.23); h_SL1L362->SetBinContent(31,16838.11); h_SL1L362->SetBinContent(32,17690.02); h_SL1L362->SetBinContent(33,35831.84); h_SL1L362->SetBinContent(34,50026.57); h_SL1L362->SetBinContent(35,53371.26); h_SL1L362->SetBinContent(36,55311.09); h_SL1L362->SetBinContent(37,57767.92); h_SL1L362->SetBinContent(38,51887.73); h_SL1L362->SetBinContent(39,38358.35); h_SL1L362->SetBinContent(40,16898.8); h_SL1L362->SetBinContent(41,14891.54); h_SL1L362->SetBinContent(42,15457.98); h_SL1L362->SetBinContent(43,14902.77); h_SL1L362->SetBinContent(44,14122.79); h_SL1L362->SetBinContent(45,13479.93); h_SL1L362->SetBinContent(46,13511.4); h_SL1L362->SetBinContent(47,13781.13); h_SL1L362->SetBinContent(48,12765.14); h_SL1L362->SetBinContent(49,12996.66); h_SL1L362->SetBinContent(50,12308.84); h_SL1L362->SetBinContent(51,11953.69); h_SL1L362->SetBinContent(52,11931.21); h_SL1L362->SetBinContent(53,13473.19); h_SL1L362->SetBinContent(54,11418.72); h_SL1L362->SetBinContent(55,11985.16); h_SL1L362->SetBinContent(56,14450.97); h_SL1L362->SetBinContent(57,11852.54); h_SL1L362->SetBinContent(58,11115.27); h_SL1L362->SetBinContent(59,10690.44); h_SL1L362->SetMaximum(96356.43); 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,16244.7); h_SL1L463->SetBinContent(3,15581.6); h_SL1L463->SetBinContent(4,15352.33); h_SL1L463->SetBinContent(5,15203.98); h_SL1L463->SetBinContent(6,16148.04); h_SL1L463->SetBinContent(7,15882.81); h_SL1L463->SetBinContent(8,16031.16); h_SL1L463->SetBinContent(9,16037.9); h_SL1L463->SetBinContent(10,15042.14); h_SL1L463->SetBinContent(11,14152.02); h_SL1L463->SetBinContent(12,14754.42); h_SL1L463->SetBinContent(13,15514.17); h_SL1L463->SetBinContent(14,16116.57); h_SL1L463->SetBinContent(15,16069.37); h_SL1L463->SetBinContent(16,15786.15); h_SL1L463->SetBinContent(17,14862.31); h_SL1L463->SetBinContent(18,15075.85); h_SL1L463->SetBinContent(19,15487.2); h_SL1L463->SetBinContent(20,15880.56); h_SL1L463->SetBinContent(21,16179.51); h_SL1L463->SetBinContent(22,16375.07); h_SL1L463->SetBinContent(23,16525.67); h_SL1L463->SetBinContent(24,16694.25); h_SL1L463->SetBinContent(25,16336.86); h_SL1L463->SetBinContent(26,16415.53); h_SL1L463->SetBinContent(27,16073.87); h_SL1L463->SetBinContent(28,16267.18); h_SL1L463->SetBinContent(29,16464.98); h_SL1L463->SetBinContent(30,16707.74); h_SL1L463->SetBinContent(31,16759.44); h_SL1L463->SetBinContent(32,17766.45); h_SL1L463->SetBinContent(33,24440.1); h_SL1L463->SetBinContent(34,52029.34); h_SL1L463->SetBinContent(35,61366.61); h_SL1L463->SetBinContent(36,62888.36); h_SL1L463->SetBinContent(37,60993.48); h_SL1L463->SetBinContent(38,62845.65); h_SL1L463->SetBinContent(39,57289.14); h_SL1L463->SetBinContent(40,24788.51); h_SL1L463->SetBinContent(41,16267.18); h_SL1L463->SetBinContent(42,14304.87); h_SL1L463->SetBinContent(43,14455.47); h_SL1L463->SetBinContent(44,13814.85); h_SL1L463->SetBinContent(45,12243.65); h_SL1L463->SetBinContent(46,12630.27); h_SL1L463->SetBinContent(47,12133.51); h_SL1L463->SetBinContent(48,12012.13); h_SL1L463->SetBinContent(49,10962.42); h_SL1L463->SetBinContent(50,11281.6); h_SL1L463->SetBinContent(51,10706.17); h_SL1L463->SetBinContent(52,10560.07); h_SL1L463->SetBinContent(53,10753.37); h_SL1L463->SetBinContent(54,10665.71); h_SL1L463->SetBinContent(56,10975.9); h_SL1L463->SetBinContent(57,11020.86); h_SL1L463->SetBinContent(58,12133.51); h_SL1L463->SetBinContent(59,12477.42); h_SL1L463->SetMaximum(96356.43); 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 6812"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }