void RatesPerCell_Removing_noisy_cells_run_7295_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:23:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1440.663,67.5,12965.96); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7295",60,0,60); h_SL3L168->SetBinContent(1,2137.472); h_SL3L168->SetBinContent(2,3467.98); h_SL3L168->SetBinContent(3,3.936413); h_SL3L168->SetBinContent(4,6506.89); h_SL3L168->SetBinContent(5,6546.254); h_SL3L168->SetBinContent(6,7400.456); h_SL3L168->SetBinContent(7,7632.705); h_SL3L168->SetBinContent(8,7030.433); h_SL3L168->SetBinContent(9,6569.873); h_SL3L168->SetBinContent(10,7754.733); h_SL3L168->SetBinContent(11,7530.358); h_SL3L168->SetBinContent(12,7144.589); h_SL3L168->SetBinContent(13,6849.358); h_SL3L168->SetBinContent(14,7424.075); h_SL3L168->SetBinContent(15,7577.595); h_SL3L168->SetBinContent(16,7569.722); h_SL3L168->SetBinContent(17,6943.832); h_SL3L168->SetBinContent(18,7801.97); h_SL3L168->SetBinContent(19,7597.277); h_SL3L168->SetBinContent(20,7798.034); h_SL3L168->SetBinContent(21,7160.335); h_SL3L168->SetBinContent(22,8124.756); h_SL3L168->SetBinContent(23,8034.219); h_SL3L168->SetBinContent(24,7203.635); h_SL3L168->SetBinContent(25,7239.063); h_SL3L168->SetBinContent(26,8305.831); h_SL3L168->SetBinContent(27,7986.981); h_SL3L168->SetBinContent(28,7841.334); h_SL3L168->SetBinContent(29,7089.479); h_SL3L168->SetBinContent(30,8443.605); h_SL3L168->SetBinContent(31,8238.912); h_SL3L168->SetBinContent(32,7947.618); h_SL3L168->SetBinContent(33,7857.08); h_SL3L168->SetBinContent(34,8561.698); h_SL3L168->SetBinContent(35,8715.218); h_SL3L168->SetBinContent(36,8132.629); h_SL3L168->SetBinContent(37,7703.56); h_SL3L168->SetBinContent(38,8294.021); h_SL3L168->SetBinContent(39,8309.768); h_SL3L168->SetBinContent(40,8105.074); h_SL3L168->SetBinContent(41,7534.294); h_SL3L168->SetBinContent(42,8518.397); h_SL3L168->SetBinContent(43,8211.357); h_SL3L168->SetBinContent(44,7002.878); h_SL3L168->SetBinContent(45,2243.755); h_SL3L168->SetBinContent(46,7774.416); h_SL3L168->SetBinContent(47,7955.49); h_SL3L168->SetBinContent(48,7278.427); h_SL3L168->SetBinContent(49,6491.145); h_SL3L168->SetBinContent(50,3578.199); h_SL3L168->SetBinContent(51,5081.909); h_SL3L168->SetBinContent(52,6388.798); h_SL3L168->SetBinContent(53,6069.949); h_SL3L168->SetBinContent(54,6955.642); h_SL3L168->SetBinContent(55,7034.37); h_SL3L168->SetBinContent(56,6727.33); h_SL3L168->SetBinContent(57,6880.85); h_SL3L168->SetBinContent(58,6892.659); h_SL3L168->SetBinContent(59,4629.222); h_SL3L168->SetMaximum(11525.3); 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,495.988); h_SL3L269->SetBinContent(2,4865.406); h_SL3L269->SetBinContent(4,3601.818); h_SL3L269->SetBinContent(5,6089.631); h_SL3L269->SetBinContent(6,7298.109); h_SL3L269->SetBinContent(7,7345.346); h_SL3L269->SetBinContent(8,7420.138); h_SL3L269->SetBinContent(9,6538.382); h_SL3L269->SetBinContent(10,7632.705); h_SL3L269->SetBinContent(11,7526.421); h_SL3L269->SetBinContent(12,7124.907); h_SL3L269->SetBinContent(13,6908.404); h_SL3L269->SetBinContent(14,7589.404); h_SL3L269->SetBinContent(15,7475.248); h_SL3L269->SetBinContent(16,7408.329); h_SL3L269->SetBinContent(17,7038.306); h_SL3L269->SetBinContent(18,7620.895); h_SL3L269->SetBinContent(19,7424.075); h_SL3L269->SetBinContent(20,7676.005); h_SL3L269->SetBinContent(21,7408.329); h_SL3L269->SetBinContent(22,7849.207); h_SL3L269->SetBinContent(23,8061.773); h_SL3L269->SetBinContent(24,7762.606); h_SL3L269->SetBinContent(25,6959.578); h_SL3L269->SetBinContent(26,7904.317); h_SL3L269->SetBinContent(27,8049.964); h_SL3L269->SetBinContent(28,7648.45); h_SL3L269->SetBinContent(29,7199.699); h_SL3L269->SetBinContent(30,7959.427); h_SL3L269->SetBinContent(31,8372.75); h_SL3L269->SetBinContent(32,8116.883); h_SL3L269->SetBinContent(33,7746.86); h_SL3L269->SetBinContent(34,8561.698); h_SL3L269->SetBinContent(35,8585.316); h_SL3L269->SetBinContent(36,8494.779); h_SL3L269->SetBinContent(37,7620.895); h_SL3L269->SetBinContent(38,8231.039); h_SL3L269->SetBinContent(39,8341.259); h_SL3L269->SetBinContent(40,8215.294); h_SL3L269->SetBinContent(41,7758.669); h_SL3L269->SetBinContent(42,8404.241); h_SL3L269->SetBinContent(43,8321.577); h_SL3L269->SetBinContent(44,8301.895); h_SL3L269->SetBinContent(45,3940.349); h_SL3L269->SetBinContent(46,4861.47); h_SL3L269->SetBinContent(47,8329.449); h_SL3L269->SetBinContent(48,7428.011); h_SL3L269->SetBinContent(49,6601.364); h_SL3L269->SetBinContent(50,6833.613); h_SL3L269->SetBinContent(51,1924.906); h_SL3L269->SetBinContent(52,6731.266); h_SL3L269->SetBinContent(53,5908.556); h_SL3L269->SetBinContent(54,7018.624); h_SL3L269->SetBinContent(55,6869.041); h_SL3L269->SetBinContent(56,6817.867); h_SL3L269->SetBinContent(57,6691.902); h_SL3L269->SetBinContent(58,7057.988); h_SL3L269->SetBinContent(59,5877.064); h_SL3L269->SetMaximum(10022.5); 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,2401.212); h_SL3L370->SetBinContent(2,3231.795); h_SL3L370->SetBinContent(3,1169.115); h_SL3L370->SetBinContent(4,5652.689); h_SL3L370->SetBinContent(5,6802.121); h_SL3L370->SetBinContent(6,7227.254); h_SL3L370->SetBinContent(7,7282.364); h_SL3L370->SetBinContent(8,6861.167); h_SL3L370->SetBinContent(9,7384.71); h_SL3L370->SetBinContent(10,7656.323); h_SL3L370->SetBinContent(11,7428.011); h_SL3L370->SetBinContent(12,6947.769); h_SL3L370->SetBinContent(13,7396.52); h_SL3L370->SetBinContent(14,7593.34); h_SL3L370->SetBinContent(15,7211.508); h_SL3L370->SetBinContent(16,7286.3); h_SL3L370->SetBinContent(17,7518.548); h_SL3L370->SetBinContent(18,7550.04); h_SL3L370->SetBinContent(19,7329.601); h_SL3L370->SetBinContent(20,7487.057); h_SL3L370->SetBinContent(21,7861.017); h_SL3L370->SetBinContent(22,7876.762); h_SL3L370->SetBinContent(23,7624.832); h_SL3L370->SetBinContent(24,7239.063); h_SL3L370->SetBinContent(25,7947.618); h_SL3L370->SetBinContent(26,7955.49); h_SL3L370->SetBinContent(27,7825.589); h_SL3L370->SetBinContent(28,7365.028); h_SL3L370->SetBinContent(29,7951.554); h_SL3L370->SetBinContent(30,8242.849); h_SL3L370->SetBinContent(31,8093.265); h_SL3L370->SetBinContent(32,7546.104); h_SL3L370->SetBinContent(33,8467.224); h_SL3L370->SetBinContent(34,8514.461); h_SL3L370->SetBinContent(35,8400.305); h_SL3L370->SetBinContent(36,7770.479); h_SL3L370->SetBinContent(37,8274.34); h_SL3L370->SetBinContent(38,7975.172); h_SL3L370->SetBinContent(39,8171.993); h_SL3L370->SetBinContent(40,7640.577); h_SL3L370->SetBinContent(41,8321.577); h_SL3L370->SetBinContent(42,8313.704); h_SL3L370->SetBinContent(43,8215.294); h_SL3L370->SetBinContent(44,7561.849); h_SL3L370->SetBinContent(45,98.41032); h_SL3L370->SetBinContent(46,8038.155); h_SL3L370->SetBinContent(47,7746.86); h_SL3L370->SetBinContent(48,6880.85); h_SL3L370->SetBinContent(49,7176.081); h_SL3L370->SetBinContent(50,3763.211); h_SL3L370->SetBinContent(51,4400.91); h_SL3L370->SetBinContent(52,6286.451); h_SL3L370->SetBinContent(53,6829.676); h_SL3L370->SetBinContent(54,6790.312); h_SL3L370->SetBinContent(55,6971.387); h_SL3L370->SetBinContent(56,6609.237); h_SL3L370->SetBinContent(57,6872.977); h_SL3L370->SetBinContent(58,6392.734); h_SL3L370->SetBinContent(59,4511.129); h_SL3L370->SetMaximum(10022.5); 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,4558.366); h_SL3L471->SetBinContent(3,1090.386); h_SL3L471->SetBinContent(4,3342.014); h_SL3L471->SetBinContent(5,6341.561); h_SL3L471->SetBinContent(6,7089.479); h_SL3L471->SetBinContent(7,7365.028); h_SL3L471->SetBinContent(8,6872.977); h_SL3L471->SetBinContent(9,7124.907); h_SL3L471->SetBinContent(10,7672.068); h_SL3L471->SetBinContent(11,7176.081); h_SL3L471->SetBinContent(12,6939.896); h_SL3L471->SetBinContent(13,7337.474); h_SL3L471->SetBinContent(14,7798.034); h_SL3L471->SetBinContent(15,7396.52); h_SL3L471->SetBinContent(16,7187.89); h_SL3L471->SetBinContent(17,7258.745); h_SL3L471->SetBinContent(18,7849.207); h_SL3L471->SetBinContent(19,7372.901); h_SL3L471->SetBinContent(20,7372.901); h_SL3L471->SetBinContent(21,7601.213); h_SL3L471->SetBinContent(22,8317.641); h_SL3L471->SetBinContent(23,7636.641); h_SL3L471->SetBinContent(24,7372.901); h_SL3L471->SetBinContent(25,7459.502); h_SL3L471->SetBinContent(26,8219.229); h_SL3L471->SetBinContent(27,7731.115); h_SL3L471->SetBinContent(28,7825.589); h_SL3L471->SetBinContent(29,7648.45); h_SL3L471->SetBinContent(30,8199.548); h_SL3L471->SetBinContent(31,8372.75); h_SL3L471->SetBinContent(32,7994.854); h_SL3L471->SetBinContent(33,8026.346); h_SL3L471->SetBinContent(34,8534.143); h_SL3L471->SetBinContent(35,8148.375); h_SL3L471->SetBinContent(36,8183.802); h_SL3L471->SetBinContent(37,8049.964); h_SL3L471->SetBinContent(38,8471.16); h_SL3L471->SetBinContent(39,7912.19); h_SL3L471->SetBinContent(40,7955.49); h_SL3L471->SetBinContent(41,8195.611); h_SL3L471->SetBinContent(42,8396.368); h_SL3L471->SetBinContent(43,8116.883); h_SL3L471->SetBinContent(44,7935.808); h_SL3L471->SetBinContent(45,4719.759); h_SL3L471->SetBinContent(46,4546.557); h_SL3L471->SetBinContent(47,8238.912); h_SL3L471->SetBinContent(48,7176.081); h_SL3L471->SetBinContent(49,7117.034); h_SL3L471->SetBinContent(50,6857.231); h_SL3L471->SetBinContent(51,1944.588); h_SL3L471->SetBinContent(52,6365.18); h_SL3L471->SetBinContent(53,6369.116); h_SL3L471->SetBinContent(54,7077.67); h_SL3L471->SetBinContent(55,6975.324); h_SL3L471->SetBinContent(56,6672.22); h_SL3L471->SetBinContent(57,6809.994); h_SL3L471->SetBinContent(58,6648.601); h_SL3L471->SetBinContent(59,5325.966); h_SL3L471->SetMaximum(10022.5); 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 7295"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }