void RatesPerCell_Removing_noisy_cells_run_5833_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:02:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1313.588,67.5,11822.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 5833",60,0,60); h_SL1L160->SetBinContent(1,3216.657); h_SL1L160->SetBinContent(2,3764.772); h_SL1L160->SetBinContent(3,4710.664); h_SL1L160->SetBinContent(4,5593.913); h_SL1L160->SetBinContent(5,5913.387); h_SL1L160->SetBinContent(6,6389.464); h_SL1L160->SetBinContent(7,6370.672); h_SL1L160->SetBinContent(8,6586.786); h_SL1L160->SetBinContent(9,6477.163); h_SL1L160->SetBinContent(10,6968.901); h_SL1L160->SetBinContent(11,6333.086); h_SL1L160->SetBinContent(12,6658.824); h_SL1L160->SetBinContent(13,7044.071); h_SL1L160->SetBinContent(14,7069.128); h_SL1L160->SetBinContent(15,6311.162); h_SL1L160->SetBinContent(16,6583.654); h_SL1L160->SetBinContent(17,7040.939); h_SL1L160->SetBinContent(18,7197.543); h_SL1L160->SetBinContent(19,6599.314); h_SL1L160->SetBinContent(20,6981.429); h_SL1L160->SetBinContent(21,7203.808); h_SL1L160->SetBinContent(22,7241.393); h_SL1L160->SetBinContent(23,6975.165); h_SL1L160->SetBinContent(24,6881.203); h_SL1L160->SetBinContent(25,7128.638); h_SL1L160->SetBinContent(26,7466.903); h_SL1L160->SetBinContent(27,6849.881); h_SL1L160->SetBinContent(28,7125.505); h_SL1L160->SetBinContent(29,7203.808); h_SL1L160->SetBinContent(30,7896); h_SL1L160->SetBinContent(31,7272.714); h_SL1L160->SetBinContent(32,7535.81); h_SL1L160->SetBinContent(33,241.171); h_SL1L160->SetBinContent(34,250.5672); h_SL1L160->SetBinContent(35,209.8501); h_SL1L160->SetBinContent(36,241.171); h_SL1L160->SetBinContent(37,238.0389); h_SL1L160->SetBinContent(38,241.171); h_SL1L160->SetBinContent(39,197.3217); h_SL1L160->SetBinContent(40,206.718); h_SL1L160->SetBinContent(41,256.8314); h_SL1L160->SetBinContent(42,256.8314); h_SL1L160->SetBinContent(43,200.4538); h_SL1L160->SetBinContent(44,281.8881); h_SL1L160->SetBinContent(45,234.9068); h_SL1L160->SetBinContent(46,244.303); h_SL1L160->SetBinContent(47,172.265); h_SL1L160->SetBinContent(48,187.9254); h_SL1L160->SetBinContent(49,209.8501); h_SL1L160->SetBinContent(50,128.4157); h_SL1L160->SetBinContent(51,134.6799); h_SL1L160->SetBinContent(52,131.5478); h_SL1L160->SetBinContent(53,156.6045); h_SL1L160->SetBinContent(54,153.4724); h_SL1L160->SetBinContent(55,97.0948); h_SL1L160->SetBinContent(56,97.0948); h_SL1L160->SetBinContent(57,72.03808); h_SL1L160->SetBinContent(58,87.69853); h_SL1L160->SetBinContent(59,68.90599); h_SL1L160->SetMaximum(10508.7); 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,3081.977); h_SL1L261->SetBinContent(2,3210.393); h_SL1L261->SetBinContent(3,4425.644); h_SL1L261->SetBinContent(4,5327.686); h_SL1L261->SetBinContent(5,5916.519); h_SL1L261->SetBinContent(6,6499.087); h_SL1L261->SetBinContent(7,6427.049); h_SL1L261->SetBinContent(8,6583.654); h_SL1L261->SetBinContent(9,6874.938); h_SL1L261->SetBinContent(10,6849.881); h_SL1L261->SetBinContent(11,6740.258); h_SL1L261->SetBinContent(12,6555.465); h_SL1L261->SetBinContent(13,7084.788); h_SL1L261->SetBinContent(14,7344.752); h_SL1L261->SetBinContent(15,6414.521); h_SL1L261->SetBinContent(16,6636.899); h_SL1L261->SetBinContent(17,7022.146); h_SL1L261->SetBinContent(18,7335.355); h_SL1L261->SetBinContent(19,6868.674); h_SL1L261->SetBinContent(20,6950.108); h_SL1L261->SetBinContent(21,7476.3); h_SL1L261->SetBinContent(22,7473.167); h_SL1L261->SetBinContent(23,6749.655); h_SL1L261->SetBinContent(24,7185.015); h_SL1L261->SetBinContent(25,7125.505); h_SL1L261->SetBinContent(26,7510.752); h_SL1L261->SetBinContent(27,7203.808); h_SL1L261->SetBinContent(28,7755.056); h_SL1L261->SetBinContent(29,7253.921); h_SL1L261->SetBinContent(30,7892.868); h_SL1L261->SetBinContent(31,7610.979); h_SL1L261->SetBinContent(32,7557.734); h_SL1L261->SetBinContent(33,247.4351); h_SL1L261->SetBinContent(34,238.0389); h_SL1L261->SetBinContent(35,206.718); h_SL1L261->SetBinContent(36,241.171); h_SL1L261->SetBinContent(37,238.0389); h_SL1L261->SetBinContent(38,256.8314); h_SL1L261->SetBinContent(39,200.4538); h_SL1L261->SetBinContent(40,231.7747); h_SL1L261->SetBinContent(41,269.3598); h_SL1L261->SetBinContent(42,278.756); h_SL1L261->SetBinContent(43,222.3784); h_SL1L261->SetBinContent(44,263.0956); h_SL1L261->SetBinContent(45,241.171); h_SL1L261->SetBinContent(46,263.0956); h_SL1L261->SetBinContent(47,169.1329); h_SL1L261->SetBinContent(48,178.5291); h_SL1L261->SetBinContent(49,225.5105); h_SL1L261->SetBinContent(50,197.3217); h_SL1L261->SetBinContent(51,103.359); h_SL1L261->SetBinContent(52,156.6045); h_SL1L261->SetBinContent(53,122.1515); h_SL1L261->SetBinContent(54,178.5291); h_SL1L261->SetBinContent(55,166.0008); h_SL1L261->SetBinContent(56,87.69853); h_SL1L261->SetBinContent(57,93.96271); h_SL1L261->SetBinContent(58,84.56644); h_SL1L261->SetBinContent(59,81.43435); h_SL1L261->SetMaximum(9138.03); 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,3179.072); h_SL1L362->SetBinContent(2,3611.3); h_SL1L362->SetBinContent(3,5052.062); h_SL1L362->SetBinContent(4,5919.651); h_SL1L362->SetBinContent(5,6373.804); h_SL1L362->SetBinContent(6,6555.465); h_SL1L362->SetBinContent(7,6680.749); h_SL1L362->SetBinContent(8,6906.259); h_SL1L362->SetBinContent(9,6818.561); h_SL1L362->SetBinContent(10,6796.636); h_SL1L362->SetBinContent(11,6806.032); h_SL1L362->SetBinContent(12,6699.541); h_SL1L362->SetBinContent(13,7482.564); h_SL1L362->SetBinContent(14,6746.522); h_SL1L362->SetBinContent(15,6652.56); h_SL1L362->SetBinContent(16,6946.977); h_SL1L362->SetBinContent(17,7235.129); h_SL1L362->SetBinContent(18,6987.693); h_SL1L362->SetBinContent(19,6536.672); h_SL1L362->SetBinContent(20,7444.979); h_SL1L362->SetBinContent(21,7557.734); h_SL1L362->SetBinContent(22,7116.109); h_SL1L362->SetBinContent(23,6903.127); h_SL1L362->SetBinContent(24,7410.526); h_SL1L362->SetBinContent(25,7601.583); h_SL1L362->SetBinContent(26,7219.468); h_SL1L362->SetBinContent(27,7047.203); h_SL1L362->SetBinContent(28,7476.3); h_SL1L362->SetBinContent(29,7498.224); h_SL1L362->SetBinContent(30,7946.113); h_SL1L362->SetBinContent(31,7401.129); h_SL1L362->SetBinContent(32,7946.113); h_SL1L362->SetBinContent(33,263.0956); h_SL1L362->SetBinContent(34,206.718); h_SL1L362->SetBinContent(35,228.6426); h_SL1L362->SetBinContent(36,225.5105); h_SL1L362->SetBinContent(37,263.0956); h_SL1L362->SetBinContent(38,203.5859); h_SL1L362->SetBinContent(39,222.3784); h_SL1L362->SetBinContent(40,250.5672); h_SL1L362->SetBinContent(41,269.3598); h_SL1L362->SetBinContent(42,253.6993); h_SL1L362->SetBinContent(43,228.6426); h_SL1L362->SetBinContent(44,281.8881); h_SL1L362->SetBinContent(45,238.0389); h_SL1L362->SetBinContent(46,250.5672); h_SL1L362->SetBinContent(47,147.2083); h_SL1L362->SetBinContent(48,212.9821); h_SL1L362->SetBinContent(49,212.9821); h_SL1L362->SetBinContent(50,125.2836); h_SL1L362->SetBinContent(51,119.0194); h_SL1L362->SetBinContent(52,178.5291); h_SL1L362->SetBinContent(53,159.7366); h_SL1L362->SetBinContent(54,159.7366); h_SL1L362->SetBinContent(55,112.7552); h_SL1L362->SetBinContent(56,112.7552); h_SL1L362->SetBinContent(57,84.56644); h_SL1L362->SetBinContent(58,87.69853); h_SL1L362->SetBinContent(59,56.37762); h_SL1L362->SetMaximum(9138.03); 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,2721.786); h_SL1L463->SetBinContent(3,3417.111); h_SL1L463->SetBinContent(4,4604.173); h_SL1L463->SetBinContent(5,4870.4); h_SL1L463->SetBinContent(6,5183.609); h_SL1L463->SetBinContent(7,5205.534); h_SL1L463->SetBinContent(8,5161.685); h_SL1L463->SetBinContent(9,5456.102); h_SL1L463->SetBinContent(10,5515.611); h_SL1L463->SetBinContent(11,5249.383); h_SL1L463->SetBinContent(12,5553.196); h_SL1L463->SetBinContent(13,5691.008); h_SL1L463->SetBinContent(14,6120.104); h_SL1L463->SetBinContent(15,5189.874); h_SL1L463->SetBinContent(16,5622.102); h_SL1L463->SetBinContent(17,5725.461); h_SL1L463->SetBinContent(18,5734.857); h_SL1L463->SetBinContent(19,5299.497); h_SL1L463->SetBinContent(20,5531.271); h_SL1L463->SetBinContent(21,5976.028); h_SL1L463->SetBinContent(22,6082.52); h_SL1L463->SetBinContent(23,5099.043); h_SL1L463->SetBinContent(24,5788.103); h_SL1L463->SetBinContent(25,5556.328); h_SL1L463->SetBinContent(26,5841.349); h_SL1L463->SetBinContent(27,5565.725); h_SL1L463->SetBinContent(28,5932.179); h_SL1L463->SetBinContent(29,5825.688); h_SL1L463->SetBinContent(30,5991.689); h_SL1L463->SetBinContent(31,6273.577); h_SL1L463->SetBinContent(32,5778.707); h_SL1L463->SetBinContent(33,159.7366); h_SL1L463->SetBinContent(34,209.8501); h_SL1L463->SetBinContent(35,181.6612); h_SL1L463->SetBinContent(36,194.1896); h_SL1L463->SetBinContent(37,181.6612); h_SL1L463->SetBinContent(38,191.0575); h_SL1L463->SetBinContent(39,181.6612); h_SL1L463->SetBinContent(40,156.6045); h_SL1L463->SetBinContent(41,203.5859); h_SL1L463->SetBinContent(42,241.171); h_SL1L463->SetBinContent(43,169.1329); h_SL1L463->SetBinContent(44,241.171); h_SL1L463->SetBinContent(45,197.3217); h_SL1L463->SetBinContent(46,169.1329); h_SL1L463->SetBinContent(47,144.0762); h_SL1L463->SetBinContent(48,147.2083); h_SL1L463->SetBinContent(49,134.6799); h_SL1L463->SetBinContent(50,134.6799); h_SL1L463->SetBinContent(51,90.83062); h_SL1L463->SetBinContent(52,115.8873); h_SL1L463->SetBinContent(53,122.1515); h_SL1L463->SetBinContent(54,112.7552); h_SL1L463->SetBinContent(56,106.4911); h_SL1L463->SetBinContent(57,84.56644); h_SL1L463->SetBinContent(58,72.03808); h_SL1L463->SetBinContent(59,56.37762); h_SL1L463->SetMaximum(9138.03); 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 5833"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }