void RatesPerCell_Removing_noisy_cells_run_7383_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:15:55 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12306.29,67.5,110756.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7383",60,0,60); h_SL1L160->SetBinContent(1,54207.14); h_SL1L160->SetBinContent(2,57285.71); h_SL1L160->SetBinContent(3,55671.43); h_SL1L160->SetBinContent(4,51685.71); h_SL1L160->SetBinContent(5,41828.57); h_SL1L160->SetBinContent(6,42028.57); h_SL1L160->SetBinContent(7,40792.86); h_SL1L160->SetBinContent(8,41642.86); h_SL1L160->SetBinContent(9,39050); h_SL1L160->SetBinContent(10,38464.29); h_SL1L160->SetBinContent(11,37500); h_SL1L160->SetBinContent(12,33221.43); h_SL1L160->SetBinContent(13,33585.71); h_SL1L160->SetBinContent(14,52600); h_SL1L160->SetBinContent(15,52535.71); h_SL1L160->SetBinContent(16,34357.14); h_SL1L160->SetBinContent(17,35328.57); h_SL1L160->SetBinContent(18,37478.57); h_SL1L160->SetBinContent(19,37364.29); h_SL1L160->SetBinContent(20,37642.86); h_SL1L160->SetBinContent(21,35235.71); h_SL1L160->SetBinContent(22,33835.71); h_SL1L160->SetBinContent(23,33100); h_SL1L160->SetBinContent(24,30200); h_SL1L160->SetBinContent(25,29342.86); h_SL1L160->SetBinContent(26,29357.14); h_SL1L160->SetBinContent(27,28700); h_SL1L160->SetBinContent(28,29871.43); h_SL1L160->SetBinContent(29,29185.71); h_SL1L160->SetBinContent(30,28692.86); h_SL1L160->SetBinContent(31,28521.43); h_SL1L160->SetBinContent(32,27528.57); h_SL1L160->SetBinContent(33,63171.43); h_SL1L160->SetBinContent(34,64557.14); h_SL1L160->SetBinContent(35,61885.71); h_SL1L160->SetBinContent(36,61850); h_SL1L160->SetBinContent(37,59221.43); h_SL1L160->SetBinContent(38,60407.14); h_SL1L160->SetBinContent(39,63214.29); h_SL1L160->SetBinContent(41,27450); h_SL1L160->SetBinContent(42,27892.86); h_SL1L160->SetBinContent(43,27914.29); h_SL1L160->SetBinContent(44,26585.71); h_SL1L160->SetBinContent(45,26671.43); h_SL1L160->SetBinContent(46,25292.86); h_SL1L160->SetBinContent(47,25921.43); h_SL1L160->SetBinContent(48,26100); h_SL1L160->SetBinContent(49,28992.86); h_SL1L160->SetBinContent(50,30807.14); h_SL1L160->SetBinContent(51,32328.57); h_SL1L160->SetBinContent(52,32921.43); h_SL1L160->SetBinContent(53,28521.43); h_SL1L160->SetBinContent(54,29542.86); h_SL1L160->SetBinContent(55,33742.86); h_SL1L160->SetBinContent(56,36700); h_SL1L160->SetMaximum(98450.35); 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,61014.29); h_SL1L261->SetBinContent(2,61971.43); h_SL1L261->SetBinContent(3,63907.14); h_SL1L261->SetBinContent(4,65321.43); h_SL1L261->SetBinContent(5,59071.43); h_SL1L261->SetBinContent(6,58650); h_SL1L261->SetBinContent(7,57185.71); h_SL1L261->SetBinContent(8,58235.71); h_SL1L261->SetBinContent(9,56221.43); h_SL1L261->SetBinContent(10,52571.43); h_SL1L261->SetBinContent(11,52992.86); h_SL1L261->SetBinContent(12,47742.86); h_SL1L261->SetBinContent(13,47614.29); h_SL1L261->SetBinContent(14,45028.57); h_SL1L261->SetBinContent(15,50107.14); h_SL1L261->SetBinContent(16,49192.86); h_SL1L261->SetBinContent(17,55900); h_SL1L261->SetBinContent(18,58107.14); h_SL1L261->SetBinContent(19,61242.86); h_SL1L261->SetBinContent(20,61607.14); h_SL1L261->SetBinContent(21,57342.86); h_SL1L261->SetBinContent(22,57000); h_SL1L261->SetBinContent(23,57771.43); h_SL1L261->SetBinContent(24,58050); h_SL1L261->SetBinContent(25,58771.43); h_SL1L261->SetBinContent(26,52828.57); h_SL1L261->SetBinContent(27,53078.57); h_SL1L261->SetBinContent(28,54892.86); h_SL1L261->SetBinContent(29,57685.71); h_SL1L261->SetBinContent(30,57342.86); h_SL1L261->SetBinContent(31,58492.86); h_SL1L261->SetBinContent(32,58285.71); h_SL1L261->SetBinContent(33,61828.57); h_SL1L261->SetBinContent(34,61364.29); h_SL1L261->SetBinContent(35,60407.14); h_SL1L261->SetBinContent(36,60414.29); h_SL1L261->SetBinContent(37,57835.71); h_SL1L261->SetBinContent(38,57821.43); h_SL1L261->SetBinContent(39,63514.29); h_SL1L261->SetBinContent(40,63257.14); h_SL1L261->SetBinContent(41,59535.71); h_SL1L261->SetBinContent(42,60585.71); h_SL1L261->SetBinContent(43,60492.86); h_SL1L261->SetBinContent(44,59235.71); h_SL1L261->SetBinContent(45,60785.71); h_SL1L261->SetBinContent(46,59550); h_SL1L261->SetBinContent(47,65150); h_SL1L261->SetBinContent(48,65528.57); h_SL1L261->SetBinContent(49,72707.14); h_SL1L261->SetBinContent(50,71428.57); h_SL1L261->SetBinContent(51,71857.14); h_SL1L261->SetBinContent(52,74442.86); h_SL1L261->SetBinContent(53,59692.86); h_SL1L261->SetBinContent(54,61264.29); h_SL1L261->SetBinContent(55,71885.71); h_SL1L261->SetBinContent(56,73592.86); h_SL1L261->SetMaximum(85609.29); 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,58600); h_SL1L362->SetBinContent(2,61714.29); h_SL1L362->SetBinContent(3,63235.71); h_SL1L362->SetBinContent(4,61978.57); h_SL1L362->SetBinContent(5,57507.14); h_SL1L362->SetBinContent(6,56050); h_SL1L362->SetBinContent(7,54742.86); h_SL1L362->SetBinContent(8,54292.86); h_SL1L362->SetBinContent(9,51471.43); h_SL1L362->SetBinContent(10,50828.57); h_SL1L362->SetBinContent(11,47507.14); h_SL1L362->SetBinContent(12,45371.43); h_SL1L362->SetBinContent(13,45407.14); h_SL1L362->SetBinContent(14,46428.57); h_SL1L362->SetBinContent(15,48585.71); h_SL1L362->SetBinContent(16,49757.14); h_SL1L362->SetBinContent(17,54892.86); h_SL1L362->SetBinContent(18,58464.29); h_SL1L362->SetBinContent(19,59385.71); h_SL1L362->SetBinContent(20,63028.57); h_SL1L362->SetBinContent(21,56064.29); h_SL1L362->SetBinContent(22,54792.86); h_SL1L362->SetBinContent(23,56021.43); h_SL1L362->SetBinContent(24,56728.57); h_SL1L362->SetBinContent(25,55071.43); h_SL1L362->SetBinContent(26,49821.43); h_SL1L362->SetBinContent(27,52650); h_SL1L362->SetBinContent(28,55650); h_SL1L362->SetBinContent(29,55228.57); h_SL1L362->SetBinContent(30,55228.57); h_SL1L362->SetBinContent(31,56992.86); h_SL1L362->SetBinContent(32,54585.71); h_SL1L362->SetBinContent(33,59092.86); h_SL1L362->SetBinContent(34,59585.71); h_SL1L362->SetBinContent(35,58728.57); h_SL1L362->SetBinContent(36,59142.86); h_SL1L362->SetBinContent(37,56971.43); h_SL1L362->SetBinContent(38,56450); h_SL1L362->SetBinContent(39,61521.43); h_SL1L362->SetBinContent(40,61450); h_SL1L362->SetBinContent(41,58142.86); h_SL1L362->SetBinContent(42,61350); h_SL1L362->SetBinContent(43,56500); h_SL1L362->SetBinContent(44,56221.43); h_SL1L362->SetBinContent(45,58664.29); h_SL1L362->SetBinContent(46,60342.86); h_SL1L362->SetBinContent(47,63950); h_SL1L362->SetBinContent(48,64114.29); h_SL1L362->SetBinContent(49,71321.43); h_SL1L362->SetBinContent(50,70464.28); h_SL1L362->SetBinContent(51,72350); h_SL1L362->SetBinContent(52,73414.28); h_SL1L362->SetBinContent(53,58278.57); h_SL1L362->SetBinContent(54,58450); h_SL1L362->SetBinContent(55,72478.57); h_SL1L362->SetBinContent(56,71750); h_SL1L362->SetMaximum(85609.29); 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,48457.14); h_SL1L463->SetBinContent(3,45921.43); h_SL1L463->SetBinContent(4,42328.57); h_SL1L463->SetBinContent(5,37542.86); h_SL1L463->SetBinContent(6,34421.43); h_SL1L463->SetBinContent(7,34550); h_SL1L463->SetBinContent(8,36850); h_SL1L463->SetBinContent(9,37271.43); h_SL1L463->SetBinContent(10,36078.57); h_SL1L463->SetBinContent(11,38771.43); h_SL1L463->SetBinContent(12,36171.43); h_SL1L463->SetBinContent(13,36557.14); h_SL1L463->SetBinContent(14,37150); h_SL1L463->SetBinContent(15,71342.86); h_SL1L463->SetBinContent(16,44200); h_SL1L463->SetBinContent(17,38850); h_SL1L463->SetBinContent(18,40128.57); h_SL1L463->SetBinContent(19,38928.57); h_SL1L463->SetBinContent(20,40528.57); h_SL1L463->SetBinContent(21,36671.43); h_SL1L463->SetBinContent(22,35900); h_SL1L463->SetBinContent(23,35421.43); h_SL1L463->SetBinContent(24,37307.14); h_SL1L463->SetBinContent(25,32750); h_SL1L463->SetBinContent(26,31635.71); h_SL1L463->SetBinContent(27,30292.86); h_SL1L463->SetBinContent(28,30057.14); h_SL1L463->SetBinContent(29,29921.43); h_SL1L463->SetBinContent(30,31071.43); h_SL1L463->SetBinContent(31,30507.14); h_SL1L463->SetBinContent(32,29614.29); h_SL1L463->SetBinContent(33,29714.29); h_SL1L463->SetBinContent(34,31557.14); h_SL1L463->SetBinContent(35,31292.86); h_SL1L463->SetBinContent(36,28092.86); h_SL1L463->SetBinContent(37,85.71429); h_SL1L463->SetBinContent(41,24950); h_SL1L463->SetBinContent(42,26207.14); h_SL1L463->SetBinContent(43,26542.86); h_SL1L463->SetBinContent(44,26700); h_SL1L463->SetBinContent(45,23792.86); h_SL1L463->SetBinContent(46,24971.43); h_SL1L463->SetBinContent(47,24535.71); h_SL1L463->SetBinContent(48,24235.71); h_SL1L463->SetBinContent(49,25071.43); h_SL1L463->SetBinContent(50,27100); h_SL1L463->SetBinContent(51,26914.29); h_SL1L463->SetBinContent(52,29192.86); h_SL1L463->SetBinContent(53,25742.86); h_SL1L463->SetBinContent(54,24635.71); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,32164.29); h_SL1L463->SetMaximum(85609.29); 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 7383"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }