void RatesPerCell_Removing_noisy_cells_run_7053_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:15 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3646.507,67.5,32818.56); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7053",60,0,60); h_SL2L164->SetBinContent(1,68.8623); h_SL2L164->SetBinContent(2,114.7705); h_SL2L164->SetBinContent(3,160.6787); h_SL2L164->SetBinContent(4,160.6787); h_SL2L164->SetBinContent(5,344.3115); h_SL2L164->SetBinContent(6,229.541); h_SL2L164->SetBinContent(7,734.5312); h_SL2L164->SetBinContent(8,275.4492); h_SL2L164->SetBinContent(9,160.6787); h_SL2L164->SetBinContent(10,160.6787); h_SL2L164->SetBinContent(11,275.4492); h_SL2L164->SetBinContent(12,298.4033); h_SL2L164->SetBinContent(13,252.4951); h_SL2L164->SetBinContent(14,367.2656); h_SL2L164->SetBinContent(15,344.3115); h_SL2L164->SetBinContent(16,298.4033); h_SL2L164->SetBinContent(17,390.2197); h_SL2L164->SetBinContent(18,757.4854); h_SL2L164->SetBinContent(19,780.4395); h_SL2L164->SetBinContent(20,1170.659); h_SL2L164->SetBinContent(21,1170.659); h_SL2L164->SetBinContent(22,1469.062); h_SL2L164->SetBinContent(23,1928.145); h_SL2L164->SetBinContent(24,2134.731); h_SL2L164->SetBinContent(25,2272.456); h_SL2L164->SetBinContent(26,3649.702); h_SL2L164->SetBinContent(27,5325.352); h_SL2L164->SetBinContent(28,5991.021); h_SL2L164->SetBinContent(29,7712.578); h_SL2L164->SetBinContent(30,8493.018); h_SL2L164->SetBinContent(31,8447.109); h_SL2L164->SetBinContent(32,9319.365); h_SL2L164->SetBinContent(33,9893.218); h_SL2L164->SetBinContent(34,10880.24); h_SL2L164->SetBinContent(36,12303.4); h_SL2L164->SetBinContent(37,14369.27); h_SL2L164->SetBinContent(38,16182.64); h_SL2L164->SetBinContent(39,16710.59); h_SL2L164->SetBinContent(40,14966.07); h_SL2L164->SetBinContent(41,16090.83); h_SL2L164->SetBinContent(42,18684.64); h_SL2L164->SetBinContent(43,20222.56); h_SL2L164->SetBinContent(44,20429.15); h_SL2L164->SetBinContent(45,20498.01); h_SL2L164->SetBinContent(46,20199.61); h_SL2L164->SetBinContent(47,20383.24); h_SL2L164->SetBinContent(48,21875.26); h_SL2L164->SetBinContent(49,19694.62); h_SL2L164->SetBinContent(50,19006); h_SL2L164->SetBinContent(51,20498.01); h_SL2L164->SetBinContent(52,21691.62); h_SL2L164->SetBinContent(53,20153.7); h_SL2L164->SetBinContent(54,17881.25); h_SL2L164->SetBinContent(55,14438.13); h_SL2L164->SetBinContent(56,11798.41); h_SL2L164->SetBinContent(57,5968.066); h_SL2L164->SetMaximum(29172.05); 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,321.3574); h_SL2L265->SetBinContent(2,114.7705); h_SL2L265->SetBinContent(3,160.6787); h_SL2L265->SetBinContent(4,229.541); h_SL2L265->SetBinContent(5,229.541); h_SL2L265->SetBinContent(6,252.4951); h_SL2L265->SetBinContent(7,183.6328); h_SL2L265->SetBinContent(8,160.6787); h_SL2L265->SetBinContent(9,160.6787); h_SL2L265->SetBinContent(10,91.81641); h_SL2L265->SetBinContent(11,229.541); h_SL2L265->SetBinContent(12,160.6787); h_SL2L265->SetBinContent(13,344.3115); h_SL2L265->SetBinContent(14,275.4492); h_SL2L265->SetBinContent(15,367.2656); h_SL2L265->SetBinContent(16,229.541); h_SL2L265->SetBinContent(17,619.7607); h_SL2L265->SetBinContent(18,665.6689); h_SL2L265->SetBinContent(19,619.7607); h_SL2L265->SetBinContent(20,803.3936); h_SL2L265->SetBinContent(21,1285.43); h_SL2L265->SetBinContent(22,1147.705); h_SL2L265->SetBinContent(23,1537.925); h_SL2L265->SetBinContent(24,1859.282); h_SL2L265->SetBinContent(25,2042.915); h_SL2L265->SetBinContent(26,3121.758); h_SL2L265->SetBinContent(27,4154.692); h_SL2L265->SetBinContent(28,5141.719); h_SL2L265->SetBinContent(29,6886.23); h_SL2L265->SetBinContent(30,7322.358); h_SL2L265->SetBinContent(31,8263.477); h_SL2L265->SetBinContent(32,8722.559); h_SL2L265->SetBinContent(33,9020.962); h_SL2L265->SetBinContent(34,10512.98); h_SL2L265->SetBinContent(35,9594.814); h_SL2L265->SetBinContent(36,10030.94); h_SL2L265->SetBinContent(37,14139.73); h_SL2L265->SetBinContent(38,15310.39); h_SL2L265->SetBinContent(39,15815.38); h_SL2L265->SetBinContent(40,16435.14); h_SL2L265->SetBinContent(41,15907.19); h_SL2L265->SetBinContent(42,17100.8); h_SL2L265->SetBinContent(43,19097.81); h_SL2L265->SetBinContent(44,19051.9); h_SL2L265->SetBinContent(45,19235.54); h_SL2L265->SetBinContent(46,20520.97); h_SL2L265->SetBinContent(47,20222.56); h_SL2L265->SetBinContent(48,20429.15); h_SL2L265->SetBinContent(49,18661.68); h_SL2L265->SetBinContent(50,19488.03); h_SL2L265->SetBinContent(51,19579.85); h_SL2L265->SetBinContent(52,20911.19); h_SL2L265->SetBinContent(53,21347.31); h_SL2L265->SetBinContent(54,20084.84); h_SL2L265->SetBinContent(55,17353.3); h_SL2L265->SetBinContent(56,12647.71); h_SL2L265->SetBinContent(57,9732.539); h_SL2L265->SetMaximum(25367.72); 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,45.9082); h_SL2L366->SetBinContent(2,91.81641); h_SL2L366->SetBinContent(3,183.6328); h_SL2L366->SetBinContent(4,137.7246); h_SL2L366->SetBinContent(5,137.7246); h_SL2L366->SetBinContent(6,160.6787); h_SL2L366->SetBinContent(7,137.7246); h_SL2L366->SetBinContent(8,183.6328); h_SL2L366->SetBinContent(9,137.7246); h_SL2L366->SetBinContent(10,114.7705); h_SL2L366->SetBinContent(11,298.4033); h_SL2L366->SetBinContent(12,298.4033); h_SL2L366->SetBinContent(13,321.3574); h_SL2L366->SetBinContent(14,527.9443); h_SL2L366->SetBinContent(15,367.2656); h_SL2L366->SetBinContent(16,482.0361); h_SL2L366->SetBinContent(17,596.8066); h_SL2L366->SetBinContent(18,688.623); h_SL2L366->SetBinContent(19,918.1641); h_SL2L366->SetBinContent(20,918.1641); h_SL2L366->SetBinContent(21,1446.108); h_SL2L366->SetBinContent(22,1721.558); h_SL2L366->SetBinContent(23,1767.466); h_SL2L366->SetBinContent(24,1813.374); h_SL2L366->SetBinContent(25,2547.905); h_SL2L366->SetBinContent(26,3718.564); h_SL2L366->SetBinContent(27,4590.82); h_SL2L366->SetBinContent(28,5784.434); h_SL2L366->SetBinContent(29,7299.404); h_SL2L366->SetBinContent(30,7483.037); h_SL2L366->SetBinContent(31,8975.054); h_SL2L366->SetBinContent(32,8584.834); h_SL2L366->SetBinContent(33,10007.99); h_SL2L366->SetBinContent(34,9755.493); h_SL2L366->SetBinContent(35,10512.98); h_SL2L366->SetBinContent(36,10811.38); h_SL2L366->SetBinContent(37,15333.34); h_SL2L366->SetBinContent(38,15838.33); h_SL2L366->SetBinContent(39,16641.72); h_SL2L366->SetBinContent(40,15861.28); h_SL2L366->SetBinContent(41,17123.76); h_SL2L366->SetBinContent(42,17766.47); h_SL2L366->SetBinContent(43,19327.35); h_SL2L366->SetBinContent(44,18822.36); h_SL2L366->SetBinContent(45,18799.41); h_SL2L366->SetBinContent(46,20842.32); h_SL2L366->SetBinContent(47,21691.62); h_SL2L366->SetBinContent(48,19855.3); h_SL2L366->SetBinContent(49,19648.71); h_SL2L366->SetBinContent(50,19947.11); h_SL2L366->SetBinContent(51,19832.34); h_SL2L366->SetBinContent(52,20727.55); h_SL2L366->SetBinContent(53,21416.18); h_SL2L366->SetBinContent(54,19970.07); h_SL2L366->SetBinContent(55,17628.75); h_SL2L366->SetBinContent(56,11591.82); h_SL2L366->SetBinContent(57,8607.788); h_SL2L366->SetMaximum(25367.72); 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,45.9082); h_SL2L467->SetBinContent(3,114.7705); h_SL2L467->SetBinContent(4,137.7246); h_SL2L467->SetBinContent(5,114.7705); h_SL2L467->SetBinContent(6,137.7246); h_SL2L467->SetBinContent(7,114.7705); h_SL2L467->SetBinContent(8,206.5869); h_SL2L467->SetBinContent(9,160.6787); h_SL2L467->SetBinContent(10,137.7246); h_SL2L467->SetBinContent(11,183.6328); h_SL2L467->SetBinContent(12,390.2197); h_SL2L467->SetBinContent(13,275.4492); h_SL2L467->SetBinContent(14,344.3115); h_SL2L467->SetBinContent(15,390.2197); h_SL2L467->SetBinContent(16,436.1279); h_SL2L467->SetBinContent(17,527.9443); h_SL2L467->SetBinContent(18,665.6689); h_SL2L467->SetBinContent(19,826.3477); h_SL2L467->SetBinContent(20,688.623); h_SL2L467->SetBinContent(21,941.1182); h_SL2L467->SetBinContent(22,1331.338); h_SL2L467->SetBinContent(23,1583.833); h_SL2L467->SetBinContent(24,1859.282); h_SL2L467->SetBinContent(25,2318.364); h_SL2L467->SetBinContent(26,3236.528); h_SL2L467->SetBinContent(27,4200.601); h_SL2L467->SetBinContent(28,5715.571); h_SL2L467->SetBinContent(29,6059.883); h_SL2L467->SetBinContent(30,7850.303); h_SL2L467->SetBinContent(31,8837.329); h_SL2L467->SetBinContent(32,8033.936); h_SL2L467->SetBinContent(33,9480.044); h_SL2L467->SetBinContent(34,10076.85); h_SL2L467->SetBinContent(35,10719.57); h_SL2L467->SetBinContent(36,11385.23); h_SL2L467->SetBinContent(37,13359.29); h_SL2L467->SetBinContent(38,14461.08); h_SL2L467->SetBinContent(39,16412.18); h_SL2L467->SetBinContent(40,16687.63); h_SL2L467->SetBinContent(41,17353.3); h_SL2L467->SetBinContent(42,17353.3); h_SL2L467->SetBinContent(43,19120.77); h_SL2L467->SetBinContent(44,19304.4); h_SL2L467->SetBinContent(45,19258.49); h_SL2L467->SetBinContent(46,20658.69); h_SL2L467->SetBinContent(47,20842.32); h_SL2L467->SetBinContent(48,20291.43); h_SL2L467->SetBinContent(49,20153.7); h_SL2L467->SetBinContent(50,20727.55); h_SL2L467->SetBinContent(51,20406.2); h_SL2L467->SetBinContent(52,21255.5); h_SL2L467->SetBinContent(53,22058.89); h_SL2L467->SetBinContent(54,20980.05); h_SL2L467->SetBinContent(55,18684.64); h_SL2L467->SetBinContent(56,15425.16); h_SL2L467->SetBinContent(57,7184.634); h_SL2L467->SetMaximum(25367.72); 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 7053"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }