void RatesPerCell_Removing_noisy_cells_run_7365_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:24:41 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9583.382,67.5,86250.43); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7365",60,0,60); h_SL1L160->SetBinContent(1,28125); h_SL1L160->SetBinContent(2,28407.14); h_SL1L160->SetBinContent(3,28885.71); h_SL1L160->SetBinContent(4,27053.57); h_SL1L160->SetBinContent(5,23107.14); h_SL1L160->SetBinContent(6,23492.86); h_SL1L160->SetBinContent(7,22167.86); h_SL1L160->SetBinContent(8,23057.14); h_SL1L160->SetBinContent(9,22035.71); h_SL1L160->SetBinContent(10,21182.14); h_SL1L160->SetBinContent(11,20796.43); h_SL1L160->SetBinContent(12,19753.57); h_SL1L160->SetBinContent(13,18835.71); h_SL1L160->SetBinContent(14,28678.57); h_SL1L160->SetBinContent(15,27803.57); h_SL1L160->SetBinContent(16,17900); h_SL1L160->SetBinContent(17,17382.14); h_SL1L160->SetBinContent(18,18010.71); h_SL1L160->SetBinContent(19,18435.71); h_SL1L160->SetBinContent(20,18328.57); h_SL1L160->SetBinContent(21,18914.29); h_SL1L160->SetBinContent(22,18435.71); h_SL1L160->SetBinContent(23,17732.14); h_SL1L160->SetBinContent(24,16117.86); h_SL1L160->SetBinContent(25,14975); h_SL1L160->SetBinContent(26,15685.71); h_SL1L160->SetBinContent(27,15432.14); h_SL1L160->SetBinContent(28,14982.14); h_SL1L160->SetBinContent(29,15507.14); h_SL1L160->SetBinContent(30,14807.14); h_SL1L160->SetBinContent(31,14528.57); h_SL1L160->SetBinContent(32,14150); h_SL1L160->SetBinContent(33,37557.14); h_SL1L160->SetBinContent(34,38585.71); h_SL1L160->SetBinContent(35,38232.14); h_SL1L160->SetBinContent(36,39014.29); h_SL1L160->SetBinContent(37,39810.71); h_SL1L160->SetBinContent(38,40282.14); h_SL1L160->SetBinContent(39,40210.71); h_SL1L160->SetBinContent(40,3.571429); h_SL1L160->SetBinContent(41,14685.71); h_SL1L160->SetBinContent(42,15103.57); h_SL1L160->SetBinContent(43,14967.86); h_SL1L160->SetBinContent(44,14232.14); h_SL1L160->SetBinContent(45,14092.86); h_SL1L160->SetBinContent(46,13617.86); h_SL1L160->SetBinContent(47,14153.57); h_SL1L160->SetBinContent(48,14160.71); h_SL1L160->SetBinContent(49,15110.71); h_SL1L160->SetBinContent(50,16303.57); h_SL1L160->SetBinContent(51,16996.43); h_SL1L160->SetBinContent(52,17467.86); h_SL1L160->SetBinContent(53,17178.57); h_SL1L160->SetBinContent(54,17839.29); h_SL1L160->SetBinContent(55,19117.86); h_SL1L160->SetBinContent(56,22421.43); h_SL1L160->SetMaximum(76667.05); 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,34171.43); h_SL1L261->SetBinContent(2,34857.14); h_SL1L261->SetBinContent(3,36464.29); h_SL1L261->SetBinContent(4,37682.14); h_SL1L261->SetBinContent(5,37225); h_SL1L261->SetBinContent(6,38014.29); h_SL1L261->SetBinContent(7,37453.57); h_SL1L261->SetBinContent(8,37228.57); h_SL1L261->SetBinContent(9,36725); h_SL1L261->SetBinContent(10,34610.71); h_SL1L261->SetBinContent(11,33896.43); h_SL1L261->SetBinContent(12,31435.71); h_SL1L261->SetBinContent(13,30632.14); h_SL1L261->SetBinContent(14,30275); h_SL1L261->SetBinContent(15,31800); h_SL1L261->SetBinContent(16,32125); h_SL1L261->SetBinContent(17,33407.14); h_SL1L261->SetBinContent(18,35589.29); h_SL1L261->SetBinContent(19,35892.86); h_SL1L261->SetBinContent(20,36660.71); h_SL1L261->SetBinContent(21,38157.14); h_SL1L261->SetBinContent(22,39082.14); h_SL1L261->SetBinContent(23,37935.71); h_SL1L261->SetBinContent(24,37732.14); h_SL1L261->SetBinContent(25,38417.86); h_SL1L261->SetBinContent(26,36860.71); h_SL1L261->SetBinContent(27,35225); h_SL1L261->SetBinContent(28,37353.57); h_SL1L261->SetBinContent(29,38542.86); h_SL1L261->SetBinContent(30,38528.57); h_SL1L261->SetBinContent(31,37832.14); h_SL1L261->SetBinContent(32,38071.43); h_SL1L261->SetBinContent(33,37692.86); h_SL1L261->SetBinContent(34,38578.57); h_SL1L261->SetBinContent(35,38396.43); h_SL1L261->SetBinContent(36,37889.29); h_SL1L261->SetBinContent(37,38764.29); h_SL1L261->SetBinContent(38,39392.86); h_SL1L261->SetBinContent(39,39878.57); h_SL1L261->SetBinContent(40,40360.71); h_SL1L261->SetBinContent(41,41117.86); h_SL1L261->SetBinContent(42,42467.86); h_SL1L261->SetBinContent(43,43607.14); h_SL1L261->SetBinContent(44,43471.43); h_SL1L261->SetBinContent(45,43603.57); h_SL1L261->SetBinContent(46,45521.43); h_SL1L261->SetBinContent(47,46810.71); h_SL1L261->SetBinContent(48,47953.57); h_SL1L261->SetBinContent(49,48696.43); h_SL1L261->SetBinContent(50,48142.86); h_SL1L261->SetBinContent(51,49753.57); h_SL1L261->SetBinContent(52,51007.14); h_SL1L261->SetBinContent(53,52500); h_SL1L261->SetBinContent(54,53678.57); h_SL1L261->SetBinContent(55,55492.86); h_SL1L261->SetBinContent(56,57971.43); h_SL1L261->SetMaximum(66667.14); 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,33992.86); h_SL1L362->SetBinContent(2,34960.71); h_SL1L362->SetBinContent(3,35728.57); h_SL1L362->SetBinContent(4,37110.71); h_SL1L362->SetBinContent(5,37660.71); h_SL1L362->SetBinContent(6,37078.57); h_SL1L362->SetBinContent(7,36060.71); h_SL1L362->SetBinContent(8,35821.43); h_SL1L362->SetBinContent(9,34546.43); h_SL1L362->SetBinContent(10,33157.14); h_SL1L362->SetBinContent(11,32228.57); h_SL1L362->SetBinContent(12,31035.71); h_SL1L362->SetBinContent(13,30210.71); h_SL1L362->SetBinContent(14,30325); h_SL1L362->SetBinContent(15,30942.86); h_SL1L362->SetBinContent(16,32075); h_SL1L362->SetBinContent(17,33310.71); h_SL1L362->SetBinContent(18,35364.29); h_SL1L362->SetBinContent(19,35596.43); h_SL1L362->SetBinContent(20,37028.57); h_SL1L362->SetBinContent(21,37803.57); h_SL1L362->SetBinContent(22,37125); h_SL1L362->SetBinContent(23,36707.14); h_SL1L362->SetBinContent(24,38082.14); h_SL1L362->SetBinContent(25,36403.57); h_SL1L362->SetBinContent(26,34346.43); h_SL1L362->SetBinContent(27,34617.86); h_SL1L362->SetBinContent(28,37603.57); h_SL1L362->SetBinContent(29,36703.57); h_SL1L362->SetBinContent(30,37650); h_SL1L362->SetBinContent(31,36796.43); h_SL1L362->SetBinContent(32,36100); h_SL1L362->SetBinContent(33,36900); h_SL1L362->SetBinContent(34,37267.86); h_SL1L362->SetBinContent(35,37017.86); h_SL1L362->SetBinContent(36,37696.43); h_SL1L362->SetBinContent(37,38285.71); h_SL1L362->SetBinContent(38,39353.57); h_SL1L362->SetBinContent(39,38800); h_SL1L362->SetBinContent(40,39414.29); h_SL1L362->SetBinContent(41,41142.86); h_SL1L362->SetBinContent(42,41778.57); h_SL1L362->SetBinContent(43,43082.14); h_SL1L362->SetBinContent(44,42478.57); h_SL1L362->SetBinContent(45,43767.86); h_SL1L362->SetBinContent(46,45042.86); h_SL1L362->SetBinContent(47,47214.29); h_SL1L362->SetBinContent(48,47200); h_SL1L362->SetBinContent(49,47167.86); h_SL1L362->SetBinContent(50,48542.86); h_SL1L362->SetBinContent(51,49610.71); h_SL1L362->SetBinContent(52,51189.29); h_SL1L362->SetBinContent(53,52471.43); h_SL1L362->SetBinContent(54,53453.57); h_SL1L362->SetBinContent(55,55160.71); h_SL1L362->SetBinContent(56,56428.57); h_SL1L362->SetMaximum(66667.14); 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,24700); h_SL1L463->SetBinContent(3,22871.43); h_SL1L463->SetBinContent(4,21371.43); h_SL1L463->SetBinContent(5,19100); h_SL1L463->SetBinContent(6,19157.14); h_SL1L463->SetBinContent(7,19128.57); h_SL1L463->SetBinContent(8,19785.71); h_SL1L463->SetBinContent(9,21146.43); h_SL1L463->SetBinContent(10,21978.57); h_SL1L463->SetBinContent(11,22157.14); h_SL1L463->SetBinContent(12,22007.14); h_SL1L463->SetBinContent(13,21310.71); h_SL1L463->SetBinContent(14,21717.86); h_SL1L463->SetBinContent(15,38914.29); h_SL1L463->SetBinContent(16,25010.71); h_SL1L463->SetBinContent(17,20675); h_SL1L463->SetBinContent(18,20492.86); h_SL1L463->SetBinContent(19,20385.71); h_SL1L463->SetBinContent(20,20567.86); h_SL1L463->SetBinContent(21,21232.14); h_SL1L463->SetBinContent(22,20760.71); h_SL1L463->SetBinContent(23,19821.43); h_SL1L463->SetBinContent(24,20125); h_SL1L463->SetBinContent(25,17867.86); h_SL1L463->SetBinContent(26,17407.14); h_SL1L463->SetBinContent(27,16507.14); h_SL1L463->SetBinContent(28,17210.71); h_SL1L463->SetBinContent(29,16057.14); h_SL1L463->SetBinContent(30,17057.14); h_SL1L463->SetBinContent(31,16817.86); h_SL1L463->SetBinContent(32,15782.14); h_SL1L463->SetBinContent(33,14903.57); h_SL1L463->SetBinContent(34,17078.57); h_SL1L463->SetBinContent(35,16453.57); h_SL1L463->SetBinContent(36,15614.29); h_SL1L463->SetBinContent(37,25); h_SL1L463->SetBinContent(38,3.571429); h_SL1L463->SetBinContent(41,14089.29); h_SL1L463->SetBinContent(42,15060.71); h_SL1L463->SetBinContent(43,15746.43); h_SL1L463->SetBinContent(44,15139.29); h_SL1L463->SetBinContent(45,14360.71); h_SL1L463->SetBinContent(46,15189.29); h_SL1L463->SetBinContent(47,14232.14); h_SL1L463->SetBinContent(48,14028.57); h_SL1L463->SetBinContent(49,13817.86); h_SL1L463->SetBinContent(50,14746.43); h_SL1L463->SetBinContent(51,15425); h_SL1L463->SetBinContent(52,16067.86); h_SL1L463->SetBinContent(53,15903.57); h_SL1L463->SetBinContent(54,16314.29); h_SL1L463->SetBinContent(55,10.71429); h_SL1L463->SetBinContent(56,19103.57); h_SL1L463->SetMaximum(66667.14); 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 7365"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }