void RatesPerCell_Removing_noisy_cells_run_6348_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:53:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1355.131,67.5,12196.18); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6348",60,0,60); h_SL1L160->SetBinContent(1,342.8571); h_SL1L160->SetBinContent(2,311.9048); h_SL1L160->SetBinContent(3,380.9524); h_SL1L160->SetBinContent(4,385.7143); h_SL1L160->SetBinContent(5,316.6667); h_SL1L160->SetBinContent(6,459.5238); h_SL1L160->SetBinContent(7,395.2381); h_SL1L160->SetBinContent(8,435.7143); h_SL1L160->SetBinContent(9,369.0476); h_SL1L160->SetBinContent(10,438.0952); h_SL1L160->SetBinContent(11,423.8095); h_SL1L160->SetBinContent(12,471.4286); h_SL1L160->SetBinContent(13,535.7143); h_SL1L160->SetBinContent(14,542.8571); h_SL1L160->SetBinContent(15,376.1905); h_SL1L160->SetBinContent(16,414.2857); h_SL1L160->SetBinContent(17,426.1905); h_SL1L160->SetBinContent(18,454.7619); h_SL1L160->SetBinContent(19,459.5238); h_SL1L160->SetBinContent(20,466.6667); h_SL1L160->SetBinContent(21,464.2857); h_SL1L160->SetBinContent(22,530.9524); h_SL1L160->SetBinContent(23,502.381); h_SL1L160->SetBinContent(24,333.3333); h_SL1L160->SetBinContent(25,404.7619); h_SL1L160->SetBinContent(26,466.6667); h_SL1L160->SetBinContent(27,433.3333); h_SL1L160->SetBinContent(28,383.3333); h_SL1L160->SetBinContent(29,514.2857); h_SL1L160->SetBinContent(30,535.7143); h_SL1L160->SetBinContent(31,442.8571); h_SL1L160->SetBinContent(32,390.4762); h_SL1L160->SetBinContent(33,435.7143); h_SL1L160->SetBinContent(34,561.9048); h_SL1L160->SetBinContent(35,459.5238); h_SL1L160->SetBinContent(36,388.0952); h_SL1L160->SetBinContent(37,504.7619); h_SL1L160->SetBinContent(38,547.619); h_SL1L160->SetBinContent(39,433.3333); h_SL1L160->SetBinContent(40,433.3333); h_SL1L160->SetBinContent(41,464.2857); h_SL1L160->SetBinContent(42,550); h_SL1L160->SetBinContent(43,435.7143); h_SL1L160->SetBinContent(44,476.1905); h_SL1L160->SetBinContent(45,435.7143); h_SL1L160->SetBinContent(46,373.8095); h_SL1L160->SetBinContent(47,371.4286); h_SL1L160->SetBinContent(48,288.0952); h_SL1L160->SetBinContent(49,359.5238); h_SL1L160->SetBinContent(50,357.1429); h_SL1L160->SetBinContent(51,390.4762); h_SL1L160->SetBinContent(52,323.8095); h_SL1L160->SetBinContent(53,364.2857); h_SL1L160->SetBinContent(54,311.9048); h_SL1L160->SetBinContent(55,238.0952); h_SL1L160->SetBinContent(56,240.4762); h_SL1L160->SetBinContent(57,283.3333); h_SL1L160->SetBinContent(58,257.1429); h_SL1L160->SetBinContent(59,223.8095); h_SL1L160->SetMaximum(10841.05); 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,2830.952); h_SL1L261->SetBinContent(2,3569.048); h_SL1L261->SetBinContent(3,4233.333); h_SL1L261->SetBinContent(4,5269.047); h_SL1L261->SetBinContent(5,5783.333); h_SL1L261->SetBinContent(6,6059.524); h_SL1L261->SetBinContent(7,6283.333); h_SL1L261->SetBinContent(8,6380.952); h_SL1L261->SetBinContent(9,6604.762); h_SL1L261->SetBinContent(10,7073.81); h_SL1L261->SetBinContent(11,6569.047); h_SL1L261->SetBinContent(12,6495.238); h_SL1L261->SetBinContent(13,6961.905); h_SL1L261->SetBinContent(14,7240.476); h_SL1L261->SetBinContent(15,6709.524); h_SL1L261->SetBinContent(16,6769.047); h_SL1L261->SetBinContent(17,7242.857); h_SL1L261->SetBinContent(18,7380.952); h_SL1L261->SetBinContent(19,7007.143); h_SL1L261->SetBinContent(20,7078.571); h_SL1L261->SetBinContent(21,7230.952); h_SL1L261->SetBinContent(22,7273.81); h_SL1L261->SetBinContent(23,7128.571); h_SL1L261->SetBinContent(24,6923.81); h_SL1L261->SetBinContent(25,7354.762); h_SL1L261->SetBinContent(26,7402.381); h_SL1L261->SetBinContent(27,6964.286); h_SL1L261->SetBinContent(28,7442.857); h_SL1L261->SetBinContent(29,7592.857); h_SL1L261->SetBinContent(30,7652.381); h_SL1L261->SetBinContent(31,7476.19); h_SL1L261->SetBinContent(32,7364.286); h_SL1L261->SetBinContent(33,7797.619); h_SL1L261->SetBinContent(34,7785.714); h_SL1L261->SetBinContent(35,7080.952); h_SL1L261->SetBinContent(36,7250); h_SL1L261->SetBinContent(37,7533.333); h_SL1L261->SetBinContent(38,8064.286); h_SL1L261->SetBinContent(39,7133.333); h_SL1L261->SetBinContent(40,7028.571); h_SL1L261->SetBinContent(41,7476.19); h_SL1L261->SetBinContent(42,7559.524); h_SL1L261->SetBinContent(43,7295.238); h_SL1L261->SetBinContent(44,7061.905); h_SL1L261->SetBinContent(45,7078.571); h_SL1L261->SetBinContent(46,7569.047); h_SL1L261->SetBinContent(47,6152.381); h_SL1L261->SetBinContent(48,5409.524); h_SL1L261->SetBinContent(49,5880.952); h_SL1L261->SetBinContent(50,5630.952); h_SL1L261->SetBinContent(51,5097.619); h_SL1L261->SetBinContent(52,5309.524); h_SL1L261->SetBinContent(53,5680.952); h_SL1L261->SetBinContent(54,5447.619); h_SL1L261->SetBinContent(55,4690.476); h_SL1L261->SetBinContent(56,4497.619); h_SL1L261->SetBinContent(57,4354.762); h_SL1L261->SetBinContent(58,3759.524); h_SL1L261->SetBinContent(59,3233.333); h_SL1L261->SetMaximum(9427.262); 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,3223.81); h_SL1L362->SetBinContent(2,3900); h_SL1L362->SetBinContent(3,4783.333); h_SL1L362->SetBinContent(4,5902.381); h_SL1L362->SetBinContent(5,6104.762); h_SL1L362->SetBinContent(6,6319.047); h_SL1L362->SetBinContent(7,6407.143); h_SL1L362->SetBinContent(8,6752.381); h_SL1L362->SetBinContent(9,6930.952); h_SL1L362->SetBinContent(10,6723.81); h_SL1L362->SetBinContent(11,6519.047); h_SL1L362->SetBinContent(12,6921.429); h_SL1L362->SetBinContent(13,7254.762); h_SL1L362->SetBinContent(14,6823.81); h_SL1L362->SetBinContent(15,6842.857); h_SL1L362->SetBinContent(16,7104.762); h_SL1L362->SetBinContent(17,7457.143); h_SL1L362->SetBinContent(18,7223.81); h_SL1L362->SetBinContent(19,7095.238); h_SL1L362->SetBinContent(20,7480.952); h_SL1L362->SetBinContent(21,7445.238); h_SL1L362->SetBinContent(22,7030.952); h_SL1L362->SetBinContent(23,7119.047); h_SL1L362->SetBinContent(24,7323.81); h_SL1L362->SetBinContent(25,7476.19); h_SL1L362->SetBinContent(26,7135.714); h_SL1L362->SetBinContent(27,7080.952); h_SL1L362->SetBinContent(28,7416.667); h_SL1L362->SetBinContent(29,7745.238); h_SL1L362->SetBinContent(30,7585.714); h_SL1L362->SetBinContent(31,7371.429); h_SL1L362->SetBinContent(32,7616.667); h_SL1L362->SetBinContent(33,8197.619); h_SL1L362->SetBinContent(34,7452.381); h_SL1L362->SetBinContent(35,7014.286); h_SL1L362->SetBinContent(36,7473.81); h_SL1L362->SetBinContent(37,8000); h_SL1L362->SetBinContent(38,7573.81); h_SL1L362->SetBinContent(39,7128.571); h_SL1L362->SetBinContent(40,7350); h_SL1L362->SetBinContent(41,7800); h_SL1L362->SetBinContent(42,7492.857); h_SL1L362->SetBinContent(43,7164.286); h_SL1L362->SetBinContent(44,7502.381); h_SL1L362->SetBinContent(45,7369.047); h_SL1L362->SetBinContent(46,7004.762); h_SL1L362->SetBinContent(47,5609.524); h_SL1L362->SetBinContent(48,5840.476); h_SL1L362->SetBinContent(49,5850); h_SL1L362->SetBinContent(50,5280.952); h_SL1L362->SetBinContent(51,5095.238); h_SL1L362->SetBinContent(52,5685.714); h_SL1L362->SetBinContent(53,5683.333); h_SL1L362->SetBinContent(54,5228.571); h_SL1L362->SetBinContent(55,4580.952); h_SL1L362->SetBinContent(56,4642.857); h_SL1L362->SetBinContent(57,4328.571); h_SL1L362->SetBinContent(58,3580.952); h_SL1L362->SetBinContent(59,2833.333); h_SL1L362->SetMaximum(9427.262); 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,3566.667); h_SL1L463->SetBinContent(3,4259.524); h_SL1L463->SetBinContent(4,5278.571); h_SL1L463->SetBinContent(5,6178.571); h_SL1L463->SetBinContent(6,6335.714); h_SL1L463->SetBinContent(7,6264.286); h_SL1L463->SetBinContent(8,6695.238); h_SL1L463->SetBinContent(9,6861.905); h_SL1L463->SetBinContent(10,7057.143); h_SL1L463->SetBinContent(11,6497.619); h_SL1L463->SetBinContent(12,6692.857); h_SL1L463->SetBinContent(13,7173.81); h_SL1L463->SetBinContent(14,7197.619); h_SL1L463->SetBinContent(15,6678.571); h_SL1L463->SetBinContent(16,6792.857); h_SL1L463->SetBinContent(17,7545.238); h_SL1L463->SetBinContent(18,7319.047); h_SL1L463->SetBinContent(19,6876.19); h_SL1L463->SetBinContent(20,7369.047); h_SL1L463->SetBinContent(21,7464.286); h_SL1L463->SetBinContent(22,7042.857); h_SL1L463->SetBinContent(23,7078.571); h_SL1L463->SetBinContent(24,7154.762); h_SL1L463->SetBinContent(25,7369.047); h_SL1L463->SetBinContent(26,7414.286); h_SL1L463->SetBinContent(27,6666.667); h_SL1L463->SetBinContent(28,7364.286); h_SL1L463->SetBinContent(29,7642.857); h_SL1L463->SetBinContent(30,7785.714); h_SL1L463->SetBinContent(31,7190.476); h_SL1L463->SetBinContent(32,7440.476); h_SL1L463->SetBinContent(33,7985.714); h_SL1L463->SetBinContent(34,7828.571); h_SL1L463->SetBinContent(35,7071.429); h_SL1L463->SetBinContent(36,7292.857); h_SL1L463->SetBinContent(37,7654.762); h_SL1L463->SetBinContent(38,7866.667); h_SL1L463->SetBinContent(39,7288.095); h_SL1L463->SetBinContent(40,7128.571); h_SL1L463->SetBinContent(41,7628.571); h_SL1L463->SetBinContent(42,7645.238); h_SL1L463->SetBinContent(43,7028.571); h_SL1L463->SetBinContent(44,7388.095); h_SL1L463->SetBinContent(45,7533.333); h_SL1L463->SetBinContent(46,7221.429); h_SL1L463->SetBinContent(47,6219.047); h_SL1L463->SetBinContent(48,5630.952); h_SL1L463->SetBinContent(49,5964.286); h_SL1L463->SetBinContent(50,5452.381); h_SL1L463->SetBinContent(51,4840.476); h_SL1L463->SetBinContent(52,5452.381); h_SL1L463->SetBinContent(53,5909.524); h_SL1L463->SetBinContent(54,5580.952); h_SL1L463->SetBinContent(56,4940.476); h_SL1L463->SetBinContent(57,4678.571); h_SL1L463->SetBinContent(58,3957.143); h_SL1L463->SetBinContent(59,3230.952); h_SL1L463->SetMaximum(9427.262); 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 6348"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }