void RatesPerCell_Removing_noisy_cells_run_7566_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:21 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17970.62,67.5,161735.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7566",60,0,60); h_SL2L164->SetBinContent(1,68492.86); h_SL2L164->SetBinContent(2,85835.71); h_SL2L164->SetBinContent(3,102592.9); h_SL2L164->SetBinContent(4,107700); h_SL2L164->SetBinContent(5,106164.3); h_SL2L164->SetBinContent(6,100328.6); h_SL2L164->SetBinContent(7,89907.14); h_SL2L164->SetBinContent(8,86014.28); h_SL2L164->SetBinContent(9,93892.86); h_SL2L164->SetBinContent(10,97864.28); h_SL2L164->SetBinContent(11,99142.86); h_SL2L164->SetBinContent(12,100828.6); h_SL2L164->SetBinContent(13,98971.43); h_SL2L164->SetBinContent(14,100835.7); h_SL2L164->SetBinContent(15,98692.86); h_SL2L164->SetBinContent(16,98264.28); h_SL2L164->SetBinContent(17,95864.28); h_SL2L164->SetBinContent(18,93907.14); h_SL2L164->SetBinContent(19,92292.86); h_SL2L164->SetBinContent(20,90507.14); h_SL2L164->SetBinContent(21,86664.28); h_SL2L164->SetBinContent(22,83607.14); h_SL2L164->SetBinContent(23,76757.14); h_SL2L164->SetBinContent(24,73557.14); h_SL2L164->SetBinContent(25,69028.57); h_SL2L164->SetBinContent(26,67035.71); h_SL2L164->SetBinContent(27,65721.43); h_SL2L164->SetBinContent(28,66950); h_SL2L164->SetBinContent(29,67621.43); h_SL2L164->SetBinContent(30,63471.43); h_SL2L164->SetBinContent(31,63357.14); h_SL2L164->SetBinContent(32,66514.28); h_SL2L164->SetBinContent(33,68457.14); h_SL2L164->SetBinContent(34,68092.86); h_SL2L164->SetBinContent(36,67464.28); h_SL2L164->SetBinContent(37,74864.28); h_SL2L164->SetBinContent(38,74042.86); h_SL2L164->SetBinContent(39,74328.57); h_SL2L164->SetBinContent(40,79678.57); h_SL2L164->SetBinContent(41,108707.1); h_SL2L164->SetBinContent(42,77128.57); h_SL2L164->SetBinContent(43,78000); h_SL2L164->SetBinContent(44,74914.28); h_SL2L164->SetBinContent(45,64635.71); h_SL2L164->SetBinContent(46,60828.57); h_SL2L164->SetBinContent(47,59028.57); h_SL2L164->SetBinContent(48,58114.29); h_SL2L164->SetBinContent(49,59157.14); h_SL2L164->SetBinContent(50,57771.43); h_SL2L164->SetBinContent(51,63864.29); h_SL2L164->SetBinContent(52,71092.86); h_SL2L164->SetBinContent(53,80050); h_SL2L164->SetBinContent(54,82707.14); h_SL2L164->SetBinContent(55,82014.28); h_SL2L164->SetBinContent(56,69250); h_SL2L164->SetBinContent(57,56257.14); h_SL2L164->SetMaximum(143764.9); 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,54414.29); h_SL2L265->SetBinContent(2,79921.43); h_SL2L265->SetBinContent(3,88292.86); h_SL2L265->SetBinContent(4,102857.1); h_SL2L265->SetBinContent(5,103700); h_SL2L265->SetBinContent(6,98385.71); h_SL2L265->SetBinContent(7,94342.86); h_SL2L265->SetBinContent(8,80735.71); h_SL2L265->SetBinContent(9,89700); h_SL2L265->SetBinContent(10,90907.14); h_SL2L265->SetBinContent(11,96871.43); h_SL2L265->SetBinContent(12,99035.71); h_SL2L265->SetBinContent(13,96714.28); h_SL2L265->SetBinContent(14,97914.28); h_SL2L265->SetBinContent(15,95578.57); h_SL2L265->SetBinContent(16,94100); h_SL2L265->SetBinContent(17,93642.86); h_SL2L265->SetBinContent(18,90400); h_SL2L265->SetBinContent(19,90407.14); h_SL2L265->SetBinContent(20,88978.57); h_SL2L265->SetBinContent(21,87442.86); h_SL2L265->SetBinContent(22,83392.86); h_SL2L265->SetBinContent(23,78478.57); h_SL2L265->SetBinContent(24,72771.43); h_SL2L265->SetBinContent(25,68992.86); h_SL2L265->SetBinContent(26,65971.43); h_SL2L265->SetBinContent(27,64714.29); h_SL2L265->SetBinContent(28,64121.43); h_SL2L265->SetBinContent(29,63942.86); h_SL2L265->SetBinContent(30,63392.86); h_SL2L265->SetBinContent(31,59185.71); h_SL2L265->SetBinContent(32,62385.71); h_SL2L265->SetBinContent(33,65850); h_SL2L265->SetBinContent(34,65335.71); h_SL2L265->SetBinContent(35,65150); h_SL2L265->SetBinContent(36,65128.57); h_SL2L265->SetBinContent(37,66485.71); h_SL2L265->SetBinContent(38,70807.14); h_SL2L265->SetBinContent(39,69392.86); h_SL2L265->SetBinContent(40,69171.43); h_SL2L265->SetBinContent(41,67450); h_SL2L265->SetBinContent(42,65864.28); h_SL2L265->SetBinContent(43,66700); h_SL2L265->SetBinContent(44,66750); h_SL2L265->SetBinContent(45,63492.86); h_SL2L265->SetBinContent(46,61464.29); h_SL2L265->SetBinContent(47,59692.86); h_SL2L265->SetBinContent(48,56728.57); h_SL2L265->SetBinContent(49,55671.43); h_SL2L265->SetBinContent(50,57300); h_SL2L265->SetBinContent(51,56478.57); h_SL2L265->SetBinContent(52,64221.43); h_SL2L265->SetBinContent(53,71785.71); h_SL2L265->SetBinContent(54,78178.57); h_SL2L265->SetBinContent(55,79542.86); h_SL2L265->SetBinContent(56,70728.57); h_SL2L265->SetBinContent(57,65314.29); h_SL2L265->SetMaximum(125013.2); 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,63642.86); h_SL2L366->SetBinContent(2,78564.28); h_SL2L366->SetBinContent(3,97807.14); h_SL2L366->SetBinContent(4,99535.71); h_SL2L366->SetBinContent(5,98435.71); h_SL2L366->SetBinContent(6,92878.57); h_SL2L366->SetBinContent(7,84171.43); h_SL2L366->SetBinContent(8,81742.86); h_SL2L366->SetBinContent(9,88678.57); h_SL2L366->SetBinContent(10,90742.86); h_SL2L366->SetBinContent(11,93814.28); h_SL2L366->SetBinContent(12,94278.57); h_SL2L366->SetBinContent(13,92528.57); h_SL2L366->SetBinContent(14,94271.43); h_SL2L366->SetBinContent(15,92585.71); h_SL2L366->SetBinContent(16,91342.86); h_SL2L366->SetBinContent(17,89864.28); h_SL2L366->SetBinContent(18,88742.86); h_SL2L366->SetBinContent(19,84807.14); h_SL2L366->SetBinContent(20,84178.57); h_SL2L366->SetBinContent(21,81271.43); h_SL2L366->SetBinContent(22,77807.14); h_SL2L366->SetBinContent(23,72371.43); h_SL2L366->SetBinContent(24,66835.71); h_SL2L366->SetBinContent(25,66585.71); h_SL2L366->SetBinContent(26,62914.29); h_SL2L366->SetBinContent(27,62192.86); h_SL2L366->SetBinContent(28,62628.57); h_SL2L366->SetBinContent(29,61850); h_SL2L366->SetBinContent(30,59392.86); h_SL2L366->SetBinContent(31,57621.43); h_SL2L366->SetBinContent(32,61114.29); h_SL2L366->SetBinContent(33,62264.29); h_SL2L366->SetBinContent(34,63464.29); h_SL2L366->SetBinContent(35,62257.14); h_SL2L366->SetBinContent(36,63328.57); h_SL2L366->SetBinContent(37,64907.14); h_SL2L366->SetBinContent(38,65900); h_SL2L366->SetBinContent(39,65942.86); h_SL2L366->SetBinContent(40,65392.86); h_SL2L366->SetBinContent(41,65000); h_SL2L366->SetBinContent(42,63985.71); h_SL2L366->SetBinContent(43,64778.57); h_SL2L366->SetBinContent(44,62450); h_SL2L366->SetBinContent(45,59900); h_SL2L366->SetBinContent(46,57550); h_SL2L366->SetBinContent(47,57085.71); h_SL2L366->SetBinContent(48,54614.29); h_SL2L366->SetBinContent(49,56050); h_SL2L366->SetBinContent(50,53371.43); h_SL2L366->SetBinContent(51,57914.29); h_SL2L366->SetBinContent(52,65171.43); h_SL2L366->SetBinContent(53,73021.43); h_SL2L366->SetBinContent(54,76635.71); h_SL2L366->SetBinContent(55,76828.57); h_SL2L366->SetBinContent(56,64157.14); h_SL2L366->SetBinContent(57,60557.14); h_SL2L366->SetMaximum(125013.2); 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,73257.14); h_SL2L467->SetBinContent(3,84092.86); h_SL2L467->SetBinContent(4,96857.14); h_SL2L467->SetBinContent(5,96171.43); h_SL2L467->SetBinContent(6,89714.28); h_SL2L467->SetBinContent(7,86592.86); h_SL2L467->SetBinContent(8,75864.28); h_SL2L467->SetBinContent(9,82978.57); h_SL2L467->SetBinContent(10,86900); h_SL2L467->SetBinContent(11,91842.86); h_SL2L467->SetBinContent(12,90092.86); h_SL2L467->SetBinContent(13,90407.14); h_SL2L467->SetBinContent(14,91578.57); h_SL2L467->SetBinContent(15,89171.43); h_SL2L467->SetBinContent(16,88607.14); h_SL2L467->SetBinContent(17,85950); h_SL2L467->SetBinContent(18,85585.71); h_SL2L467->SetBinContent(19,84814.28); h_SL2L467->SetBinContent(20,81985.71); h_SL2L467->SetBinContent(21,80078.57); h_SL2L467->SetBinContent(22,75928.57); h_SL2L467->SetBinContent(23,71800); h_SL2L467->SetBinContent(24,65764.28); h_SL2L467->SetBinContent(25,64742.86); h_SL2L467->SetBinContent(26,60364.29); h_SL2L467->SetBinContent(27,60871.43); h_SL2L467->SetBinContent(28,59507.14); h_SL2L467->SetBinContent(29,59592.86); h_SL2L467->SetBinContent(30,60021.43); h_SL2L467->SetBinContent(31,54992.86); h_SL2L467->SetBinContent(32,58414.29); h_SL2L467->SetBinContent(33,59914.29); h_SL2L467->SetBinContent(34,61214.29); h_SL2L467->SetBinContent(35,61292.86); h_SL2L467->SetBinContent(36,61214.29); h_SL2L467->SetBinContent(37,63050); h_SL2L467->SetBinContent(38,63407.14); h_SL2L467->SetBinContent(39,64107.14); h_SL2L467->SetBinContent(40,63907.14); h_SL2L467->SetBinContent(41,61885.71); h_SL2L467->SetBinContent(42,62107.14); h_SL2L467->SetBinContent(43,63878.57); h_SL2L467->SetBinContent(44,61835.71); h_SL2L467->SetBinContent(45,59457.14); h_SL2L467->SetBinContent(46,56757.14); h_SL2L467->SetBinContent(47,55771.43); h_SL2L467->SetBinContent(48,52885.71); h_SL2L467->SetBinContent(49,53128.57); h_SL2L467->SetBinContent(50,54092.86); h_SL2L467->SetBinContent(51,52021.43); h_SL2L467->SetBinContent(52,59928.57); h_SL2L467->SetBinContent(53,65621.43); h_SL2L467->SetBinContent(54,72150); h_SL2L467->SetBinContent(55,75292.86); h_SL2L467->SetBinContent(56,69421.43); h_SL2L467->SetBinContent(57,61792.86); h_SL2L467->SetMaximum(125013.2); 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 7566"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }