void RatesPerCell_Removing_noisy_cells_run_7058_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:12:05 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3657,67.5,32913); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7058",60,0,60); h_SL2L164->SetBinContent(1,224.0193); h_SL2L164->SetBinContent(2,224.0193); h_SL2L164->SetBinContent(3,112.0097); h_SL2L164->SetBinContent(4,224.0193); h_SL2L164->SetBinContent(5,308.0266); h_SL2L164->SetBinContent(6,252.0218); h_SL2L164->SetBinContent(7,532.046); h_SL2L164->SetBinContent(8,308.0266); h_SL2L164->SetBinContent(9,364.0314); h_SL2L164->SetBinContent(10,364.0314); h_SL2L164->SetBinContent(11,280.0242); h_SL2L164->SetBinContent(12,252.0218); h_SL2L164->SetBinContent(13,308.0266); h_SL2L164->SetBinContent(14,140.0121); h_SL2L164->SetBinContent(15,560.0483); h_SL2L164->SetBinContent(16,364.0314); h_SL2L164->SetBinContent(17,560.0483); h_SL2L164->SetBinContent(18,588.0508); h_SL2L164->SetBinContent(19,784.0677); h_SL2L164->SetBinContent(20,1064.092); h_SL2L164->SetBinContent(21,1400.121); h_SL2L164->SetBinContent(22,1736.15); h_SL2L164->SetBinContent(23,1876.162); h_SL2L164->SetBinContent(24,2240.193); h_SL2L164->SetBinContent(25,3108.269); h_SL2L164->SetBinContent(26,4536.392); h_SL2L164->SetBinContent(27,6048.522); h_SL2L164->SetBinContent(28,6300.544); h_SL2L164->SetBinContent(29,8288.716); h_SL2L164->SetBinContent(30,8344.721); h_SL2L164->SetBinContent(31,8260.714); h_SL2L164->SetBinContent(32,9044.781); h_SL2L164->SetBinContent(33,10836.94); h_SL2L164->SetBinContent(34,13105.13); h_SL2L164->SetBinContent(35,28.00242); h_SL2L164->SetBinContent(36,12601.09); h_SL2L164->SetBinContent(37,14925.29); h_SL2L164->SetBinContent(38,15569.34); h_SL2L164->SetBinContent(39,16185.4); h_SL2L164->SetBinContent(40,14673.27); h_SL2L164->SetBinContent(41,15485.34); h_SL2L164->SetBinContent(42,18481.6); h_SL2L164->SetBinContent(43,18873.63); h_SL2L164->SetBinContent(44,19097.65); h_SL2L164->SetBinContent(45,20721.79); h_SL2L164->SetBinContent(46,18929.63); h_SL2L164->SetBinContent(47,19293.67); h_SL2L164->SetBinContent(48,20133.74); h_SL2L164->SetBinContent(49,20693.79); h_SL2L164->SetBinContent(50,20889.8); h_SL2L164->SetBinContent(51,21449.85); h_SL2L164->SetBinContent(52,20021.73); h_SL2L164->SetBinContent(53,18873.63); h_SL2L164->SetBinContent(54,16857.46); h_SL2L164->SetBinContent(55,15037.3); h_SL2L164->SetBinContent(56,11424.99); h_SL2L164->SetBinContent(57,5096.44); h_SL2L164->SetMaximum(29256); 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,308.0266); h_SL2L265->SetBinContent(2,280.0242); h_SL2L265->SetBinContent(3,224.0193); h_SL2L265->SetBinContent(4,308.0266); h_SL2L265->SetBinContent(5,140.0121); h_SL2L265->SetBinContent(6,224.0193); h_SL2L265->SetBinContent(7,560.0483); h_SL2L265->SetBinContent(8,448.0387); h_SL2L265->SetBinContent(9,308.0266); h_SL2L265->SetBinContent(10,336.029); h_SL2L265->SetBinContent(11,224.0193); h_SL2L265->SetBinContent(12,280.0242); h_SL2L265->SetBinContent(13,420.0363); h_SL2L265->SetBinContent(14,252.0218); h_SL2L265->SetBinContent(15,308.0266); h_SL2L265->SetBinContent(16,420.0363); h_SL2L265->SetBinContent(17,336.029); h_SL2L265->SetBinContent(18,644.0556); h_SL2L265->SetBinContent(19,756.0653); h_SL2L265->SetBinContent(20,728.0629); h_SL2L265->SetBinContent(21,1288.111); h_SL2L265->SetBinContent(22,1568.135); h_SL2L265->SetBinContent(23,1848.16); h_SL2L265->SetBinContent(24,1764.152); h_SL2L265->SetBinContent(25,2940.254); h_SL2L265->SetBinContent(26,3584.31); h_SL2L265->SetBinContent(27,4872.421); h_SL2L265->SetBinContent(28,5292.457); h_SL2L265->SetBinContent(29,7028.607); h_SL2L265->SetBinContent(30,7532.65); h_SL2L265->SetBinContent(31,8456.73); h_SL2L265->SetBinContent(32,8428.728); h_SL2L265->SetBinContent(33,9268.801); h_SL2L265->SetBinContent(34,11761.02); h_SL2L265->SetBinContent(35,11733.01); h_SL2L265->SetBinContent(36,9884.854); h_SL2L265->SetBinContent(37,13749.19); h_SL2L265->SetBinContent(38,15093.3); h_SL2L265->SetBinContent(39,15933.38); h_SL2L265->SetBinContent(40,15093.3); h_SL2L265->SetBinContent(41,15177.31); h_SL2L265->SetBinContent(42,16605.43); h_SL2L265->SetBinContent(43,18397.59); h_SL2L265->SetBinContent(44,16997.47); h_SL2L265->SetBinContent(45,20581.78); h_SL2L265->SetBinContent(46,20301.75); h_SL2L265->SetBinContent(47,18117.56); h_SL2L265->SetBinContent(48,20049.73); h_SL2L265->SetBinContent(49,19321.67); h_SL2L265->SetBinContent(50,19489.68); h_SL2L265->SetBinContent(51,21617.87); h_SL2L265->SetBinContent(52,20917.81); h_SL2L265->SetBinContent(53,18957.64); h_SL2L265->SetBinContent(54,18761.62); h_SL2L265->SetBinContent(55,17277.49); h_SL2L265->SetBinContent(56,14365.24); h_SL2L265->SetBinContent(57,9352.808); h_SL2L265->SetMaximum(25440.2); 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,336.029); h_SL2L366->SetBinContent(2,112.0097); h_SL2L366->SetBinContent(3,196.0169); h_SL2L366->SetBinContent(4,252.0218); h_SL2L366->SetBinContent(5,196.0169); h_SL2L366->SetBinContent(6,364.0314); h_SL2L366->SetBinContent(7,196.0169); h_SL2L366->SetBinContent(8,364.0314); h_SL2L366->SetBinContent(9,308.0266); h_SL2L366->SetBinContent(10,308.0266); h_SL2L366->SetBinContent(11,364.0314); h_SL2L366->SetBinContent(12,252.0218); h_SL2L366->SetBinContent(13,252.0218); h_SL2L366->SetBinContent(14,420.0363); h_SL2L366->SetBinContent(15,532.046); h_SL2L366->SetBinContent(16,560.0483); h_SL2L366->SetBinContent(17,504.0435); h_SL2L366->SetBinContent(18,812.0701); h_SL2L366->SetBinContent(19,784.0677); h_SL2L366->SetBinContent(20,924.0798); h_SL2L366->SetBinContent(21,1400.121); h_SL2L366->SetBinContent(22,2072.179); h_SL2L366->SetBinContent(23,2016.174); h_SL2L366->SetBinContent(24,2296.198); h_SL2L366->SetBinContent(25,2968.256); h_SL2L366->SetBinContent(26,4452.385); h_SL2L366->SetBinContent(27,5012.433); h_SL2L366->SetBinContent(28,6692.578); h_SL2L366->SetBinContent(29,7084.612); h_SL2L366->SetBinContent(30,7812.675); h_SL2L366->SetBinContent(31,8764.757); h_SL2L366->SetBinContent(32,8876.767); h_SL2L366->SetBinContent(33,9884.854); h_SL2L366->SetBinContent(34,10864.94); h_SL2L366->SetBinContent(35,11312.98); h_SL2L366->SetBinContent(36,10584.91); h_SL2L366->SetBinContent(37,14757.27); h_SL2L366->SetBinContent(38,16633.44); h_SL2L366->SetBinContent(39,14981.29); h_SL2L366->SetBinContent(40,15429.33); h_SL2L366->SetBinContent(41,16661.44); h_SL2L366->SetBinContent(42,17529.51); h_SL2L366->SetBinContent(43,17585.52); h_SL2L366->SetBinContent(44,18985.64); h_SL2L366->SetBinContent(45,20413.76); h_SL2L366->SetBinContent(46,19405.68); h_SL2L366->SetBinContent(47,18985.64); h_SL2L366->SetBinContent(48,19517.69); h_SL2L366->SetBinContent(49,19209.66); h_SL2L366->SetBinContent(50,21365.85); h_SL2L366->SetBinContent(51,21281.84); h_SL2L366->SetBinContent(52,20385.76); h_SL2L366->SetBinContent(53,19013.64); h_SL2L366->SetBinContent(54,18677.61); h_SL2L366->SetBinContent(55,17221.49); h_SL2L366->SetBinContent(56,11228.97); h_SL2L366->SetBinContent(57,7448.644); h_SL2L366->SetMaximum(25440.2); 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,168.0145); h_SL2L467->SetBinContent(3,140.0121); h_SL2L467->SetBinContent(4,224.0193); h_SL2L467->SetBinContent(5,112.0097); h_SL2L467->SetBinContent(6,196.0169); h_SL2L467->SetBinContent(7,196.0169); h_SL2L467->SetBinContent(8,168.0145); h_SL2L467->SetBinContent(9,252.0218); h_SL2L467->SetBinContent(10,140.0121); h_SL2L467->SetBinContent(11,252.0218); h_SL2L467->SetBinContent(12,308.0266); h_SL2L467->SetBinContent(13,196.0169); h_SL2L467->SetBinContent(14,448.0387); h_SL2L467->SetBinContent(15,364.0314); h_SL2L467->SetBinContent(16,476.0411); h_SL2L467->SetBinContent(17,504.0435); h_SL2L467->SetBinContent(18,504.0435); h_SL2L467->SetBinContent(19,1036.089); h_SL2L467->SetBinContent(20,1036.089); h_SL2L467->SetBinContent(21,1064.092); h_SL2L467->SetBinContent(22,1428.123); h_SL2L467->SetBinContent(23,1764.152); h_SL2L467->SetBinContent(24,2212.191); h_SL2L467->SetBinContent(25,2828.244); h_SL2L467->SetBinContent(26,3640.314); h_SL2L467->SetBinContent(27,4732.409); h_SL2L467->SetBinContent(28,5908.51); h_SL2L467->SetBinContent(29,6804.588); h_SL2L467->SetBinContent(30,8288.716); h_SL2L467->SetBinContent(31,8204.709); h_SL2L467->SetBinContent(32,9464.817); h_SL2L467->SetBinContent(33,9688.837); h_SL2L467->SetBinContent(34,10724.93); h_SL2L467->SetBinContent(35,10724.93); h_SL2L467->SetBinContent(36,12405.07); h_SL2L467->SetBinContent(37,13273.15); h_SL2L467->SetBinContent(38,15569.34); h_SL2L467->SetBinContent(39,15849.37); h_SL2L467->SetBinContent(40,16353.41); h_SL2L467->SetBinContent(41,15541.34); h_SL2L467->SetBinContent(42,17221.49); h_SL2L467->SetBinContent(43,17837.54); h_SL2L467->SetBinContent(44,17529.51); h_SL2L467->SetBinContent(45,18985.64); h_SL2L467->SetBinContent(46,20161.74); h_SL2L467->SetBinContent(47,21337.84); h_SL2L467->SetBinContent(48,18145.57); h_SL2L467->SetBinContent(49,20497.77); h_SL2L467->SetBinContent(50,18985.64); h_SL2L467->SetBinContent(51,22121.91); h_SL2L467->SetBinContent(52,21085.82); h_SL2L467->SetBinContent(53,21897.89); h_SL2L467->SetBinContent(54,19237.66); h_SL2L467->SetBinContent(55,19293.67); h_SL2L467->SetBinContent(56,15289.32); h_SL2L467->SetBinContent(57,6748.583); h_SL2L467->SetMaximum(25440.2); 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 7058"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }