void RatesPerCell_Removing_noisy_cells_run_6604_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11917.88,67.5,107260.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6604",60,0,60); h_SL3L168->SetBinContent(1,619.294); h_SL3L168->SetBinContent(2,228.3112); h_SL3L168->SetBinContent(4,299.6584); h_SL3L168->SetBinContent(5,446.6337); h_SL3L168->SetBinContent(6,322.4895); h_SL3L168->SetBinContent(7,301.0853); h_SL3L168->SetBinContent(8,333.9051); h_SL3L168->SetBinContent(9,372.4326); h_SL3L168->SetBinContent(10,385.2751); h_SL3L168->SetBinContent(11,440.9259); h_SL3L168->SetBinContent(12,517.981); h_SL3L168->SetBinContent(13,536.5312); h_SL3L168->SetBinContent(14,592.1821); h_SL3L168->SetBinContent(15,640.6982); h_SL3L168->SetBinContent(16,656.3946); h_SL3L168->SetBinContent(17,673.5179); h_SL3L168->SetBinContent(18,800.516); h_SL3L168->SetBinContent(19,913.2446); h_SL3L168->SetBinContent(20,897.5482); h_SL3L168->SetBinContent(21,1015.985); h_SL3L168->SetBinContent(22,1088.759); h_SL3L168->SetBinContent(23,1299.947); h_SL3L168->SetBinContent(24,1395.552); h_SL3L168->SetBinContent(25,1533.966); h_SL3L168->SetBinContent(26,1615.301); h_SL3L168->SetBinContent(27,1829.343); h_SL3L168->SetBinContent(28,2206.057); h_SL3L168->SetBinContent(29,2528.546); h_SL3L168->SetBinContent(30,2899.552); h_SL3L168->SetBinContent(31,3436.083); h_SL3L168->SetBinContent(32,5042.823); h_SL3L168->SetBinContent(33,9248.029); h_SL3L168->SetBinContent(34,38892.8); h_SL3L168->SetBinContent(35,57617.18); h_SL3L168->SetBinContent(36,61966.5); h_SL3L168->SetBinContent(37,67638.61); h_SL3L168->SetBinContent(38,72093.53); h_SL3L168->SetBinContent(39,64647.73); h_SL3L168->SetBinContent(40,42301.78); h_SL3L168->SetBinContent(41,9905.851); h_SL3L168->SetBinContent(42,5408.121); h_SL3L168->SetBinContent(43,3926.952); h_SL3L168->SetBinContent(44,3373.297); h_SL3L168->SetBinContent(45,2883.855); h_SL3L168->SetBinContent(46,2866.732); h_SL3L168->SetBinContent(47,2501.434); h_SL3L168->SetBinContent(48,2317.358); h_SL3L168->SetBinContent(49,24071.13); h_SL3L168->SetBinContent(50,2004.857); h_SL3L168->SetBinContent(51,1914.96); h_SL3L168->SetBinContent(52,1753.715); h_SL3L168->SetBinContent(53,1686.649); h_SL3L168->SetBinContent(54,1680.941); h_SL3L168->SetBinContent(55,1459.764); h_SL3L168->SetBinContent(56,1505.427); h_SL3L168->SetBinContent(57,1362.732); h_SL3L168->SetBinContent(58,1295.666); h_SL3L168->SetBinContent(59,1211.476); h_SL3L168->SetMaximum(95343.05); 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,266.8387); h_SL3L269->SetBinContent(2,266.8387); h_SL3L269->SetBinContent(4,262.5578); h_SL3L269->SetBinContent(5,316.7817); h_SL3L269->SetBinContent(6,429.5104); h_SL3L269->SetBinContent(7,326.7704); h_SL3L269->SetBinContent(8,286.8159); h_SL3L269->SetBinContent(9,321.0626); h_SL3L269->SetBinContent(10,380.9942); h_SL3L269->SetBinContent(11,428.0834); h_SL3L269->SetBinContent(12,445.2068); h_SL3L269->SetBinContent(13,537.9582); h_SL3L269->SetBinContent(14,567.924); h_SL3L269->SetBinContent(15,639.2712); h_SL3L269->SetBinContent(16,666.3832); h_SL3L269->SetBinContent(17,643.5521); h_SL3L269->SetBinContent(18,693.4951); h_SL3L269->SetBinContent(19,847.6052); h_SL3L269->SetBinContent(20,903.256); h_SL3L269->SetBinContent(21,981.738); h_SL3L269->SetBinContent(22,1037.389); h_SL3L269->SetBinContent(23,1154.398); h_SL3L269->SetBinContent(24,1278.542); h_SL3L269->SetBinContent(25,1452.63); h_SL3L269->SetBinContent(26,1551.089); h_SL3L269->SetBinContent(27,1709.48); h_SL3L269->SetBinContent(28,1959.195); h_SL3L269->SetBinContent(29,2275.977); h_SL3L269->SetBinContent(30,2648.409); h_SL3L269->SetBinContent(31,3080.774); h_SL3L269->SetBinContent(32,4002.58); h_SL3L269->SetBinContent(33,6992.029); h_SL3L269->SetBinContent(34,19069.69); h_SL3L269->SetBinContent(35,51679.66); h_SL3L269->SetBinContent(36,59378.02); h_SL3L269->SetBinContent(37,63838.65); h_SL3L269->SetBinContent(38,70114.36); h_SL3L269->SetBinContent(39,68758.76); h_SL3L269->SetBinContent(40,57523); h_SL3L269->SetBinContent(41,20689.27); h_SL3L269->SetBinContent(42,7776.849); h_SL3L269->SetBinContent(43,4322.216); h_SL3L269->SetBinContent(44,3517.419); h_SL3L269->SetBinContent(45,3035.111); h_SL3L269->SetBinContent(46,2729.745); h_SL3L269->SetBinContent(47,2775.407); h_SL3L269->SetBinContent(48,2331.628); h_SL3L269->SetBinContent(49,4627.582); h_SL3L269->SetBinContent(50,2050.52); h_SL3L269->SetBinContent(51,1944.926); h_SL3L269->SetBinContent(52,2237.449); h_SL3L269->SetBinContent(53,5597.904); h_SL3L269->SetBinContent(54,1702.345); h_SL3L269->SetBinContent(55,1446.922); h_SL3L269->SetBinContent(56,1907.825); h_SL3L269->SetBinContent(57,1436.933); h_SL3L269->SetBinContent(58,1281.396); h_SL3L269->SetBinContent(59,1188.645); h_SL3L269->SetMaximum(82907.56); 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,293.9506); h_SL3L370->SetBinContent(2,238.2998); h_SL3L370->SetBinContent(3,261.1309); h_SL3L370->SetBinContent(4,291.0967); h_SL3L370->SetBinContent(5,535.1042); h_SL3L370->SetBinContent(6,674.9449); h_SL3L370->SetBinContent(7,333.9051); h_SL3L370->SetBinContent(8,338.1859); h_SL3L370->SetBinContent(9,353.8823); h_SL3L370->SetBinContent(10,392.4098); h_SL3L370->SetBinContent(11,458.0493); h_SL3L370->SetBinContent(12,489.442); h_SL3L370->SetBinContent(13,499.4307); h_SL3L370->SetBinContent(14,613.5862); h_SL3L370->SetBinContent(15,634.9904); h_SL3L370->SetBinContent(16,623.5748); h_SL3L370->SetBinContent(17,660.6754); h_SL3L370->SetBinContent(18,774.831); h_SL3L370->SetBinContent(19,887.5596); h_SL3L370->SetBinContent(20,876.144); h_SL3L370->SetBinContent(21,986.0188); h_SL3L370->SetBinContent(22,1087.332); h_SL3L370->SetBinContent(23,1255.711); h_SL3L370->SetBinContent(24,1302.801); h_SL3L370->SetBinContent(25,1496.865); h_SL3L370->SetBinContent(26,1588.189); h_SL3L370->SetBinContent(27,1767.984); h_SL3L370->SetBinContent(28,2094.755); h_SL3L370->SetBinContent(29,2424.379); h_SL3L370->SetBinContent(30,2742.588); h_SL3L370->SetBinContent(31,3451.779); h_SL3L370->SetBinContent(32,4880.151); h_SL3L370->SetBinContent(33,9159.559); h_SL3L370->SetBinContent(34,38058.04); h_SL3L370->SetBinContent(35,56943.66); h_SL3L370->SetBinContent(36,61498.46); h_SL3L370->SetBinContent(37,67003.62); h_SL3L370->SetBinContent(38,70629.48); h_SL3L370->SetBinContent(39,64516.45); h_SL3L370->SetBinContent(40,41992.13); h_SL3L370->SetBinContent(41,9873.03); h_SL3L370->SetBinContent(42,5372.447); h_SL3L370->SetBinContent(43,3868.447); h_SL3L370->SetBinContent(44,3243.445); h_SL3L370->SetBinContent(45,246.8614); h_SL3L370->SetBinContent(46,2769.7); h_SL3L370->SetBinContent(47,2387.279); h_SL3L370->SetBinContent(48,2203.203); h_SL3L370->SetBinContent(49,2157.541); h_SL3L370->SetBinContent(50,1987.734); h_SL3L370->SetBinContent(51,1909.252); h_SL3L370->SetBinContent(52,1716.615); h_SL3L370->SetBinContent(53,1740.873); h_SL3L370->SetBinContent(54,1543.954); h_SL3L370->SetBinContent(55,1412.675); h_SL3L370->SetBinContent(56,1486.876); h_SL3L370->SetBinContent(57,1367.013); h_SL3L370->SetBinContent(58,1319.924); h_SL3L370->SetBinContent(59,1208.622); h_SL3L370->SetMaximum(82907.56); 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,263.9848); h_SL3L471->SetBinContent(3,248.2884); h_SL3L471->SetBinContent(4,263.9848); h_SL3L471->SetBinContent(5,1241.442); h_SL3L471->SetBinContent(7,1581.055); h_SL3L471->SetBinContent(8,1396.979); h_SL3L471->SetBinContent(9,311.0739); h_SL3L471->SetBinContent(10,379.5673); h_SL3L471->SetBinContent(11,432.3643); h_SL3L471->SetBinContent(12,462.3301); h_SL3L471->SetBinContent(13,516.554); h_SL3L471->SetBinContent(14,559.3623); h_SL3L471->SetBinContent(15,619.294); h_SL3L471->SetBinContent(16,644.979); h_SL3L471->SetBinContent(17,660.6754); h_SL3L471->SetBinContent(18,716.3262); h_SL3L471->SetBinContent(19,841.8974); h_SL3L471->SetBinContent(20,890.4135); h_SL3L471->SetBinContent(21,940.3566); h_SL3L471->SetBinContent(22,1033.108); h_SL3L471->SetBinContent(23,1161.533); h_SL3L471->SetBinContent(24,1335.62); h_SL3L471->SetBinContent(25,1362.732); h_SL3L471->SetBinContent(26,1532.539); h_SL3L471->SetBinContent(27,1678.087); h_SL3L471->SetBinContent(28,1875.005); h_SL3L471->SetBinContent(29,2181.799); h_SL3L471->SetBinContent(30,2548.523); h_SL3L471->SetBinContent(31,3026.55); h_SL3L471->SetBinContent(32,3814.223); h_SL3L471->SetBinContent(33,6902.132); h_SL3L471->SetBinContent(34,18981.22); h_SL3L471->SetBinContent(35,51926.52); h_SL3L471->SetBinContent(36,59034.13); h_SL3L471->SetBinContent(37,63730.21); h_SL3L471->SetBinContent(38,70035.88); h_SL3L471->SetBinContent(39,68581.82); h_SL3L471->SetBinContent(40,57049.25); h_SL3L471->SetBinContent(41,20605.08); h_SL3L471->SetBinContent(42,7771.141); h_SL3L471->SetBinContent(43,4250.868); h_SL3L471->SetBinContent(44,3447.499); h_SL3L471->SetBinContent(45,2990.876); h_SL3L471->SetBinContent(46,2652.69); h_SL3L471->SetBinContent(47,2651.263); h_SL3L471->SetBinContent(48,2221.753); h_SL3L471->SetBinContent(49,2161.821); h_SL3L471->SetBinContent(50,2013.419); h_SL3L471->SetBinContent(51,1979.172); h_SL3L471->SetBinContent(52,1742.3); h_SL3L471->SetBinContent(53,1686.649); h_SL3L471->SetBinContent(54,1640.986); h_SL3L471->SetBinContent(55,1425.518); h_SL3L471->SetBinContent(56,1466.899); h_SL3L471->SetBinContent(57,1569.639); h_SL3L471->SetBinContent(58,1482.596); h_SL3L471->SetBinContent(59,1357.024); h_SL3L471->SetMaximum(82907.56); 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 6604"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }