void RatesPerCell_Removing_noisy_cells_run_7298_SL3() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:54:27 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1446.556,67.5,13019.01); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7298",60,0,60); h_SL3L168->SetBinContent(1,1944.713); h_SL3L168->SetBinContent(2,3716.562); h_SL3L168->SetBinContent(3,7.202639); h_SL3L168->SetBinContent(4,6381.538); h_SL3L168->SetBinContent(5,6374.335); h_SL3L168->SetBinContent(6,7519.555); h_SL3L168->SetBinContent(7,7814.863); h_SL3L168->SetBinContent(8,7461.934); h_SL3L168->SetBinContent(9,6568.807); h_SL3L168->SetBinContent(10,7750.04); h_SL3L168->SetBinContent(11,7670.811); h_SL3L168->SetBinContent(12,7325.084); h_SL3L168->SetBinContent(13,6705.657); h_SL3L168->SetBinContent(14,8160.59); h_SL3L168->SetBinContent(15,7447.529); h_SL3L168->SetBinContent(16,7346.692); h_SL3L168->SetBinContent(17,7152.221); h_SL3L168->SetBinContent(18,8088.563); h_SL3L168->SetBinContent(19,8009.334); h_SL3L168->SetBinContent(20,7389.908); h_SL3L168->SetBinContent(21,7224.247); h_SL3L168->SetBinContent(22,8081.361); h_SL3L168->SetBinContent(23,7836.471); h_SL3L168->SetBinContent(24,7505.15); h_SL3L168->SetBinContent(25,7325.084); h_SL3L168->SetBinContent(26,7922.903); h_SL3L168->SetBinContent(27,7930.105); h_SL3L168->SetBinContent(28,7202.639); h_SL3L168->SetBinContent(29,7714.026); h_SL3L168->SetBinContent(30,8549.532); h_SL3L168->SetBinContent(31,8261.427); h_SL3L168->SetBinContent(32,8268.63); h_SL3L168->SetBinContent(33,7663.608); h_SL3L168->SetBinContent(34,8376.669); h_SL3L168->SetBinContent(35,8571.141); h_SL3L168->SetBinContent(36,7627.595); h_SL3L168->SetBinContent(37,7829.269); h_SL3L168->SetBinContent(38,8693.585); h_SL3L168->SetBinContent(39,8081.361); h_SL3L168->SetBinContent(40,8167.793); h_SL3L168->SetBinContent(41,7533.96); h_SL3L168->SetBinContent(42,7728.432); h_SL3L168->SetBinContent(43,8218.211); h_SL3L168->SetBinContent(44,7224.247); h_SL3L168->SetBinContent(45,2326.452); h_SL3L168->SetBinContent(46,7245.855); h_SL3L168->SetBinContent(47,7584.379); h_SL3L168->SetBinContent(48,7865.282); h_SL3L168->SetBinContent(49,6612.022); h_SL3L168->SetBinContent(50,3529.293); h_SL3L168->SetBinContent(51,4717.729); h_SL3L168->SetBinContent(52,6302.309); h_SL3L168->SetBinContent(53,5942.177); h_SL3L168->SetBinContent(54,6720.062); h_SL3L168->SetBinContent(55,6640.833); h_SL3L168->SetBinContent(56,6568.807); h_SL3L168->SetBinContent(57,6633.63); h_SL3L168->SetBinContent(58,6928.939); h_SL3L168->SetBinContent(59,4652.905); h_SL3L168->SetMaximum(11572.45); 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,460.9689); h_SL3L269->SetBinContent(2,5113.874); h_SL3L269->SetBinContent(4,3565.306); h_SL3L269->SetBinContent(5,6251.891); h_SL3L269->SetBinContent(6,7267.463); h_SL3L269->SetBinContent(7,7555.568); h_SL3L269->SetBinContent(8,7764.445); h_SL3L269->SetBinContent(9,6943.344); h_SL3L269->SetBinContent(10,7116.208); h_SL3L269->SetBinContent(11,7793.255); h_SL3L269->SetBinContent(12,7404.313); h_SL3L269->SetBinContent(13,6871.318); h_SL3L269->SetBinContent(14,7814.863); h_SL3L269->SetBinContent(15,7584.379); h_SL3L269->SetBinContent(16,7512.353); h_SL3L269->SetBinContent(17,6928.939); h_SL3L269->SetBinContent(18,7829.269); h_SL3L269->SetBinContent(19,7642); h_SL3L269->SetBinContent(20,7728.432); h_SL3L269->SetBinContent(21,6885.723); h_SL3L269->SetBinContent(22,8052.55); h_SL3L269->SetBinContent(23,8023.74); h_SL3L269->SetBinContent(24,7512.353); h_SL3L269->SetBinContent(25,7332.287); h_SL3L269->SetBinContent(26,8016.537); h_SL3L269->SetBinContent(27,7937.308); h_SL3L269->SetBinContent(28,7533.96); h_SL3L269->SetBinContent(29,7166.626); h_SL3L269->SetBinContent(30,8751.206); h_SL3L269->SetBinContent(31,8326.251); h_SL3L269->SetBinContent(32,8196.604); h_SL3L269->SetBinContent(33,7814.863); h_SL3L269->SetBinContent(34,8153.388); h_SL3L269->SetBinContent(35,8549.532); h_SL3L269->SetBinContent(36,8362.264); h_SL3L269->SetBinContent(37,7036.979); h_SL3L269->SetBinContent(38,8722.396); h_SL3L269->SetBinContent(39,8484.709); h_SL3L269->SetBinContent(40,8095.766); h_SL3L269->SetBinContent(41,7519.555); h_SL3L269->SetBinContent(42,7778.85); h_SL3L269->SetBinContent(43,7894.092); h_SL3L269->SetBinContent(44,8434.29); h_SL3L269->SetBinContent(45,3997.465); h_SL3L269->SetBinContent(46,4537.663); h_SL3L269->SetBinContent(47,7807.661); h_SL3L269->SetBinContent(48,7533.96); h_SL3L269->SetBinContent(49,6784.886); h_SL3L269->SetBinContent(50,6576.009); h_SL3L269->SetBinContent(51,1627.796); h_SL3L269->SetBinContent(52,6323.917); h_SL3L269->SetBinContent(53,6136.648); h_SL3L269->SetBinContent(54,6431.957); h_SL3L269->SetBinContent(55,6907.331); h_SL3L269->SetBinContent(56,6604.82); h_SL3L269->SetBinContent(57,6460.767); h_SL3L269->SetBinContent(58,6892.926); h_SL3L269->SetBinContent(59,6093.433); h_SL3L269->SetMaximum(10063.89); 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,2297.642); h_SL3L370->SetBinContent(2,3334.822); h_SL3L370->SetBinContent(3,1138.017); h_SL3L370->SetBinContent(4,5401.979); h_SL3L370->SetBinContent(5,6842.507); h_SL3L370->SetBinContent(6,7152.221); h_SL3L370->SetBinContent(7,7620.392); h_SL3L370->SetBinContent(8,7397.11); h_SL3L370->SetBinContent(9,7425.921); h_SL3L370->SetBinContent(10,7166.626); h_SL3L370->SetBinContent(11,7447.529); h_SL3L370->SetBinContent(12,7181.031); h_SL3L370->SetBinContent(13,7577.176); h_SL3L370->SetBinContent(14,7591.582); h_SL3L370->SetBinContent(15,7425.921); h_SL3L370->SetBinContent(16,6914.534); h_SL3L370->SetBinContent(17,7483.542); h_SL3L370->SetBinContent(18,7930.105); h_SL3L370->SetBinContent(19,7685.216); h_SL3L370->SetBinContent(20,7000.965); h_SL3L370->SetBinContent(21,7973.321); h_SL3L370->SetBinContent(22,7908.498); h_SL3L370->SetBinContent(23,7721.229); h_SL3L370->SetBinContent(24,7101.802); h_SL3L370->SetBinContent(25,7778.85); h_SL3L370->SetBinContent(26,7836.471); h_SL3L370->SetBinContent(27,7735.634); h_SL3L370->SetBinContent(28,7303.476); h_SL3L370->SetBinContent(29,8167.793); h_SL3L370->SetBinContent(30,8218.211); h_SL3L370->SetBinContent(31,7937.308); h_SL3L370->SetBinContent(32,7901.295); h_SL3L370->SetBinContent(33,8599.951); h_SL3L370->SetBinContent(34,8030.942); h_SL3L370->SetBinContent(35,8491.911); h_SL3L370->SetBinContent(36,7584.379); h_SL3L370->SetBinContent(37,8038.145); h_SL3L370->SetBinContent(38,8542.33); h_SL3L370->SetBinContent(39,8030.942); h_SL3L370->SetBinContent(40,7692.418); h_SL3L370->SetBinContent(41,8218.211); h_SL3L370->SetBinContent(42,7555.568); h_SL3L370->SetBinContent(43,8146.185); h_SL3L370->SetBinContent(44,7750.04); h_SL3L370->SetBinContent(45,129.6475); h_SL3L370->SetBinContent(46,7735.634); h_SL3L370->SetBinContent(47,7548.366); h_SL3L370->SetBinContent(48,7274.666); h_SL3L370->SetBinContent(49,7598.784); h_SL3L370->SetBinContent(50,3572.509); h_SL3L370->SetBinContent(51,4364.799); h_SL3L370->SetBinContent(52,5920.569); h_SL3L370->SetBinContent(53,6410.349); h_SL3L370->SetBinContent(54,6626.428); h_SL3L370->SetBinContent(55,6842.507); h_SL3L370->SetBinContent(56,6612.022); h_SL3L370->SetBinContent(57,6489.578); h_SL3L370->SetBinContent(58,6727.265); h_SL3L370->SetBinContent(59,4724.931); h_SL3L370->SetMaximum(10063.89); 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,4624.094); h_SL3L471->SetBinContent(3,1102.004); h_SL3L471->SetBinContent(4,3190.769); h_SL3L471->SetBinContent(5,6612.022); h_SL3L471->SetBinContent(6,6720.062); h_SL3L471->SetBinContent(7,7447.529); h_SL3L471->SetBinContent(8,7289.071); h_SL3L471->SetBinContent(9,7101.802); h_SL3L471->SetBinContent(10,7368.3); h_SL3L471->SetBinContent(11,7368.3); h_SL3L471->SetBinContent(12,7072.992); h_SL3L471->SetBinContent(13,7591.582); h_SL3L471->SetBinContent(14,8045.348); h_SL3L471->SetBinContent(15,7605.987); h_SL3L471->SetBinContent(16,7166.626); h_SL3L471->SetBinContent(17,7260.26); h_SL3L471->SetBinContent(18,7966.119); h_SL3L471->SetBinContent(19,7735.634); h_SL3L471->SetBinContent(20,7217.044); h_SL3L471->SetBinContent(21,7555.568); h_SL3L471->SetBinContent(22,8283.035); h_SL3L471->SetBinContent(23,7526.758); h_SL3L471->SetBinContent(24,7512.353); h_SL3L471->SetBinContent(25,7476.339); h_SL3L471->SetBinContent(26,8153.388); h_SL3L471->SetBinContent(27,7505.15); h_SL3L471->SetBinContent(28,7483.542); h_SL3L471->SetBinContent(29,7958.916); h_SL3L471->SetBinContent(30,8607.153); h_SL3L471->SetBinContent(31,7865.282); h_SL3L471->SetBinContent(32,7778.85); h_SL3L471->SetBinContent(33,8441.493); h_SL3L471->SetBinContent(34,8297.44); h_SL3L471->SetBinContent(35,8448.695); h_SL3L471->SetBinContent(36,7786.053); h_SL3L471->SetBinContent(37,7613.189); h_SL3L471->SetBinContent(38,8621.559); h_SL3L471->SetBinContent(39,7937.308); h_SL3L471->SetBinContent(40,7879.687); h_SL3L471->SetBinContent(41,7987.727); h_SL3L471->SetBinContent(42,8124.577); h_SL3L471->SetBinContent(43,7836.471); h_SL3L471->SetBinContent(44,8045.348); h_SL3L471->SetBinContent(45,4840.173); h_SL3L471->SetBinContent(46,4335.989); h_SL3L471->SetBinContent(47,7605.987); h_SL3L471->SetBinContent(48,7008.168); h_SL3L471->SetBinContent(49,7188.234); h_SL3L471->SetBinContent(50,6979.357); h_SL3L471->SetBinContent(51,1678.215); h_SL3L471->SetBinContent(52,5877.354); h_SL3L471->SetBinContent(53,6295.106); h_SL3L471->SetBinContent(54,6914.534); h_SL3L471->SetBinContent(55,6756.076); h_SL3L471->SetBinContent(56,6568.807); h_SL3L471->SetBinContent(57,6482.375); h_SL3L471->SetBinContent(58,6763.278); h_SL3L471->SetBinContent(59,5445.195); h_SL3L471->SetMaximum(10063.89); 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 7298"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }