void RatesPerCell_Removing_noisy_cells_run_6613_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:57:14 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12164.56,67.5,109481); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6613",60,0,60); h_SL1L160->SetBinContent(1,213.6493); h_SL1L160->SetBinContent(2,251.1316); h_SL1L160->SetBinContent(3,251.1316); h_SL1L160->SetBinContent(4,322.348); h_SL1L160->SetBinContent(5,341.0892); h_SL1L160->SetBinContent(6,322.348); h_SL1L160->SetBinContent(7,371.075); h_SL1L160->SetBinContent(8,344.8374); h_SL1L160->SetBinContent(9,393.5644); h_SL1L160->SetBinContent(10,382.3197); h_SL1L160->SetBinContent(11,404.8091); h_SL1L160->SetBinContent(12,528.5008); h_SL1L160->SetBinContent(13,483.522); h_SL1L160->SetBinContent(14,562.2349); h_SL1L160->SetBinContent(15,491.0185); h_SL1L160->SetBinContent(16,509.7596); h_SL1L160->SetBinContent(17,622.2066); h_SL1L160->SetBinContent(18,952.0511); h_SL1L160->SetBinContent(19,970.7922); h_SL1L160->SetBinContent(20,1086.987); h_SL1L160->SetBinContent(21,1236.917); h_SL1L160->SetBinContent(22,1409.335); h_SL1L160->SetBinContent(23,1540.524); h_SL1L160->SetBinContent(24,1799.152); h_SL1L160->SetBinContent(25,1705.446); h_SL1L160->SetBinContent(26,1589.251); h_SL1L160->SetBinContent(27,1776.662); h_SL1L160->SetBinContent(28,2762.448); h_SL1L160->SetBinContent(29,2957.355); h_SL1L160->SetBinContent(30,3931.896); h_SL1L160->SetBinContent(31,4895.192); h_SL1L160->SetBinContent(32,8609.69); h_SL1L160->SetBinContent(33,34191.38); h_SL1L160->SetBinContent(34,51373.28); h_SL1L160->SetBinContent(35,59240.82); h_SL1L160->SetBinContent(36,66504.89); h_SL1L160->SetBinContent(37,71748.67); h_SL1L160->SetBinContent(38,64394.64); h_SL1L160->SetBinContent(39,37579.78); h_SL1L160->SetBinContent(40,9220.652); h_SL1L160->SetBinContent(41,5532.391); h_SL1L160->SetBinContent(42,4070.581); h_SL1L160->SetBinContent(43,3455.87); h_SL1L160->SetBinContent(44,3126.026); h_SL1L160->SetBinContent(45,2593.777); h_SL1L160->SetBinContent(46,2432.603); h_SL1L160->SetBinContent(47,2406.365); h_SL1L160->SetBinContent(48,2095.262); h_SL1L160->SetBinContent(49,1802.9); h_SL1L160->SetBinContent(50,1649.222); h_SL1L160->SetBinContent(51,1405.587); h_SL1L160->SetBinContent(52,1368.105); h_SL1L160->SetBinContent(53,1334.371); h_SL1L160->SetBinContent(54,1165.7); h_SL1L160->SetBinContent(55,1120.722); h_SL1L160->SetBinContent(56,1004.526); h_SL1L160->SetBinContent(57,1012.023); h_SL1L160->SetBinContent(58,937.0582); h_SL1L160->SetBinContent(59,978.2887); h_SL1L160->SetMaximum(97316.45); 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,179.9152); h_SL1L261->SetBinContent(2,168.6705); h_SL1L261->SetBinContent(3,202.4046); h_SL1L261->SetBinContent(4,209.901); h_SL1L261->SetBinContent(5,296.1104); h_SL1L261->SetBinContent(6,262.3763); h_SL1L261->SetBinContent(7,262.3763); h_SL1L261->SetBinContent(8,266.1245); h_SL1L261->SetBinContent(9,307.3551); h_SL1L261->SetBinContent(10,333.5927); h_SL1L261->SetBinContent(11,359.8303); h_SL1L261->SetBinContent(12,461.0326); h_SL1L261->SetBinContent(13,464.7809); h_SL1L261->SetBinContent(14,483.522); h_SL1L261->SetBinContent(15,457.2844); h_SL1L261->SetBinContent(16,431.0468); h_SL1L261->SetBinContent(17,479.7738); h_SL1L261->SetBinContent(18,794.6253); h_SL1L261->SetBinContent(19,820.8629); h_SL1L261->SetBinContent(20,922.0652); h_SL1L261->SetBinContent(21,997.0298); h_SL1L261->SetBinContent(22,1150.707); h_SL1L261->SetBinContent(23,1278.147); h_SL1L261->SetBinContent(24,1529.279); h_SL1L261->SetBinContent(25,1784.159); h_SL1L261->SetBinContent(26,1480.552); h_SL1L261->SetBinContent(27,1585.502); h_SL1L261->SetBinContent(28,2286.422); h_SL1L261->SetBinContent(29,2612.518); h_SL1L261->SetBinContent(30,3290.948); h_SL1L261->SetBinContent(31,4231.754); h_SL1L261->SetBinContent(32,6829.28); h_SL1L261->SetBinContent(33,18096.47); h_SL1L261->SetBinContent(34,47074.05); h_SL1L261->SetBinContent(35,56534.59); h_SL1L261->SetBinContent(36,64450.86); h_SL1L261->SetBinContent(37,71801.14); h_SL1L261->SetBinContent(38,70466.77); h_SL1L261->SetBinContent(39,54593.01); h_SL1L261->SetBinContent(40,18340.1); h_SL1L261->SetBinContent(41,7811.317); h_SL1L261->SetBinContent(42,4400.425); h_SL1L261->SetBinContent(43,3710.75); h_SL1L261->SetBinContent(44,3148.515); h_SL1L261->SetBinContent(45,2751.203); h_SL1L261->SetBinContent(46,2346.394); h_SL1L261->SetBinContent(47,2402.617); h_SL1L261->SetBinContent(48,2027.794); h_SL1L261->SetBinContent(49,22103.33); h_SL1L261->SetBinContent(50,1649.222); h_SL1L261->SetBinContent(51,1454.314); h_SL1L261->SetBinContent(52,1664.215); h_SL1L261->SetBinContent(53,1686.705); h_SL1L261->SetBinContent(54,1274.399); h_SL1L261->SetBinContent(55,1090.736); h_SL1L261->SetBinContent(56,9280.624); h_SL1L261->SetBinContent(57,1120.722); h_SL1L261->SetBinContent(58,798.3735); h_SL1L261->SetBinContent(59,892.0793); h_SL1L261->SetMaximum(84623.1); 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,108.6987); h_SL1L362->SetBinContent(2,191.1599); h_SL1L362->SetBinContent(3,168.6705); h_SL1L362->SetBinContent(4,251.1316); h_SL1L362->SetBinContent(5,247.3833); h_SL1L362->SetBinContent(6,194.9081); h_SL1L362->SetBinContent(7,303.6068); h_SL1L362->SetBinContent(8,262.3763); h_SL1L362->SetBinContent(9,288.6139); h_SL1L362->SetBinContent(10,269.8727); h_SL1L362->SetBinContent(11,329.8445); h_SL1L362->SetBinContent(12,363.5786); h_SL1L362->SetBinContent(13,416.0538); h_SL1L362->SetBinContent(14,423.5503); h_SL1L362->SetBinContent(15,412.3056); h_SL1L362->SetBinContent(16,438.5432); h_SL1L362->SetBinContent(17,547.2419); h_SL1L362->SetBinContent(18,712.1642); h_SL1L362->SetBinContent(19,772.1359); h_SL1L362->SetBinContent(20,910.8205); h_SL1L362->SetBinContent(21,1008.275); h_SL1L362->SetBinContent(22,1195.686); h_SL1L362->SetBinContent(23,1424.328); h_SL1L362->SetBinContent(24,1465.559); h_SL1L362->SetBinContent(25,1506.79); h_SL1L362->SetBinContent(26,1424.328); h_SL1L362->SetBinContent(27,1881.613); h_SL1L362->SetBinContent(28,2507.568); h_SL1L362->SetBinContent(29,2762.448); h_SL1L362->SetBinContent(30,3669.52); h_SL1L362->SetBinContent(31,4771.5); h_SL1L362->SetBinContent(32,8609.69); h_SL1L362->SetBinContent(33,35060.97); h_SL1L362->SetBinContent(34,52883.81); h_SL1L362->SetBinContent(35,60950.01); h_SL1L362->SetBinContent(36,68513.95); h_SL1L362->SetBinContent(37,73585.3); h_SL1L362->SetBinContent(38,64083.53); h_SL1L362->SetBinContent(39,38325.68); h_SL1L362->SetBinContent(40,9115.702); h_SL1L362->SetBinContent(41,5251.274); h_SL1L362->SetBinContent(42,4070.581); h_SL1L362->SetBinContent(43,3238.473); h_SL1L362->SetBinContent(44,2811.175); h_SL1L362->SetBinContent(45,2387.624); h_SL1L362->SetBinContent(46,2320.156); h_SL1L362->SetBinContent(47,2282.674); h_SL1L362->SetBinContent(48,1859.123); h_SL1L362->SetBinContent(49,1682.956); h_SL1L362->SetBinContent(50,1480.552); h_SL1L362->SetBinContent(51,1210.679); h_SL1L362->SetBinContent(52,1225.672); h_SL1L362->SetBinContent(53,6889.251); h_SL1L362->SetBinContent(54,1071.995); h_SL1L362->SetBinContent(55,1012.023); h_SL1L362->SetBinContent(56,8823.34); h_SL1L362->SetBinContent(57,1889.109); h_SL1L362->SetBinContent(58,700.9195); h_SL1L362->SetBinContent(59,847.1006); h_SL1L362->SetMaximum(84623.1); 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,116.1952); h_SL1L463->SetBinContent(3,131.1881); h_SL1L463->SetBinContent(4,146.1811); h_SL1L463->SetBinContent(5,187.4116); h_SL1L463->SetBinContent(6,153.6775); h_SL1L463->SetBinContent(7,202.4046); h_SL1L463->SetBinContent(8,217.3975); h_SL1L463->SetBinContent(9,232.3904); h_SL1L463->SetBinContent(10,258.6281); h_SL1L463->SetBinContent(11,273.621); h_SL1L463->SetBinContent(12,341.0892); h_SL1L463->SetBinContent(13,356.0821); h_SL1L463->SetBinContent(14,341.0892); h_SL1L463->SetBinContent(15,344.8374); h_SL1L463->SetBinContent(16,348.5856); h_SL1L463->SetBinContent(17,419.8021); h_SL1L463->SetBinContent(18,584.7243); h_SL1L463->SetBinContent(19,719.6606); h_SL1L463->SetBinContent(20,798.3735); h_SL1L463->SetBinContent(21,865.8417); h_SL1L463->SetBinContent(22,940.8064); h_SL1L463->SetBinContent(23,1049.505); h_SL1L463->SetBinContent(24,1300.637); h_SL1L463->SetBinContent(25,1446.818); h_SL1L463->SetBinContent(26,1375.601); h_SL1L463->SetBinContent(27,1525.531); h_SL1L463->SetBinContent(28,2121.5); h_SL1L463->SetBinContent(29,2503.819); h_SL1L463->SetBinContent(30,3099.788); h_SL1L463->SetBinContent(31,3946.889); h_SL1L463->SetBinContent(32,6514.428); h_SL1L463->SetBinContent(33,17537.98); h_SL1L463->SetBinContent(34,46601.78); h_SL1L463->SetBinContent(35,56373.42); h_SL1L463->SetBinContent(36,63468.82); h_SL1L463->SetBinContent(37,70909.06); h_SL1L463->SetBinContent(38,69079.93); h_SL1L463->SetBinContent(39,54712.95); h_SL1L463->SetBinContent(40,18231.4); h_SL1L463->SetBinContent(41,7391.515); h_SL1L463->SetBinContent(42,4306.719); h_SL1L463->SetBinContent(43,3553.324); h_SL1L463->SetBinContent(44,2863.65); h_SL1L463->SetBinContent(45,2492.575); h_SL1L463->SetBinContent(46,2147.737); h_SL1L463->SetBinContent(47,2260.184); h_SL1L463->SetBinContent(48,1937.836); h_SL1L463->SetBinContent(49,1630.481); h_SL1L463->SetBinContent(50,1454.314); h_SL1L463->SetBinContent(51,1251.91); h_SL1L463->SetBinContent(52,1165.7); h_SL1L463->SetBinContent(53,1105.729); h_SL1L463->SetBinContent(54,1083.239); h_SL1L463->SetBinContent(56,869.59); h_SL1L463->SetBinContent(57,858.3453); h_SL1L463->SetBinContent(58,723.4089); h_SL1L463->SetBinContent(59,652.1924); h_SL1L463->SetMaximum(84623.1); 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 6613"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }