void RatesPerCell_Removing_noisy_cells_run_5821_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:05:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1587.288,67.5,14285.59); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5821",60,0,60); h_SL3L168->SetBinContent(1,2237.408); h_SL3L168->SetBinContent(2,3729.014); h_SL3L168->SetBinContent(4,6563.755); h_SL3L168->SetBinContent(5,7071.315); h_SL3L168->SetBinContent(6,8103.7); h_SL3L168->SetBinContent(7,7813.666); h_SL3L168->SetBinContent(8,7665.195); h_SL3L168->SetBinContent(9,7285.389); h_SL3L168->SetBinContent(10,8265.981); h_SL3L168->SetBinContent(11,7824.024); h_SL3L168->SetBinContent(12,7661.743); h_SL3L168->SetBinContent(13,7067.863); h_SL3L168->SetBinContent(14,8203.831); h_SL3L168->SetBinContent(15,8300.509); h_SL3L168->SetBinContent(16,7979.399); h_SL3L168->SetBinContent(17,7268.125); h_SL3L168->SetBinContent(18,8138.228); h_SL3L168->SetBinContent(19,8262.528); h_SL3L168->SetBinContent(20,7502.914); h_SL3L168->SetBinContent(21,7575.423); h_SL3L168->SetBinContent(22,8228); h_SL3L168->SetBinContent(23,8082.983); h_SL3L168->SetBinContent(24,7920.702); h_SL3L168->SetBinContent(25,7399.331); h_SL3L168->SetBinContent(26,8341.942); h_SL3L168->SetBinContent(27,8407.546); h_SL3L168->SetBinContent(28,8224.548); h_SL3L168->SetBinContent(29,7416.595); h_SL3L168->SetBinContent(30,8859.861); h_SL3L168->SetBinContent(31,8562.921); h_SL3L168->SetBinContent(32,8265.981); h_SL3L168->SetBinContent(33,8145.133); h_SL3L168->SetBinContent(34,8956.539); h_SL3L168->SetBinContent(35,8473.148); h_SL3L168->SetBinContent(36,8107.153); h_SL3L168->SetBinContent(37,7710.082); h_SL3L168->SetBinContent(38,8970.351); h_SL3L168->SetBinContent(39,8828.786); h_SL3L168->SetBinContent(40,8234.906); h_SL3L168->SetBinContent(41,7634.12); h_SL3L168->SetBinContent(42,8576.732); h_SL3L168->SetBinContent(43,8355.754); h_SL3L168->SetBinContent(44,7837.835); h_SL3L168->SetBinContent(45,7623.762); h_SL3L168->SetBinContent(46,8618.166); h_SL3L168->SetBinContent(47,8200.378); h_SL3L168->SetBinContent(48,7489.103); h_SL3L168->SetBinContent(50,3711.75); h_SL3L168->SetBinContent(51,4875.34); h_SL3L168->SetBinContent(52,6549.944); h_SL3L168->SetBinContent(53,6204.665); h_SL3L168->SetBinContent(54,7181.805); h_SL3L168->SetBinContent(55,7233.597); h_SL3L168->SetBinContent(56,7150.729); h_SL3L168->SetBinContent(57,7019.523); h_SL3L168->SetBinContent(58,6839.979); h_SL3L168->SetBinContent(59,5013.452); h_SL3L168->SetMaximum(12698.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,552.4465); h_SL3L269->SetBinContent(2,5282.77); h_SL3L269->SetBinContent(3,3.452791); h_SL3L269->SetBinContent(4,3659.958); h_SL3L269->SetBinContent(5,6432.549); h_SL3L269->SetBinContent(6,8007.021); h_SL3L269->SetBinContent(7,7665.195); h_SL3L269->SetBinContent(8,7713.535); h_SL3L269->SetBinContent(9,7271.577); h_SL3L269->SetBinContent(10,8114.058); h_SL3L269->SetBinContent(11,7837.835); h_SL3L269->SetBinContent(12,7651.384); h_SL3L269->SetBinContent(13,7161.088); h_SL3L269->SetBinContent(14,8034.644); h_SL3L269->SetBinContent(15,8127.87); h_SL3L269->SetBinContent(16,7931.061); h_SL3L269->SetBinContent(17,7520.178); h_SL3L269->SetBinContent(18,7996.664); h_SL3L269->SetBinContent(19,8134.775); h_SL3L269->SetBinContent(20,7703.176); h_SL3L269->SetBinContent(21,7092.032); h_SL3L269->SetBinContent(22,8442.073); h_SL3L269->SetBinContent(23,8000.116); h_SL3L269->SetBinContent(24,8027.738); h_SL3L269->SetBinContent(25,7364.803); h_SL3L269->SetBinContent(26,8224.548); h_SL3L269->SetBinContent(27,8476.602); h_SL3L269->SetBinContent(28,8321.226); h_SL3L269->SetBinContent(29,7609.951); h_SL3L269->SetBinContent(30,8224.548); h_SL3L269->SetBinContent(31,8486.96); h_SL3L269->SetBinContent(32,8604.354); h_SL3L269->SetBinContent(33,8020.833); h_SL3L269->SetBinContent(34,8763.183); h_SL3L269->SetBinContent(35,8538.752); h_SL3L269->SetBinContent(36,8155.492); h_SL3L269->SetBinContent(37,7582.329); h_SL3L269->SetBinContent(38,8770.089); h_SL3L269->SetBinContent(39,8797.711); h_SL3L269->SetBinContent(40,8373.018); h_SL3L269->SetBinContent(41,7806.76); h_SL3L269->SetBinContent(42,8397.188); h_SL3L269->SetBinContent(43,8290.15); h_SL3L269->SetBinContent(44,8093.341); h_SL3L269->SetBinContent(45,7361.35); h_SL3L269->SetBinContent(46,8473.148); h_SL3L269->SetBinContent(47,7972.494); h_SL3L269->SetBinContent(48,7948.324); h_SL3L269->SetBinContent(49,6860.695); h_SL3L269->SetBinContent(50,6953.92); h_SL3L269->SetBinContent(51,1974.996); h_SL3L269->SetBinContent(52,6770.923); h_SL3L269->SetBinContent(53,6025.12); h_SL3L269->SetBinContent(54,7237.049); h_SL3L269->SetBinContent(55,7033.335); h_SL3L269->SetBinContent(56,7199.069); h_SL3L269->SetBinContent(57,6967.732); h_SL3L269->SetBinContent(58,6922.845); h_SL3L269->SetBinContent(59,5969.875); h_SL3L269->SetMaximum(11042.54); 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,2669.007); h_SL3L370->SetBinContent(2,3293.962); h_SL3L370->SetBinContent(3,1318.966); h_SL3L370->SetBinContent(4,5900.819); h_SL3L370->SetBinContent(5,7430.406); h_SL3L370->SetBinContent(6,7837.835); h_SL3L370->SetBinContent(7,7682.459); h_SL3L370->SetBinContent(8,7471.839); h_SL3L370->SetBinContent(9,7934.513); h_SL3L370->SetBinContent(10,8076.078); h_SL3L370->SetBinContent(11,7675.554); h_SL3L370->SetBinContent(12,7333.728); h_SL3L370->SetBinContent(13,7703.176); h_SL3L370->SetBinContent(14,7962.135); h_SL3L370->SetBinContent(15,8193.473); h_SL3L370->SetBinContent(16,7679.007); h_SL3L370->SetBinContent(17,7941.418); h_SL3L370->SetBinContent(18,7927.607); h_SL3L370->SetBinContent(19,7996.664); h_SL3L370->SetBinContent(20,7123.107); h_SL3L370->SetBinContent(21,8103.7); h_SL3L370->SetBinContent(22,8110.605); h_SL3L370->SetBinContent(23,7848.193); h_SL3L370->SetBinContent(24,7616.856); h_SL3L370->SetBinContent(25,8162.397); h_SL3L370->SetBinContent(26,8055.361); h_SL3L370->SetBinContent(27,8286.698); h_SL3L370->SetBinContent(28,7855.099); h_SL3L370->SetBinContent(29,8328.131); h_SL3L370->SetBinContent(30,8290.15); h_SL3L370->SetBinContent(31,8269.434); h_SL3L370->SetBinContent(32,7972.494); h_SL3L370->SetBinContent(33,8794.258); h_SL3L370->SetBinContent(34,8832.238); h_SL3L370->SetBinContent(35,8214.189); h_SL3L370->SetBinContent(36,7810.213); h_SL3L370->SetBinContent(37,8348.848); h_SL3L370->SetBinContent(38,8414.451); h_SL3L370->SetBinContent(39,8545.657); h_SL3L370->SetBinContent(40,8038.097); h_SL3L370->SetBinContent(41,8524.94); h_SL3L370->SetBinContent(42,8286.698); h_SL3L370->SetBinContent(43,8152.039); h_SL3L370->SetBinContent(44,7513.272); h_SL3L370->SetBinContent(45,9602.211); h_SL3L370->SetBinContent(46,8224.548); h_SL3L370->SetBinContent(47,7841.288); h_SL3L370->SetBinContent(48,7178.352); h_SL3L370->SetBinContent(49,7323.369); h_SL3L370->SetBinContent(50,3836.051); h_SL3L370->SetBinContent(51,4492.081); h_SL3L370->SetBinContent(52,6225.382); h_SL3L370->SetBinContent(53,7026.429); h_SL3L370->SetBinContent(54,6957.374); h_SL3L370->SetBinContent(55,7250.86); h_SL3L370->SetBinContent(56,7285.389); h_SL3L370->SetBinContent(57,6967.732); h_SL3L370->SetBinContent(58,6398.021); h_SL3L370->SetBinContent(59,4889.152); h_SL3L370->SetMaximum(11042.54); 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,4982.377); h_SL3L471->SetBinContent(3,1180.854); h_SL3L471->SetBinContent(4,3287.057); h_SL3L471->SetBinContent(5,6798.545); h_SL3L471->SetBinContent(6,7768.779); h_SL3L471->SetBinContent(7,7489.103); h_SL3L471->SetBinContent(8,7388.972); h_SL3L471->SetBinContent(9,7641.026); h_SL3L471->SetBinContent(10,8324.679); h_SL3L471->SetBinContent(11,7565.064); h_SL3L471->SetBinContent(12,7444.217); h_SL3L471->SetBinContent(13,7651.384); h_SL3L471->SetBinContent(14,8179.661); h_SL3L471->SetBinContent(15,7941.418); h_SL3L471->SetBinContent(16,7765.326); h_SL3L471->SetBinContent(17,7872.363); h_SL3L471->SetBinContent(18,8276.34); h_SL3L471->SetBinContent(19,7910.344); h_SL3L471->SetBinContent(20,7513.272); h_SL3L471->SetBinContent(21,7585.781); h_SL3L471->SetBinContent(22,8435.168); h_SL3L471->SetBinContent(23,7865.458); h_SL3L471->SetBinContent(24,7730.798); h_SL3L471->SetBinContent(25,7827.477); h_SL3L471->SetBinContent(26,8438.62); h_SL3L471->SetBinContent(27,8224.548); h_SL3L471->SetBinContent(28,8051.908); h_SL3L471->SetBinContent(29,8069.172); h_SL3L471->SetBinContent(30,8435.168); h_SL3L471->SetBinContent(31,8279.792); h_SL3L471->SetBinContent(32,8317.772); h_SL3L471->SetBinContent(33,8518.035); h_SL3L471->SetBinContent(34,8901.295); h_SL3L471->SetBinContent(35,8404.093); h_SL3L471->SetBinContent(36,7951.777); h_SL3L471->SetBinContent(37,8010.475); h_SL3L471->SetBinContent(38,8621.618); h_SL3L471->SetBinContent(39,8607.808); h_SL3L471->SetBinContent(40,8186.567); h_SL3L471->SetBinContent(41,8269.434); h_SL3L471->SetBinContent(42,8666.505); h_SL3L471->SetBinContent(43,8221.095); h_SL3L471->SetBinContent(44,7779.138); h_SL3L471->SetBinContent(45,7934.513); h_SL3L471->SetBinContent(46,8379.923); h_SL3L471->SetBinContent(47,7689.365); h_SL3L471->SetBinContent(48,7609.951); h_SL3L471->SetBinContent(49,7233.597); h_SL3L471->SetBinContent(51,1971.543); h_SL3L471->SetBinContent(52,6263.362); h_SL3L471->SetBinContent(53,6487.794); h_SL3L471->SetBinContent(54,7323.369); h_SL3L471->SetBinContent(55,7026.429); h_SL3L471->SetBinContent(56,7081.674); h_SL3L471->SetBinContent(57,6933.204); h_SL3L471->SetBinContent(58,6729.489); h_SL3L471->SetBinContent(59,5434.692); h_SL3L471->SetMaximum(11042.54); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL3, run 5821"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }