void RatesPerCell_Removing_noisy_cells_run_7448_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:33:04 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-29890.8,67.5,269017.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7448",60,0,60); h_SL2L164->SetBinContent(1,117907.1); h_SL2L164->SetBinContent(2,146157.1); h_SL2L164->SetBinContent(3,174714.3); h_SL2L164->SetBinContent(4,180814.3); h_SL2L164->SetBinContent(5,176078.6); h_SL2L164->SetBinContent(6,164464.3); h_SL2L164->SetBinContent(7,150257.1); h_SL2L164->SetBinContent(8,142621.4); h_SL2L164->SetBinContent(9,160885.7); h_SL2L164->SetBinContent(10,162578.6); h_SL2L164->SetBinContent(11,167800); h_SL2L164->SetBinContent(12,166871.4); h_SL2L164->SetBinContent(13,162985.7); h_SL2L164->SetBinContent(14,164742.9); h_SL2L164->SetBinContent(15,161128.6); h_SL2L164->SetBinContent(16,159757.1); h_SL2L164->SetBinContent(17,156157.1); h_SL2L164->SetBinContent(18,151757.1); h_SL2L164->SetBinContent(19,151264.3); h_SL2L164->SetBinContent(20,144592.9); h_SL2L164->SetBinContent(21,140642.9); h_SL2L164->SetBinContent(22,127457.1); h_SL2L164->SetBinContent(23,118642.9); h_SL2L164->SetBinContent(24,109128.6); h_SL2L164->SetBinContent(25,103200); h_SL2L164->SetBinContent(26,98614.28); h_SL2L164->SetBinContent(27,96442.86); h_SL2L164->SetBinContent(28,96671.43); h_SL2L164->SetBinContent(29,99464.28); h_SL2L164->SetBinContent(30,96057.14); h_SL2L164->SetBinContent(31,93564.28); h_SL2L164->SetBinContent(32,100192.9); h_SL2L164->SetBinContent(33,101921.4); h_SL2L164->SetBinContent(34,105778.6); h_SL2L164->SetBinContent(36,102392.9); h_SL2L164->SetBinContent(37,113328.6); h_SL2L164->SetBinContent(38,112364.3); h_SL2L164->SetBinContent(39,112507.1); h_SL2L164->SetBinContent(40,111921.4); h_SL2L164->SetBinContent(41,139214.3); h_SL2L164->SetBinContent(42,112707.1); h_SL2L164->SetBinContent(43,115342.9); h_SL2L164->SetBinContent(44,109185.7); h_SL2L164->SetBinContent(45,98650); h_SL2L164->SetBinContent(46,91992.86); h_SL2L164->SetBinContent(47,89257.14); h_SL2L164->SetBinContent(48,86921.43); h_SL2L164->SetBinContent(49,89114.28); h_SL2L164->SetBinContent(50,87664.28); h_SL2L164->SetBinContent(51,95714.28); h_SL2L164->SetBinContent(52,114378.6); h_SL2L164->SetBinContent(53,131307.1); h_SL2L164->SetBinContent(54,139178.6); h_SL2L164->SetBinContent(55,143128.6); h_SL2L164->SetBinContent(56,120714.3); h_SL2L164->SetBinContent(57,101371.4); h_SL2L164->SetMaximum(239126.4); 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,95628.57); h_SL2L265->SetBinContent(2,139100); h_SL2L265->SetBinContent(3,153157.1); h_SL2L265->SetBinContent(4,174500); h_SL2L265->SetBinContent(5,172935.7); h_SL2L265->SetBinContent(6,166400); h_SL2L265->SetBinContent(7,156178.6); h_SL2L265->SetBinContent(8,132485.7); h_SL2L265->SetBinContent(9,150292.9); h_SL2L265->SetBinContent(10,155742.9); h_SL2L265->SetBinContent(11,162850); h_SL2L265->SetBinContent(12,160635.7); h_SL2L265->SetBinContent(13,159450); h_SL2L265->SetBinContent(14,158400); h_SL2L265->SetBinContent(15,156378.6); h_SL2L265->SetBinContent(16,155707.1); h_SL2L265->SetBinContent(17,151764.3); h_SL2L265->SetBinContent(18,148950); h_SL2L265->SetBinContent(19,148064.3); h_SL2L265->SetBinContent(20,142778.6); h_SL2L265->SetBinContent(21,136042.9); h_SL2L265->SetBinContent(22,128964.3); h_SL2L265->SetBinContent(23,118764.3); h_SL2L265->SetBinContent(24,108814.3); h_SL2L265->SetBinContent(25,103485.7); h_SL2L265->SetBinContent(26,94385.71); h_SL2L265->SetBinContent(27,94142.86); h_SL2L265->SetBinContent(28,94628.57); h_SL2L265->SetBinContent(29,94771.43); h_SL2L265->SetBinContent(30,96678.57); h_SL2L265->SetBinContent(31,86242.86); h_SL2L265->SetBinContent(32,96778.57); h_SL2L265->SetBinContent(33,96950); h_SL2L265->SetBinContent(34,101178.6); h_SL2L265->SetBinContent(35,97500); h_SL2L265->SetBinContent(36,101007.1); h_SL2L265->SetBinContent(37,103307.1); h_SL2L265->SetBinContent(38,105464.3); h_SL2L265->SetBinContent(39,106307.1); h_SL2L265->SetBinContent(40,105714.3); h_SL2L265->SetBinContent(41,102900); h_SL2L265->SetBinContent(42,102457.1); h_SL2L265->SetBinContent(43,101292.9); h_SL2L265->SetBinContent(44,101228.6); h_SL2L265->SetBinContent(45,97450); h_SL2L265->SetBinContent(46,91714.28); h_SL2L265->SetBinContent(47,88092.86); h_SL2L265->SetBinContent(48,84864.28); h_SL2L265->SetBinContent(49,83571.43); h_SL2L265->SetBinContent(50,86921.43); h_SL2L265->SetBinContent(51,84735.71); h_SL2L265->SetBinContent(52,102650); h_SL2L265->SetBinContent(53,116721.4); h_SL2L265->SetBinContent(54,129600); h_SL2L265->SetBinContent(55,136871.4); h_SL2L265->SetBinContent(56,123364.3); h_SL2L265->SetBinContent(57,116178.6); h_SL2L265->SetMaximum(207936.4); 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,112328.6); h_SL2L366->SetBinContent(2,135642.9); h_SL2L366->SetBinContent(3,167150); h_SL2L366->SetBinContent(4,166214.3); h_SL2L366->SetBinContent(5,164642.9); h_SL2L366->SetBinContent(6,153478.6); h_SL2L366->SetBinContent(7,138678.6); h_SL2L366->SetBinContent(8,137050); h_SL2L366->SetBinContent(9,149678.6); h_SL2L366->SetBinContent(10,154657.1); h_SL2L366->SetBinContent(11,158107.1); h_SL2L366->SetBinContent(12,157135.7); h_SL2L366->SetBinContent(13,152142.9); h_SL2L366->SetBinContent(14,154064.3); h_SL2L366->SetBinContent(15,151128.6); h_SL2L366->SetBinContent(16,146742.9); h_SL2L366->SetBinContent(17,144578.6); h_SL2L366->SetBinContent(18,141535.7); h_SL2L366->SetBinContent(19,139200); h_SL2L366->SetBinContent(20,134214.3); h_SL2L366->SetBinContent(21,128221.4); h_SL2L366->SetBinContent(22,119864.3); h_SL2L366->SetBinContent(23,110757.1); h_SL2L366->SetBinContent(24,101864.3); h_SL2L366->SetBinContent(25,95678.57); h_SL2L366->SetBinContent(26,90621.43); h_SL2L366->SetBinContent(27,91642.86); h_SL2L366->SetBinContent(28,90321.43); h_SL2L366->SetBinContent(29,91750); h_SL2L366->SetBinContent(30,86942.86); h_SL2L366->SetBinContent(31,87242.86); h_SL2L366->SetBinContent(32,93121.43); h_SL2L366->SetBinContent(33,96214.28); h_SL2L366->SetBinContent(34,96535.71); h_SL2L366->SetBinContent(35,95335.71); h_SL2L366->SetBinContent(36,97500); h_SL2L366->SetBinContent(37,99914.28); h_SL2L366->SetBinContent(38,101392.9); h_SL2L366->SetBinContent(39,99492.86); h_SL2L366->SetBinContent(40,100985.7); h_SL2L366->SetBinContent(41,98200); h_SL2L366->SetBinContent(42,98578.57); h_SL2L366->SetBinContent(43,98685.71); h_SL2L366->SetBinContent(44,97150); h_SL2L366->SetBinContent(45,90614.28); h_SL2L366->SetBinContent(46,86435.71); h_SL2L366->SetBinContent(47,83371.43); h_SL2L366->SetBinContent(48,79242.86); h_SL2L366->SetBinContent(49,83228.57); h_SL2L366->SetBinContent(50,84042.86); h_SL2L366->SetBinContent(51,87357.14); h_SL2L366->SetBinContent(52,103528.6); h_SL2L366->SetBinContent(53,119571.4); h_SL2L366->SetBinContent(54,129578.6); h_SL2L366->SetBinContent(55,133035.7); h_SL2L366->SetBinContent(56,110542.9); h_SL2L366->SetBinContent(57,105557.1); h_SL2L366->SetMaximum(207936.4); 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,130500); h_SL2L467->SetBinContent(3,144928.6); h_SL2L467->SetBinContent(4,162092.9); h_SL2L467->SetBinContent(5,161571.4); h_SL2L467->SetBinContent(6,151057.1); h_SL2L467->SetBinContent(7,143478.6); h_SL2L467->SetBinContent(8,122935.7); h_SL2L467->SetBinContent(9,141442.9); h_SL2L467->SetBinContent(10,145221.4); h_SL2L467->SetBinContent(11,149350); h_SL2L467->SetBinContent(12,149807.1); h_SL2L467->SetBinContent(13,149292.9); h_SL2L467->SetBinContent(14,146971.4); h_SL2L467->SetBinContent(15,146378.6); h_SL2L467->SetBinContent(16,144214.3); h_SL2L467->SetBinContent(17,139792.9); h_SL2L467->SetBinContent(18,137035.7); h_SL2L467->SetBinContent(19,137328.6); h_SL2L467->SetBinContent(20,130485.7); h_SL2L467->SetBinContent(21,129157.1); h_SL2L467->SetBinContent(22,119214.3); h_SL2L467->SetBinContent(23,108307.1); h_SL2L467->SetBinContent(24,101864.3); h_SL2L467->SetBinContent(25,95642.86); h_SL2L467->SetBinContent(26,90650); h_SL2L467->SetBinContent(27,87100); h_SL2L467->SetBinContent(28,87235.71); h_SL2L467->SetBinContent(29,88542.86); h_SL2L467->SetBinContent(30,88335.71); h_SL2L467->SetBinContent(31,79500); h_SL2L467->SetBinContent(32,89571.43); h_SL2L467->SetBinContent(33,90514.28); h_SL2L467->SetBinContent(34,92057.14); h_SL2L467->SetBinContent(35,93142.86); h_SL2L467->SetBinContent(36,92657.14); h_SL2L467->SetBinContent(37,96500); h_SL2L467->SetBinContent(38,98064.28); h_SL2L467->SetBinContent(39,99421.43); h_SL2L467->SetBinContent(40,97178.57); h_SL2L467->SetBinContent(41,94492.86); h_SL2L467->SetBinContent(42,97421.43); h_SL2L467->SetBinContent(43,94135.71); h_SL2L467->SetBinContent(44,94421.43); h_SL2L467->SetBinContent(45,90128.57); h_SL2L467->SetBinContent(46,86614.28); h_SL2L467->SetBinContent(47,81728.57); h_SL2L467->SetBinContent(48,79807.14); h_SL2L467->SetBinContent(49,77335.71); h_SL2L467->SetBinContent(50,82607.14); h_SL2L467->SetBinContent(51,77350); h_SL2L467->SetBinContent(52,94057.14); h_SL2L467->SetBinContent(53,106321.4); h_SL2L467->SetBinContent(54,120900); h_SL2L467->SetBinContent(55,127342.9); h_SL2L467->SetBinContent(56,120021.4); h_SL2L467->SetBinContent(57,106078.6); h_SL2L467->SetMaximum(207936.4); 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 7448"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }