void RatesPerCell_Removing_noisy_cells_run_6598_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:36 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11310.54,67.5,101794.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6598",60,0,60); h_SL1L160->SetBinContent(1,458.4581); h_SL1L160->SetBinContent(2,483.7065); h_SL1L160->SetBinContent(3,495.6663); h_SL1L160->SetBinContent(4,487.6931); h_SL1L160->SetBinContent(5,504.9684); h_SL1L160->SetBinContent(6,523.5724); h_SL1L160->SetBinContent(7,571.4116); h_SL1L160->SetBinContent(8,616.593); h_SL1L160->SetBinContent(9,604.6332); h_SL1L160->SetBinContent(10,671.0764); h_SL1L160->SetBinContent(11,809.2783); h_SL1L160->SetBinContent(12,891.6678); h_SL1L160->SetBinContent(13,987.346); h_SL1L160->SetBinContent(14,1021.896); h_SL1L160->SetBinContent(15,883.6946); h_SL1L160->SetBinContent(16,870.406); h_SL1L160->SetBinContent(17,1052.46); h_SL1L160->SetBinContent(18,1292.985); h_SL1L160->SetBinContent(19,1409.925); h_SL1L160->SetBinContent(20,1639.818); h_SL1L160->SetBinContent(21,1756.758); h_SL1L160->SetBinContent(22,1944.128); h_SL1L160->SetBinContent(23,2065.055); h_SL1L160->SetBinContent(24,2422.519); h_SL1L160->SetBinContent(25,2286.975); h_SL1L160->SetBinContent(26,2389.298); h_SL1L160->SetBinContent(27,2514.211); h_SL1L160->SetBinContent(28,3308.872); h_SL1L160->SetBinContent(29,3607.866); h_SL1L160->SetBinContent(30,4135.425); h_SL1L160->SetBinContent(31,5324.758); h_SL1L160->SetBinContent(32,9454.868); h_SL1L160->SetBinContent(33,36712.53); h_SL1L160->SetBinContent(34,54798.37); h_SL1L160->SetBinContent(35,59284.61); h_SL1L160->SetBinContent(36,63408.08); h_SL1L160->SetBinContent(37,67386.7); h_SL1L160->SetBinContent(38,62778.2); h_SL1L160->SetBinContent(39,39572.24); h_SL1L160->SetBinContent(40,9748.547); h_SL1L160->SetBinContent(41,5885.539); h_SL1L160->SetBinContent(42,4544.715); h_SL1L160->SetBinContent(43,4183.264); h_SL1L160->SetBinContent(44,3743.41); h_SL1L160->SetBinContent(45,3445.745); h_SL1L160->SetBinContent(46,3360.697); h_SL1L160->SetBinContent(47,2987.286); h_SL1L160->SetBinContent(48,2866.36); h_SL1L160->SetBinContent(49,2710.883); h_SL1L160->SetBinContent(50,2437.137); h_SL1L160->SetBinContent(51,2275.015); h_SL1L160->SetBinContent(52,2126.183); h_SL1L160->SetBinContent(53,2088.974); h_SL1L160->SetBinContent(54,1879.014); h_SL1L160->SetBinContent(55,1825.859); h_SL1L160->SetBinContent(56,1718.221); h_SL1L160->SetBinContent(57,1871.041); h_SL1L160->SetBinContent(58,1762.074); h_SL1L160->SetBinContent(59,1678.355); h_SL1L160->SetMaximum(90484.3); 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,373.4108); h_SL1L261->SetBinContent(2,378.7263); h_SL1L261->SetBinContent(3,441.1829); h_SL1L261->SetBinContent(4,406.6324); h_SL1L261->SetBinContent(5,462.4447); h_SL1L261->SetBinContent(6,414.6056); h_SL1L261->SetBinContent(7,502.3106); h_SL1L261->SetBinContent(8,520.9147); h_SL1L261->SetBinContent(9,558.1229); h_SL1L261->SetBinContent(10,563.4384); h_SL1L261->SetBinContent(11,667.0898); h_SL1L261->SetBinContent(12,734.8618); h_SL1L261->SetBinContent(13,850.473); h_SL1L261->SetBinContent(14,918.2451); h_SL1L261->SetBinContent(15,887.6812); h_SL1L261->SetBinContent(16,811.936); h_SL1L261->SetBinContent(17,899.641); h_SL1L261->SetBinContent(18,1203.951); h_SL1L261->SetBinContent(19,1269.065); h_SL1L261->SetBinContent(20,1461.75); h_SL1L261->SetBinContent(21,1637.161); h_SL1L261->SetBinContent(22,1785.993); h_SL1L261->SetBinContent(23,1820.544); h_SL1L261->SetBinContent(24,2115.552); h_SL1L261->SetBinContent(25,2376.009); h_SL1L261->SetBinContent(26,2128.84); h_SL1L261->SetBinContent(27,2415.875); h_SL1L261->SetBinContent(28,2807.89); h_SL1L261->SetBinContent(29,3324.818); h_SL1L261->SetBinContent(30,3874.968); h_SL1L261->SetBinContent(31,4483.587); h_SL1L261->SetBinContent(32,7385.827); h_SL1L261->SetBinContent(33,20007.38); h_SL1L261->SetBinContent(34,51171.9); h_SL1L261->SetBinContent(35,59026.81); h_SL1L261->SetBinContent(36,63231.34); h_SL1L261->SetBinContent(37,68419.23); h_SL1L261->SetBinContent(38,68316.91); h_SL1L261->SetBinContent(39,56977.71); h_SL1L261->SetBinContent(40,19846.59); h_SL1L261->SetBinContent(41,8329.32); h_SL1L261->SetBinContent(42,4916.797); h_SL1L261->SetBinContent(43,4391.896); h_SL1L261->SetBinContent(44,3844.404); h_SL1L261->SetBinContent(45,3589.262); h_SL1L261->SetBinContent(46,3318.174); h_SL1L261->SetBinContent(47,3160.039); h_SL1L261->SetBinContent(48,2927.488); h_SL1L261->SetBinContent(49,15276.62); h_SL1L261->SetBinContent(50,2495.607); h_SL1L261->SetBinContent(51,2304.25); h_SL1L261->SetBinContent(52,2247.109); h_SL1L261->SetBinContent(53,2293.619); h_SL1L261->SetBinContent(54,2046.451); h_SL1L261->SetBinContent(55,1771.376); h_SL1L261->SetBinContent(56,5659.632); h_SL1L261->SetBinContent(57,1722.208); h_SL1L261->SetBinContent(58,1751.443); h_SL1L261->SetBinContent(59,1703.604); h_SL1L261->SetMaximum(78682.11); 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,6.64432); h_SL1L362->SetBinContent(2,11.95978); h_SL1L362->SetBinContent(3,27.90615); h_SL1L362->SetBinContent(4,23.91955); h_SL1L362->SetBinContent(5,14.61751); h_SL1L362->SetBinContent(6,18.6041); h_SL1L362->SetBinContent(7,18.6041); h_SL1L362->SetBinContent(8,27.90615); h_SL1L362->SetBinContent(9,23.91955); h_SL1L362->SetBinContent(10,29.23501); h_SL1L362->SetBinContent(11,33.2216); h_SL1L362->SetBinContent(12,35.87933); h_SL1L362->SetBinContent(13,42.52365); h_SL1L362->SetBinContent(14,45.18138); h_SL1L362->SetBinContent(15,30.56387); h_SL1L362->SetBinContent(16,49.16797); h_SL1L362->SetBinContent(17,43.85252); h_SL1L362->SetBinContent(18,49.16797); h_SL1L362->SetBinContent(19,46.51024); h_SL1L362->SetBinContent(20,75.74525); h_SL1L362->SetBinContent(21,73.08752); h_SL1L362->SetBinContent(22,87.70503); h_SL1L362->SetBinContent(23,99.66481); h_SL1L362->SetBinContent(24,94.34935); h_SL1L362->SetBinContent(25,94.34935); h_SL1L362->SetBinContent(26,95.67822); h_SL1L362->SetBinContent(27,106.3091); h_SL1L362->SetBinContent(28,115.6112); h_SL1L362->SetBinContent(29,179.3967); h_SL1L362->SetBinContent(30,159.4637); h_SL1L362->SetBinContent(31,239.1955); h_SL1L362->SetBinContent(32,389.3572); h_SL1L362->SetBinContent(33,1465.737); h_SL1L362->SetBinContent(34,2539.459); h_SL1L362->SetBinContent(35,2752.078); h_SL1L362->SetBinContent(36,2765.366); h_SL1L362->SetBinContent(37,2985.958); h_SL1L362->SetBinContent(38,2571.352); h_SL1L362->SetBinContent(39,1905.591); h_SL1L362->SetBinContent(40,361.451); h_SL1L362->SetBinContent(41,277.7326); h_SL1L362->SetBinContent(42,205.9739); h_SL1L362->SetBinContent(43,207.3028); h_SL1L362->SetBinContent(44,217.9337); h_SL1L362->SetBinContent(45,174.0812); h_SL1L362->SetBinContent(46,166.108); h_SL1L362->SetBinContent(47,148.8328); h_SL1L362->SetBinContent(48,103.6514); h_SL1L362->SetBinContent(49,147.5039); h_SL1L362->SetBinContent(50,94.34935); h_SL1L362->SetBinContent(51,118.2689); h_SL1L362->SetBinContent(52,70.42979); h_SL1L362->SetBinContent(53,3266.348); h_SL1L362->SetBinContent(54,71.75866); h_SL1L362->SetBinContent(55,91.69162); h_SL1L362->SetBinContent(56,5243.698); h_SL1L362->SetBinContent(57,253.813); h_SL1L362->SetBinContent(58,71.75866); h_SL1L362->SetBinContent(59,53.15456); h_SL1L362->SetMaximum(78682.11); 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,298.9944); h_SL1L463->SetBinContent(3,362.7799); h_SL1L463->SetBinContent(4,346.8335); h_SL1L463->SetBinContent(5,392.0149); h_SL1L463->SetBinContent(6,362.7799); h_SL1L463->SetBinContent(7,401.317); h_SL1L463->SetBinContent(8,459.787); h_SL1L463->SetBinContent(9,481.0488); h_SL1L463->SetBinContent(10,481.0488); h_SL1L463->SetBinContent(11,583.3713); h_SL1L463->SetBinContent(12,624.5661); h_SL1L463->SetBinContent(13,706.9557); h_SL1L463->SetBinContent(14,795.9896); h_SL1L463->SetBinContent(15,764.0969); h_SL1L463->SetBinContent(16,770.7411); h_SL1L463->SetBinContent(17,806.6205); h_SL1L463->SetBinContent(18,1051.131); h_SL1L463->SetBinContent(19,1071.064); h_SL1L463->SetBinContent(20,1288.998); h_SL1L463->SetBinContent(21,1386.005); h_SL1L463->SetBinContent(22,1536.167); h_SL1L463->SetBinContent(23,1594.637); h_SL1L463->SetBinContent(24,1869.712); h_SL1L463->SetBinContent(25,2019.873); h_SL1L463->SetBinContent(26,1952.101); h_SL1L463->SetBinContent(27,2192.626); h_SL1L463->SetBinContent(28,2664.373); h_SL1L463->SetBinContent(29,2942.105); h_SL1L463->SetBinContent(30,3482.953); h_SL1L463->SetBinContent(31,4147.385); h_SL1L463->SetBinContent(32,6995.141); h_SL1L463->SetBinContent(33,18949.6); h_SL1L463->SetBinContent(34,50548.66); h_SL1L463->SetBinContent(35,58718.52); h_SL1L463->SetBinContent(36,62360.93); h_SL1L463->SetBinContent(37,67325.57); h_SL1L463->SetBinContent(38,66602.67); h_SL1L463->SetBinContent(39,55724.59); h_SL1L463->SetBinContent(40,19546.26); h_SL1L463->SetBinContent(41,8011.722); h_SL1L463->SetBinContent(42,4775.938); h_SL1L463->SetBinContent(43,4078.284); h_SL1L463->SetBinContent(44,3589.262); h_SL1L463->SetBinContent(45,3259.704); h_SL1L463->SetBinContent(46,3121.502); h_SL1L463->SetBinContent(47,2834.467); h_SL1L463->SetBinContent(48,2659.057); h_SL1L463->SetBinContent(49,2519.526); h_SL1L463->SetBinContent(50,2280.331); h_SL1L463->SetBinContent(51,2079.672); h_SL1L463->SetBinContent(52,1902.933); h_SL1L463->SetBinContent(53,1869.712); h_SL1L463->SetBinContent(54,1801.94); h_SL1L463->SetBinContent(55,1.328864); h_SL1L463->SetBinContent(56,1607.926); h_SL1L463->SetBinContent(57,1480.355); h_SL1L463->SetBinContent(58,1601.281); h_SL1L463->SetBinContent(59,1496.301); h_SL1L463->SetMaximum(78682.11); 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 6598"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }