void RatesPerCell_Removing_noisy_cells_run_5816_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:24:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1785.375,67.5,16068.38); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5816",60,0,60); h_SL3L168->SetBinContent(1,2279.824); h_SL3L168->SetBinContent(2,3564.15); h_SL3L168->SetBinContent(4,6616.11); h_SL3L168->SetBinContent(5,6800.96); h_SL3L168->SetBinContent(6,8154.606); h_SL3L168->SetBinContent(7,7732.916); h_SL3L168->SetBinContent(8,7721.362); h_SL3L168->SetBinContent(9,7263.087); h_SL3L168->SetBinContent(10,7831.117); h_SL3L168->SetBinContent(11,7852.298); h_SL3L168->SetBinContent(12,7709.809); h_SL3L168->SetBinContent(13,7376.693); h_SL3L168->SetBinContent(14,8331.754); h_SL3L168->SetBinContent(15,8089.138); h_SL3L168->SetBinContent(16,7863.851); h_SL3L168->SetBinContent(17,7349.735); h_SL3L168->SetBinContent(18,8243.18); h_SL3L168->SetBinContent(19,8121.872); h_SL3L168->SetBinContent(20,7775.277); h_SL3L168->SetBinContent(21,7288.119); h_SL3L168->SetBinContent(22,8289.393); h_SL3L168->SetBinContent(23,8187.34); h_SL3L168->SetBinContent(24,7713.66); h_SL3L168->SetBinContent(25,7732.916); h_SL3L168->SetBinContent(26,8616.732); h_SL3L168->SetBinContent(27,8183.489); h_SL3L168->SetBinContent(28,7808.011); h_SL3L168->SetBinContent(29,7601.979); h_SL3L168->SetBinContent(30,8934.444); h_SL3L168->SetBinContent(31,8622.509); h_SL3L168->SetBinContent(32,8102.617); h_SL3L168->SetBinContent(33,8170.01); h_SL3L168->SetBinContent(34,9076.933); h_SL3L168->SetBinContent(35,8805.434); h_SL3L168->SetBinContent(36,8273.988); h_SL3L168->SetBinContent(37,7777.203); h_SL3L168->SetBinContent(38,8832.392); h_SL3L168->SetBinContent(39,8410.701); h_SL3L168->SetBinContent(40,8146.904); h_SL3L168->SetBinContent(41,7680.926); h_SL3L168->SetBinContent(42,8591.7); h_SL3L168->SetBinContent(43,8335.605); h_SL3L168->SetBinContent(44,8098.766); h_SL3L168->SetBinContent(45,7650.118); h_SL3L168->SetBinContent(46,8518.53); h_SL3L168->SetBinContent(47,8233.553); h_SL3L168->SetBinContent(48,7490.299); h_SL3L168->SetBinContent(50,3789.437); h_SL3L168->SetBinContent(51,4964.008); h_SL3L168->SetBinContent(52,6658.472); h_SL3L168->SetBinContent(53,6462.068); h_SL3L168->SetBinContent(54,7172.587); h_SL3L168->SetBinContent(55,6987.736); h_SL3L168->SetBinContent(56,6722.014); h_SL3L168->SetBinContent(57,6612.259); h_SL3L168->SetBinContent(58,6779.78); h_SL3L168->SetBinContent(59,4983.263); h_SL3L168->SetMaximum(14283); 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,550.7006); h_SL3L269->SetBinContent(2,5087.242); h_SL3L269->SetBinContent(4,3550.671); h_SL3L269->SetBinContent(5,6481.323); h_SL3L269->SetBinContent(6,7892.734); h_SL3L269->SetBinContent(7,7798.383); h_SL3L269->SetBinContent(8,7538.437); h_SL3L269->SetBinContent(9,7353.586); h_SL3L269->SetBinContent(10,7692.479); h_SL3L269->SetBinContent(11,7911.989); h_SL3L269->SetBinContent(12,7750.245); h_SL3L269->SetBinContent(13,7318.927); h_SL3L269->SetBinContent(14,8004.415); h_SL3L269->SetBinContent(15,8119.946); h_SL3L269->SetBinContent(16,7867.702); h_SL3L269->SetBinContent(17,7286.193); h_SL3L269->SetBinContent(18,8044.851); h_SL3L269->SetBinContent(19,8198.893); h_SL3L269->SetBinContent(20,7707.883); h_SL3L269->SetBinContent(21,7565.395); h_SL3L269->SetBinContent(22,7975.532); h_SL3L269->SetBinContent(23,8162.308); h_SL3L269->SetBinContent(24,7931.245); h_SL3L269->SetBinContent(25,7420.98); h_SL3L269->SetBinContent(26,8387.595); h_SL3L269->SetBinContent(27,8356.786); h_SL3L269->SetBinContent(28,8052.553); h_SL3L269->SetBinContent(29,7361.289); h_SL3L269->SetBinContent(30,8449.211); h_SL3L269->SetBinContent(31,8668.722); h_SL3L269->SetBinContent(32,8310.573); h_SL3L269->SetBinContent(33,7757.947); h_SL3L269->SetBinContent(34,9015.316); h_SL3L269->SetBinContent(35,8901.71); h_SL3L269->SetBinContent(36,8451.137); h_SL3L269->SetBinContent(37,7742.543); h_SL3L269->SetBinContent(38,8601.328); h_SL3L269->SetBinContent(39,8641.764); h_SL3L269->SetBinContent(40,8241.255); h_SL3L269->SetBinContent(41,7696.331); h_SL3L269->SetBinContent(42,8389.52); h_SL3L269->SetBinContent(43,8478.094); h_SL3L269->SetBinContent(44,8158.457); h_SL3L269->SetBinContent(45,7482.597); h_SL3L269->SetBinContent(46,8387.595); h_SL3L269->SetBinContent(47,8110.319); h_SL3L269->SetBinContent(48,7915.84); h_SL3L269->SetBinContent(49,6752.822); h_SL3L269->SetBinContent(50,6978.109); h_SL3L269->SetBinContent(51,1823.474); h_SL3L269->SetBinContent(52,7120.598); h_SL3L269->SetBinContent(53,6236.781); h_SL3L269->SetBinContent(54,7035.875); h_SL3L269->SetBinContent(55,7136.002); h_SL3L269->SetBinContent(56,6885.684); h_SL3L269->SetBinContent(57,6625.737); h_SL3L269->SetBinContent(58,6870.279); h_SL3L269->SetBinContent(59,5994.165); h_SL3L269->SetMaximum(12420.32); 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,2645.674); h_SL3L370->SetBinContent(2,3265.693); h_SL3L370->SetBinContent(3,1180.348); h_SL3L370->SetBinContent(4,5836.271); h_SL3L370->SetBinContent(5,7313.15); h_SL3L370->SetBinContent(6,7634.713); h_SL3L370->SetBinContent(7,7617.384); h_SL3L370->SetBinContent(8,7330.48); h_SL3L370->SetBinContent(9,7931.245); h_SL3L370->SetBinContent(10,7561.543); h_SL3L370->SetBinContent(11,7698.256); h_SL3L370->SetBinContent(12,7440.235); h_SL3L370->SetBinContent(13,7921.617); h_SL3L370->SetBinContent(14,7992.861); h_SL3L370->SetBinContent(15,7813.788); h_SL3L370->SetBinContent(16,7459.491); h_SL3L370->SetBinContent(17,7927.394); h_SL3L370->SetBinContent(18,8193.116); h_SL3L370->SetBinContent(19,7777.203); h_SL3L370->SetBinContent(20,7530.735); h_SL3L370->SetBinContent(21,7989.01); h_SL3L370->SetBinContent(22,8044.851); h_SL3L370->SetBinContent(23,7886.958); h_SL3L370->SetBinContent(24,7419.055); h_SL3L370->SetBinContent(25,8248.957); h_SL3L370->SetBinContent(26,8333.68); h_SL3L370->SetBinContent(27,7987.085); h_SL3L370->SetBinContent(28,7442.161); h_SL3L370->SetBinContent(29,8225.851); h_SL3L370->SetBinContent(30,8428.03); h_SL3L370->SetBinContent(31,8337.531); h_SL3L370->SetBinContent(32,7802.234); h_SL3L370->SetBinContent(33,8686.051); h_SL3L370->SetBinContent(34,8830.466); h_SL3L370->SetBinContent(35,8674.498); h_SL3L370->SetBinContent(36,7911.989); h_SL3L370->SetBinContent(37,8456.913); h_SL3L370->SetBinContent(38,8553.189); h_SL3L370->SetBinContent(39,8258.584); h_SL3L370->SetBinContent(40,7838.819); h_SL3L370->SetBinContent(41,8414.552); h_SL3L370->SetBinContent(42,8410.701); h_SL3L370->SetBinContent(43,8208.521); h_SL3L370->SetBinContent(44,7954.351); h_SL3L370->SetBinContent(45,10039.7); h_SL3L370->SetBinContent(46,8250.882); h_SL3L370->SetBinContent(47,8023.67); h_SL3L370->SetBinContent(48,7164.885); h_SL3L370->SetBinContent(49,7675.149); h_SL3L370->SetBinContent(50,3799.064); h_SL3L370->SetBinContent(51,4542.317); h_SL3L370->SetBinContent(52,6504.429); h_SL3L370->SetBinContent(53,7193.768); h_SL3L370->SetBinContent(54,7078.236); h_SL3L370->SetBinContent(55,6968.481); h_SL3L370->SetBinContent(56,6785.556); h_SL3L370->SetBinContent(57,6562.195); h_SL3L370->SetBinContent(58,6406.228); h_SL3L370->SetBinContent(59,4644.371); h_SL3L370->SetMaximum(12420.32); 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,4823.444); h_SL3L471->SetBinContent(3,1157.242); h_SL3L471->SetBinContent(4,3313.832); h_SL3L471->SetBinContent(5,6722.014); h_SL3L471->SetBinContent(6,7673.224); h_SL3L471->SetBinContent(7,7721.362); h_SL3L471->SetBinContent(8,7236.129); h_SL3L471->SetBinContent(9,7834.968); h_SL3L471->SetBinContent(10,7888.883); h_SL3L471->SetBinContent(11,7467.193); h_SL3L471->SetBinContent(12,7498.001); h_SL3L471->SetBinContent(13,7730.99); h_SL3L471->SetBinContent(14,8189.265); h_SL3L471->SetBinContent(15,7844.596); h_SL3L471->SetBinContent(16,7551.916); h_SL3L471->SetBinContent(17,7644.341); h_SL3L471->SetBinContent(18,8196.968); h_SL3L471->SetBinContent(19,8054.479); h_SL3L471->SetBinContent(20,7534.586); h_SL3L471->SetBinContent(21,7815.713); h_SL3L471->SetBinContent(22,8035.223); h_SL3L471->SetBinContent(23,7906.213); h_SL3L471->SetBinContent(24,7730.99); h_SL3L471->SetBinContent(25,8037.148); h_SL3L471->SetBinContent(26,8435.732); h_SL3L471->SetBinContent(27,8283.616); h_SL3L471->SetBinContent(28,7790.681); h_SL3L471->SetBinContent(29,7973.606); h_SL3L471->SetBinContent(30,8453.062); h_SL3L471->SetBinContent(31,8231.627); h_SL3L471->SetBinContent(32,8075.659); h_SL3L471->SetBinContent(33,8304.797); h_SL3L471->SetBinContent(34,9086.561); h_SL3L471->SetBinContent(35,8495.424); h_SL3L471->SetBinContent(36,8397.222); h_SL3L471->SetBinContent(37,8152.68); h_SL3L471->SetBinContent(38,8630.211); h_SL3L471->SetBinContent(39,8462.69); h_SL3L471->SetBinContent(40,7985.159); h_SL3L471->SetBinContent(41,8225.851); h_SL3L471->SetBinContent(42,8651.392); h_SL3L471->SetBinContent(43,8189.265); h_SL3L471->SetBinContent(44,7956.276); h_SL3L471->SetBinContent(45,8202.744); h_SL3L471->SetBinContent(46,10800.28); h_SL3L471->SetBinContent(47,7940.872); h_SL3L471->SetBinContent(48,7575.022); h_SL3L471->SetBinContent(49,7168.736); h_SL3L471->SetBinContent(51,1846.58); h_SL3L471->SetBinContent(52,6523.685); h_SL3L471->SetBinContent(53,6800.96); h_SL3L471->SetBinContent(54,7295.821); h_SL3L471->SetBinContent(55,7033.949); h_SL3L471->SetBinContent(56,6752.822); h_SL3L471->SetBinContent(57,6656.546); h_SL3L471->SetBinContent(58,6648.844); h_SL3L471->SetBinContent(59,5562.847); h_SL3L471->SetMaximum(12420.32); 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 5816"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }