void RatesPerCell_Removing_noisy_cells_run_6979_SL2() { //=========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,-1417.806,67.5,12760.26); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6979",60,0,60); h_SL2L164->SetBinContent(1,3011.665); h_SL2L164->SetBinContent(2,5470.666); h_SL2L164->SetBinContent(3,6457.065); h_SL2L164->SetBinContent(4,6565.499); h_SL2L164->SetBinContent(5,6516.529); h_SL2L164->SetBinContent(6,6666.937); h_SL2L164->SetBinContent(7,6726.401); h_SL2L164->SetBinContent(8,7020.222); h_SL2L164->SetBinContent(9,6859.32); h_SL2L164->SetBinContent(10,7135.651); h_SL2L164->SetBinContent(11,7352.519); h_SL2L164->SetBinContent(12,7534.408); h_SL2L164->SetBinContent(13,7450.459); h_SL2L164->SetBinContent(14,7114.664); h_SL2L164->SetBinContent(15,7062.196); h_SL2L164->SetBinContent(16,7062.196); h_SL2L164->SetBinContent(17,6894.298); h_SL2L164->SetBinContent(18,7541.404); h_SL2L164->SetBinContent(19,7744.28); h_SL2L164->SetBinContent(20,7181.124); h_SL2L164->SetBinContent(21,7600.868); h_SL2L164->SetBinContent(22,7380.502); h_SL2L164->SetBinContent(23,7331.532); h_SL2L164->SetBinContent(24,7149.643); h_SL2L164->SetBinContent(25,7754.774); h_SL2L164->SetBinContent(26,7887.693); h_SL2L164->SetBinContent(27,7747.778); h_SL2L164->SetBinContent(28,7807.242); h_SL2L164->SetBinContent(29,7737.285); h_SL2L164->SetBinContent(30,7446.961); h_SL2L164->SetBinContent(31,7495.932); h_SL2L164->SetBinContent(32,7632.349); h_SL2L164->SetBinContent(33,7618.357); h_SL2L164->SetBinContent(34,7772.263); h_SL2L164->SetBinContent(35,20.98721); h_SL2L164->SetBinContent(36,7635.847); h_SL2L164->SetBinContent(37,7929.667); h_SL2L164->SetBinContent(38,8027.608); h_SL2L164->SetBinContent(39,7677.821); h_SL2L164->SetBinContent(40,7135.651); h_SL2L164->SetBinContent(41,7240.587); h_SL2L164->SetBinContent(42,7653.336); h_SL2L164->SetBinContent(43,8157.029); h_SL2L164->SetBinContent(44,8101.063); h_SL2L164->SetBinContent(45,8185.012); h_SL2L164->SetBinContent(46,7877.199); h_SL2L164->SetBinContent(47,8261.965); h_SL2L164->SetBinContent(48,8034.604); h_SL2L164->SetBinContent(49,7835.225); h_SL2L164->SetBinContent(50,8139.54); h_SL2L164->SetBinContent(51,8576.773); h_SL2L164->SetBinContent(52,8261.965); h_SL2L164->SetBinContent(53,7968.144); h_SL2L164->SetBinContent(54,8136.042); h_SL2L164->SetBinContent(55,7660.332); h_SL2L164->SetBinContent(56,6334.64); h_SL2L164->SetBinContent(57,2521.963); h_SL2L164->SetMaximum(11342.45); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,1199.769); h_SL2L265->SetBinContent(2,4645.169); h_SL2L265->SetBinContent(3,5921.891); h_SL2L265->SetBinContent(4,6408.095); h_SL2L265->SetBinContent(5,6757.881); h_SL2L265->SetBinContent(6,6509.533); h_SL2L265->SetBinContent(7,6687.924); h_SL2L265->SetBinContent(8,6841.831); h_SL2L265->SetBinContent(9,6645.95); h_SL2L265->SetBinContent(10,6701.916); h_SL2L265->SetBinContent(11,7163.634); h_SL2L265->SetBinContent(12,7275.566); h_SL2L265->SetBinContent(13,7307.047); h_SL2L265->SetBinContent(14,7212.604); h_SL2L265->SetBinContent(15,7076.188); h_SL2L265->SetBinContent(16,6792.86); h_SL2L265->SetBinContent(17,6764.877); h_SL2L265->SetBinContent(18,7265.072); h_SL2L265->SetBinContent(19,7321.039); h_SL2L265->SetBinContent(20,7394.494); h_SL2L265->SetBinContent(21,7188.119); h_SL2L265->SetBinContent(22,7467.949); h_SL2L265->SetBinContent(23,7149.643); h_SL2L265->SetBinContent(24,7188.119); h_SL2L265->SetBinContent(25,7216.103); h_SL2L265->SetBinContent(26,7691.812); h_SL2L265->SetBinContent(27,7579.88); h_SL2L265->SetBinContent(28,7975.14); h_SL2L265->SetBinContent(29,7656.833); h_SL2L265->SetBinContent(30,7471.447); h_SL2L265->SetBinContent(31,7286.06); h_SL2L265->SetBinContent(32,7509.923); h_SL2L265->SetBinContent(33,7373.506); h_SL2L265->SetBinContent(34,7642.842); h_SL2L265->SetBinContent(35,6198.223); h_SL2L265->SetBinContent(36,6338.137); h_SL2L265->SetBinContent(37,7870.204); h_SL2L265->SetBinContent(38,7751.276); h_SL2L265->SetBinContent(39,7747.778); h_SL2L265->SetBinContent(40,7688.314); h_SL2L265->SetBinContent(41,7219.6); h_SL2L265->SetBinContent(42,7530.911); h_SL2L265->SetBinContent(43,7649.838); h_SL2L265->SetBinContent(44,8052.093); h_SL2L265->SetBinContent(45,7975.14); h_SL2L265->SetBinContent(46,7765.268); h_SL2L265->SetBinContent(47,7947.157); h_SL2L265->SetBinContent(48,7915.676); h_SL2L265->SetBinContent(49,7726.791); h_SL2L265->SetBinContent(50,7768.766); h_SL2L265->SetBinContent(51,8286.45); h_SL2L265->SetBinContent(52,8237.479); h_SL2L265->SetBinContent(53,8317.931); h_SL2L265->SetBinContent(54,7789.753); h_SL2L265->SetBinContent(55,8160.527); h_SL2L265->SetBinContent(56,6897.796); h_SL2L265->SetBinContent(57,4949.484); h_SL2L265->SetMaximum(9863.289); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,2343.572); h_SL2L366->SetBinContent(2,5645.56); h_SL2L366->SetBinContent(3,6338.137); h_SL2L366->SetBinContent(4,6523.524); h_SL2L366->SetBinContent(5,6680.928); h_SL2L366->SetBinContent(6,6432.58); h_SL2L366->SetBinContent(7,6729.898); h_SL2L366->SetBinContent(8,6936.273); h_SL2L366->SetBinContent(9,6579.49); h_SL2L366->SetBinContent(10,6750.886); h_SL2L366->SetBinContent(11,7328.034); h_SL2L366->SetBinContent(12,7408.485); h_SL2L366->SetBinContent(13,7027.217); h_SL2L366->SetBinContent(14,7160.136); h_SL2L366->SetBinContent(15,7016.724); h_SL2L366->SetBinContent(16,6771.873); h_SL2L366->SetBinContent(17,6985.243); h_SL2L366->SetBinContent(18,7198.613); h_SL2L366->SetBinContent(19,7618.357); h_SL2L366->SetBinContent(20,7104.17); h_SL2L366->SetBinContent(21,7509.923); h_SL2L366->SetBinContent(22,7293.055); h_SL2L366->SetBinContent(23,7163.634); h_SL2L366->SetBinContent(24,7058.698); h_SL2L366->SetBinContent(25,7768.766); h_SL2L366->SetBinContent(26,7520.417); h_SL2L366->SetBinContent(27,7751.276); h_SL2L366->SetBinContent(28,7821.233); h_SL2L366->SetBinContent(29,7646.34); h_SL2L366->SetBinContent(30,7261.575); h_SL2L366->SetBinContent(31,7390.996); h_SL2L366->SetBinContent(32,7611.361); h_SL2L366->SetBinContent(33,7335.03); h_SL2L366->SetBinContent(34,7422.477); h_SL2L366->SetBinContent(35,5586.096); h_SL2L366->SetBinContent(36,7464.451); h_SL2L366->SetBinContent(37,7632.349); h_SL2L366->SetBinContent(38,7915.676); h_SL2L366->SetBinContent(39,7663.83); h_SL2L366->SetBinContent(40,7363.013); h_SL2L366->SetBinContent(41,7338.528); h_SL2L366->SetBinContent(42,7632.349); h_SL2L366->SetBinContent(43,7922.672); h_SL2L366->SetBinContent(44,8020.612); h_SL2L366->SetBinContent(45,7838.723); h_SL2L366->SetBinContent(46,7971.642); h_SL2L366->SetBinContent(47,8034.604); h_SL2L366->SetBinContent(48,7747.778); h_SL2L366->SetBinContent(49,7639.344); h_SL2L366->SetBinContent(50,7656.833); h_SL2L366->SetBinContent(51,8261.965); h_SL2L366->SetBinContent(52,8090.569); h_SL2L366->SetBinContent(53,7996.127); h_SL2L366->SetBinContent(54,7975.14); h_SL2L366->SetBinContent(55,7856.212); h_SL2L366->SetBinContent(56,6551.507); h_SL2L366->SetBinContent(57,3162.073); h_SL2L366->SetMaximum(9863.289); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,4480.77); h_SL2L467->SetBinContent(3,6348.631); h_SL2L467->SetBinContent(4,6579.49); h_SL2L467->SetBinContent(5,6768.375); h_SL2L467->SetBinContent(6,6541.014); h_SL2L467->SetBinContent(7,6621.465); h_SL2L467->SetBinContent(8,6880.307); h_SL2L467->SetBinContent(9,6715.907); h_SL2L467->SetBinContent(10,6768.375); h_SL2L467->SetBinContent(11,7030.715); h_SL2L467->SetBinContent(12,7384); h_SL2L467->SetBinContent(13,7384); h_SL2L467->SetBinContent(14,7090.179); h_SL2L467->SetBinContent(15,7048.205); h_SL2L467->SetBinContent(16,7044.707); h_SL2L467->SetBinContent(17,6817.345); h_SL2L467->SetBinContent(18,7425.975); h_SL2L467->SetBinContent(19,7520.417); h_SL2L467->SetBinContent(20,7478.442); h_SL2L467->SetBinContent(21,7142.647); h_SL2L467->SetBinContent(22,7544.902); h_SL2L467->SetBinContent(23,7177.626); h_SL2L467->SetBinContent(24,7293.055); h_SL2L467->SetBinContent(25,7579.88); h_SL2L467->SetBinContent(26,7873.702); h_SL2L467->SetBinContent(27,7919.174); h_SL2L467->SetBinContent(28,7775.761); h_SL2L467->SetBinContent(29,7950.655); h_SL2L467->SetBinContent(30,7625.353); h_SL2L467->SetBinContent(31,7349.021); h_SL2L467->SetBinContent(32,7495.932); h_SL2L467->SetBinContent(33,7530.911); h_SL2L467->SetBinContent(34,7397.991); h_SL2L467->SetBinContent(35,6345.133); h_SL2L467->SetBinContent(36,6551.507); h_SL2L467->SetBinContent(37,7660.332); h_SL2L467->SetBinContent(38,7782.757); h_SL2L467->SetBinContent(39,7866.706); h_SL2L467->SetBinContent(40,7541.404); h_SL2L467->SetBinContent(41,7495.932); h_SL2L467->SetBinContent(42,7600.868); h_SL2L467->SetBinContent(43,7768.766); h_SL2L467->SetBinContent(44,8132.544); h_SL2L467->SetBinContent(45,8160.527); h_SL2L467->SetBinContent(46,7828.229); h_SL2L467->SetBinContent(47,8356.407); h_SL2L467->SetBinContent(48,7894.689); h_SL2L467->SetBinContent(49,7779.259); h_SL2L467->SetBinContent(50,7835.225); h_SL2L467->SetBinContent(51,8076.578); h_SL2L467->SetBinContent(52,8282.952); h_SL2L467->SetBinContent(53,7989.131); h_SL2L467->SetBinContent(54,8045.097); h_SL2L467->SetBinContent(55,8153.531); h_SL2L467->SetBinContent(56,7562.391); h_SL2L467->SetBinContent(57,4855.041); h_SL2L467->SetMaximum(9863.289); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6979"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }