void RatesPerCell_Removing_noisy_cells_run_7475_SL3() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:33:19 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15188.63,67.5,136697.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7475",60,0,60); h_SL3L168->SetBinContent(1,26157.14); h_SL3L168->SetBinContent(2,33528.57); h_SL3L168->SetBinContent(4,50842.86); h_SL3L168->SetBinContent(5,50221.43); h_SL3L168->SetBinContent(6,51121.43); h_SL3L168->SetBinContent(7,53650); h_SL3L168->SetBinContent(8,50400); h_SL3L168->SetBinContent(9,51378.57); h_SL3L168->SetBinContent(10,52914.29); h_SL3L168->SetBinContent(11,52621.43); h_SL3L168->SetBinContent(12,51778.57); h_SL3L168->SetBinContent(13,48342.86); h_SL3L168->SetBinContent(14,48900); h_SL3L168->SetBinContent(15,46328.57); h_SL3L168->SetBinContent(16,46964.29); h_SL3L168->SetBinContent(17,57514.29); h_SL3L168->SetBinContent(18,59757.14); h_SL3L168->SetBinContent(19,61107.14); h_SL3L168->SetBinContent(20,59314.29); h_SL3L168->SetBinContent(21,55071.43); h_SL3L168->SetBinContent(22,53507.14); h_SL3L168->SetBinContent(23,55328.57); h_SL3L168->SetBinContent(24,54292.86); h_SL3L168->SetBinContent(25,50628.57); h_SL3L168->SetBinContent(26,50835.71); h_SL3L168->SetBinContent(27,53107.14); h_SL3L168->SetBinContent(28,57971.43); h_SL3L168->SetBinContent(29,56042.86); h_SL3L168->SetBinContent(30,59514.29); h_SL3L168->SetBinContent(31,56621.43); h_SL3L168->SetBinContent(32,54507.14); h_SL3L168->SetBinContent(33,55050); h_SL3L168->SetBinContent(34,56314.29); h_SL3L168->SetBinContent(35,54692.86); h_SL3L168->SetBinContent(36,56214.29); h_SL3L168->SetBinContent(37,52450); h_SL3L168->SetBinContent(38,52735.71); h_SL3L168->SetBinContent(39,57535.71); h_SL3L168->SetBinContent(40,55628.57); h_SL3L168->SetBinContent(41,55957.14); h_SL3L168->SetBinContent(42,56007.14); h_SL3L168->SetBinContent(43,53471.43); h_SL3L168->SetBinContent(44,50364.29); h_SL3L168->SetBinContent(45,50085.71); h_SL3L168->SetBinContent(46,54971.43); h_SL3L168->SetBinContent(47,50307.14); h_SL3L168->SetBinContent(48,49414.29); h_SL3L168->SetBinContent(49,57185.71); h_SL3L168->SetBinContent(50,54014.29); h_SL3L168->SetBinContent(51,54471.43); h_SL3L168->SetBinContent(52,55292.86); h_SL3L168->SetBinContent(53,55900); h_SL3L168->SetBinContent(54,54550); h_SL3L168->SetBinContent(55,54657.14); h_SL3L168->SetBinContent(56,53757.14); h_SL3L168->SetBinContent(57,48221.43); h_SL3L168->SetBinContent(58,43721.43); h_SL3L168->SetBinContent(59,37250); h_SL3L168->SetMaximum(121509); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,23928.57); h_SL3L269->SetBinContent(2,30657.14); h_SL3L269->SetBinContent(4,44621.43); h_SL3L269->SetBinContent(5,48007.14); h_SL3L269->SetBinContent(6,49285.71); h_SL3L269->SetBinContent(7,51007.14); h_SL3L269->SetBinContent(8,49614.29); h_SL3L269->SetBinContent(9,49228.57); h_SL3L269->SetBinContent(10,51000); h_SL3L269->SetBinContent(11,49750); h_SL3L269->SetBinContent(12,49835.71); h_SL3L269->SetBinContent(13,46671.43); h_SL3L269->SetBinContent(14,47871.43); h_SL3L269->SetBinContent(15,44485.71); h_SL3L269->SetBinContent(16,45371.43); h_SL3L269->SetBinContent(17,53985.71); h_SL3L269->SetBinContent(18,55835.71); h_SL3L269->SetBinContent(19,56750); h_SL3L269->SetBinContent(20,57335.71); h_SL3L269->SetBinContent(21,52871.43); h_SL3L269->SetBinContent(22,51421.43); h_SL3L269->SetBinContent(23,53735.71); h_SL3L269->SetBinContent(24,53357.14); h_SL3L269->SetBinContent(25,49235.71); h_SL3L269->SetBinContent(26,49364.29); h_SL3L269->SetBinContent(27,48285.71); h_SL3L269->SetBinContent(28,52707.14); h_SL3L269->SetBinContent(29,55271.43); h_SL3L269->SetBinContent(30,56400); h_SL3L269->SetBinContent(31,56314.29); h_SL3L269->SetBinContent(32,53764.29); h_SL3L269->SetBinContent(33,52057.14); h_SL3L269->SetBinContent(34,54714.29); h_SL3L269->SetBinContent(35,53485.71); h_SL3L269->SetBinContent(36,54221.43); h_SL3L269->SetBinContent(37,49435.71); h_SL3L269->SetBinContent(38,50514.29); h_SL3L269->SetBinContent(39,55378.57); h_SL3L269->SetBinContent(40,54642.86); h_SL3L269->SetBinContent(41,58792.86); h_SL3L269->SetBinContent(42,55035.71); h_SL3L269->SetBinContent(43,51250); h_SL3L269->SetBinContent(44,51385.71); h_SL3L269->SetBinContent(45,48728.57); h_SL3L269->SetBinContent(46,50707.14); h_SL3L269->SetBinContent(47,46364.29); h_SL3L269->SetBinContent(48,48621.43); h_SL3L269->SetBinContent(49,54014.29); h_SL3L269->SetBinContent(50,54578.57); h_SL3L269->SetBinContent(51,50192.86); h_SL3L269->SetBinContent(52,53735.71); h_SL3L269->SetBinContent(53,53057.14); h_SL3L269->SetBinContent(54,53850); h_SL3L269->SetBinContent(55,51714.29); h_SL3L269->SetBinContent(56,52085.71); h_SL3L269->SetBinContent(57,52721.43); h_SL3L269->SetBinContent(58,42328.57); h_SL3L269->SetBinContent(59,36564.29); h_SL3L269->SetMaximum(105660.4); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,24971.43); h_SL3L370->SetBinContent(2,31271.43); h_SL3L370->SetBinContent(3,37642.86); h_SL3L370->SetBinContent(4,45735.71); h_SL3L370->SetBinContent(5,46778.57); h_SL3L370->SetBinContent(6,48700); h_SL3L370->SetBinContent(7,47585.71); h_SL3L370->SetBinContent(8,47192.86); h_SL3L370->SetBinContent(9,48585.71); h_SL3L370->SetBinContent(10,48785.71); h_SL3L370->SetBinContent(11,47871.43); h_SL3L370->SetBinContent(12,47071.43); h_SL3L370->SetBinContent(13,45428.57); h_SL3L370->SetBinContent(14,45850); h_SL3L370->SetBinContent(15,43171.43); h_SL3L370->SetBinContent(16,43371.43); h_SL3L370->SetBinContent(17,54471.43); h_SL3L370->SetBinContent(18,53864.29); h_SL3L370->SetBinContent(19,55685.71); h_SL3L370->SetBinContent(20,54828.57); h_SL3L370->SetBinContent(21,50692.86); h_SL3L370->SetBinContent(22,49407.14); h_SL3L370->SetBinContent(23,52542.86); h_SL3L370->SetBinContent(24,49921.43); h_SL3L370->SetBinContent(25,46714.29); h_SL3L370->SetBinContent(26,45957.14); h_SL3L370->SetBinContent(27,50014.29); h_SL3L370->SetBinContent(28,50771.43); h_SL3L370->SetBinContent(29,54214.29); h_SL3L370->SetBinContent(30,53071.43); h_SL3L370->SetBinContent(31,51671.43); h_SL3L370->SetBinContent(32,50450); h_SL3L370->SetBinContent(33,52200); h_SL3L370->SetBinContent(34,52264.29); h_SL3L370->SetBinContent(35,51057.14); h_SL3L370->SetBinContent(36,51257.14); h_SL3L370->SetBinContent(37,47042.86); h_SL3L370->SetBinContent(38,49450); h_SL3L370->SetBinContent(39,52442.86); h_SL3L370->SetBinContent(40,49742.86); h_SL3L370->SetBinContent(41,51485.71); h_SL3L370->SetBinContent(42,52128.57); h_SL3L370->SetBinContent(43,49821.43); h_SL3L370->SetBinContent(44,46128.57); h_SL3L370->SetBinContent(45,10842.86); h_SL3L370->SetBinContent(46,51500); h_SL3L370->SetBinContent(47,45092.86); h_SL3L370->SetBinContent(48,46050); h_SL3L370->SetBinContent(49,53885.71); h_SL3L370->SetBinContent(50,50107.14); h_SL3L370->SetBinContent(51,50742.86); h_SL3L370->SetBinContent(52,50492.86); h_SL3L370->SetBinContent(53,51671.43); h_SL3L370->SetBinContent(54,51600); h_SL3L370->SetBinContent(55,49414.29); h_SL3L370->SetBinContent(56,49078.57); h_SL3L370->SetBinContent(57,44307.14); h_SL3L370->SetBinContent(58,40471.43); h_SL3L370->SetBinContent(59,34814.29); h_SL3L370->SetMaximum(105660.4); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,29050); h_SL3L471->SetBinContent(3,32185.71); h_SL3L471->SetBinContent(4,41650); h_SL3L471->SetBinContent(5,44271.43); h_SL3L471->SetBinContent(6,91878.57); h_SL3L471->SetBinContent(7,47807.14); h_SL3L471->SetBinContent(8,45285.71); h_SL3L471->SetBinContent(9,44707.14); h_SL3L471->SetBinContent(10,45585.71); h_SL3L471->SetBinContent(11,45850); h_SL3L471->SetBinContent(12,45978.57); h_SL3L471->SetBinContent(13,42842.86); h_SL3L471->SetBinContent(14,42600); h_SL3L471->SetBinContent(15,39985.71); h_SL3L471->SetBinContent(16,39371.43); h_SL3L471->SetBinContent(17,51400); h_SL3L471->SetBinContent(18,52985.71); h_SL3L471->SetBinContent(19,53735.71); h_SL3L471->SetBinContent(20,52892.86); h_SL3L471->SetBinContent(21,48907.14); h_SL3L471->SetBinContent(22,47557.14); h_SL3L471->SetBinContent(23,50150); h_SL3L471->SetBinContent(24,48892.86); h_SL3L471->SetBinContent(25,45285.71); h_SL3L471->SetBinContent(26,44907.14); h_SL3L471->SetBinContent(27,45707.14); h_SL3L471->SetBinContent(28,49492.86); h_SL3L471->SetBinContent(29,52007.14); h_SL3L471->SetBinContent(30,52250); h_SL3L471->SetBinContent(31,51064.29); h_SL3L471->SetBinContent(32,49078.57); h_SL3L471->SetBinContent(33,49928.57); h_SL3L471->SetBinContent(34,51185.71); h_SL3L471->SetBinContent(35,49435.71); h_SL3L471->SetBinContent(36,50092.86); h_SL3L471->SetBinContent(37,45700); h_SL3L471->SetBinContent(38,46614.29); h_SL3L471->SetBinContent(39,49892.86); h_SL3L471->SetBinContent(40,48942.86); h_SL3L471->SetBinContent(41,49464.29); h_SL3L471->SetBinContent(42,51035.71); h_SL3L471->SetBinContent(43,48221.43); h_SL3L471->SetBinContent(44,46085.71); h_SL3L471->SetBinContent(45,45578.57); h_SL3L471->SetBinContent(46,45492.86); h_SL3L471->SetBinContent(47,43028.57); h_SL3L471->SetBinContent(48,43642.86); h_SL3L471->SetBinContent(49,49778.57); h_SL3L471->SetBinContent(50,51371.43); h_SL3L471->SetBinContent(51,45071.43); h_SL3L471->SetBinContent(52,48021.43); h_SL3L471->SetBinContent(53,48935.71); h_SL3L471->SetBinContent(54,49485.71); h_SL3L471->SetBinContent(55,47064.29); h_SL3L471->SetBinContent(56,47107.14); h_SL3L471->SetBinContent(57,48600); h_SL3L471->SetBinContent(58,38650); h_SL3L471->SetBinContent(59,34471.43); h_SL3L471->SetMaximum(105660.4); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7475"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }