void RatesPerCell_Removing_noisy_cells_run_6805_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11595.88,67.5,104362.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6805",60,0,60); h_SL1L160->SetBinContent(1,4783.247); h_SL1L160->SetBinContent(2,4590.424); h_SL1L160->SetBinContent(3,4617.377); h_SL1L160->SetBinContent(4,4598.717); h_SL1L160->SetBinContent(5,4459.802); h_SL1L160->SetBinContent(6,4482.609); h_SL1L160->SetBinContent(7,4536.516); h_SL1L160->SetBinContent(8,4762.513); h_SL1L160->SetBinContent(9,4125.991); h_SL1L160->SetBinContent(10,3924.875); h_SL1L160->SetBinContent(11,4038.909); h_SL1L160->SetBinContent(12,4285.64); h_SL1L160->SetBinContent(13,4652.625); h_SL1L160->SetBinContent(14,4548.957); h_SL1L160->SetBinContent(15,4395.528); h_SL1L160->SetBinContent(16,4070.01); h_SL1L160->SetBinContent(17,4329.18); h_SL1L160->SetBinContent(18,4700.312); h_SL1L160->SetBinContent(19,5025.83); h_SL1L160->SetBinContent(20,5000.949); h_SL1L160->SetBinContent(21,5181.332); h_SL1L160->SetBinContent(22,5117.058); h_SL1L160->SetBinContent(23,5488.189); h_SL1L160->SetBinContent(24,5428.062); h_SL1L160->SetBinContent(25,5479.896); h_SL1L160->SetBinContent(26,5409.402); h_SL1L160->SetBinContent(27,5542.097); h_SL1L160->SetBinContent(28,5681.012); h_SL1L160->SetBinContent(29,6199.353); h_SL1L160->SetBinContent(30,6402.542); h_SL1L160->SetBinContent(31,7169.686); h_SL1L160->SetBinContent(32,9879.57); h_SL1L160->SetBinContent(33,29829.46); h_SL1L160->SetBinContent(34,44131.51); h_SL1L160->SetBinContent(35,47260.21); h_SL1L160->SetBinContent(36,48452.4); h_SL1L160->SetBinContent(37,52132.62); h_SL1L160->SetBinContent(38,49130.39); h_SL1L160->SetBinContent(39,31755.61); h_SL1L160->SetBinContent(40,9921.038); h_SL1L160->SetBinContent(41,6800.628); h_SL1L160->SetBinContent(42,6215.939); h_SL1L160->SetBinContent(43,5710.039); h_SL1L160->SetBinContent(44,5622.958); h_SL1L160->SetBinContent(45,5239.386); h_SL1L160->SetBinContent(46,4760.439); h_SL1L160->SetBinContent(47,4397.601); h_SL1L160->SetBinContent(48,4152.944); h_SL1L160->SetBinContent(49,4354.061); h_SL1L160->SetBinContent(50,4061.716); h_SL1L160->SetBinContent(51,3974.635); h_SL1L160->SetBinContent(52,3802.546); h_SL1L160->SetBinContent(53,3966.342); h_SL1L160->SetBinContent(54,3796.326); h_SL1L160->SetBinContent(55,3607.65); h_SL1L160->SetBinContent(56,3873.041); h_SL1L160->SetBinContent(57,3985.002); h_SL1L160->SetBinContent(58,4049.276); h_SL1L160->SetBinContent(59,4412.115); h_SL1L160->SetMaximum(92767.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,4932.528); h_SL1L261->SetBinContent(2,4899.354); h_SL1L261->SetBinContent(3,4747.999); h_SL1L261->SetBinContent(4,4826.787); h_SL1L261->SetBinContent(5,4772.879); h_SL1L261->SetBinContent(6,5131.571); h_SL1L261->SetBinContent(7,4853.741); h_SL1L261->SetBinContent(8,5114.984); h_SL1L261->SetBinContent(9,5015.463); h_SL1L261->SetBinContent(10,4488.829); h_SL1L261->SetBinContent(11,4455.655); h_SL1L261->SetBinContent(12,4470.169); h_SL1L261->SetBinContent(13,4729.339); h_SL1L261->SetBinContent(14,5032.05); h_SL1L261->SetBinContent(15,4791.54); h_SL1L261->SetBinContent(16,4764.586); h_SL1L261->SetBinContent(17,5085.957); h_SL1L261->SetBinContent(18,5181.332); h_SL1L261->SetBinContent(19,5598.078); h_SL1L261->SetBinContent(20,5815.781); h_SL1L261->SetBinContent(21,5979.576); h_SL1L261->SetBinContent(22,5940.183); h_SL1L261->SetBinContent(23,6317.534); h_SL1L261->SetBinContent(24,6663.786); h_SL1L261->SetBinContent(25,6439.863); h_SL1L261->SetBinContent(26,6340.341); h_SL1L261->SetBinContent(27,6526.944); h_SL1L261->SetBinContent(28,6790.261); h_SL1L261->SetBinContent(29,7414.343); h_SL1L261->SetBinContent(30,7996.958); h_SL1L261->SetBinContent(31,8376.383); h_SL1L261->SetBinContent(32,10932.84); h_SL1L261->SetBinContent(33,23140.79); h_SL1L261->SetBinContent(34,53702.15); h_SL1L261->SetBinContent(35,61709.48); h_SL1L261->SetBinContent(36,66254.29); h_SL1L261->SetBinContent(37,69754.12); h_SL1L261->SetBinContent(38,69049.18); h_SL1L261->SetBinContent(39,57481.89); h_SL1L261->SetBinContent(40,22375.72); h_SL1L261->SetBinContent(41,11075.9); h_SL1L261->SetBinContent(42,8177.34); h_SL1L261->SetBinContent(43,7459.957); h_SL1L261->SetBinContent(44,6802.701); h_SL1L261->SetBinContent(45,6649.272); h_SL1L261->SetBinContent(46,6632.686); h_SL1L261->SetBinContent(47,6133.005); h_SL1L261->SetBinContent(48,6093.611); h_SL1L261->SetBinContent(49,5649.912); h_SL1L261->SetBinContent(50,5548.317); h_SL1L261->SetBinContent(51,5473.676); h_SL1L261->SetBinContent(52,5455.016); h_SL1L261->SetBinContent(53,5289.147); h_SL1L261->SetBinContent(54,4996.803); h_SL1L261->SetBinContent(55,5079.737); h_SL1L261->SetBinContent(56,4938.749); h_SL1L261->SetBinContent(57,4859.961); h_SL1L261->SetBinContent(58,4679.578); h_SL1L261->SetBinContent(59,4528.223); h_SL1L261->SetMaximum(80667.88); 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,4594.57); h_SL1L362->SetBinContent(2,4532.37); h_SL1L362->SetBinContent(3,4903.501); h_SL1L362->SetBinContent(4,4654.698); h_SL1L362->SetBinContent(5,4750.073); h_SL1L362->SetBinContent(6,4899.354); h_SL1L362->SetBinContent(7,5009.243); h_SL1L362->SetBinContent(8,4828.86); h_SL1L362->SetBinContent(9,4453.582); h_SL1L362->SetBinContent(10,4273.199); h_SL1L362->SetBinContent(11,4449.435); h_SL1L362->SetBinContent(12,4553.103); h_SL1L362->SetBinContent(13,4623.598); h_SL1L362->SetBinContent(14,4926.309); h_SL1L362->SetBinContent(15,4864.107); h_SL1L362->SetBinContent(16,4652.625); h_SL1L362->SetBinContent(17,5131.571); h_SL1L362->SetBinContent(18,5216.579); h_SL1L362->SetBinContent(19,5504.776); h_SL1L362->SetBinContent(20,5614.665); h_SL1L362->SetBinContent(21,5863.468); h_SL1L362->SetBinContent(22,6110.198); h_SL1L362->SetBinContent(23,6325.828); h_SL1L362->SetBinContent(24,6286.434); h_SL1L362->SetBinContent(25,6361.075); h_SL1L362->SetBinContent(26,6072.877); h_SL1L362->SetBinContent(27,6489.624); h_SL1L362->SetBinContent(28,6976.863); h_SL1L362->SetBinContent(29,7262.987); h_SL1L362->SetBinContent(30,7949.271); h_SL1L362->SetBinContent(31,9021.198); h_SL1L362->SetBinContent(32,12817.52); h_SL1L362->SetBinContent(33,41324.18); h_SL1L362->SetBinContent(34,58589.07); h_SL1L362->SetBinContent(35,63880.29); h_SL1L362->SetBinContent(36,68841.84); h_SL1L362->SetBinContent(37,70145.98); h_SL1L362->SetBinContent(38,64972.95); h_SL1L362->SetBinContent(39,41813.49); h_SL1L362->SetBinContent(40,12726.3); h_SL1L362->SetBinContent(41,8840.816); h_SL1L362->SetBinContent(42,7692.173); h_SL1L362->SetBinContent(43,6781.967); h_SL1L362->SetBinContent(44,6535.237); h_SL1L362->SetBinContent(45,6390.102); h_SL1L362->SetBinContent(46,6226.307); h_SL1L362->SetBinContent(47,5857.248); h_SL1L362->SetBinContent(48,5701.746); h_SL1L362->SetBinContent(49,5413.548); h_SL1L362->SetBinContent(50,5280.854); h_SL1L362->SetBinContent(51,5027.903); h_SL1L362->SetBinContent(52,5048.637); h_SL1L362->SetBinContent(53,4928.382); h_SL1L362->SetBinContent(54,4905.575); h_SL1L362->SetBinContent(55,4739.706); h_SL1L362->SetBinContent(56,4685.798); h_SL1L362->SetBinContent(57,4561.396); h_SL1L362->SetBinContent(58,4555.177); h_SL1L362->SetBinContent(59,4358.207); h_SL1L362->SetMaximum(80667.88); 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,777.5108); h_SL1L463->SetBinContent(3,665.5493); h_SL1L463->SetBinContent(4,632.3754); h_SL1L463->SetBinContent(5,599.2017); h_SL1L463->SetBinContent(6,624.082); h_SL1L463->SetBinContent(7,673.8427); h_SL1L463->SetBinContent(8,576.3947); h_SL1L463->SetBinContent(9,657.2558); h_SL1L463->SetBinContent(10,632.3754); h_SL1L463->SetBinContent(11,709.0898); h_SL1L463->SetBinContent(12,673.8427); h_SL1L463->SetBinContent(13,642.7422); h_SL1L463->SetBinContent(14,667.6226); h_SL1L463->SetBinContent(15,698.723); h_SL1L463->SetBinContent(16,648.9623); h_SL1L463->SetBinContent(17,547.3676); h_SL1L463->SetBinContent(18,584.6881); h_SL1L463->SetBinContent(19,605.4218); h_SL1L463->SetBinContent(20,563.9545); h_SL1L463->SetBinContent(21,580.5414); h_SL1L463->SetBinContent(22,601.275); h_SL1L463->SetBinContent(23,549.441); h_SL1L463->SetBinContent(24,572.2479); h_SL1L463->SetBinContent(25,563.9545); h_SL1L463->SetBinContent(26,622.0086); h_SL1L463->SetBinContent(27,603.3484); h_SL1L463->SetBinContent(28,599.2017); h_SL1L463->SetBinContent(29,512.1204); h_SL1L463->SetBinContent(30,563.9545); h_SL1L463->SetBinContent(31,646.889); h_SL1L463->SetBinContent(32,642.7422); h_SL1L463->SetBinContent(33,796.171); h_SL1L463->SetBinContent(34,1946.887); h_SL1L463->SetBinContent(35,2199.837); h_SL1L463->SetBinContent(36,2162.517); h_SL1L463->SetBinContent(37,2015.308); h_SL1L463->SetBinContent(38,2328.386); h_SL1L463->SetBinContent(39,2123.123); h_SL1L463->SetBinContent(40,806.5378); h_SL1L463->SetBinContent(41,628.2287); h_SL1L463->SetBinContent(42,611.6418); h_SL1L463->SetBinContent(43,607.4951); h_SL1L463->SetBinContent(44,592.9816); h_SL1L463->SetBinContent(45,549.441); h_SL1L463->SetBinContent(46,499.6803); h_SL1L463->SetBinContent(47,507.9737); h_SL1L463->SetBinContent(48,410.5257); h_SL1L463->SetBinContent(49,344.1781); h_SL1L463->SetBinContent(50,379.4253); h_SL1L463->SetBinContent(51,420.8925); h_SL1L463->SetBinContent(52,402.2322); h_SL1L463->SetBinContent(53,443.6995); h_SL1L463->SetBinContent(54,393.9388); h_SL1L463->SetBinContent(56,354.5449); h_SL1L463->SetBinContent(57,375.2785); h_SL1L463->SetBinContent(58,462.3597); h_SL1L463->SetBinContent(59,476.8733); h_SL1L463->SetMaximum(80667.88); 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 6805"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }