void RatesPerCell_Removing_noisy_cells_run_6802_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:18:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8895.682,67.5,80061.13); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6802",60,0,60); h_SL2L164->SetBinContent(1,4357.833); h_SL2L164->SetBinContent(2,5533.356); h_SL2L164->SetBinContent(3,6603.922); h_SL2L164->SetBinContent(4,6979.669); h_SL2L164->SetBinContent(5,6702.582); h_SL2L164->SetBinContent(6,6368.817); h_SL2L164->SetBinContent(7,5648.809); h_SL2L164->SetBinContent(8,5606.826); h_SL2L164->SetBinContent(9,6624.914); h_SL2L164->SetBinContent(10,6782.35); h_SL2L164->SetBinContent(11,6849.522); h_SL2L164->SetBinContent(12,6881.01); h_SL2L164->SetBinContent(13,6956.579); h_SL2L164->SetBinContent(14,6870.514); h_SL2L164->SetBinContent(15,7145.502); h_SL2L164->SetBinContent(16,6935.587); h_SL2L164->SetBinContent(17,6843.225); h_SL2L164->SetBinContent(18,6822.233); h_SL2L164->SetBinContent(19,6811.738); h_SL2L164->SetBinContent(20,6622.814); h_SL2L164->SetBinContent(21,6108.523); h_SL2L164->SetBinContent(22,6003.565); h_SL2L164->SetBinContent(23,6249.166); h_SL2L164->SetBinContent(24,6582.931); h_SL2L164->SetBinContent(25,11228.35); h_SL2L164->SetBinContent(26,29782.72); h_SL2L164->SetBinContent(27,43721.07); h_SL2L164->SetBinContent(28,51594.98); h_SL2L164->SetBinContent(29,53811.68); h_SL2L164->SetBinContent(30,52657.14); h_SL2L164->SetBinContent(31,50060.5); h_SL2L164->SetBinContent(32,49529.41); h_SL2L164->SetBinContent(33,16.79319); h_SL2L164->SetBinContent(34,8.396595); h_SL2L164->SetBinContent(36,25.18979); h_SL2L164->SetBinContent(37,6.297446); h_SL2L164->SetBinContent(38,4.198298); h_SL2L164->SetBinContent(39,14.69404); h_SL2L164->SetBinContent(40,10.49574); h_SL2L164->SetBinContent(49,6.297446); h_SL2L164->SetBinContent(50,8.396595); h_SL2L164->SetBinContent(51,4.198298); h_SL2L164->SetBinContent(52,12.59489); h_SL2L164->SetBinContent(53,4.198298); h_SL2L164->SetBinContent(54,4.198298); h_SL2L164->SetMaximum(71165.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,3652.519); h_SL2L265->SetBinContent(2,5262.566); h_SL2L265->SetBinContent(3,5663.503); h_SL2L265->SetBinContent(4,6654.302); h_SL2L265->SetBinContent(5,6570.335); h_SL2L265->SetBinContent(6,6209.282); h_SL2L265->SetBinContent(7,5865.021); h_SL2L265->SetBinContent(8,5121.923); h_SL2L265->SetBinContent(9,5974.177); h_SL2L265->SetBinContent(10,6423.395); h_SL2L265->SetBinContent(11,6708.879); h_SL2L265->SetBinContent(12,6570.335); h_SL2L265->SetBinContent(13,6771.854); h_SL2L265->SetBinContent(14,6627.013); h_SL2L265->SetBinContent(15,6603.922); h_SL2L265->SetBinContent(16,6635.409); h_SL2L265->SetBinContent(17,6524.154); h_SL2L265->SetBinContent(18,6463.279); h_SL2L265->SetBinContent(19,6694.186); h_SL2L265->SetBinContent(20,6507.361); h_SL2L265->SetBinContent(21,6062.342); h_SL2L265->SetBinContent(22,5837.733); h_SL2L265->SetBinContent(23,5944.789); h_SL2L265->SetBinContent(24,6016.16); h_SL2L265->SetBinContent(25,6918.794); h_SL2L265->SetBinContent(26,19920.92); h_SL2L265->SetBinContent(27,37387.94); h_SL2L265->SetBinContent(28,48458.85); h_SL2L265->SetBinContent(29,53282.69); h_SL2L265->SetBinContent(30,53515.7); h_SL2L265->SetBinContent(31,50778.41); h_SL2L265->SetBinContent(32,49489.53); h_SL2L265->SetBinContent(33,14.69404); h_SL2L265->SetBinContent(34,12.59489); h_SL2L265->SetBinContent(35,8.396595); h_SL2L265->SetBinContent(36,8.396595); h_SL2L265->SetBinContent(37,6.297446); h_SL2L265->SetBinContent(38,6.297446); h_SL2L265->SetBinContent(39,16.79319); h_SL2L265->SetBinContent(40,4.198298); h_SL2L265->SetBinContent(49,14.69404); h_SL2L265->SetBinContent(50,2.099149); h_SL2L265->SetBinContent(51,20.99149); h_SL2L265->SetBinContent(52,14.69404); h_SL2L265->SetBinContent(53,2.099149); h_SL2L265->SetBinContent(55,2.099149); h_SL2L265->SetMaximum(61883.43); 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,4271.768); h_SL2L366->SetBinContent(2,5061.048); h_SL2L366->SetBinContent(3,6366.718); h_SL2L366->SetBinContent(4,6377.214); h_SL2L366->SetBinContent(5,6265.959); h_SL2L366->SetBinContent(6,5829.336); h_SL2L366->SetBinContent(7,5296.152); h_SL2L366->SetBinContent(8,5539.653); h_SL2L366->SetBinContent(9,6035.053); h_SL2L366->SetBinContent(10,6200.885); h_SL2L366->SetBinContent(11,6461.18); h_SL2L366->SetBinContent(12,6375.115); h_SL2L366->SetBinContent(13,6622.814); h_SL2L366->SetBinContent(14,6599.724); h_SL2L366->SetBinContent(15,6561.939); h_SL2L366->SetBinContent(16,6446.486); h_SL2L366->SetBinContent(17,6272.256); h_SL2L366->SetBinContent(18,6532.551); h_SL2L366->SetBinContent(19,6522.055); h_SL2L366->SetBinContent(20,6322.636); h_SL2L366->SetBinContent(21,5814.642); h_SL2L366->SetBinContent(22,5699.189); h_SL2L366->SetBinContent(23,5810.444); h_SL2L366->SetBinContent(24,6186.191); h_SL2L366->SetBinContent(25,10846.3); h_SL2L366->SetBinContent(26,29618.99); h_SL2L366->SetBinContent(27,43546.84); h_SL2L366->SetBinContent(28,51376.66); h_SL2L366->SetBinContent(29,53261.7); h_SL2L366->SetBinContent(30,52644.55); h_SL2L366->SetBinContent(31,49756.12); h_SL2L366->SetBinContent(32,49193.55); h_SL2L366->SetBinContent(33,10.49574); h_SL2L366->SetBinContent(34,12.59489); h_SL2L366->SetBinContent(35,12.59489); h_SL2L366->SetBinContent(36,12.59489); h_SL2L366->SetBinContent(37,4.198298); h_SL2L366->SetBinContent(38,8.396595); h_SL2L366->SetBinContent(39,8.396595); h_SL2L366->SetBinContent(49,6.297446); h_SL2L366->SetBinContent(50,16.79319); h_SL2L366->SetBinContent(51,8.396595); h_SL2L366->SetBinContent(52,12.59489); h_SL2L366->SetBinContent(53,4.198298); h_SL2L366->SetBinContent(54,2.099149); h_SL2L366->SetMaximum(61883.43); 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,4924.603); h_SL2L467->SetBinContent(3,5602.628); h_SL2L467->SetBinContent(4,6219.778); h_SL2L467->SetBinContent(5,6223.976); h_SL2L467->SetBinContent(6,5799.948); h_SL2L467->SetBinContent(7,5296.152); h_SL2L467->SetBinContent(8,4958.189); h_SL2L467->SetBinContent(9,5499.77); h_SL2L467->SetBinContent(10,5793.65); h_SL2L467->SetBinContent(11,6119.019); h_SL2L467->SetBinContent(12,6173.597); h_SL2L467->SetBinContent(13,6188.291); h_SL2L467->SetBinContent(14,6148.407); h_SL2L467->SetBinContent(15,6276.455); h_SL2L467->SetBinContent(16,6026.656); h_SL2L467->SetBinContent(17,6129.514); h_SL2L467->SetBinContent(18,6165.2); h_SL2L467->SetBinContent(19,6142.109); h_SL2L467->SetBinContent(20,6060.243); h_SL2L467->SetBinContent(21,5697.09); h_SL2L467->SetBinContent(22,5394.812); h_SL2L467->SetBinContent(23,5627.818); h_SL2L467->SetBinContent(24,5812.543); h_SL2L467->SetBinContent(25,6700.483); h_SL2L467->SetBinContent(26,19669.02); h_SL2L467->SetBinContent(27,37159.13); h_SL2L467->SetBinContent(28,48261.53); h_SL2L467->SetBinContent(29,52774.7); h_SL2L467->SetBinContent(30,53723.52); h_SL2L467->SetBinContent(31,50742.72); h_SL2L467->SetBinContent(32,49422.36); h_SL2L467->SetBinContent(33,16.79319); h_SL2L467->SetBinContent(34,12.59489); h_SL2L467->SetBinContent(35,23.09064); h_SL2L467->SetBinContent(36,10.49574); h_SL2L467->SetBinContent(37,16.79319); h_SL2L467->SetBinContent(38,4.198298); h_SL2L467->SetBinContent(39,6.297446); h_SL2L467->SetBinContent(40,6.297446); h_SL2L467->SetBinContent(49,10.49574); h_SL2L467->SetBinContent(50,12.59489); h_SL2L467->SetBinContent(51,12.59489); h_SL2L467->SetBinContent(52,6.297446); h_SL2L467->SetBinContent(53,4.198298); h_SL2L467->SetBinContent(56,4.198298); h_SL2L467->SetMaximum(61883.43); 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 6802"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }