void RatesPerCell_Removing_noisy_cells_run_5748_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:41:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4301.144,67.5,38710.29); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5748",60,0,60); h_SL1L160->SetBinContent(1,3251.664); h_SL1L160->SetBinContent(2,4482.726); h_SL1L160->SetBinContent(3,4672.319); h_SL1L160->SetBinContent(4,5373.557); h_SL1L160->SetBinContent(5,5886.499); h_SL1L160->SetBinContent(6,6308.54); h_SL1L160->SetBinContent(7,6200.757); h_SL1L160->SetBinContent(8,6494.238); h_SL1L160->SetBinContent(9,6816.288); h_SL1L160->SetBinContent(10,6909.786); h_SL1L160->SetBinContent(11,6594.229); h_SL1L160->SetBinContent(12,6750.06); h_SL1L160->SetBinContent(13,7118.859); h_SL1L160->SetBinContent(14,7200.67); h_SL1L160->SetBinContent(15,6600.722); h_SL1L160->SetBinContent(16,6681.235); h_SL1L160->SetBinContent(17,7244.822); h_SL1L160->SetBinContent(18,7114.963); h_SL1L160->SetBinContent(19,6826.677); h_SL1L160->SetBinContent(20,6953.938); h_SL1L160->SetBinContent(21,7372.083); h_SL1L160->SetBinContent(22,7409.743); h_SL1L160->SetBinContent(23,6773.435); h_SL1L160->SetBinContent(24,7005.882); h_SL1L160->SetBinContent(25,7485.061); h_SL1L160->SetBinContent(26,7557.782); h_SL1L160->SetBinContent(27,7203.267); h_SL1L160->SetBinContent(28,7140.935); h_SL1L160->SetBinContent(29,8235.645); h_SL1L160->SetBinContent(30,26018.51); h_SL1L160->SetBinContent(31,7969.434); h_SL1L160->SetBinContent(32,8546.007); h_SL1L160->SetBinContent(33,7748.674); h_SL1L160->SetBinContent(34,7892.817); h_SL1L160->SetBinContent(35,7253.912); h_SL1L160->SetBinContent(36,7177.295); h_SL1L160->SetBinContent(37,7592.844); h_SL1L160->SetBinContent(38,7600.635); h_SL1L160->SetBinContent(39,7838.277); h_SL1L160->SetBinContent(40,7034.451); h_SL1L160->SetBinContent(41,7388.965); h_SL1L160->SetBinContent(42,7231.836); h_SL1L160->SetBinContent(43,5411.216); h_SL1L160->SetBinContent(44,5442.382); h_SL1L160->SetBinContent(45,7095.484); h_SL1L160->SetBinContent(46,8635.609); h_SL1L160->SetBinContent(47,5518.999); h_SL1L160->SetBinContent(48,5261.878); h_SL1L160->SetBinContent(49,5622.886); h_SL1L160->SetBinContent(50,5643.663); h_SL1L160->SetBinContent(51,4958.009); h_SL1L160->SetBinContent(52,5130.721); h_SL1L160->SetBinContent(53,5290.447); h_SL1L160->SetBinContent(54,5228.115); h_SL1L160->SetBinContent(55,4478.83); h_SL1L160->SetBinContent(56,4106.135); h_SL1L160->SetBinContent(57,3928.229); h_SL1L160->SetBinContent(58,3438.661); h_SL1L160->SetBinContent(59,2785.471); h_SL1L160->SetMaximum(34409.15); 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,2962.079); h_SL1L261->SetBinContent(2,3581.505); h_SL1L261->SetBinContent(3,4399.616); h_SL1L261->SetBinContent(4,5206.039); h_SL1L261->SetBinContent(5,5846.243); h_SL1L261->SetBinContent(6,6402.039); h_SL1L261->SetBinContent(7,6304.645); h_SL1L261->SetBinContent(8,18177.63); h_SL1L261->SetBinContent(9,7046.138); h_SL1L261->SetBinContent(10,6912.383); h_SL1L261->SetBinContent(11,6844.857); h_SL1L261->SetBinContent(12,6927.966); h_SL1L261->SetBinContent(13,7108.47); h_SL1L261->SetBinContent(14,7511.033); h_SL1L261->SetBinContent(15,6852.648); h_SL1L261->SetBinContent(16,6851.35); h_SL1L261->SetBinContent(17,7218.85); h_SL1L261->SetBinContent(18,7460.388); h_SL1L261->SetBinContent(19,6889.009); h_SL1L261->SetBinContent(20,7079.901); h_SL1L261->SetBinContent(21,7382.472); h_SL1L261->SetBinContent(22,7695.432); h_SL1L261->SetBinContent(23,7120.158); h_SL1L261->SetBinContent(24,7055.228); h_SL1L261->SetBinContent(25,7517.525); h_SL1L261->SetBinContent(26,7909.699); h_SL1L261->SetBinContent(27,7381.174); h_SL1L261->SetBinContent(28,7816.201); h_SL1L261->SetBinContent(29,7688.939); h_SL1L261->SetBinContent(30,7873.338); h_SL1L261->SetBinContent(31,7533.108); h_SL1L261->SetBinContent(32,7435.714); h_SL1L261->SetBinContent(33,7796.722); h_SL1L261->SetBinContent(34,8086.307); h_SL1L261->SetBinContent(35,7531.81); h_SL1L261->SetBinContent(36,7326.633); h_SL1L261->SetBinContent(37,7572.066); h_SL1L261->SetBinContent(38,7838.277); h_SL1L261->SetBinContent(39,7308.453); h_SL1L261->SetBinContent(40,7230.538); h_SL1L261->SetBinContent(41,7559.08); h_SL1L261->SetBinContent(42,7648.683); h_SL1L261->SetBinContent(43,5398.23); h_SL1L261->SetBinContent(44,5598.212); h_SL1L261->SetBinContent(45,7472.075); h_SL1L261->SetBinContent(46,7656.475); h_SL1L261->SetBinContent(47,6372.171); h_SL1L261->SetBinContent(48,5520.297); h_SL1L261->SetBinContent(49,5690.412); h_SL1L261->SetBinContent(50,5791.702); h_SL1L261->SetBinContent(51,5286.551); h_SL1L261->SetBinContent(52,5256.684); h_SL1L261->SetBinContent(53,5557.956); h_SL1L261->SetBinContent(54,5572.241); h_SL1L261->SetBinContent(55,4958.009); h_SL1L261->SetBinContent(56,4571.029); h_SL1L261->SetBinContent(57,4219.112); h_SL1L261->SetBinContent(58,3847.716); h_SL1L261->SetBinContent(59,3185.436); h_SL1L261->SetMaximum(29921.28); 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,3329.579); h_SL1L362->SetBinContent(2,3925.631); h_SL1L362->SetBinContent(3,4948.918); h_SL1L362->SetBinContent(4,5664.44); h_SL1L362->SetBinContent(5,6290.36); h_SL1L362->SetBinContent(6,6542.286); h_SL1L362->SetBinContent(7,6448.788); h_SL1L362->SetBinContent(8,7044.839); h_SL1L362->SetBinContent(9,7161.712); h_SL1L362->SetBinContent(10,6826.677); h_SL1L362->SetBinContent(11,6889.009); h_SL1L362->SetBinContent(12,7159.115); h_SL1L362->SetBinContent(13,7482.463); h_SL1L362->SetBinContent(14,7178.594); h_SL1L362->SetBinContent(15,6691.624); h_SL1L362->SetBinContent(16,7085.096); h_SL1L362->SetBinContent(17,7592.844); h_SL1L362->SetBinContent(19,6960.431); h_SL1L362->SetBinContent(20,7375.979); h_SL1L362->SetBinContent(21,7748.674); h_SL1L362->SetBinContent(22,7321.438); h_SL1L362->SetBinContent(23,7043.541); h_SL1L362->SetBinContent(24,7411.041); h_SL1L362->SetBinContent(25,7898.012); h_SL1L362->SetBinContent(26,7495.45); h_SL1L362->SetBinContent(27,7453.895); h_SL1L362->SetBinContent(28,7679.849); h_SL1L362->SetBinContent(29,7959.045); h_SL1L362->SetBinContent(30,7808.409); h_SL1L362->SetBinContent(31,7164.31); h_SL1L362->SetBinContent(32,7717.508); h_SL1L362->SetBinContent(33,8105.786); h_SL1L362->SetBinContent(34,7777.243); h_SL1L362->SetBinContent(35,7194.177); h_SL1L362->SetBinContent(36,7762.958); h_SL1L362->SetBinContent(37,7865.547); h_SL1L362->SetBinContent(38,7562.976); h_SL1L362->SetBinContent(39,7195.476); h_SL1L362->SetBinContent(40,7474.672); h_SL1L362->SetBinContent(41,7882.429); h_SL1L362->SetBinContent(42,7281.183); h_SL1L362->SetBinContent(43,5417.709); h_SL1L362->SetBinContent(45,7405.847); h_SL1L362->SetBinContent(46,7196.774); h_SL1L362->SetBinContent(47,5621.587); h_SL1L362->SetBinContent(48,5678.725); h_SL1L362->SetBinContent(49,5983.893); h_SL1L362->SetBinContent(50,5455.368); h_SL1L362->SetBinContent(51,5243.698); h_SL1L362->SetBinContent(52,5677.426); h_SL1L362->SetBinContent(53,5925.457); h_SL1L362->SetBinContent(54,5412.515); h_SL1L362->SetBinContent(55,4916.454); h_SL1L362->SetBinContent(56,4593.105); h_SL1L362->SetBinContent(57,4248.979); h_SL1L362->SetBinContent(58,3652.928); h_SL1L362->SetBinContent(59,2715.347); h_SL1L362->SetMaximum(29921.28); 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,3624.359); h_SL1L463->SetBinContent(3,4417.796); h_SL1L463->SetBinContent(4,5376.154); h_SL1L463->SetBinContent(5,6060.51); h_SL1L463->SetBinContent(6,6517.613); h_SL1L463->SetBinContent(7,6361.782); h_SL1L463->SetBinContent(8,6774.733); h_SL1L463->SetBinContent(9,7461.686); h_SL1L463->SetBinContent(10,6956.536); h_SL1L463->SetBinContent(11,6663.055); h_SL1L463->SetBinContent(12,7239.627); h_SL1L463->SetBinContent(13,7344.813); h_SL1L463->SetBinContent(14,7362.994); h_SL1L463->SetBinContent(15,6725.387); h_SL1L463->SetBinContent(16,6864.336); h_SL1L463->SetBinContent(17,7469.478); h_SL1L463->SetBinContent(18,7585.052); h_SL1L463->SetBinContent(19,6911.085); h_SL1L463->SetBinContent(20,7369.486); h_SL1L463->SetBinContent(21,7683.745); h_SL1L463->SetBinContent(22,7617.517); h_SL1L463->SetBinContent(23,7004.583); h_SL1L463->SetBinContent(24,7339.619); h_SL1L463->SetBinContent(25,7592.844); h_SL1L463->SetBinContent(26,7678.55); h_SL1L463->SetBinContent(27,7113.665); h_SL1L463->SetBinContent(28,7700.626); h_SL1L463->SetBinContent(29,7827.888); h_SL1L463->SetBinContent(30,7838.277); h_SL1L463->SetBinContent(31,7411.041); h_SL1L463->SetBinContent(32,7566.872); h_SL1L463->SetBinContent(33,8034.363); h_SL1L463->SetBinContent(34,8172.014); h_SL1L463->SetBinContent(35,7334.425); h_SL1L463->SetBinContent(36,7703.224); h_SL1L463->SetBinContent(37,8038.259); h_SL1L463->SetBinContent(38,7794.125); h_SL1L463->SetBinContent(39,7339.619); h_SL1L463->SetBinContent(40,7433.117); h_SL1L463->SetBinContent(41,7769.452); h_SL1L463->SetBinContent(42,7600.635); h_SL1L463->SetBinContent(43,5356.675); h_SL1L463->SetBinContent(44,5876.11); h_SL1L463->SetBinContent(45,7681.147); h_SL1L463->SetBinContent(46,7505.838); h_SL1L463->SetBinContent(47,6279.971); h_SL1L463->SetBinContent(48,5703.398); h_SL1L463->SetBinContent(49,5786.508); h_SL1L463->SetBinContent(50,5838.451); h_SL1L463->SetBinContent(51,5107.346); h_SL1L463->SetBinContent(52,5547.567); h_SL1L463->SetBinContent(53,5882.603); h_SL1L463->SetBinContent(54,5954.025); h_SL1L463->SetBinContent(55,185.6981); h_SL1L463->SetBinContent(56,5077.479); h_SL1L463->SetBinContent(57,4685.305); h_SL1L463->SetBinContent(58,4032.115); h_SL1L463->SetBinContent(59,3152.971); h_SL1L463->SetMaximum(29921.28); 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 5748"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }