void RatesPerCell_Removing_noisy_cells_run_6798_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:14:03 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11886.98,67.5,106982.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 6798",60,0,60); h_SL1L160->SetBinContent(1,5376.199); h_SL1L160->SetBinContent(2,4774.43); h_SL1L160->SetBinContent(3,4929.341); h_SL1L160->SetBinContent(4,4869.76); h_SL1L160->SetBinContent(5,5046.517); h_SL1L160->SetBinContent(6,5183.554); h_SL1L160->SetBinContent(7,5082.266); h_SL1L160->SetBinContent(8,5199.442); h_SL1L160->SetBinContent(9,4448.72); h_SL1L160->SetBinContent(10,4262.033); h_SL1L160->SetBinContent(11,4399.069); h_SL1L160->SetBinContent(12,4687.044); h_SL1L160->SetBinContent(13,5006.796); h_SL1L160->SetBinContent(14,4943.243); h_SL1L160->SetBinContent(15,4824.081); h_SL1L160->SetBinContent(16,4726.765); h_SL1L160->SetBinContent(17,4919.411); h_SL1L160->SetBinContent(18,5177.595); h_SL1L160->SetBinContent(19,5562.886); h_SL1L160->SetBinContent(20,5727.728); h_SL1L160->SetBinContent(21,5842.917); h_SL1L160->SetBinContent(22,6168.627); h_SL1L160->SetBinContent(23,6184.516); h_SL1L160->SetBinContent(24,6027.619); h_SL1L160->SetBinContent(25,6236.152); h_SL1L160->SetBinContent(26,6003.786); h_SL1L160->SetBinContent(27,6224.236); h_SL1L160->SetBinContent(28,6871.684); h_SL1L160->SetBinContent(29,7191.436); h_SL1L160->SetBinContent(30,7656.168); h_SL1L160->SetBinContent(31,8349.295); h_SL1L160->SetBinContent(32,11111.87); h_SL1L160->SetBinContent(33,36366.3); h_SL1L160->SetBinContent(34,52717.34); h_SL1L160->SetBinContent(35,57767.82); h_SL1L160->SetBinContent(36,59644.63); h_SL1L160->SetBinContent(37,63616.7); h_SL1L160->SetBinContent(38,60242.43); h_SL1L160->SetBinContent(39,38449.65); h_SL1L160->SetBinContent(40,11479.29); h_SL1L160->SetBinContent(41,8426.75); h_SL1L160->SetBinContent(42,7352.305); h_SL1L160->SetBinContent(43,6820.047); h_SL1L160->SetBinContent(44,6470.505); h_SL1L160->SetBinContent(45,6194.446); h_SL1L160->SetBinContent(46,5767.448); h_SL1L160->SetBinContent(47,5870.722); h_SL1L160->SetBinContent(48,5203.414); h_SL1L160->SetBinContent(49,5195.47); h_SL1L160->SetBinContent(50,5074.321); h_SL1L160->SetBinContent(51,4820.109); h_SL1L160->SetBinContent(52,4635.408); h_SL1L160->SetBinContent(53,4714.849); h_SL1L160->SetBinContent(54,4526.176); h_SL1L160->SetBinContent(55,4484.469); h_SL1L160->SetBinContent(56,4418.93); h_SL1L160->SetBinContent(57,4548.022); h_SL1L160->SetBinContent(58,4462.623); h_SL1L160->SetBinContent(59,4728.751); h_SL1L160->SetMaximum(95095.8); 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,5088.224); h_SL1L261->SetBinContent(2,4873.732); h_SL1L261->SetBinContent(3,4955.159); h_SL1L261->SetBinContent(4,5004.81); h_SL1L261->SetBinContent(5,4939.271); h_SL1L261->SetBinContent(6,5346.408); h_SL1L261->SetBinContent(7,5207.386); h_SL1L261->SetBinContent(8,5042.545); h_SL1L261->SetBinContent(9,4935.299); h_SL1L261->SetBinContent(10,4492.413); h_SL1L261->SetBinContent(11,4563.91); h_SL1L261->SetBinContent(12,4530.148); h_SL1L261->SetBinContent(13,4977.006); h_SL1L261->SetBinContent(14,5042.545); h_SL1L261->SetBinContent(15,5151.777); h_SL1L261->SetBinContent(16,5022.685); h_SL1L261->SetBinContent(17,4996.866); h_SL1L261->SetBinContent(18,5364.283); h_SL1L261->SetBinContent(19,5654.244); h_SL1L261->SetBinContent(20,5854.833); h_SL1L261->SetBinContent(21,6216.292); h_SL1L261->SetBinContent(22,6246.083); h_SL1L261->SetBinContent(23,6684.997); h_SL1L261->SetBinContent(24,6611.513); h_SL1L261->SetBinContent(25,7113.98); h_SL1L261->SetBinContent(26,6673.081); h_SL1L261->SetBinContent(27,6665.136); h_SL1L261->SetBinContent(28,7262.933); h_SL1L261->SetBinContent(29,7803.135); h_SL1L261->SetBinContent(30,8295.672); h_SL1L261->SetBinContent(31,8458.526); h_SL1L261->SetBinContent(32,11300.54); h_SL1L261->SetBinContent(33,23131.36); h_SL1L261->SetBinContent(34,55501.76); h_SL1L261->SetBinContent(35,62971.24); h_SL1L261->SetBinContent(36,67842.98); h_SL1L261->SetBinContent(37,71906.41); h_SL1L261->SetBinContent(38,70625.42); h_SL1L261->SetBinContent(39,58335.83); h_SL1L261->SetBinContent(40,22595.13); h_SL1L261->SetBinContent(41,11834.79); h_SL1L261->SetBinContent(42,8442.639); h_SL1L261->SetBinContent(43,7596.587); h_SL1L261->SetBinContent(44,7364.221); h_SL1L261->SetBinContent(45,7181.505); h_SL1L261->SetBinContent(46,6778.34); h_SL1L261->SetBinContent(47,6466.533); h_SL1L261->SetBinContent(48,6236.152); h_SL1L261->SetBinContent(49,14410.68); h_SL1L261->SetBinContent(50,5695.951); h_SL1L261->SetBinContent(51,5529.124); h_SL1L261->SetBinContent(52,5102.126); h_SL1L261->SetBinContent(53,5624.454); h_SL1L261->SetBinContent(54,5348.395); h_SL1L261->SetBinContent(55,5177.595); h_SL1L261->SetBinContent(56,7451.606); h_SL1L261->SetBinContent(57,4998.852); h_SL1L261->SetBinContent(58,4895.578); h_SL1L261->SetBinContent(59,4482.483); h_SL1L261->SetMaximum(82692.38); 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,996.99); h_SL1L362->SetBinContent(2,848.0373); h_SL1L362->SetBinContent(3,979.1157); h_SL1L362->SetBinContent(4,1004.934); h_SL1L362->SetBinContent(5,927.4788); h_SL1L362->SetBinContent(6,1030.753); h_SL1L362->SetBinContent(7,953.2972); h_SL1L362->SetBinContent(8,933.4368); h_SL1L362->SetBinContent(9,913.5765); h_SL1L362->SetBinContent(10,853.9954); h_SL1L362->SetBinContent(11,871.8698); h_SL1L362->SetBinContent(12,963.2274); h_SL1L362->SetBinContent(13,937.4089); h_SL1L362->SetBinContent(14,810.3026); h_SL1L362->SetBinContent(15,919.5346); h_SL1L362->SetBinContent(16,911.5905); h_SL1L362->SetBinContent(17,828.1769); h_SL1L362->SetBinContent(18,963.2274); h_SL1L362->SetBinContent(19,977.1296); h_SL1L362->SetBinContent(20,991.0319); h_SL1L362->SetBinContent(21,1038.697); h_SL1L362->SetBinContent(22,1020.822); h_SL1L362->SetBinContent(23,991.0319); h_SL1L362->SetBinContent(24,1020.822); h_SL1L362->SetBinContent(25,909.6044); h_SL1L362->SetBinContent(26,869.8837); h_SL1L362->SetBinContent(27,943.367); h_SL1L362->SetBinContent(28,1006.92); h_SL1L362->SetBinContent(29,1042.669); h_SL1L362->SetBinContent(30,979.1157); h_SL1L362->SetBinContent(31,1163.817); h_SL1L362->SetBinContent(32,1159.845); h_SL1L362->SetBinContent(33,2071.435); h_SL1L362->SetBinContent(34,3096.23); h_SL1L362->SetBinContent(35,3314.694); h_SL1L362->SetBinContent(36,3352.428); h_SL1L362->SetBinContent(37,3572.878); h_SL1L362->SetBinContent(38,3046.579); h_SL1L362->SetBinContent(39,2460.698); h_SL1L362->SetBinContent(40,1006.92); h_SL1L362->SetBinContent(41,1004.934); h_SL1L362->SetBinContent(42,1034.725); h_SL1L362->SetBinContent(43,1010.892); h_SL1L362->SetBinContent(44,961.2413); h_SL1L362->SetBinContent(45,824.2049); h_SL1L362->SetBinContent(46,887.758); h_SL1L362->SetBinContent(47,907.6183); h_SL1L362->SetBinContent(48,760.6517); h_SL1L362->SetBinContent(49,907.6183); h_SL1L362->SetBinContent(50,732.8472); h_SL1L362->SetBinContent(51,760.6517); h_SL1L362->SetBinContent(52,764.6238); h_SL1L362->SetBinContent(53,2923.445); h_SL1L362->SetBinContent(54,677.2382); h_SL1L362->SetBinContent(55,762.6378); h_SL1L362->SetBinContent(56,4212.382); h_SL1L362->SetBinContent(57,838.1071); h_SL1L362->SetBinContent(58,671.2801); h_SL1L362->SetBinContent(59,645.4617); h_SL1L362->SetMaximum(82692.38); 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,4462.623); h_SL1L463->SetBinContent(3,4583.771); h_SL1L463->SetBinContent(4,4518.231); h_SL1L463->SetBinContent(5,4508.301); h_SL1L463->SetBinContent(6,4585.757); h_SL1L463->SetBinContent(7,4514.259); h_SL1L463->SetBinContent(8,4397.083); h_SL1L463->SetBinContent(9,4363.321); h_SL1L463->SetBinContent(10,4128.968); h_SL1L463->SetBinContent(11,4152.801); h_SL1L463->SetBinContent(12,4262.033); h_SL1L463->SetBinContent(13,4383.181); h_SL1L463->SetBinContent(14,4702.933); h_SL1L463->SetBinContent(15,4700.947); h_SL1L463->SetBinContent(16,4486.455); h_SL1L463->SetBinContent(17,4480.497); h_SL1L463->SetBinContent(18,4649.31); h_SL1L463->SetBinContent(19,4762.514); h_SL1L463->SetBinContent(20,4867.774); h_SL1L463->SetBinContent(21,5114.042); h_SL1L463->SetBinContent(22,5415.92); h_SL1L463->SetBinContent(23,5489.403); h_SL1L463->SetBinContent(24,5626.439); h_SL1L463->SetBinContent(25,5533.096); h_SL1L463->SetBinContent(26,5489.403); h_SL1L463->SetBinContent(27,5628.425); h_SL1L463->SetBinContent(28,6007.758); h_SL1L463->SetBinContent(29,6319.566); h_SL1L463->SetBinContent(30,6798.201); h_SL1L463->SetBinContent(31,7304.64); h_SL1L463->SetBinContent(32,9382.033); h_SL1L463->SetBinContent(33,19175.18); h_SL1L463->SetBinContent(34,50193.08); h_SL1L463->SetBinContent(35,58468.89); h_SL1L463->SetBinContent(36,61477.74); h_SL1L463->SetBinContent(37,63102.32); h_SL1L463->SetBinContent(38,63545.2); h_SL1L463->SetBinContent(39,54699.4); h_SL1L463->SetBinContent(40,19856.39); h_SL1L463->SetBinContent(41,9775.269); h_SL1L463->SetBinContent(42,7026.595); h_SL1L463->SetBinContent(43,6434.756); h_SL1L463->SetBinContent(44,6168.627); h_SL1L463->SetBinContent(45,5558.914); h_SL1L463->SetBinContent(46,5684.035); h_SL1L463->SetBinContent(47,5461.599); h_SL1L463->SetBinContent(48,5100.14); h_SL1L463->SetBinContent(49,4661.226); h_SL1L463->SetBinContent(50,4637.394); h_SL1L463->SetBinContent(51,4426.874); h_SL1L463->SetBinContent(52,4154.787); h_SL1L463->SetBinContent(53,4329.558); h_SL1L463->SetBinContent(54,4200.466); h_SL1L463->SetBinContent(55,1.986036); h_SL1L463->SetBinContent(56,4218.34); h_SL1L463->SetBinContent(57,3968.1); h_SL1L463->SetBinContent(58,4132.94); h_SL1L463->SetBinContent(59,4001.862); h_SL1L463->SetMaximum(82692.38); 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 6798"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }