void RatesPerCell_Removing_noisy_cells_run_6889_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:02:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13196.25,67.5,118766.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6889",60,0,60); h_SL1L160->SetBinContent(1,15959.18); h_SL1L160->SetBinContent(2,15163.27); h_SL1L160->SetBinContent(3,14846.94); h_SL1L160->SetBinContent(4,14204.08); h_SL1L160->SetBinContent(5,13892.86); h_SL1L160->SetBinContent(6,13908.16); h_SL1L160->SetBinContent(7,13632.65); h_SL1L160->SetBinContent(8,13142.86); h_SL1L160->SetBinContent(9,12913.27); h_SL1L160->SetBinContent(10,11709.18); h_SL1L160->SetBinContent(11,11505.1); h_SL1L160->SetBinContent(12,11571.43); h_SL1L160->SetBinContent(13,12551.02); h_SL1L160->SetBinContent(14,11301.02); h_SL1L160->SetBinContent(15,11459.18); h_SL1L160->SetBinContent(16,10994.9); h_SL1L160->SetBinContent(17,10938.78); h_SL1L160->SetBinContent(18,11954.08); h_SL1L160->SetBinContent(19,12265.31); h_SL1L160->SetBinContent(20,11954.08); h_SL1L160->SetBinContent(21,13025.51); h_SL1L160->SetBinContent(22,12811.22); h_SL1L160->SetBinContent(23,12647.96); h_SL1L160->SetBinContent(24,12137.75); h_SL1L160->SetBinContent(25,11816.33); h_SL1L160->SetBinContent(26,12112.25); h_SL1L160->SetBinContent(27,12051.02); h_SL1L160->SetBinContent(28,11581.63); h_SL1L160->SetBinContent(29,11658.16); h_SL1L160->SetBinContent(30,12045.92); h_SL1L160->SetBinContent(31,11505.1); h_SL1L160->SetBinContent(32,12392.86); h_SL1L160->SetBinContent(33,23250); h_SL1L160->SetBinContent(34,31423.47); h_SL1L160->SetBinContent(35,31897.96); h_SL1L160->SetBinContent(36,31275.51); h_SL1L160->SetBinContent(37,34959.18); h_SL1L160->SetBinContent(38,32984.7); h_SL1L160->SetBinContent(39,24750); h_SL1L160->SetBinContent(40,12000); h_SL1L160->SetBinContent(41,10352.04); h_SL1L160->SetBinContent(42,10780.61); h_SL1L160->SetBinContent(43,9938.775); h_SL1L160->SetBinContent(44,9704.081); h_SL1L160->SetBinContent(45,9540.816); h_SL1L160->SetBinContent(46,8765.306); h_SL1L160->SetBinContent(47,8500); h_SL1L160->SetBinContent(48,7938.775); h_SL1L160->SetBinContent(49,8010.204); h_SL1L160->SetBinContent(50,7948.979); h_SL1L160->SetBinContent(51,8280.612); h_SL1L160->SetBinContent(52,8096.938); h_SL1L160->SetBinContent(53,8668.367); h_SL1L160->SetBinContent(54,7785.714); h_SL1L160->SetBinContent(55,8928.571); h_SL1L160->SetBinContent(56,8510.204); h_SL1L160->SetBinContent(57,9897.959); h_SL1L160->SetBinContent(58,9994.897); h_SL1L160->SetBinContent(59,11066.33); h_SL1L160->SetMaximum(105570); 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,18301.02); h_SL1L261->SetBinContent(2,17392.86); h_SL1L261->SetBinContent(3,17096.94); h_SL1L261->SetBinContent(4,17520.41); h_SL1L261->SetBinContent(5,17698.98); h_SL1L261->SetBinContent(6,18576.53); h_SL1L261->SetBinContent(7,18265.31); h_SL1L261->SetBinContent(8,18469.39); h_SL1L261->SetBinContent(9,17561.22); h_SL1L261->SetBinContent(10,15984.69); h_SL1L261->SetBinContent(11,15387.75); h_SL1L261->SetBinContent(12,15510.2); h_SL1L261->SetBinContent(13,16857.14); h_SL1L261->SetBinContent(14,17076.53); h_SL1L261->SetBinContent(15,17025.51); h_SL1L261->SetBinContent(16,17178.57); h_SL1L261->SetBinContent(17,17163.27); h_SL1L261->SetBinContent(18,17413.27); h_SL1L261->SetBinContent(19,18224.49); h_SL1L261->SetBinContent(20,18683.67); h_SL1L261->SetBinContent(21,19801.02); h_SL1L261->SetBinContent(22,19632.65); h_SL1L261->SetBinContent(23,20744.9); h_SL1L261->SetBinContent(24,20515.31); h_SL1L261->SetBinContent(25,20153.06); h_SL1L261->SetBinContent(26,19489.79); h_SL1L261->SetBinContent(27,19244.9); h_SL1L261->SetBinContent(28,18887.76); h_SL1L261->SetBinContent(29,20663.27); h_SL1L261->SetBinContent(30,20821.43); h_SL1L261->SetBinContent(31,21607.14); h_SL1L261->SetBinContent(32,22903.06); h_SL1L261->SetBinContent(33,34066.33); h_SL1L261->SetBinContent(34,64096.94); h_SL1L261->SetBinContent(35,72464.28); h_SL1L261->SetBinContent(36,77173.47); h_SL1L261->SetBinContent(37,79826.53); h_SL1L261->SetBinContent(38,79673.47); h_SL1L261->SetBinContent(39,67102.04); h_SL1L261->SetBinContent(40,32474.49); h_SL1L261->SetBinContent(41,21061.22); h_SL1L261->SetBinContent(42,18474.49); h_SL1L261->SetBinContent(43,18535.71); h_SL1L261->SetBinContent(44,17321.43); h_SL1L261->SetBinContent(45,16841.84); h_SL1L261->SetBinContent(46,17295.92); h_SL1L261->SetBinContent(47,16739.79); h_SL1L261->SetBinContent(48,16525.51); h_SL1L261->SetBinContent(49,16209.18); h_SL1L261->SetBinContent(50,15571.43); h_SL1L261->SetBinContent(51,15066.33); h_SL1L261->SetBinContent(52,14428.57); h_SL1L261->SetBinContent(53,15943.88); h_SL1L261->SetBinContent(54,14984.69); h_SL1L261->SetBinContent(55,15137.75); h_SL1L261->SetBinContent(56,14494.9); h_SL1L261->SetBinContent(57,14428.57); h_SL1L261->SetBinContent(58,14081.63); h_SL1L261->SetBinContent(59,13790.82); h_SL1L261->SetMaximum(91800.51); 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,4443.877); h_SL1L362->SetBinContent(2,4071.428); h_SL1L362->SetBinContent(3,4586.735); h_SL1L362->SetBinContent(4,4607.143); h_SL1L362->SetBinContent(5,4438.775); h_SL1L362->SetBinContent(6,4423.469); h_SL1L362->SetBinContent(7,4612.245); h_SL1L362->SetBinContent(8,4163.265); h_SL1L362->SetBinContent(9,4265.306); h_SL1L362->SetBinContent(10,3846.939); h_SL1L362->SetBinContent(11,4025.51); h_SL1L362->SetBinContent(12,4224.49); h_SL1L362->SetBinContent(13,4352.041); h_SL1L362->SetBinContent(14,3948.979); h_SL1L362->SetBinContent(15,4459.184); h_SL1L362->SetBinContent(16,4142.857); h_SL1L362->SetBinContent(17,3693.877); h_SL1L362->SetBinContent(18,4474.49); h_SL1L362->SetBinContent(19,4683.673); h_SL1L362->SetBinContent(20,4397.959); h_SL1L362->SetBinContent(21,4617.347); h_SL1L362->SetBinContent(22,4596.939); h_SL1L362->SetBinContent(23,4530.612); h_SL1L362->SetBinContent(24,4867.347); h_SL1L362->SetBinContent(25,4306.123); h_SL1L362->SetBinContent(26,4137.755); h_SL1L362->SetBinContent(27,4653.061); h_SL1L362->SetBinContent(28,4484.694); h_SL1L362->SetBinContent(29,4954.082); h_SL1L362->SetBinContent(30,4535.714); h_SL1L362->SetBinContent(31,4530.612); h_SL1L362->SetBinContent(32,4229.592); h_SL1L362->SetBinContent(33,5224.49); h_SL1L362->SetBinContent(34,7188.775); h_SL1L362->SetBinContent(35,7244.898); h_SL1L362->SetBinContent(36,7469.388); h_SL1L362->SetBinContent(37,7852.041); h_SL1L362->SetBinContent(38,6627.551); h_SL1L362->SetBinContent(39,6005.102); h_SL1L362->SetBinContent(40,3698.979); h_SL1L362->SetBinContent(41,3913.265); h_SL1L362->SetBinContent(42,3852.041); h_SL1L362->SetBinContent(43,3729.592); h_SL1L362->SetBinContent(44,4015.306); h_SL1L362->SetBinContent(45,3622.449); h_SL1L362->SetBinContent(46,3729.592); h_SL1L362->SetBinContent(47,3867.347); h_SL1L362->SetBinContent(48,3285.714); h_SL1L362->SetBinContent(49,3612.245); h_SL1L362->SetBinContent(50,3525.51); h_SL1L362->SetBinContent(51,3397.959); h_SL1L362->SetBinContent(52,3397.959); h_SL1L362->SetBinContent(53,3540.816); h_SL1L362->SetBinContent(54,3290.816); h_SL1L362->SetBinContent(55,3321.428); h_SL1L362->SetBinContent(56,3561.224); h_SL1L362->SetBinContent(57,3510.204); h_SL1L362->SetBinContent(58,2938.775); h_SL1L362->SetBinContent(59,2943.877); h_SL1L362->SetMaximum(91800.51); 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,10683.67); h_SL1L463->SetBinContent(3,9969.388); h_SL1L463->SetBinContent(4,9846.938); h_SL1L463->SetBinContent(5,8989.796); h_SL1L463->SetBinContent(6,9964.285); h_SL1L463->SetBinContent(7,9872.449); h_SL1L463->SetBinContent(8,9795.918); h_SL1L463->SetBinContent(9,10056.12); h_SL1L463->SetBinContent(10,9617.347); h_SL1L463->SetBinContent(11,10015.31); h_SL1L463->SetBinContent(12,9887.755); h_SL1L463->SetBinContent(13,10530.61); h_SL1L463->SetBinContent(14,10892.86); h_SL1L463->SetBinContent(15,10923.47); h_SL1L463->SetBinContent(16,9785.714); h_SL1L463->SetBinContent(17,9428.571); h_SL1L463->SetBinContent(18,9122.449); h_SL1L463->SetBinContent(19,9918.367); h_SL1L463->SetBinContent(20,9469.388); h_SL1L463->SetBinContent(21,9642.857); h_SL1L463->SetBinContent(22,9795.918); h_SL1L463->SetBinContent(23,9438.775); h_SL1L463->SetBinContent(24,9556.122); h_SL1L463->SetBinContent(25,8668.367); h_SL1L463->SetBinContent(26,9352.041); h_SL1L463->SetBinContent(27,9132.653); h_SL1L463->SetBinContent(28,9045.918); h_SL1L463->SetBinContent(29,8744.897); h_SL1L463->SetBinContent(30,8969.388); h_SL1L463->SetBinContent(31,9229.592); h_SL1L463->SetBinContent(32,8826.53); h_SL1L463->SetBinContent(33,10341.84); h_SL1L463->SetBinContent(34,19413.27); h_SL1L463->SetBinContent(35,23561.22); h_SL1L463->SetBinContent(36,24260.2); h_SL1L463->SetBinContent(37,21321.43); h_SL1L463->SetBinContent(38,24122.45); h_SL1L463->SetBinContent(39,21836.73); h_SL1L463->SetBinContent(40,9653.062); h_SL1L463->SetBinContent(41,7862.245); h_SL1L463->SetBinContent(42,6877.551); h_SL1L463->SetBinContent(43,6948.979); h_SL1L463->SetBinContent(44,6867.347); h_SL1L463->SetBinContent(45,6234.694); h_SL1L463->SetBinContent(46,6295.918); h_SL1L463->SetBinContent(47,5780.612); h_SL1L463->SetBinContent(48,5867.347); h_SL1L463->SetBinContent(49,5321.429); h_SL1L463->SetBinContent(50,5673.469); h_SL1L463->SetBinContent(51,5474.49); h_SL1L463->SetBinContent(52,5204.082); h_SL1L463->SetBinContent(53,5341.837); h_SL1L463->SetBinContent(54,5637.755); h_SL1L463->SetBinContent(56,5826.531); h_SL1L463->SetBinContent(57,5903.061); h_SL1L463->SetBinContent(58,7433.673); h_SL1L463->SetBinContent(59,7959.184); h_SL1L463->SetMaximum(91800.51); 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 6889"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }