void RatesPerCell_Removing_noisy_cells_run_6643_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:10:45 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12336.34,67.5,111027); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6643",60,0,60); h_SL3L168->SetBinContent(1,4910.796); h_SL3L168->SetBinContent(2,3434.276); h_SL3L168->SetBinContent(4,5787.958); h_SL3L168->SetBinContent(5,5641.4); h_SL3L168->SetBinContent(6,6363.254); h_SL3L168->SetBinContent(7,6085.45); h_SL3L168->SetBinContent(8,6109.512); h_SL3L168->SetBinContent(9,5831.707); h_SL3L168->SetBinContent(10,5429.219); h_SL3L168->SetBinContent(11,5389.845); h_SL3L168->SetBinContent(12,5398.595); h_SL3L168->SetBinContent(13,5615.151); h_SL3L168->SetBinContent(14,6153.26); h_SL3L168->SetBinContent(15,5943.267); h_SL3L168->SetBinContent(16,6015.452); h_SL3L168->SetBinContent(17,6175.135); h_SL3L168->SetBinContent(18,6109.512); h_SL3L168->SetBinContent(19,6398.253); h_SL3L168->SetBinContent(20,6706.682); h_SL3L168->SetBinContent(21,6925.426); h_SL3L168->SetBinContent(22,6999.799); h_SL3L168->SetBinContent(23,7426.349); h_SL3L168->SetBinContent(24,7354.164); h_SL3L168->SetBinContent(25,7618.843); h_SL3L168->SetBinContent(26,7688.841); h_SL3L168->SetBinContent(27,7931.647); h_SL3L168->SetBinContent(28,7780.713); h_SL3L168->SetBinContent(29,8205.076); h_SL3L168->SetBinContent(30,8644.751); h_SL3L168->SetBinContent(31,9027.553); h_SL3L168->SetBinContent(32,10274.39); h_SL3L168->SetBinContent(33,14620.83); h_SL3L168->SetBinContent(34,43809.99); h_SL3L168->SetBinContent(35,62475.39); h_SL3L168->SetBinContent(36,66651.21); h_SL3L168->SetBinContent(37,73073.52); h_SL3L168->SetBinContent(38,74624.41); h_SL3L168->SetBinContent(39,68563.02); h_SL3L168->SetBinContent(40,45520.57); h_SL3L168->SetBinContent(41,13929.6); h_SL3L168->SetBinContent(42,9701.283); h_SL3L168->SetBinContent(43,8242.263); h_SL3L168->SetBinContent(44,7820.087); h_SL3L168->SetBinContent(45,7238.229); h_SL3L168->SetBinContent(46,7050.11); h_SL3L168->SetBinContent(47,6717.619); h_SL3L168->SetBinContent(48,6737.306); h_SL3L168->SetBinContent(49,23604.63); h_SL3L168->SetBinContent(50,6562.311); h_SL3L168->SetBinContent(51,6102.949); h_SL3L168->SetBinContent(52,6109.512); h_SL3L168->SetBinContent(53,5853.582); h_SL3L168->SetBinContent(54,5654.525); h_SL3L168->SetBinContent(55,5505.779); h_SL3L168->SetBinContent(56,5435.781); h_SL3L168->SetBinContent(57,5203.913); h_SL3L168->SetBinContent(58,4333.313); h_SL3L168->SetBinContent(59,4009.572); h_SL3L168->SetMaximum(98690.7); 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,4919.546); h_SL3L269->SetBinContent(2,3876.138); h_SL3L269->SetBinContent(4,4832.048); h_SL3L269->SetBinContent(5,5534.216); h_SL3L269->SetBinContent(6,5752.959); h_SL3L269->SetBinContent(7,6085.45); h_SL3L269->SetBinContent(8,5866.706); h_SL3L269->SetBinContent(9,5678.586); h_SL3L269->SetBinContent(10,5394.22); h_SL3L269->SetBinContent(11,4921.733); h_SL3L269->SetBinContent(12,5162.352); h_SL3L269->SetBinContent(13,5179.851); h_SL3L269->SetBinContent(14,5569.215); h_SL3L269->SetBinContent(15,5669.837); h_SL3L269->SetBinContent(16,5785.771); h_SL3L269->SetBinContent(17,5849.207); h_SL3L269->SetBinContent(18,5717.96); h_SL3L269->SetBinContent(19,5842.645); h_SL3L269->SetBinContent(20,6424.502); h_SL3L269->SetBinContent(21,6496.688); h_SL3L269->SetBinContent(22,6835.741); h_SL3L269->SetBinContent(23,6945.113); h_SL3L269->SetBinContent(24,6938.55); h_SL3L269->SetBinContent(25,6921.051); h_SL3L269->SetBinContent(26,7376.038); h_SL3L269->SetBinContent(27,7551.033); h_SL3L269->SetBinContent(28,7520.409); h_SL3L269->SetBinContent(29,7706.341); h_SL3L269->SetBinContent(30,7881.336); h_SL3L269->SetBinContent(31,8520.067); h_SL3L269->SetBinContent(32,9130.362); h_SL3L269->SetBinContent(33,11954.34); h_SL3L269->SetBinContent(34,24381.17); h_SL3L269->SetBinContent(35,56245.57); h_SL3L269->SetBinContent(36,64599.39); h_SL3L269->SetBinContent(37,69092.39); h_SL3L269->SetBinContent(38,73734.12); h_SL3L269->SetBinContent(39,72073.87); h_SL3L269->SetBinContent(40,60471.7); h_SL3L269->SetBinContent(41,24604.29); h_SL3L269->SetBinContent(42,11602.17); h_SL3L269->SetBinContent(43,8279.449); h_SL3L269->SetBinContent(44,7669.154); h_SL3L269->SetBinContent(45,7148.544); h_SL3L269->SetBinContent(46,6912.301); h_SL3L269->SetBinContent(47,6835.741); h_SL3L269->SetBinContent(48,6323.88); h_SL3L269->SetBinContent(49,8277.262); h_SL3L269->SetBinContent(50,6227.633); h_SL3L269->SetBinContent(51,6048.264); h_SL3L269->SetBinContent(52,6271.382); h_SL3L269->SetBinContent(53,8922.556); h_SL3L269->SetBinContent(54,5755.147); h_SL3L269->SetBinContent(55,5433.594); h_SL3L269->SetBinContent(56,5720.148); h_SL3L269->SetBinContent(57,5109.853); h_SL3L269->SetBinContent(58,4764.238); h_SL3L269->SetBinContent(59,4048.946); h_SL3L269->SetMaximum(85818.08); 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,4357.375); h_SL3L370->SetBinContent(2,3298.655); h_SL3L370->SetBinContent(3,3782.079); h_SL3L370->SetBinContent(4,5247.662); h_SL3L370->SetBinContent(5,5492.654); h_SL3L370->SetBinContent(6,5599.839); h_SL3L370->SetBinContent(7,5737.647); h_SL3L370->SetBinContent(8,5647.962); h_SL3L370->SetBinContent(9,5280.473); h_SL3L370->SetBinContent(10,5195.163); h_SL3L370->SetBinContent(11,4803.612); h_SL3L370->SetBinContent(12,4891.109); h_SL3L370->SetBinContent(13,5295.785); h_SL3L370->SetBinContent(14,5402.97); h_SL3L370->SetBinContent(15,5462.03); h_SL3L370->SetBinContent(16,5411.719); h_SL3L370->SetBinContent(17,5352.659); h_SL3L370->SetBinContent(18,5919.205); h_SL3L370->SetBinContent(19,5783.583); h_SL3L370->SetBinContent(20,6083.263); h_SL3L370->SetBinContent(21,6205.759); h_SL3L370->SetBinContent(22,6378.566); h_SL3L370->SetBinContent(23,6770.118); h_SL3L370->SetBinContent(24,6756.993); h_SL3L370->SetBinContent(25,6813.866); h_SL3L370->SetBinContent(26,6923.238); h_SL3L370->SetBinContent(27,7264.479); h_SL3L370->SetBinContent(28,7196.668); h_SL3L370->SetBinContent(29,7428.536); h_SL3L370->SetBinContent(30,7686.654); h_SL3L370->SetBinContent(31,8191.952); h_SL3L370->SetBinContent(32,9637.848); h_SL3L370->SetBinContent(33,13667.11); h_SL3L370->SetBinContent(34,42655.02); h_SL3L370->SetBinContent(35,61541.36); h_SL3L370->SetBinContent(36,66581.21); h_SL3L370->SetBinContent(37,71951.37); h_SL3L370->SetBinContent(38,73235.39); h_SL3L370->SetBinContent(39,67852.11); h_SL3L370->SetBinContent(40,44877.46); h_SL3L370->SetBinContent(41,13428.68); h_SL3L370->SetBinContent(42,9064.739); h_SL3L370->SetBinContent(43,7726.028); h_SL3L370->SetBinContent(44,7323.539); h_SL3L370->SetBinContent(45,1078.406); h_SL3L370->SetBinContent(46,6531.687); h_SL3L370->SetBinContent(47,6387.316); h_SL3L370->SetBinContent(48,6037.326); h_SL3L370->SetBinContent(49,6030.764); h_SL3L370->SetBinContent(50,5818.583); h_SL3L370->SetBinContent(51,5875.456); h_SL3L370->SetBinContent(52,5630.463); h_SL3L370->SetBinContent(53,5604.214); h_SL3L370->SetBinContent(54,5101.103); h_SL3L370->SetBinContent(55,5127.353); h_SL3L370->SetBinContent(56,5092.354); h_SL3L370->SetBinContent(57,4816.736); h_SL3L370->SetBinContent(58,4116.756); h_SL3L370->SetBinContent(59,3694.581); h_SL3L370->SetMaximum(85818.08); 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,3228.657); h_SL3L471->SetBinContent(3,3681.457); h_SL3L471->SetBinContent(4,4541.119); h_SL3L471->SetBinContent(5,5057.354); h_SL3L471->SetBinContent(6,5540.778); h_SL3L471->SetBinContent(7,5462.03); h_SL3L471->SetBinContent(8,5326.409); h_SL3L471->SetBinContent(9,5392.032); h_SL3L471->SetBinContent(10,4888.922); h_SL3L471->SetBinContent(11,4722.677); h_SL3L471->SetBinContent(12,4825.486); h_SL3L471->SetBinContent(13,4853.923); h_SL3L471->SetBinContent(14,5125.165); h_SL3L471->SetBinContent(15,5133.915); h_SL3L471->SetBinContent(16,5440.156); h_SL3L471->SetBinContent(17,5271.723); h_SL3L471->SetBinContent(18,5451.093); h_SL3L471->SetBinContent(19,5553.903); h_SL3L471->SetBinContent(20,5582.339); h_SL3L471->SetBinContent(21,5892.956); h_SL3L471->SetBinContent(22,6177.322); h_SL3L471->SetBinContent(23,6264.82); h_SL3L471->SetBinContent(24,6339.192); h_SL3L471->SetBinContent(25,6638.872); h_SL3L471->SetBinContent(26,6844.491); h_SL3L471->SetBinContent(27,6656.371); h_SL3L471->SetBinContent(28,6678.245); h_SL3L471->SetBinContent(29,7166.044); h_SL3L471->SetBinContent(30,7533.533); h_SL3L471->SetBinContent(31,7809.15); h_SL3L471->SetBinContent(32,8364.76); h_SL3L471->SetBinContent(33,11422.8); h_SL3L471->SetBinContent(34,23591.51); h_SL3L471->SetBinContent(35,56418.38); h_SL3L471->SetBinContent(36,63991.29); h_SL3L471->SetBinContent(37,68941.45); h_SL3L471->SetBinContent(38,73454.13); h_SL3L471->SetBinContent(39,71710.75); h_SL3L471->SetBinContent(40,60077.96); h_SL3L471->SetBinContent(41,24149.3); h_SL3L471->SetBinContent(42,11125.3); h_SL3L471->SetBinContent(43,7975.396); h_SL3L471->SetBinContent(44,7367.288); h_SL3L471->SetBinContent(45,6573.249); h_SL3L471->SetBinContent(46,6304.193); h_SL3L471->SetBinContent(47,6177.322); h_SL3L471->SetBinContent(48,6052.638); h_SL3L471->SetBinContent(49,5656.712); h_SL3L471->SetBinContent(50,5626.088); h_SL3L471->SetBinContent(51,5722.335); h_SL3L471->SetBinContent(52,5470.78); h_SL3L471->SetBinContent(53,5372.345); h_SL3L471->SetBinContent(54,4996.106); h_SL3L471->SetBinContent(55,4947.982); h_SL3L471->SetBinContent(56,5059.542); h_SL3L471->SetBinContent(57,4772.988); h_SL3L471->SetBinContent(58,4499.558); h_SL3L471->SetBinContent(59,3814.89); h_SL3L471->SetMaximum(85818.08); 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 6643"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }