void RatesPerCell_Removing_noisy_cells_run_6814_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:54 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13266.11,67.5,119395); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6814",60,0,60); h_SL3L168->SetBinContent(1,9772.23); h_SL3L168->SetBinContent(2,6887.643); h_SL3L168->SetBinContent(4,11589.19); h_SL3L168->SetBinContent(5,11759.39); h_SL3L168->SetBinContent(6,12656.82); h_SL3L168->SetBinContent(7,12051.17); h_SL3L168->SetBinContent(8,12055.59); h_SL3L168->SetBinContent(9,11264.26); h_SL3L168->SetBinContent(10,10844.28); h_SL3L168->SetBinContent(11,10503.88); h_SL3L168->SetBinContent(12,10815.54); h_SL3L168->SetBinContent(13,10937.12); h_SL3L168->SetBinContent(14,11821.28); h_SL3L168->SetBinContent(15,11575.93); h_SL3L168->SetBinContent(16,11354.89); h_SL3L168->SetBinContent(17,11478.67); h_SL3L168->SetBinContent(18,11874.33); h_SL3L168->SetBinContent(19,12219.16); h_SL3L168->SetBinContent(20,12566.19); h_SL3L168->SetBinContent(21,12904.38); h_SL3L168->SetBinContent(22,13134.27); h_SL3L168->SetBinContent(23,13456.99); h_SL3L168->SetBinContent(24,13370.78); h_SL3L168->SetBinContent(25,13613.93); h_SL3L168->SetBinContent(26,13658.13); h_SL3L168->SetBinContent(27,13839.39); h_SL3L168->SetBinContent(28,13704.55); h_SL3L168->SetBinContent(29,13713.39); h_SL3L168->SetBinContent(30,14230.63); h_SL3L168->SetBinContent(31,14721.34); h_SL3L168->SetBinContent(32,15804.44); h_SL3L168->SetBinContent(33,19334.47); h_SL3L168->SetBinContent(34,48991.57); h_SL3L168->SetBinContent(35,68016.58); h_SL3L168->SetBinContent(36,72536.88); h_SL3L168->SetBinContent(37,77558.93); h_SL3L168->SetBinContent(38,80249); h_SL3L168->SetBinContent(39,73394.52); h_SL3L168->SetBinContent(40,49553.01); h_SL3L168->SetBinContent(41,18375.15); h_SL3L168->SetBinContent(42,14000.75); h_SL3L168->SetBinContent(43,12663.45); h_SL3L168->SetBinContent(44,12389.36); h_SL3L168->SetBinContent(45,11662.13); h_SL3L168->SetBinContent(46,11662.13); h_SL3L168->SetBinContent(47,11233.31); h_SL3L168->SetBinContent(48,11111.74); h_SL3L168->SetBinContent(49,10899.54); h_SL3L168->SetBinContent(50,10649.76); h_SL3L168->SetBinContent(51,10340.31); h_SL3L168->SetBinContent(52,10539.24); h_SL3L168->SetBinContent(53,9770.021); h_SL3L168->SetBinContent(54,9688.234); h_SL3L168->SetBinContent(55,10218.73); h_SL3L168->SetBinContent(56,9679.394); h_SL3L168->SetBinContent(57,9509.191); h_SL3L168->SetBinContent(58,7449.088); h_SL3L168->SetBinContent(59,6312.936); h_SL3L168->SetMaximum(106128.9); 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,10033.06); h_SL3L269->SetBinContent(2,7378.354); h_SL3L269->SetBinContent(4,9305.834); h_SL3L269->SetBinContent(5,10985.75); h_SL3L269->SetBinContent(6,11732.87); h_SL3L269->SetBinContent(7,11666.55); h_SL3L269->SetBinContent(8,11580.35); h_SL3L269->SetBinContent(9,11374.78); h_SL3L269->SetBinContent(10,10881.86); h_SL3L269->SetBinContent(11,10167.89); h_SL3L269->SetBinContent(12,9847.385); h_SL3L269->SetBinContent(13,10342.52); h_SL3L269->SetBinContent(14,10937.12); h_SL3L269->SetBinContent(15,10939.33); h_SL3L269->SetBinContent(16,11222.26); h_SL3L269->SetBinContent(17,10987.96); h_SL3L269->SetBinContent(18,10930.49); h_SL3L269->SetBinContent(19,11122.79); h_SL3L269->SetBinContent(20,11792.55); h_SL3L269->SetBinContent(21,11699.71); h_SL3L269->SetBinContent(22,12316.41); h_SL3L269->SetBinContent(23,12663.45); h_SL3L269->SetBinContent(24,12747.44); h_SL3L269->SetBinContent(25,13282.36); h_SL3L269->SetBinContent(26,13048.06); h_SL3L269->SetBinContent(27,13392.88); h_SL3L269->SetBinContent(28,12992.8); h_SL3L269->SetBinContent(29,13103.32); h_SL3L269->SetBinContent(30,13808.44); h_SL3L269->SetBinContent(31,13755.39); h_SL3L269->SetBinContent(32,14182); h_SL3L269->SetBinContent(33,17015.75); h_SL3L269->SetBinContent(34,28512.1); h_SL3L269->SetBinContent(35,60715.59); h_SL3L269->SetBinContent(36,69524.08); h_SL3L269->SetBinContent(37,73909.54); h_SL3L269->SetBinContent(38,78931.59); h_SL3L269->SetBinContent(39,76884.75); h_SL3L269->SetBinContent(40,64420.24); h_SL3L269->SetBinContent(41,28744.2); h_SL3L269->SetBinContent(42,16098.43); h_SL3L269->SetBinContent(43,12491.04); h_SL3L269->SetBinContent(44,11962.75); h_SL3L269->SetBinContent(45,11626.77); h_SL3L269->SetBinContent(46,11268.68); h_SL3L269->SetBinContent(47,11027.74); h_SL3L269->SetBinContent(48,10831.02); h_SL3L269->SetBinContent(49,11920.75); h_SL3L269->SetBinContent(50,10413.25); h_SL3L269->SetBinContent(51,10101.58); h_SL3L269->SetBinContent(52,10541.45); h_SL3L269->SetBinContent(53,11529.51); h_SL3L269->SetBinContent(54,9511.402); h_SL3L269->SetBinContent(55,9705.918); h_SL3L269->SetBinContent(56,9582.135); h_SL3L269->SetBinContent(57,9414.144); h_SL3L269->SetBinContent(58,8600.712); h_SL3L269->SetBinContent(59,7194.89); h_SL3L269->SetMaximum(92286.35); 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,8505.665); h_SL3L370->SetBinContent(2,6392.511); h_SL3L370->SetBinContent(3,7515.4); h_SL3L370->SetBinContent(4,10439.77); h_SL3L370->SetBinContent(5,10459.67); h_SL3L370->SetBinContent(6,11052.06); h_SL3L370->SetBinContent(7,10696.18); h_SL3L370->SetBinContent(8,10873.02); h_SL3L370->SetBinContent(9,10645.34); h_SL3L370->SetBinContent(10,9776.651); h_SL3L370->SetBinContent(11,9458.352); h_SL3L370->SetBinContent(12,9668.341); h_SL3L370->SetBinContent(13,9962.326); h_SL3L370->SetBinContent(14,10490.61); h_SL3L370->SetBinContent(15,10614.4); h_SL3L370->SetBinContent(16,10428.72); h_SL3L370->SetBinContent(17,10267.36); h_SL3L370->SetBinContent(18,10364.62); h_SL3L370->SetBinContent(19,11058.69); h_SL3L370->SetBinContent(20,10921.64); h_SL3L370->SetBinContent(21,11270.89); h_SL3L370->SetBinContent(22,11642.24); h_SL3L370->SetBinContent(23,12263.36); h_SL3L370->SetBinContent(24,12186); h_SL3L370->SetBinContent(25,12413.67); h_SL3L370->SetBinContent(26,12639.13); h_SL3L370->SetBinContent(27,12252.31); h_SL3L370->SetBinContent(28,12278.84); h_SL3L370->SetBinContent(29,12464.51); h_SL3L370->SetBinContent(30,13185.11); h_SL3L370->SetBinContent(31,13874.75); h_SL3L370->SetBinContent(32,14378.73); h_SL3L370->SetBinContent(33,18145.27); h_SL3L370->SetBinContent(34,47201.13); h_SL3L370->SetBinContent(35,66524.55); h_SL3L370->SetBinContent(36,71639.45); h_SL3L370->SetBinContent(37,75945.33); h_SL3L370->SetBinContent(38,78407.73); h_SL3L370->SetBinContent(39,71944.48); h_SL3L370->SetBinContent(40,48421.28); h_SL3L370->SetBinContent(41,17663.4); h_SL3L370->SetBinContent(42,13582.98); h_SL3L370->SetBinContent(43,11653.29); h_SL3L370->SetBinContent(44,11222.26); h_SL3L370->SetBinContent(45,979.2124); h_SL3L370->SetBinContent(46,10678.5); h_SL3L370->SetBinContent(47,10468.51); h_SL3L370->SetBinContent(48,10178.95); h_SL3L370->SetBinContent(49,10262.94); h_SL3L370->SetBinContent(50,9630.764); h_SL3L370->SetBinContent(51,9679.394); h_SL3L370->SetBinContent(52,9723.602); h_SL3L370->SetBinContent(53,9104.687); h_SL3L370->SetBinContent(54,8768.703); h_SL3L370->SetBinContent(55,9243.942); h_SL3L370->SetBinContent(56,8896.907); h_SL3L370->SetBinContent(57,8828.385); h_SL3L370->SetBinContent(58,7294.359); h_SL3L370->SetBinContent(59,6242.203); h_SL3L370->SetMaximum(92286.35); 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,6655.55); h_SL3L471->SetBinContent(3,6978.27); h_SL3L471->SetBinContent(4,8713.443); h_SL3L471->SetBinContent(5,9920.328); h_SL3L471->SetBinContent(6,10751.44); h_SL3L471->SetBinContent(7,10663.03); h_SL3L471->SetBinContent(8,10488.4); h_SL3L471->SetBinContent(9,10220.94); h_SL3L471->SetBinContent(10,9911.486); h_SL3L471->SetBinContent(11,9135.632); h_SL3L471->SetBinContent(12,9109.107); h_SL3L471->SetBinContent(13,9361.094); h_SL3L471->SetBinContent(14,9730.232); h_SL3L471->SetBinContent(15,10187.79); h_SL3L471->SetBinContent(16,9973.378); h_SL3L471->SetBinContent(17,9854.016); h_SL3L471->SetBinContent(18,9878.33); h_SL3L471->SetBinContent(19,10052.95); h_SL3L471->SetBinContent(20,10643.13); h_SL3L471->SetBinContent(21,10985.75); h_SL3L471->SetBinContent(22,10970.27); h_SL3L471->SetBinContent(23,11533.93); h_SL3L471->SetBinContent(24,11354.89); h_SL3L471->SetBinContent(25,11595.82); h_SL3L471->SetBinContent(26,11693.08); h_SL3L471->SetBinContent(27,12281.05); h_SL3L471->SetBinContent(28,11947.28); h_SL3L471->SetBinContent(29,12055.59); h_SL3L471->SetBinContent(30,12460.09); h_SL3L471->SetBinContent(31,12930.91); h_SL3L471->SetBinContent(32,13101.11); h_SL3L471->SetBinContent(33,15941.49); h_SL3L471->SetBinContent(34,27698.67); h_SL3L471->SetBinContent(35,60525.5); h_SL3L471->SetBinContent(36,68452.03); h_SL3L471->SetBinContent(37,72689.39); h_SL3L471->SetBinContent(38,77868.38); h_SL3L471->SetBinContent(39,75938.7); h_SL3L471->SetBinContent(40,63438.82); h_SL3L471->SetBinContent(41,28100.96); h_SL3L471->SetBinContent(42,15278.37); h_SL3L471->SetBinContent(43,11790.34); h_SL3L471->SetBinContent(44,11144.9); h_SL3L471->SetBinContent(45,10433.14); h_SL3L471->SetBinContent(46,10329.25); h_SL3L471->SetBinContent(47,9993.271); h_SL3L471->SetBinContent(48,9812.018); h_SL3L471->SetBinContent(49,9949.063); h_SL3L471->SetBinContent(50,9500.35); h_SL3L471->SetBinContent(51,9617.502); h_SL3L471->SetBinContent(52,9387.619); h_SL3L471->SetBinContent(53,8854.909); h_SL3L471->SetBinContent(54,8611.765); h_SL3L471->SetBinContent(55,8620.606); h_SL3L471->SetBinContent(56,8507.875); h_SL3L471->SetBinContent(57,8541.031); h_SL3L471->SetBinContent(58,7831.489); h_SL3L471->SetBinContent(59,6233.361); h_SL3L471->SetMaximum(92286.35); 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 6814"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }