void RatesPerCell_Removing_noisy_cells_run_7244_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:33:06 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19552.3,67.5,175970.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7244",60,0,60); h_SL3L168->SetBinContent(1,15900); h_SL3L168->SetBinContent(2,10821.43); h_SL3L168->SetBinContent(4,16042.86); h_SL3L168->SetBinContent(5,16446.43); h_SL3L168->SetBinContent(6,17600); h_SL3L168->SetBinContent(7,17978.57); h_SL3L168->SetBinContent(8,18185.71); h_SL3L168->SetBinContent(9,18103.57); h_SL3L168->SetBinContent(10,17953.57); h_SL3L168->SetBinContent(11,17853.57); h_SL3L168->SetBinContent(12,18025); h_SL3L168->SetBinContent(13,18753.57); h_SL3L168->SetBinContent(14,18710.71); h_SL3L168->SetBinContent(15,17921.43); h_SL3L168->SetBinContent(16,17853.57); h_SL3L168->SetBinContent(17,17792.86); h_SL3L168->SetBinContent(18,16732.14); h_SL3L168->SetBinContent(19,16082.14); h_SL3L168->SetBinContent(20,17260.71); h_SL3L168->SetBinContent(21,19053.57); h_SL3L168->SetBinContent(22,20682.14); h_SL3L168->SetBinContent(23,21914.29); h_SL3L168->SetBinContent(24,22442.86); h_SL3L168->SetBinContent(25,25250); h_SL3L168->SetBinContent(26,40096.43); h_SL3L168->SetBinContent(27,63460.71); h_SL3L168->SetBinContent(28,85178.57); h_SL3L168->SetBinContent(29,109996.4); h_SL3L168->SetBinContent(30,118275); h_SL3L168->SetBinContent(31,91482.14); h_SL3L168->SetBinContent(32,59325); h_SL3L168->SetBinContent(33,29214.29); h_SL3L168->SetBinContent(34,23617.86); h_SL3L168->SetBinContent(35,20953.57); h_SL3L168->SetBinContent(36,19478.57); h_SL3L168->SetBinContent(37,18114.29); h_SL3L168->SetBinContent(38,17346.43); h_SL3L168->SetBinContent(39,16967.86); h_SL3L168->SetBinContent(40,16146.43); h_SL3L168->SetBinContent(41,14935.71); h_SL3L168->SetBinContent(42,14103.57); h_SL3L168->SetBinContent(43,13800); h_SL3L168->SetBinContent(44,15003.57); h_SL3L168->SetBinContent(45,14857.14); h_SL3L168->SetBinContent(46,14085.71); h_SL3L168->SetBinContent(47,14500); h_SL3L168->SetBinContent(48,12207.14); h_SL3L168->SetBinContent(49,12196.43); h_SL3L168->SetBinContent(50,12371.43); h_SL3L168->SetBinContent(51,12328.57); h_SL3L168->SetBinContent(52,12217.86); h_SL3L168->SetBinContent(53,11842.86); h_SL3L168->SetBinContent(54,10907.14); h_SL3L168->SetBinContent(55,10596.43); h_SL3L168->SetBinContent(56,9853.571); h_SL3L168->SetBinContent(57,9939.285); h_SL3L168->SetBinContent(58,8321.429); h_SL3L168->SetBinContent(59,7289.286); h_SL3L168->SetMaximum(156418.4); 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,17382.14); h_SL3L269->SetBinContent(2,12832.14); h_SL3L269->SetBinContent(4,13221.43); h_SL3L269->SetBinContent(5,15900); h_SL3L269->SetBinContent(6,16957.14); h_SL3L269->SetBinContent(7,17392.86); h_SL3L269->SetBinContent(8,17257.14); h_SL3L269->SetBinContent(9,17025); h_SL3L269->SetBinContent(10,17446.43); h_SL3L269->SetBinContent(11,16889.29); h_SL3L269->SetBinContent(12,17235.71); h_SL3L269->SetBinContent(13,17653.57); h_SL3L269->SetBinContent(14,17392.86); h_SL3L269->SetBinContent(15,18060.71); h_SL3L269->SetBinContent(16,17428.57); h_SL3L269->SetBinContent(17,17310.71); h_SL3L269->SetBinContent(18,16253.57); h_SL3L269->SetBinContent(19,15503.57); h_SL3L269->SetBinContent(20,15753.57); h_SL3L269->SetBinContent(21,17917.86); h_SL3L269->SetBinContent(22,19057.14); h_SL3L269->SetBinContent(23,20514.29); h_SL3L269->SetBinContent(24,20796.43); h_SL3L269->SetBinContent(25,22953.57); h_SL3L269->SetBinContent(26,28700); h_SL3L269->SetBinContent(27,51510.71); h_SL3L269->SetBinContent(28,72335.71); h_SL3L269->SetBinContent(29,97757.14); h_SL3L269->SetBinContent(30,115978.6); h_SL3L269->SetBinContent(31,106039.3); h_SL3L269->SetBinContent(32,74360.71); h_SL3L269->SetBinContent(33,41800); h_SL3L269->SetBinContent(34,24485.71); h_SL3L269->SetBinContent(35,21400); h_SL3L269->SetBinContent(36,19775); h_SL3L269->SetBinContent(37,17914.29); h_SL3L269->SetBinContent(38,17517.86); h_SL3L269->SetBinContent(39,16482.14); h_SL3L269->SetBinContent(40,16010.71); h_SL3L269->SetBinContent(41,14960.71); h_SL3L269->SetBinContent(42,13950); h_SL3L269->SetBinContent(43,13450); h_SL3L269->SetBinContent(44,13985.71); h_SL3L269->SetBinContent(45,14210.71); h_SL3L269->SetBinContent(46,14078.57); h_SL3L269->SetBinContent(47,13739.29); h_SL3L269->SetBinContent(48,12178.57); h_SL3L269->SetBinContent(49,11657.14); h_SL3L269->SetBinContent(50,11625); h_SL3L269->SetBinContent(51,11953.57); h_SL3L269->SetBinContent(52,11882.14); h_SL3L269->SetBinContent(53,11675); h_SL3L269->SetBinContent(54,11060.71); h_SL3L269->SetBinContent(55,10357.14); h_SL3L269->SetBinContent(56,9892.857); h_SL3L269->SetBinContent(57,9714.285); h_SL3L269->SetBinContent(58,8985.714); h_SL3L269->SetBinContent(59,7714.286); h_SL3L269->SetMaximum(136016.2); 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,14342.86); h_SL3L370->SetBinContent(2,10603.57); h_SL3L370->SetBinContent(3,11003.57); h_SL3L370->SetBinContent(4,14967.86); h_SL3L370->SetBinContent(5,15371.43); h_SL3L370->SetBinContent(6,16357.14); h_SL3L370->SetBinContent(7,16442.86); h_SL3L370->SetBinContent(8,16160.71); h_SL3L370->SetBinContent(9,16414.29); h_SL3L370->SetBinContent(10,16196.43); h_SL3L370->SetBinContent(11,16257.14); h_SL3L370->SetBinContent(12,16746.43); h_SL3L370->SetBinContent(13,16878.57); h_SL3L370->SetBinContent(14,16589.29); h_SL3L370->SetBinContent(15,16417.86); h_SL3L370->SetBinContent(16,16121.43); h_SL3L370->SetBinContent(17,15892.86); h_SL3L370->SetBinContent(18,15417.86); h_SL3L370->SetBinContent(19,14939.29); h_SL3L370->SetBinContent(20,16067.86); h_SL3L370->SetBinContent(21,17835.71); h_SL3L370->SetBinContent(22,18692.86); h_SL3L370->SetBinContent(23,20246.43); h_SL3L370->SetBinContent(24,20000); h_SL3L370->SetBinContent(25,23875); h_SL3L370->SetBinContent(26,38192.86); h_SL3L370->SetBinContent(27,61264.29); h_SL3L370->SetBinContent(28,83525); h_SL3L370->SetBinContent(29,108703.6); h_SL3L370->SetBinContent(30,115092.9); h_SL3L370->SetBinContent(31,90260.71); h_SL3L370->SetBinContent(32,57178.57); h_SL3L370->SetBinContent(33,27417.86); h_SL3L370->SetBinContent(34,22146.43); h_SL3L370->SetBinContent(35,19442.86); h_SL3L370->SetBinContent(36,18014.29); h_SL3L370->SetBinContent(37,16996.43); h_SL3L370->SetBinContent(38,16100); h_SL3L370->SetBinContent(39,15732.14); h_SL3L370->SetBinContent(40,14653.57); h_SL3L370->SetBinContent(41,14050); h_SL3L370->SetBinContent(42,13689.29); h_SL3L370->SetBinContent(43,13089.29); h_SL3L370->SetBinContent(44,13257.14); h_SL3L370->SetBinContent(45,3153.571); h_SL3L370->SetBinContent(46,13142.86); h_SL3L370->SetBinContent(47,12942.86); h_SL3L370->SetBinContent(48,11178.57); h_SL3L370->SetBinContent(49,10807.14); h_SL3L370->SetBinContent(50,11278.57); h_SL3L370->SetBinContent(51,11260.71); h_SL3L370->SetBinContent(52,11021.43); h_SL3L370->SetBinContent(53,11203.57); h_SL3L370->SetBinContent(54,10196.43); h_SL3L370->SetBinContent(55,9989.285); h_SL3L370->SetBinContent(56,9035.714); h_SL3L370->SetBinContent(57,9200); h_SL3L370->SetBinContent(58,8010.714); h_SL3L370->SetBinContent(59,7071.429); h_SL3L370->SetMaximum(136016.2); 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,11246.43); h_SL3L471->SetBinContent(3,9939.285); h_SL3L471->SetBinContent(4,11957.14); h_SL3L471->SetBinContent(5,14689.29); h_SL3L471->SetBinContent(6,15175); h_SL3L471->SetBinContent(7,15964.29); h_SL3L471->SetBinContent(8,15664.29); h_SL3L471->SetBinContent(9,15514.29); h_SL3L471->SetBinContent(10,16353.57); h_SL3L471->SetBinContent(11,15817.86); h_SL3L471->SetBinContent(12,15446.43); h_SL3L471->SetBinContent(13,15771.43); h_SL3L471->SetBinContent(14,15767.86); h_SL3L471->SetBinContent(15,15960.71); h_SL3L471->SetBinContent(16,16064.29); h_SL3L471->SetBinContent(17,15507.14); h_SL3L471->SetBinContent(18,14814.29); h_SL3L471->SetBinContent(19,14367.86); h_SL3L471->SetBinContent(20,14410.71); h_SL3L471->SetBinContent(21,16114.29); h_SL3L471->SetBinContent(22,17007.14); h_SL3L471->SetBinContent(23,18878.57); h_SL3L471->SetBinContent(24,19214.29); h_SL3L471->SetBinContent(25,21557.14); h_SL3L471->SetBinContent(26,26389.29); h_SL3L471->SetBinContent(27,50867.86); h_SL3L471->SetBinContent(28,70232.14); h_SL3L471->SetBinContent(29,96507.14); h_SL3L471->SetBinContent(30,115835.7); h_SL3L471->SetBinContent(31,106078.6); h_SL3L471->SetBinContent(32,73375); h_SL3L471->SetBinContent(33,39800); h_SL3L471->SetBinContent(34,22775); h_SL3L471->SetBinContent(35,19346.43); h_SL3L471->SetBinContent(36,17960.71); h_SL3L471->SetBinContent(37,16110.71); h_SL3L471->SetBinContent(38,15546.43); h_SL3L471->SetBinContent(39,15432.14); h_SL3L471->SetBinContent(40,14496.43); h_SL3L471->SetBinContent(41,13939.29); h_SL3L471->SetBinContent(42,13039.29); h_SL3L471->SetBinContent(43,12782.14); h_SL3L471->SetBinContent(44,13017.86); h_SL3L471->SetBinContent(45,12989.29); h_SL3L471->SetBinContent(46,13289.29); h_SL3L471->SetBinContent(47,12535.71); h_SL3L471->SetBinContent(48,11550); h_SL3L471->SetBinContent(49,10717.86); h_SL3L471->SetBinContent(50,10292.86); h_SL3L471->SetBinContent(51,10814.29); h_SL3L471->SetBinContent(52,10839.29); h_SL3L471->SetBinContent(53,10775); h_SL3L471->SetBinContent(54,10042.86); h_SL3L471->SetBinContent(55,10114.29); h_SL3L471->SetBinContent(56,8992.857); h_SL3L471->SetBinContent(57,8710.714); h_SL3L471->SetBinContent(58,8542.857); h_SL3L471->SetBinContent(59,7450); h_SL3L471->SetMaximum(136016.2); 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 7244"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }