void RatesPerCell_Removing_noisy_cells_run_6428_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:27:33 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4535.025,67.5,40815.23); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6428",60,0,60); h_SL2L164->SetBinContent(1,11242.86); h_SL2L164->SetBinContent(2,17566.67); h_SL2L164->SetBinContent(3,19300); h_SL2L164->SetBinContent(4,20061.9); h_SL2L164->SetBinContent(5,23466.67); h_SL2L164->SetBinContent(6,9152.381); h_SL2L164->SetBinContent(7,8666.667); h_SL2L164->SetBinContent(8,4619.047); h_SL2L164->SetBinContent(9,27433.33); h_SL2L164->SetBinContent(10,2866.667); h_SL2L164->SetBinContent(11,10700); h_SL2L164->SetBinContent(12,3352.381); h_SL2L164->SetBinContent(13,3809.524); h_SL2L164->SetBinContent(14,3609.524); h_SL2L164->SetBinContent(15,3661.905); h_SL2L164->SetBinContent(16,4066.667); h_SL2L164->SetBinContent(17,3095.238); h_SL2L164->SetBinContent(18,4100); h_SL2L164->SetBinContent(19,3080.952); h_SL2L164->SetBinContent(20,4476.19); h_SL2L164->SetBinContent(21,6142.857); h_SL2L164->SetBinContent(22,3771.428); h_SL2L164->SetBinContent(23,3633.333); h_SL2L164->SetBinContent(24,3495.238); h_SL2L164->SetBinContent(25,4295.238); h_SL2L164->SetBinContent(26,2938.095); h_SL2L164->SetBinContent(27,4480.952); h_SL2L164->SetBinContent(28,6923.81); h_SL2L164->SetBinContent(29,4223.81); h_SL2L164->SetBinContent(30,4014.286); h_SL2L164->SetBinContent(31,3866.667); h_SL2L164->SetBinContent(32,3566.667); h_SL2L164->SetBinContent(33,2171.428); h_SL2L164->SetBinContent(34,3714.286); h_SL2L164->SetBinContent(35,7561.905); h_SL2L164->SetBinContent(36,3666.667); h_SL2L164->SetBinContent(37,4780.952); h_SL2L164->SetBinContent(38,4680.952); h_SL2L164->SetBinContent(39,5714.286); h_SL2L164->SetBinContent(40,11028.57); h_SL2L164->SetBinContent(41,9671.429); h_SL2L164->SetBinContent(42,14771.43); h_SL2L164->SetBinContent(43,9319.048); h_SL2L164->SetBinContent(44,8761.904); h_SL2L164->SetBinContent(45,9276.19); h_SL2L164->SetBinContent(46,7942.857); h_SL2L164->SetBinContent(47,6376.19); h_SL2L164->SetBinContent(48,6014.286); h_SL2L164->SetBinContent(49,5204.762); h_SL2L164->SetBinContent(50,5214.286); h_SL2L164->SetBinContent(51,4971.429); h_SL2L164->SetBinContent(52,6633.333); h_SL2L164->SetBinContent(53,5357.143); h_SL2L164->SetBinContent(54,6161.905); h_SL2L164->SetBinContent(55,6690.476); h_SL2L164->SetBinContent(56,9185.714); h_SL2L164->SetMaximum(36280.2); 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,11333.33); h_SL2L265->SetBinContent(2,17714.29); h_SL2L265->SetBinContent(3,19071.43); h_SL2L265->SetBinContent(4,11304.76); h_SL2L265->SetBinContent(5,18619.05); h_SL2L265->SetBinContent(6,15604.76); h_SL2L265->SetBinContent(7,18804.76); h_SL2L265->SetBinContent(8,5457.143); h_SL2L265->SetBinContent(9,5504.762); h_SL2L265->SetBinContent(10,3747.619); h_SL2L265->SetBinContent(11,16857.14); h_SL2L265->SetBinContent(12,3257.143); h_SL2L265->SetBinContent(13,3509.524); h_SL2L265->SetBinContent(14,4142.857); h_SL2L265->SetBinContent(15,3861.905); h_SL2L265->SetBinContent(16,3604.762); h_SL2L265->SetBinContent(17,3204.762); h_SL2L265->SetBinContent(18,3947.619); h_SL2L265->SetBinContent(19,6919.047); h_SL2L265->SetBinContent(20,3409.524); h_SL2L265->SetBinContent(21,3252.381); h_SL2L265->SetBinContent(22,4085.714); h_SL2L265->SetBinContent(23,4242.857); h_SL2L265->SetBinContent(24,4190.476); h_SL2L265->SetBinContent(25,3014.286); h_SL2L265->SetBinContent(26,4666.667); h_SL2L265->SetBinContent(27,7157.143); h_SL2L265->SetBinContent(28,4366.667); h_SL2L265->SetBinContent(29,4328.571); h_SL2L265->SetBinContent(30,7519.047); h_SL2L265->SetBinContent(31,4347.619); h_SL2L265->SetBinContent(32,4342.857); h_SL2L265->SetBinContent(33,3157.143); h_SL2L265->SetBinContent(34,3323.81); h_SL2L265->SetBinContent(35,6147.619); h_SL2L265->SetBinContent(36,3495.238); h_SL2L265->SetBinContent(37,4304.762); h_SL2L265->SetBinContent(38,4409.524); h_SL2L265->SetBinContent(39,4490.476); h_SL2L265->SetBinContent(40,5895.238); h_SL2L265->SetBinContent(41,10952.38); h_SL2L265->SetBinContent(42,9728.571); h_SL2L265->SetBinContent(43,10404.76); h_SL2L265->SetBinContent(44,8142.857); h_SL2L265->SetBinContent(45,11323.81); h_SL2L265->SetBinContent(46,7476.19); h_SL2L265->SetBinContent(47,6942.857); h_SL2L265->SetBinContent(48,6323.81); h_SL2L265->SetBinContent(49,6390.476); h_SL2L265->SetBinContent(50,5366.667); h_SL2L265->SetBinContent(51,5476.19); h_SL2L265->SetBinContent(52,6000); h_SL2L265->SetBinContent(53,6333.333); h_SL2L265->SetBinContent(54,6466.667); h_SL2L265->SetBinContent(55,9200); h_SL2L265->SetBinContent(56,8185.714); h_SL2L265->SetMaximum(31548.33); 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,9795.238); h_SL2L366->SetBinContent(2,17080.95); h_SL2L366->SetBinContent(3,22238.1); h_SL2L366->SetBinContent(4,23638.1); h_SL2L366->SetBinContent(5,13923.81); h_SL2L366->SetBinContent(6,16504.76); h_SL2L366->SetBinContent(7,3757.143); h_SL2L366->SetBinContent(8,14304.76); h_SL2L366->SetBinContent(9,4452.381); h_SL2L366->SetBinContent(10,3238.095); h_SL2L366->SetBinContent(11,4309.524); h_SL2L366->SetBinContent(12,4861.905); h_SL2L366->SetBinContent(13,3671.428); h_SL2L366->SetBinContent(14,4176.19); h_SL2L366->SetBinContent(15,4152.381); h_SL2L366->SetBinContent(16,8085.714); h_SL2L366->SetBinContent(17,4395.238); h_SL2L366->SetBinContent(18,3119.048); h_SL2L366->SetBinContent(19,2966.667); h_SL2L366->SetBinContent(20,3985.714); h_SL2L366->SetBinContent(21,4661.905); h_SL2L366->SetBinContent(22,2871.428); h_SL2L366->SetBinContent(23,4509.524); h_SL2L366->SetBinContent(24,4152.381); h_SL2L366->SetBinContent(25,4600); h_SL2L366->SetBinContent(26,7904.762); h_SL2L366->SetBinContent(27,4466.667); h_SL2L366->SetBinContent(28,3657.143); h_SL2L366->SetBinContent(29,3823.81); h_SL2L366->SetBinContent(30,4323.81); h_SL2L366->SetBinContent(31,4471.429); h_SL2L366->SetBinContent(32,3223.81); h_SL2L366->SetBinContent(33,3309.524); h_SL2L366->SetBinContent(34,2966.667); h_SL2L366->SetBinContent(35,10385.71); h_SL2L366->SetBinContent(36,6390.476); h_SL2L366->SetBinContent(37,3304.762); h_SL2L366->SetBinContent(38,4538.095); h_SL2L366->SetBinContent(39,4719.047); h_SL2L366->SetBinContent(40,5009.524); h_SL2L366->SetBinContent(41,10214.29); h_SL2L366->SetBinContent(42,9885.714); h_SL2L366->SetBinContent(43,17004.76); h_SL2L366->SetBinContent(44,8790.477); h_SL2L366->SetBinContent(45,6361.905); h_SL2L366->SetBinContent(46,5428.571); h_SL2L366->SetBinContent(47,6057.143); h_SL2L366->SetBinContent(48,4985.714); h_SL2L366->SetBinContent(49,6652.381); h_SL2L366->SetBinContent(50,4433.333); h_SL2L366->SetBinContent(51,6971.429); h_SL2L366->SetBinContent(52,7557.143); h_SL2L366->SetBinContent(53,7766.667); h_SL2L366->SetBinContent(55,8219.048); h_SL2L366->SetMaximum(31548.33); 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,16761.9); h_SL2L467->SetBinContent(3,9966.667); h_SL2L467->SetBinContent(4,12776.19); h_SL2L467->SetBinContent(5,5171.429); h_SL2L467->SetBinContent(6,9076.19); h_SL2L467->SetBinContent(7,18404.76); h_SL2L467->SetBinContent(8,2604.762); h_SL2L467->SetBinContent(9,2909.524); h_SL2L467->SetBinContent(10,2814.286); h_SL2L467->SetBinContent(11,3252.381); h_SL2L467->SetBinContent(12,4090.476); h_SL2L467->SetBinContent(13,2385.714); h_SL2L467->SetBinContent(14,8538.095); h_SL2L467->SetBinContent(15,2404.762); h_SL2L467->SetBinContent(16,2490.476); h_SL2L467->SetBinContent(17,2209.524); h_SL2L467->SetBinContent(18,2661.905); h_SL2L467->SetBinContent(19,2642.857); h_SL2L467->SetBinContent(20,3161.905); h_SL2L467->SetBinContent(21,8904.762); h_SL2L467->SetBinContent(22,2447.619); h_SL2L467->SetBinContent(23,3028.571); h_SL2L467->SetBinContent(24,2714.286); h_SL2L467->SetBinContent(25,2990.476); h_SL2L467->SetBinContent(26,3352.381); h_SL2L467->SetBinContent(27,3638.095); h_SL2L467->SetBinContent(28,8580.952); h_SL2L467->SetBinContent(29,2547.619); h_SL2L467->SetBinContent(30,2942.857); h_SL2L467->SetBinContent(31,2828.571); h_SL2L467->SetBinContent(32,3009.524); h_SL2L467->SetBinContent(33,2933.333); h_SL2L467->SetBinContent(34,3652.381); h_SL2L467->SetBinContent(35,9623.81); h_SL2L467->SetBinContent(36,3752.381); h_SL2L467->SetBinContent(37,3185.714); h_SL2L467->SetBinContent(38,3457.143); h_SL2L467->SetBinContent(39,4161.905); h_SL2L467->SetBinContent(40,4952.381); h_SL2L467->SetBinContent(42,16333.33); h_SL2L467->SetBinContent(43,4228.571); h_SL2L467->SetBinContent(44,5133.333); h_SL2L467->SetBinContent(45,5152.381); h_SL2L467->SetBinContent(46,11523.81); h_SL2L467->SetBinContent(47,6080.952); h_SL2L467->SetBinContent(48,6295.238); h_SL2L467->SetBinContent(49,6933.333); h_SL2L467->SetBinContent(50,6019.047); h_SL2L467->SetBinContent(51,5280.952); h_SL2L467->SetBinContent(52,5757.143); h_SL2L467->SetBinContent(53,7871.429); h_SL2L467->SetBinContent(54,6790.476); h_SL2L467->SetBinContent(55,7276.19); h_SL2L467->SetBinContent(56,8261.904); h_SL2L467->SetMaximum(31548.33); 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 6428"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }