void RatesPerCell_Removing_noisy_cells_run_6630_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:50:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13113.74,67.5,118023.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6630",60,0,60); h_SL3L168->SetBinContent(1,4876.097); h_SL3L168->SetBinContent(2,3245.295); h_SL3L168->SetBinContent(4,5599.086); h_SL3L168->SetBinContent(5,5930.682); h_SL3L168->SetBinContent(6,6153.558); h_SL3L168->SetBinContent(7,5865.45); h_SL3L168->SetBinContent(8,6020.376); h_SL3L168->SetBinContent(9,6082.89); h_SL3L168->SetBinContent(10,5156.051); h_SL3L168->SetBinContent(11,5052.767); h_SL3L168->SetBinContent(12,5031.023); h_SL3L168->SetBinContent(13,5226.719); h_SL3L168->SetBinContent(14,5639.856); h_SL3L168->SetBinContent(15,5764.884); h_SL3L168->SetBinContent(16,5677.908); h_SL3L168->SetBinContent(17,5713.242); h_SL3L168->SetBinContent(18,5830.116); h_SL3L168->SetBinContent(19,5906.22); h_SL3L168->SetBinContent(20,6036.684); h_SL3L168->SetBinContent(21,6061.146); h_SL3L168->SetBinContent(22,6623.773); h_SL3L168->SetBinContent(23,6857.521); h_SL3L168->SetBinContent(24,6775.981); h_SL3L168->SetBinContent(25,6947.215); h_SL3L168->SetBinContent(26,7202.708); h_SL3L168->SetBinContent(27,6895.573); h_SL3L168->SetBinContent(28,7121.167); h_SL3L168->SetBinContent(29,7267.939); h_SL3L168->SetBinContent(30,7895.798); h_SL3L168->SetBinContent(31,8458.425); h_SL3L168->SetBinContent(32,9434.188); h_SL3L168->SetBinContent(33,13445.96); h_SL3L168->SetBinContent(34,39669.25); h_SL3L168->SetBinContent(35,58244.08); h_SL3L168->SetBinContent(36,65941.47); h_SL3L168->SetBinContent(37,74437.95); h_SL3L168->SetBinContent(38,79327.63); h_SL3L168->SetBinContent(39,70219.6); h_SL3L168->SetBinContent(40,43335.84); h_SL3L168->SetBinContent(41,13114.36); h_SL3L168->SetBinContent(42,8746.533); h_SL3L168->SetBinContent(43,7126.604); h_SL3L168->SetBinContent(44,6903.727); h_SL3L168->SetBinContent(45,6178.021); h_SL3L168->SetBinContent(46,6088.326); h_SL3L168->SetBinContent(47,6096.48); h_SL3L168->SetBinContent(48,5770.32); h_SL3L168->SetBinContent(49,11184.58); h_SL3L168->SetBinContent(50,5460.468); h_SL3L168->SetBinContent(51,5134.307); h_SL3L168->SetBinContent(52,5436.005); h_SL3L168->SetBinContent(53,5071.793); h_SL3L168->SetBinContent(54,4819.019); h_SL3L168->SetBinContent(55,4900.559); h_SL3L168->SetBinContent(56,4745.633); h_SL3L168->SetBinContent(57,4786.403); h_SL3L168->SetBinContent(58,3587.764); h_SL3L168->SetBinContent(59,3087.651); h_SL3L168->SetMaximum(104909.9); 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,4968.509); h_SL3L269->SetBinContent(2,3612.226); h_SL3L269->SetBinContent(4,5063.639); h_SL3L269->SetBinContent(5,5286.516); h_SL3L269->SetBinContent(6,5827.398); h_SL3L269->SetBinContent(7,5846.424); h_SL3L269->SetBinContent(8,5577.342); h_SL3L269->SetBinContent(9,5623.548); h_SL3L269->SetBinContent(10,5433.288); h_SL3L269->SetBinContent(11,5050.049); h_SL3L269->SetBinContent(12,5006.561); h_SL3L269->SetBinContent(13,5207.693); h_SL3L269->SetBinContent(14,5332.722); h_SL3L269->SetBinContent(15,5446.877); h_SL3L269->SetBinContent(16,5300.105); h_SL3L269->SetBinContent(17,5253.899); h_SL3L269->SetBinContent(18,5362.62); h_SL3L269->SetBinContent(19,5637.138); h_SL3L269->SetBinContent(20,5781.192); h_SL3L269->SetBinContent(21,5862.732); h_SL3L269->SetBinContent(22,6167.148); h_SL3L269->SetBinContent(23,6240.534); h_SL3L269->SetBinContent(24,6572.131); h_SL3L269->SetBinContent(25,6278.586); h_SL3L269->SetBinContent(26,6743.365); h_SL3L269->SetBinContent(27,6816.751); h_SL3L269->SetBinContent(28,6691.723); h_SL3L269->SetBinContent(29,6925.471); h_SL3L269->SetBinContent(30,7208.144); h_SL3L269->SetBinContent(31,7884.926); h_SL3L269->SetBinContent(32,8249.139); h_SL3L269->SetBinContent(33,10700.78); h_SL3L269->SetBinContent(34,21635.3); h_SL3L269->SetBinContent(35,51742.62); h_SL3L269->SetBinContent(36,61570.92); h_SL3L269->SetBinContent(37,69385.17); h_SL3L269->SetBinContent(38,76748.24); h_SL3L269->SetBinContent(39,75870.33); h_SL3L269->SetBinContent(40,60489.15); h_SL3L269->SetBinContent(41,22651.84); h_SL3L269->SetBinContent(42,10956.27); h_SL3L269->SetBinContent(43,7327.735); h_SL3L269->SetBinContent(44,6797.725); h_SL3L269->SetBinContent(45,6580.285); h_SL3L269->SetBinContent(46,5911.656); h_SL3L269->SetBinContent(47,5726.832); h_SL3L269->SetBinContent(48,5724.114); h_SL3L269->SetBinContent(49,7403.84); h_SL3L269->SetBinContent(50,5501.238); h_SL3L269->SetBinContent(51,5310.978); h_SL3L269->SetBinContent(52,5465.904); h_SL3L269->SetBinContent(53,8069.75); h_SL3L269->SetBinContent(54,4530.911); h_SL3L269->SetBinContent(55,4634.195); h_SL3L269->SetBinContent(56,4930.457); h_SL3L269->SetBinContent(57,4460.243); h_SL3L269->SetBinContent(58,4068.85); h_SL3L269->SetBinContent(59,3215.397); h_SL3L269->SetMaximum(91226.78); 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,4264.546); h_SL3L370->SetBinContent(2,3103.959); h_SL3L370->SetBinContent(3,3704.638); h_SL3L370->SetBinContent(4,5039.177); h_SL3L370->SetBinContent(5,5452.313); h_SL3L370->SetBinContent(6,5446.877); h_SL3L370->SetBinContent(7,5609.958); h_SL3L370->SetBinContent(8,5599.086); h_SL3L370->SetBinContent(9,5272.925); h_SL3L370->SetBinContent(10,4775.531); h_SL3L370->SetBinContent(11,4965.791); h_SL3L370->SetBinContent(12,4677.683); h_SL3L370->SetBinContent(13,4946.765); h_SL3L370->SetBinContent(14,5403.39); h_SL3L370->SetBinContent(15,5006.561); h_SL3L370->SetBinContent(16,5177.795); h_SL3L370->SetBinContent(17,5240.31); h_SL3L370->SetBinContent(18,5270.208); h_SL3L370->SetBinContent(19,5471.34); h_SL3L370->SetBinContent(20,5444.16); h_SL3L370->SetBinContent(21,5792.064); h_SL3L370->SetBinContent(22,5898.066); h_SL3L370->SetBinContent(23,6129.096); h_SL3L370->SetBinContent(24,6167.148); h_SL3L370->SetBinContent(25,6259.561); h_SL3L370->SetBinContent(26,6447.103); h_SL3L370->SetBinContent(27,6466.128); h_SL3L370->SetBinContent(28,6648.235); h_SL3L370->SetBinContent(29,7093.987); h_SL3L370->SetBinContent(30,7267.939); h_SL3L370->SetBinContent(31,7477.226); h_SL3L370->SetBinContent(32,8567.145); h_SL3L370->SetBinContent(33,12464.76); h_SL3L370->SetBinContent(34,38554.87); h_SL3L370->SetBinContent(35,57265.6); h_SL3L370->SetBinContent(36,65177.71); h_SL3L370->SetBinContent(37,72627.75); h_SL3L370->SetBinContent(38,77794.68); h_SL3L370->SetBinContent(39,69822.77); h_SL3L370->SetBinContent(40,42612.85); h_SL3L370->SetBinContent(41,12712.1); h_SL3L370->SetBinContent(42,8314.37); h_SL3L370->SetBinContent(43,6767.827); h_SL3L370->SetBinContent(44,6373.717); h_SL3L370->SetBinContent(45,1087.201); h_SL3L370->SetBinContent(46,5612.676); h_SL3L370->SetBinContent(47,5533.854); h_SL3L370->SetBinContent(48,5183.231); h_SL3L370->SetBinContent(49,5109.845); h_SL3L370->SetBinContent(50,5158.77); h_SL3L370->SetBinContent(51,4672.247); h_SL3L370->SetBinContent(52,4892.405); h_SL3L370->SetBinContent(53,4772.813); h_SL3L370->SetBinContent(54,4549.937); h_SL3L370->SetBinContent(55,4351.522); h_SL3L370->SetBinContent(56,4365.112); h_SL3L370->SetBinContent(57,4416.754); h_SL3L370->SetBinContent(58,3479.043); h_SL3L370->SetBinContent(59,2995.239); h_SL3L370->SetMaximum(91226.78); 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,3209.961); h_SL3L471->SetBinContent(3,3408.375); h_SL3L471->SetBinContent(4,4264.546); h_SL3L471->SetBinContent(5,5310.978); h_SL3L471->SetBinContent(6,5300.105); h_SL3L471->SetBinContent(7,5335.439); h_SL3L471->SetBinContent(8,5226.719); h_SL3L471->SetBinContent(9,4914.149); h_SL3L471->SetBinContent(10,4764.659); h_SL3L471->SetBinContent(11,4824.455); h_SL3L471->SetBinContent(12,4574.399); h_SL3L471->SetBinContent(13,4558.091); h_SL3L471->SetBinContent(14,4707.581); h_SL3L471->SetBinContent(15,5022.869); h_SL3L471->SetBinContent(16,4971.227); h_SL3L471->SetBinContent(17,4870.661); h_SL3L471->SetBinContent(18,4990.253); h_SL3L471->SetBinContent(19,5128.871); h_SL3L471->SetBinContent(20,5338.158); h_SL3L471->SetBinContent(21,5378.928); h_SL3L471->SetBinContent(22,5599.086); h_SL3L471->SetBinContent(23,5881.758); h_SL3L471->SetBinContent(24,6036.684); h_SL3L471->SetBinContent(25,6052.992); h_SL3L471->SetBinContent(26,6240.534); h_SL3L471->SetBinContent(27,6259.561); h_SL3L471->SetBinContent(28,6311.203); h_SL3L471->SetBinContent(29,6506.899); h_SL3L471->SetBinContent(30,6873.829); h_SL3L471->SetBinContent(31,7061.371); h_SL3L471->SetBinContent(32,7732.718); h_SL3L471->SetBinContent(33,10140.87); h_SL3L471->SetBinContent(34,21352.63); h_SL3L471->SetBinContent(35,51726.31); h_SL3L471->SetBinContent(36,61309.99); h_SL3L471->SetBinContent(37,68713.83); h_SL3L471->SetBinContent(38,76408.49); h_SL3L471->SetBinContent(39,74997.85); h_SL3L471->SetBinContent(40,59975.45); h_SL3L471->SetBinContent(41,22127.26); h_SL3L471->SetBinContent(42,10548.57); h_SL3L471->SetBinContent(43,7137.476); h_SL3L471->SetBinContent(44,6126.378); h_SL3L471->SetBinContent(45,5889.912); h_SL3L471->SetBinContent(46,5645.292); h_SL3L471->SetBinContent(47,5172.359); h_SL3L471->SetBinContent(48,5145.179); h_SL3L471->SetBinContent(49,5031.023); h_SL3L471->SetBinContent(50,4873.379); h_SL3L471->SetBinContent(51,4963.073); h_SL3L471->SetBinContent(52,4351.522); h_SL3L471->SetBinContent(53,4655.939); h_SL3L471->SetBinContent(54,4144.954); h_SL3L471->SetBinContent(55,4245.521); h_SL3L471->SetBinContent(56,4188.442); h_SL3L471->SetBinContent(57,4188.442); h_SL3L471->SetBinContent(58,3799.768); h_SL3L471->SetBinContent(59,3076.779); h_SL3L471->SetMaximum(91226.78); 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 6630"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }