void RatesPerCell_Removing_noisy_cells_run_5786_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1650.538,67.5,14854.84); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5786",60,0,60); h_SL3L168->SetBinContent(1,2300.864); h_SL3L168->SetBinContent(2,3661.085); h_SL3L168->SetBinContent(3,1.514723); h_SL3L168->SetBinContent(4,6675.383); h_SL3L168->SetBinContent(5,6954.092); h_SL3L168->SetBinContent(6,7735.689); h_SL3L168->SetBinContent(7,7856.867); h_SL3L168->SetBinContent(8,7481.216); h_SL3L168->SetBinContent(9,7064.667); h_SL3L168->SetBinContent(10,8247.666); h_SL3L168->SetBinContent(11,7965.927); h_SL3L168->SetBinContent(12,7659.953); h_SL3L168->SetBinContent(13,7134.345); h_SL3L168->SetBinContent(14,8315.828); h_SL3L168->SetBinContent(15,7759.925); h_SL3L168->SetBinContent(16,7737.204); h_SL3L168->SetBinContent(17,7273.699); h_SL3L168->SetBinContent(18,8297.651); h_SL3L168->SetBinContent(19,8250.695); h_SL3L168->SetBinContent(20,7808.396); h_SL3L168->SetBinContent(21,7496.363); h_SL3L168->SetBinContent(22,8599.081); h_SL3L168->SetBinContent(23,8359.755); h_SL3L168->SetBinContent(24,7922); h_SL3L168->SetBinContent(25,7696.307); h_SL3L168->SetBinContent(26,8399.138); h_SL3L168->SetBinContent(27,8176.474); h_SL3L168->SetBinContent(28,7856.867); h_SL3L168->SetBinContent(29,7644.806); h_SL3L168->SetBinContent(30,8944.438); h_SL3L168->SetBinContent(31,8621.803); h_SL3L168->SetBinContent(32,8423.374); h_SL3L168->SetBinContent(33,7971.986); h_SL3L168->SetBinContent(34,8979.277); h_SL3L168->SetBinContent(35,8868.702); h_SL3L168->SetBinContent(36,8323.402); h_SL3L168->SetBinContent(37,7926.544); h_SL3L168->SetBinContent(38,8888.394); h_SL3L168->SetBinContent(39,8767.216); h_SL3L168->SetBinContent(40,8335.52); h_SL3L168->SetBinContent(41,7811.426); h_SL3L168->SetBinContent(42,9132.264); h_SL3L168->SetBinContent(43,8626.347); h_SL3L168->SetBinContent(44,7991.678); h_SL3L168->SetBinContent(45,7726.601); h_SL3L168->SetBinContent(46,8664.215); h_SL3L168->SetBinContent(47,8018.943); h_SL3L168->SetBinContent(48,7640.262); h_SL3L168->SetBinContent(50,3794.381); h_SL3L168->SetBinContent(51,4941.026); h_SL3L168->SetBinContent(52,6745.061); h_SL3L168->SetBinContent(53,6448.175); h_SL3L168->SetBinContent(54,7238.86); h_SL3L168->SetBinContent(55,7317.626); h_SL3L168->SetBinContent(56,7120.712); h_SL3L168->SetBinContent(57,6978.328); h_SL3L168->SetBinContent(58,7158.58); h_SL3L168->SetBinContent(59,4968.291); h_SL3L168->SetMaximum(13204.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,583.1683); h_SL3L269->SetBinContent(2,5193.984); h_SL3L269->SetBinContent(4,3727.733); h_SL3L269->SetBinContent(5,6380.013); h_SL3L269->SetBinContent(6,7678.13); h_SL3L269->SetBinContent(7,7687.218); h_SL3L269->SetBinContent(8,7699.336); h_SL3L269->SetBinContent(9,6975.299); h_SL3L269->SetBinContent(10,7946.236); h_SL3L269->SetBinContent(11,8124.973); h_SL3L269->SetBinContent(12,7870.5); h_SL3L269->SetBinContent(13,7075.271); h_SL3L269->SetBinContent(14,8032.575); h_SL3L269->SetBinContent(15,7962.898); h_SL3L269->SetBinContent(16,7682.674); h_SL3L269->SetBinContent(17,7196.448); h_SL3L269->SetBinContent(18,8053.781); h_SL3L269->SetBinContent(19,7959.869); h_SL3L269->SetBinContent(20,7999.251); h_SL3L269->SetBinContent(21,7449.407); h_SL3L269->SetBinContent(22,8423.374); h_SL3L269->SetBinContent(23,8271.901); h_SL3L269->SetBinContent(24,8246.151); h_SL3L269->SetBinContent(25,7500.907); h_SL3L269->SetBinContent(26,8349.152); h_SL3L269->SetBinContent(27,8277.96); h_SL3L269->SetBinContent(28,8014.398); h_SL3L269->SetBinContent(29,7376.7); h_SL3L269->SetBinContent(30,8603.626); h_SL3L269->SetBinContent(31,8658.155); h_SL3L269->SetBinContent(32,8383.991); h_SL3L269->SetBinContent(33,8062.87); h_SL3L269->SetBinContent(34,8765.701); h_SL3L269->SetBinContent(35,8830.834); h_SL3L269->SetBinContent(36,8502.14); h_SL3L269->SetBinContent(37,7722.057); h_SL3L269->SetBinContent(38,8970.188); h_SL3L269->SetBinContent(39,8596.052); h_SL3L269->SetBinContent(40,8365.814); h_SL3L269->SetBinContent(41,7815.97); h_SL3L269->SetBinContent(42,8799.024); h_SL3L269->SetBinContent(43,8673.303); h_SL3L269->SetBinContent(44,8277.96); h_SL3L269->SetBinContent(45,7553.923); h_SL3L269->SetBinContent(46,8565.758); h_SL3L269->SetBinContent(47,8105.282); h_SL3L269->SetBinContent(48,7661.468); h_SL3L269->SetBinContent(49,6849.577); h_SL3L269->SetBinContent(50,7241.89); h_SL3L269->SetBinContent(51,2005.493); h_SL3L269->SetBinContent(52,6961.666); h_SL3L269->SetBinContent(53,6383.042); h_SL3L269->SetBinContent(54,7193.418); h_SL3L269->SetBinContent(55,7275.214); h_SL3L269->SetBinContent(56,7169.183); h_SL3L269->SetBinContent(57,7016.196); h_SL3L269->SetBinContent(58,7085.874); h_SL3L269->SetBinContent(59,6160.378); h_SL3L269->SetMaximum(11482.81); 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,2702.266); h_SL3L370->SetBinContent(2,3349.052); h_SL3L370->SetBinContent(3,1304.176); h_SL3L370->SetBinContent(4,5837.742); h_SL3L370->SetBinContent(5,7285.817); h_SL3L370->SetBinContent(6,7555.438); h_SL3L370->SetBinContent(7,7617.541); h_SL3L370->SetBinContent(8,7169.183); h_SL3L370->SetBinContent(9,7785.675); h_SL3L370->SetBinContent(10,7934.118); h_SL3L370->SetBinContent(11,7731.146); h_SL3L370->SetBinContent(12,7461.524); h_SL3L370->SetBinContent(13,7744.778); h_SL3L370->SetBinContent(14,7946.236); h_SL3L370->SetBinContent(15,8773.274); h_SL3L370->SetBinContent(16,7369.126); h_SL3L370->SetBinContent(17,7923.515); h_SL3L370->SetBinContent(18,8061.355); h_SL3L370->SetBinContent(19,7868.985); h_SL3L370->SetBinContent(20,7576.644); h_SL3L370->SetBinContent(21,8208.283); h_SL3L370->SetBinContent(22,8270.387); h_SL3L370->SetBinContent(23,7987.133); h_SL3L370->SetBinContent(24,7543.32); h_SL3L370->SetBinContent(25,8291.593); h_SL3L370->SetBinContent(26,8299.166); h_SL3L370->SetBinContent(27,7794.764); h_SL3L370->SetBinContent(28,7637.232); h_SL3L370->SetBinContent(29,8240.092); h_SL3L370->SetBinContent(30,8632.405); h_SL3L370->SetBinContent(31,8334.005); h_SL3L370->SetBinContent(32,8097.708); h_SL3L370->SetBinContent(33,8786.907); h_SL3L370->SetBinContent(34,8639.979); h_SL3L370->SetBinContent(35,8659.67); h_SL3L370->SetBinContent(36,7887.162); h_SL3L370->SetBinContent(37,8686.936); h_SL3L370->SetBinContent(38,8620.287); h_SL3L370->SetBinContent(39,8552.125); h_SL3L370->SetBinContent(40,7891.706); h_SL3L370->SetBinContent(41,8721.774); h_SL3L370->SetBinContent(42,8688.45); h_SL3L370->SetBinContent(43,8440.035); h_SL3L370->SetBinContent(44,7767.499); h_SL3L370->SetBinContent(45,9985.053); h_SL3L370->SetBinContent(46,8102.252); h_SL3L370->SetBinContent(47,7950.78); h_SL3L370->SetBinContent(48,7096.477); h_SL3L370->SetBinContent(49,7685.704); h_SL3L370->SetBinContent(50,3926.162); h_SL3L370->SetBinContent(51,4583.551); h_SL3L370->SetBinContent(52,6549.662); h_SL3L370->SetBinContent(53,7178.271); h_SL3L370->SetBinContent(54,7146.462); h_SL3L370->SetBinContent(55,7297.935); h_SL3L370->SetBinContent(56,6999.534); h_SL3L370->SetBinContent(57,6982.872); h_SL3L370->SetBinContent(58,6725.369); h_SL3L370->SetBinContent(59,4804.701); h_SL3L370->SetMaximum(11482.81); 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,4948.6); h_SL3L471->SetBinContent(3,1139.072); h_SL3L471->SetBinContent(4,3482.348); h_SL3L471->SetBinContent(5,6655.692); h_SL3L471->SetBinContent(6,7388.818); h_SL3L471->SetBinContent(7,7596.335); h_SL3L471->SetBinContent(8,7344.891); h_SL3L471->SetBinContent(9,7405.48); h_SL3L471->SetBinContent(10,8025.001); h_SL3L471->SetBinContent(11,7822.029); h_SL3L471->SetBinContent(12,7572.1); h_SL3L471->SetBinContent(13,7600.879); h_SL3L471->SetBinContent(14,8099.223); h_SL3L471->SetBinContent(15,7725.086); h_SL3L471->SetBinContent(16,7464.554); h_SL3L471->SetBinContent(17,7747.807); h_SL3L471->SetBinContent(18,8226.46); h_SL3L471->SetBinContent(19,7937.147); h_SL3L471->SetBinContent(20,7602.394); h_SL3L471->SetBinContent(21,8029.546); h_SL3L471->SetBinContent(22,8488.507); h_SL3L471->SetBinContent(23,8076.502); h_SL3L471->SetBinContent(24,7899.279); h_SL3L471->SetBinContent(25,8076.502); h_SL3L471->SetBinContent(26,8577.875); h_SL3L471->SetBinContent(27,8074.987); h_SL3L471->SetBinContent(28,7790.22); h_SL3L471->SetBinContent(29,7905.338); h_SL3L471->SetBinContent(30,8639.979); h_SL3L471->SetBinContent(31,8396.108); h_SL3L471->SetBinContent(32,8179.503); h_SL3L471->SetBinContent(33,8588.479); h_SL3L471->SetBinContent(34,8991.395); h_SL3L471->SetBinContent(35,8530.919); h_SL3L471->SetBinContent(36,8306.74); h_SL3L471->SetBinContent(37,8271.901); h_SL3L471->SetBinContent(38,9070.16); h_SL3L471->SetBinContent(39,8340.063); h_SL3L471->SetBinContent(40,8279.475); h_SL3L471->SetBinContent(41,8349.152); h_SL3L471->SetBinContent(42,8997.453); h_SL3L471->SetBinContent(43,8443.065); h_SL3L471->SetBinContent(44,7944.721); h_SL3L471->SetBinContent(45,8291.593); h_SL3L471->SetBinContent(46,8546.066); h_SL3L471->SetBinContent(47,7856.867); h_SL3L471->SetBinContent(48,7566.041); h_SL3L471->SetBinContent(49,7213.11); h_SL3L471->SetBinContent(51,1990.346); h_SL3L471->SetBinContent(52,6531.485); h_SL3L471->SetBinContent(53,6867.753); h_SL3L471->SetBinContent(54,7313.082); h_SL3L471->SetBinContent(55,7270.669); h_SL3L471->SetBinContent(56,7069.211); h_SL3L471->SetBinContent(57,7040.432); h_SL3L471->SetBinContent(58,6985.902); h_SL3L471->SetBinContent(59,5587.812); h_SL3L471->SetMaximum(11482.81); 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 5786"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }