void RatesPerCell_Removing_noisy_cells_run_6818_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13855.06,67.5,124695.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6818",60,0,60); h_SL1L160->SetBinContent(1,18554.16); h_SL1L160->SetBinContent(2,17798.23); h_SL1L160->SetBinContent(3,18411.15); h_SL1L160->SetBinContent(4,17743.75); h_SL1L160->SetBinContent(5,17903.79); h_SL1L160->SetBinContent(6,17689.27); h_SL1L160->SetBinContent(7,17944.65); h_SL1L160->SetBinContent(8,17593.93); h_SL1L160->SetBinContent(9,16422.59); h_SL1L160->SetBinContent(10,14900.53); h_SL1L160->SetBinContent(11,14897.13); h_SL1L160->SetBinContent(12,15741.58); h_SL1L160->SetBinContent(13,16613.28); h_SL1L160->SetBinContent(14,16167.21); h_SL1L160->SetBinContent(15,15806.28); h_SL1L160->SetBinContent(16,14982.25); h_SL1L160->SetBinContent(17,15819.9); h_SL1L160->SetBinContent(18,16286.39); h_SL1L160->SetBinContent(19,17413.46); h_SL1L160->SetBinContent(20,16677.97); h_SL1L160->SetBinContent(21,17600.74); h_SL1L160->SetBinContent(22,18513.3); h_SL1L160->SetBinContent(23,17770.99); h_SL1L160->SetBinContent(24,16977.62); h_SL1L160->SetBinContent(25,17679.06); h_SL1L160->SetBinContent(26,16507.72); h_SL1L160->SetBinContent(27,17117.22); h_SL1L160->SetBinContent(28,17519.02); h_SL1L160->SetBinContent(29,16855.04); h_SL1L160->SetBinContent(30,17212.56); h_SL1L160->SetBinContent(31,17559.88); h_SL1L160->SetBinContent(32,19524.6); h_SL1L160->SetBinContent(33,41105.85); h_SL1L160->SetBinContent(34,54521.78); h_SL1L160->SetBinContent(35,59768.97); h_SL1L160->SetBinContent(36,60392.1); h_SL1L160->SetBinContent(37,64682.47); h_SL1L160->SetBinContent(38,62670.08); h_SL1L160->SetBinContent(39,42903.72); h_SL1L160->SetBinContent(40,18772.08); h_SL1L160->SetBinContent(41,16075.28); h_SL1L160->SetBinContent(42,15666.67); h_SL1L160->SetBinContent(43,15227.42); h_SL1L160->SetBinContent(44,14886.91); h_SL1L160->SetBinContent(45,14100.34); h_SL1L160->SetBinContent(46,13323.99); h_SL1L160->SetBinContent(47,13347.83); h_SL1L160->SetBinContent(48,12660); h_SL1L160->SetBinContent(49,12591.9); h_SL1L160->SetBinContent(50,12660); h_SL1L160->SetBinContent(51,11934.73); h_SL1L160->SetBinContent(52,12435.27); h_SL1L160->SetBinContent(53,11982.4); h_SL1L160->SetBinContent(54,11747.45); h_SL1L160->SetBinContent(55,12585.09); h_SL1L160->SetBinContent(56,12837.07); h_SL1L160->SetBinContent(57,13106.07); h_SL1L160->SetBinContent(58,12915.38); h_SL1L160->SetBinContent(59,13627.04); h_SL1L160->SetMaximum(110840.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,19558.65); h_SL1L261->SetBinContent(2,18169.39); h_SL1L261->SetBinContent(3,18663.12); h_SL1L261->SetBinContent(4,18632.47); h_SL1L261->SetBinContent(5,17832.29); h_SL1L261->SetBinContent(6,18962.77); h_SL1L261->SetBinContent(7,19623.35); h_SL1L261->SetBinContent(8,19170.47); h_SL1L261->SetBinContent(9,18554.16); h_SL1L261->SetBinContent(10,16586.04); h_SL1L261->SetBinContent(11,16157); h_SL1L261->SetBinContent(12,16211.48); h_SL1L261->SetBinContent(13,17413.46); h_SL1L261->SetBinContent(14,18686.96); h_SL1L261->SetBinContent(15,18050.21); h_SL1L261->SetBinContent(16,17842.5); h_SL1L261->SetBinContent(17,17239.81); h_SL1L261->SetBinContent(18,18482.65); h_SL1L261->SetBinContent(19,19081.94); h_SL1L261->SetBinContent(20,18935.52); h_SL1L261->SetBinContent(21,19882.13); h_SL1L261->SetBinContent(22,20583.57); h_SL1L261->SetBinContent(23,20420.13); h_SL1L261->SetBinContent(24,21223.72); h_SL1L261->SetBinContent(25,21145.41); h_SL1L261->SetBinContent(26,20641.46); h_SL1L261->SetBinContent(27,19245.38); h_SL1L261->SetBinContent(28,20975.15); h_SL1L261->SetBinContent(29,21407.6); h_SL1L261->SetBinContent(30,20924.08); h_SL1L261->SetBinContent(31,21295.23); h_SL1L261->SetBinContent(32,23716.22); h_SL1L261->SetBinContent(33,34738.39); h_SL1L261->SetBinContent(34,66582.49); h_SL1L261->SetBinContent(35,74618.43); h_SL1L261->SetBinContent(36,79140.34); h_SL1L261->SetBinContent(37,82538.59); h_SL1L261->SetBinContent(38,82034.64); h_SL1L261->SetBinContent(39,69548.3); h_SL1L261->SetBinContent(40,33223.14); h_SL1L261->SetBinContent(41,21979.65); h_SL1L261->SetBinContent(42,18976.38); h_SL1L261->SetBinContent(43,18452.01); h_SL1L261->SetBinContent(44,18029.78); h_SL1L261->SetBinContent(45,17917.41); h_SL1L261->SetBinContent(46,17396.44); h_SL1L261->SetBinContent(47,17314.72); h_SL1L261->SetBinContent(48,16586.04); h_SL1L261->SetBinContent(49,22994.35); h_SL1L261->SetBinContent(50,16780.12); h_SL1L261->SetBinContent(51,15414.7); h_SL1L261->SetBinContent(52,15026.52); h_SL1L261->SetBinContent(53,15101.43); h_SL1L261->SetBinContent(54,15574.73); h_SL1L261->SetBinContent(55,15499.82); h_SL1L261->SetBinContent(56,17304.5); h_SL1L261->SetBinContent(57,14934.58); h_SL1L261->SetBinContent(58,14570.24); h_SL1L261->SetBinContent(59,14039.05); h_SL1L261->SetMaximum(96383.9); 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,17839.1); h_SL1L362->SetBinContent(2,17529.24); h_SL1L362->SetBinContent(3,18380.5); h_SL1L362->SetBinContent(4,18033.18); h_SL1L362->SetBinContent(5,18785.7); h_SL1L362->SetBinContent(6,18469.03); h_SL1L362->SetBinContent(7,18080.86); h_SL1L362->SetBinContent(8,17525.83); h_SL1L362->SetBinContent(9,16909.52); h_SL1L362->SetBinContent(10,15949.29); h_SL1L362->SetBinContent(11,15908.43); h_SL1L362->SetBinContent(12,15945.88); h_SL1L362->SetBinContent(13,17192.13); h_SL1L362->SetBinContent(14,17226.19); h_SL1L362->SetBinContent(15,17580.31); h_SL1L362->SetBinContent(16,16344.28); h_SL1L362->SetBinContent(17,17035.5); h_SL1L362->SetBinContent(18,17971.89); h_SL1L362->SetBinContent(19,18652.9); h_SL1L362->SetBinContent(20,18860.61); h_SL1L362->SetBinContent(21,20031.95); h_SL1L362->SetBinContent(22,20280.52); h_SL1L362->SetBinContent(23,20219.23); h_SL1L362->SetBinContent(24,20188.59); h_SL1L362->SetBinContent(25,20723.18); h_SL1L362->SetBinContent(26,19003.62); h_SL1L362->SetBinContent(27,19361.16); h_SL1L362->SetBinContent(28,20256.69); h_SL1L362->SetBinContent(29,20321.38); h_SL1L362->SetBinContent(30,20372.46); h_SL1L362->SetBinContent(31,20992.18); h_SL1L362->SetBinContent(32,23678.77); h_SL1L362->SetBinContent(33,53118.89); h_SL1L362->SetBinContent(34,71029.5); h_SL1L362->SetBinContent(35,77233.52); h_SL1L362->SetBinContent(36,80859.9); h_SL1L362->SetBinContent(37,83812.09); h_SL1L362->SetBinContent(38,76433.32); h_SL1L362->SetBinContent(39,52686.45); h_SL1L362->SetBinContent(40,23903.5); h_SL1L362->SetBinContent(41,19480.33); h_SL1L362->SetBinContent(42,18431.58); h_SL1L362->SetBinContent(43,17641.6); h_SL1L362->SetBinContent(44,16861.84); h_SL1L362->SetBinContent(45,16521.34); h_SL1L362->SetBinContent(46,17018.48); h_SL1L362->SetBinContent(47,16912.92); h_SL1L362->SetBinContent(48,15653.05); h_SL1L362->SetBinContent(49,15258.06); h_SL1L362->SetBinContent(50,15200.18); h_SL1L362->SetBinContent(51,14423.82); h_SL1L362->SetBinContent(52,14955.01); h_SL1L362->SetBinContent(53,16255.74); h_SL1L362->SetBinContent(54,14716.66); h_SL1L362->SetBinContent(55,15142.29); h_SL1L362->SetBinContent(56,17205.76); h_SL1L362->SetBinContent(57,14532.79); h_SL1L362->SetBinContent(58,13947.12); h_SL1L362->SetBinContent(59,13473.81); h_SL1L362->SetMaximum(96383.9); 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,11423.97); h_SL1L463->SetBinContent(3,10453.53); h_SL1L463->SetBinContent(4,10157.29); h_SL1L463->SetBinContent(5,9547.781); h_SL1L463->SetBinContent(6,10194.74); h_SL1L463->SetBinContent(7,10698.69); h_SL1L463->SetBinContent(8,10038.11); h_SL1L463->SetBinContent(9,10633.99); h_SL1L463->SetBinContent(10,9796.351); h_SL1L463->SetBinContent(11,10620.37); h_SL1L463->SetBinContent(12,10266.25); h_SL1L463->SetBinContent(13,10916.61); h_SL1L463->SetBinContent(14,11005.15); h_SL1L463->SetBinContent(15,10998.34); h_SL1L463->SetBinContent(16,10395.64); h_SL1L463->SetBinContent(17,9360.503); h_SL1L463->SetBinContent(18,9057.453); h_SL1L463->SetBinContent(19,9942.768); h_SL1L463->SetBinContent(20,9626.098); h_SL1L463->SetBinContent(21,9534.161); h_SL1L463->SetBinContent(22,10565.89); h_SL1L463->SetBinContent(23,9666.958); h_SL1L463->SetBinContent(24,9932.553); h_SL1L463->SetBinContent(25,9077.883); h_SL1L463->SetBinContent(26,9452.439); h_SL1L463->SetBinContent(27,8856.555); h_SL1L463->SetBinContent(28,9357.098); h_SL1L463->SetBinContent(29,9309.427); h_SL1L463->SetBinContent(30,9268.566); h_SL1L463->SetBinContent(31,9769.109); h_SL1L463->SetBinContent(32,9302.617); h_SL1L463->SetBinContent(33,11209.45); h_SL1L463->SetBinContent(34,23130.55); h_SL1L463->SetBinContent(35,31367.39); h_SL1L463->SetBinContent(36,29470.77); h_SL1L463->SetBinContent(37,24533.44); h_SL1L463->SetBinContent(38,27087.23); h_SL1L463->SetBinContent(39,29681.88); h_SL1L463->SetBinContent(40,11277.55); h_SL1L463->SetBinContent(41,8454.758); h_SL1L463->SetBinContent(42,8202.783); h_SL1L463->SetBinContent(43,8247.049); h_SL1L463->SetBinContent(44,8144.897); h_SL1L463->SetBinContent(45,6837.355); h_SL1L463->SetBinContent(46,7494.531); h_SL1L463->SetBinContent(47,6833.95); h_SL1L463->SetBinContent(48,6449.179); h_SL1L463->SetBinContent(49,5798.813); h_SL1L463->SetBinContent(50,6040.572); h_SL1L463->SetBinContent(51,5666.016); h_SL1L463->SetBinContent(52,5700.066); h_SL1L463->SetBinContent(53,5560.459); h_SL1L463->SetBinContent(54,5880.534); h_SL1L463->SetBinContent(55,3.405057); h_SL1L463->SetBinContent(56,6330.002); h_SL1L463->SetBinContent(57,6224.445); h_SL1L463->SetBinContent(58,7763.531); h_SL1L463->SetBinContent(59,7637.544); h_SL1L463->SetMaximum(96383.9); 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 6818"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }