void RatesPerCell_Removing_noisy_cells_run_6979_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:30:44 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1451.875,67.5,13066.88); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6979",60,0,60); h_SL3L168->SetBinContent(1,1951.811); h_SL3L168->SetBinContent(2,3333.469); h_SL3L168->SetBinContent(4,6030.325); h_SL3L168->SetBinContent(5,6254.188); h_SL3L168->SetBinContent(6,6957.26); h_SL3L168->SetBinContent(7,7111.166); h_SL3L168->SetBinContent(8,6866.315); h_SL3L168->SetBinContent(9,6383.61); h_SL3L168->SetBinContent(10,6967.753); h_SL3L168->SetBinContent(11,7170.63); h_SL3L168->SetBinContent(12,7009.728); h_SL3L168->SetBinContent(13,6338.137); h_SL3L168->SetBinContent(14,7076.188); h_SL3L168->SetBinContent(15,6848.826); h_SL3L168->SetBinContent(16,6803.354); h_SL3L168->SetBinContent(17,6565.499); h_SL3L168->SetBinContent(18,7397.991); h_SL3L168->SetBinContent(19,6922.281); h_SL3L168->SetBinContent(20,6551.507); h_SL3L168->SetBinContent(21,6453.567); h_SL3L168->SetBinContent(22,7387.498); h_SL3L168->SetBinContent(23,7072.69); h_SL3L168->SetBinContent(24,7006.23); h_SL3L168->SetBinContent(25,6750.886); h_SL3L168->SetBinContent(26,7572.885); h_SL3L168->SetBinContent(27,7646.34); h_SL3L168->SetBinContent(28,7079.686); h_SL3L168->SetBinContent(29,6719.405); h_SL3L168->SetBinContent(30,7894.689); h_SL3L168->SetBinContent(31,7726.791); h_SL3L168->SetBinContent(32,7677.821); h_SL3L168->SetBinContent(33,7590.374); h_SL3L168->SetBinContent(34,8195.506); h_SL3L168->SetBinContent(35,7691.812); h_SL3L168->SetBinContent(36,7485.438); h_SL3L168->SetBinContent(37,7852.714); h_SL3L168->SetBinContent(38,8115.055); h_SL3L168->SetBinContent(39,8094.067); h_SL3L168->SetBinContent(40,7691.812); h_SL3L168->SetBinContent(41,7439.966); h_SL3L168->SetBinContent(42,8342.416); h_SL3L168->SetBinContent(43,8146.535); h_SL3L168->SetBinContent(44,7565.889); h_SL3L168->SetBinContent(45,7551.897); h_SL3L168->SetBinContent(46,8398.382); h_SL3L168->SetBinContent(47,7884.195); h_SL3L168->SetBinContent(48,7265.072); h_SL3L168->SetBinContent(49,6264.682); h_SL3L168->SetBinContent(50,7093.677); h_SL3L168->SetBinContent(51,6936.273); h_SL3L168->SetBinContent(52,6338.137); h_SL3L168->SetBinContent(53,6163.244); h_SL3L168->SetBinContent(54,6736.895); h_SL3L168->SetBinContent(55,6240.197); h_SL3L168->SetBinContent(56,6261.184); h_SL3L168->SetBinContent(57,6289.167); h_SL3L168->SetBinContent(58,6813.848); h_SL3L168->SetBinContent(59,4571.714); h_SL3L168->SetMaximum(11615); 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,409.2506); h_SL3L269->SetBinContent(2,4799.075); h_SL3L269->SetBinContent(4,3256.515); h_SL3L269->SetBinContent(5,5753.993); h_SL3L269->SetBinContent(6,7016.724); h_SL3L269->SetBinContent(7,6908.29); h_SL3L269->SetBinContent(8,6995.737); h_SL3L269->SetBinContent(9,6243.695); h_SL3L269->SetBinContent(10,6939.771); h_SL3L269->SetBinContent(11,6824.341); h_SL3L269->SetBinContent(12,6999.234); h_SL3L269->SetBinContent(13,6586.486); h_SL3L269->SetBinContent(14,6817.345); h_SL3L269->SetBinContent(15,7079.686); h_SL3L269->SetBinContent(16,6631.958); h_SL3L269->SetBinContent(17,6376.614); h_SL3L269->SetBinContent(18,7184.622); h_SL3L269->SetBinContent(19,7034.213); h_SL3L269->SetBinContent(20,6890.801); h_SL3L269->SetBinContent(21,5984.853); h_SL3L269->SetBinContent(22,7195.115); h_SL3L269->SetBinContent(23,7132.153); h_SL3L269->SetBinContent(24,7037.711); h_SL3L269->SetBinContent(25,6691.422); h_SL3L269->SetBinContent(26,7272.068); h_SL3L269->SetBinContent(27,7576.383); h_SL3L269->SetBinContent(28,7408.485); h_SL3L269->SetBinContent(29,6527.022); h_SL3L269->SetBinContent(30,7502.928); h_SL3L269->SetBinContent(31,7695.31); h_SL3L269->SetBinContent(32,7761.77); h_SL3L269->SetBinContent(33,7471.447); h_SL3L269->SetBinContent(34,8024.11); h_SL3L269->SetBinContent(35,8160.527); h_SL3L269->SetBinContent(36,7401.489); h_SL3L269->SetBinContent(37,7233.592); h_SL3L269->SetBinContent(38,8254.969); h_SL3L269->SetBinContent(39,7996.127); h_SL3L269->SetBinContent(40,7999.625); h_SL3L269->SetBinContent(41,7390.996); h_SL3L269->SetBinContent(42,8118.552); h_SL3L269->SetBinContent(43,7992.629); h_SL3L269->SetBinContent(44,8111.557); h_SL3L269->SetBinContent(45,6939.771); h_SL3L269->SetBinContent(46,8489.326); h_SL3L269->SetBinContent(47,7887.693); h_SL3L269->SetBinContent(48,7534.408); h_SL3L269->SetBinContent(49,6271.678); h_SL3L269->SetBinContent(50,6967.753); h_SL3L269->SetBinContent(51,7244.085); h_SL3L269->SetBinContent(52,6411.593); h_SL3L269->SetBinContent(53,5988.351); h_SL3L269->SetBinContent(54,6740.392); h_SL3L269->SetBinContent(55,6614.469); h_SL3L269->SetBinContent(56,6096.785); h_SL3L269->SetBinContent(57,6247.193); h_SL3L269->SetBinContent(58,6575.992); h_SL3L269->SetBinContent(59,5785.474); h_SL3L269->SetMaximum(10100.62); 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,2326.083); h_SL3L370->SetBinContent(2,2955.699); h_SL3L370->SetBinContent(3,860.4756); h_SL3L370->SetBinContent(4,5274.785); h_SL3L370->SetBinContent(5,6471.056); h_SL3L370->SetBinContent(6,6827.839); h_SL3L370->SetBinContent(7,6834.834); h_SL3L370->SetBinContent(8,6582.988); h_SL3L370->SetBinContent(9,6813.848); h_SL3L370->SetBinContent(10,6694.92); h_SL3L370->SetBinContent(11,6880.307); h_SL3L370->SetBinContent(12,6719.405); h_SL3L370->SetBinContent(13,6799.856); h_SL3L370->SetBinContent(14,6943.269); h_SL3L370->SetBinContent(15,6729.898); h_SL3L370->SetBinContent(16,6478.052); h_SL3L370->SetBinContent(17,6901.294); h_SL3L370->SetBinContent(18,7237.089); h_SL3L370->SetBinContent(19,6855.822); h_SL3L370->SetBinContent(20,6387.107); h_SL3L370->SetBinContent(21,6771.873); h_SL3L370->SetBinContent(22,7156.639); h_SL3L370->SetBinContent(23,6960.758); h_SL3L370->SetBinContent(24,6778.869); h_SL3L370->SetBinContent(25,7076.188); h_SL3L370->SetBinContent(26,7296.553); h_SL3L370->SetBinContent(27,7516.919); h_SL3L370->SetBinContent(28,6778.869); h_SL3L370->SetBinContent(29,7286.06); h_SL3L370->SetBinContent(30,7583.378); h_SL3L370->SetBinContent(31,7397.991); h_SL3L370->SetBinContent(32,7492.434); h_SL3L370->SetBinContent(33,8115.055); h_SL3L370->SetBinContent(34,7887.693); h_SL3L370->SetBinContent(35,7625.353); h_SL3L370->SetBinContent(36,7184.622); h_SL3L370->SetBinContent(37,7996.127); h_SL3L370->SetBinContent(38,7838.723); h_SL3L370->SetBinContent(39,8038.102); h_SL3L370->SetBinContent(40,7317.541); h_SL3L370->SetBinContent(41,8062.586); h_SL3L370->SetBinContent(42,7863.208); h_SL3L370->SetBinContent(43,7968.144); h_SL3L370->SetBinContent(44,7432.97); h_SL3L370->SetBinContent(45,8783.147); h_SL3L370->SetBinContent(46,7723.293); h_SL3L370->SetBinContent(47,7723.293); h_SL3L370->SetBinContent(48,6894.298); h_SL3L370->SetBinContent(49,6764.877); h_SL3L370->SetBinContent(50,7093.677); h_SL3L370->SetBinContent(51,6722.903); h_SL3L370->SetBinContent(52,6054.81); h_SL3L370->SetBinContent(53,6684.426); h_SL3L370->SetBinContent(54,6642.452); h_SL3L370->SetBinContent(55,6390.605); h_SL3L370->SetBinContent(56,6233.201); h_SL3L370->SetBinContent(57,6187.729); h_SL3L370->SetBinContent(58,6359.125); h_SL3L370->SetBinContent(59,4403.816); h_SL3L370->SetMaximum(10100.62); 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,4508.752); h_SL3L471->SetBinContent(3,748.5438); h_SL3L471->SetBinContent(4,3067.631); h_SL3L471->SetBinContent(5,6037.321); h_SL3L471->SetBinContent(6,6736.895); h_SL3L471->SetBinContent(7,6869.813); h_SL3L471->SetBinContent(8,6789.362); h_SL3L471->SetBinContent(9,6548.009); h_SL3L471->SetBinContent(10,7055.2); h_SL3L471->SetBinContent(11,6600.478); h_SL3L471->SetBinContent(12,6908.29); h_SL3L471->SetBinContent(13,6782.367); h_SL3L471->SetBinContent(14,6988.741); h_SL3L471->SetBinContent(15,6813.848); h_SL3L471->SetBinContent(16,6464.061); h_SL3L471->SetBinContent(17,6757.881); h_SL3L471->SetBinContent(18,7205.609); h_SL3L471->SetBinContent(19,6785.864); h_SL3L471->SetBinContent(20,6904.792); h_SL3L471->SetBinContent(21,6289.167); h_SL3L471->SetBinContent(22,7114.664); h_SL3L471->SetBinContent(23,7027.217); h_SL3L471->SetBinContent(24,6778.869); h_SL3L471->SetBinContent(25,7030.715); h_SL3L471->SetBinContent(26,7446.961); h_SL3L471->SetBinContent(27,7345.523); h_SL3L471->SetBinContent(28,7321.039); h_SL3L471->SetBinContent(29,6876.809); h_SL3L471->SetBinContent(30,7555.396); h_SL3L471->SetBinContent(31,7537.906); h_SL3L471->SetBinContent(32,7384); h_SL3L471->SetBinContent(33,7712.8); h_SL3L471->SetBinContent(34,8240.978); h_SL3L471->SetBinContent(35,7803.744); h_SL3L471->SetBinContent(36,7146.145); h_SL3L471->SetBinContent(37,7586.876); h_SL3L471->SetBinContent(38,8275.956); h_SL3L471->SetBinContent(39,7905.182); h_SL3L471->SetBinContent(40,7621.855); h_SL3L471->SetBinContent(41,7730.289); h_SL3L471->SetBinContent(42,8083.574); h_SL3L471->SetBinContent(43,7954.152); h_SL3L471->SetBinContent(44,7649.838); h_SL3L471->SetBinContent(45,7807.242); h_SL3L471->SetBinContent(46,8192.008); h_SL3L471->SetBinContent(47,7558.894); h_SL3L471->SetBinContent(48,7254.579); h_SL3L471->SetBinContent(49,6541.014); h_SL3L471->SetBinContent(50,7205.609); h_SL3L471->SetBinContent(51,7202.111); h_SL3L471->SetBinContent(52,6184.231); h_SL3L471->SetBinContent(53,6383.61); h_SL3L471->SetBinContent(54,6764.877); h_SL3L471->SetBinContent(55,6582.988); h_SL3L471->SetBinContent(56,6184.231); h_SL3L471->SetBinContent(57,6268.18); h_SL3L471->SetBinContent(58,6376.614); h_SL3L471->SetBinContent(59,5362.232); h_SL3L471->SetMaximum(10100.62); 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 6979"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }