void RatesPerCell_Removing_noisy_cells_run_6638_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:07 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-34284.67,67.5,308562); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6638",60,0,60); h_SL1L160->SetBinContent(1,9632.413); h_SL1L160->SetBinContent(2,9292.149); h_SL1L160->SetBinContent(3,9405.57); h_SL1L160->SetBinContent(4,9497.988); h_SL1L160->SetBinContent(5,9092.612); h_SL1L160->SetBinContent(6,9512.691); h_SL1L160->SetBinContent(7,9544.197); h_SL1L160->SetBinContent(8,9199.732); h_SL1L160->SetBinContent(9,8441.489); h_SL1L160->SetBinContent(10,7987.804); h_SL1L160->SetBinContent(11,8166.337); h_SL1L160->SetBinContent(12,8023.511); h_SL1L160->SetBinContent(13,8485.598); h_SL1L160->SetBinContent(14,8531.807); h_SL1L160->SetBinContent(15,8229.35); h_SL1L160->SetBinContent(16,207393); h_SL1L160->SetBinContent(17,8578.015); h_SL1L160->SetBinContent(18,9080.01); h_SL1L160->SetBinContent(19,9512.691); h_SL1L160->SetBinContent(20,9569.401); h_SL1L160->SetBinContent(21,9867.658); h_SL1L160->SetBinContent(22,10081.9); h_SL1L160->SetBinContent(23,10002.08); h_SL1L160->SetBinContent(24,9670.221); h_SL1L160->SetBinContent(25,10050.39); h_SL1L160->SetBinContent(26,9922.268); h_SL1L160->SetBinContent(27,9754.236); h_SL1L160->SetBinContent(28,10829.64); h_SL1L160->SetBinContent(29,10621.7); h_SL1L160->SetBinContent(30,11274.92); h_SL1L160->SetBinContent(31,11518.57); h_SL1L160->SetBinContent(32,14471.72); h_SL1L160->SetBinContent(33,37683.2); h_SL1L160->SetBinContent(34,53696.61); h_SL1L160->SetBinContent(35,58479.21); h_SL1L160->SetBinContent(36,60512.39); h_SL1L160->SetBinContent(37,66735.87); h_SL1L160->SetBinContent(38,63100.08); h_SL1L160->SetBinContent(39,41665.54); h_SL1L160->SetBinContent(40,14297.39); h_SL1L160->SetBinContent(41,11350.54); h_SL1L160->SetBinContent(42,10485.17); h_SL1L160->SetBinContent(43,10184.82); h_SL1L160->SetBinContent(44,9147.222); h_SL1L160->SetBinContent(45,8882.572); h_SL1L160->SetBinContent(46,8479.297); h_SL1L160->SetBinContent(47,8393.181); h_SL1L160->SetBinContent(48,7855.479); h_SL1L160->SetBinContent(49,7786.166); h_SL1L160->SetBinContent(50,7775.664); h_SL1L160->SetBinContent(51,7290.473); h_SL1L160->SetBinContent(52,7252.666); h_SL1L160->SetBinContent(53,7246.364); h_SL1L160->SetBinContent(54,6794.779); h_SL1L160->SetBinContent(55,7187.553); h_SL1L160->SetBinContent(56,6985.915); h_SL1L160->SetBinContent(57,7550.921); h_SL1L160->SetBinContent(58,7198.055); h_SL1L160->SetBinContent(59,7813.471); h_SL1L160->SetMaximum(274277.3); 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,9842.453); h_SL1L261->SetBinContent(2,9061.105); h_SL1L261->SetBinContent(3,9367.764); h_SL1L261->SetBinContent(4,9388.768); h_SL1L261->SetBinContent(5,9355.161); h_SL1L261->SetBinContent(6,9947.473); h_SL1L261->SetBinContent(7,10050.39); h_SL1L261->SetBinContent(8,10033.59); h_SL1L261->SetBinContent(9,9306.853); h_SL1L261->SetBinContent(10,8416.284); h_SL1L261->SetBinContent(11,8395.28); h_SL1L261->SetBinContent(12,8424.687); h_SL1L261->SetBinContent(13,9084.21); h_SL1L261->SetBinContent(14,9626.112); h_SL1L261->SetBinContent(15,9476.984); h_SL1L261->SetBinContent(16,9208.134); h_SL1L261->SetBinContent(17,9134.62); h_SL1L261->SetBinContent(18,9936.971); h_SL1L261->SetBinContent(19,10384.36); h_SL1L261->SetBinContent(20,10411.66); h_SL1L261->SetBinContent(21,10831.74); h_SL1L261->SetBinContent(22,11096.39); h_SL1L261->SetBinContent(23,11583.68); h_SL1L261->SetBinContent(24,11495.46); h_SL1L261->SetBinContent(25,11627.79); h_SL1L261->SetBinContent(26,11272.82); h_SL1L261->SetBinContent(27,11222.41); h_SL1L261->SetBinContent(28,11774.82); h_SL1L261->SetBinContent(29,12178.09); h_SL1L261->SetBinContent(30,12617.08); h_SL1L261->SetBinContent(31,13177.88); h_SL1L261->SetBinContent(32,15860.09); h_SL1L261->SetBinContent(33,27084.6); h_SL1L261->SetBinContent(34,59071.52); h_SL1L261->SetBinContent(35,66009.12); h_SL1L261->SetBinContent(36,71264.32); h_SL1L261->SetBinContent(37,75189.95); h_SL1L261->SetBinContent(38,75095.44); h_SL1L261->SetBinContent(39,63715.5); h_SL1L261->SetBinContent(40,26200.33); h_SL1L261->SetBinContent(41,15437.91); h_SL1L261->SetBinContent(42,11932.35); h_SL1L261->SetBinContent(43,11310.63); h_SL1L261->SetBinContent(44,10821.24); h_SL1L261->SetBinContent(45,10630.1); h_SL1L261->SetBinContent(46,10218.42); h_SL1L261->SetBinContent(47,10285.64); h_SL1L261->SetBinContent(48,9726.932); h_SL1L261->SetBinContent(49,21974.34); h_SL1L261->SetBinContent(50,8926.681); h_SL1L261->SetBinContent(51,9027.5); h_SL1L261->SetBinContent(52,8294.462); h_SL1L261->SetBinContent(53,8588.517); h_SL1L261->SetBinContent(54,8554.91); h_SL1L261->SetBinContent(55,8599.019); h_SL1L261->SetBinContent(56,12293.61); h_SL1L261->SetBinContent(57,8391.08); h_SL1L261->SetBinContent(58,8139.032); h_SL1L261->SetBinContent(59,7802.969); h_SL1L261->SetMaximum(238502); 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,8848.966); h_SL1L362->SetBinContent(2,8815.359); h_SL1L362->SetBinContent(3,9371.965); h_SL1L362->SetBinContent(4,9233.338); h_SL1L362->SetBinContent(5,9424.475); h_SL1L362->SetBinContent(6,9563.101); h_SL1L362->SetBinContent(7,9613.51); h_SL1L362->SetBinContent(8,9449.679); h_SL1L362->SetBinContent(9,8809.059); h_SL1L362->SetBinContent(10,8042.414); h_SL1L362->SetBinContent(11,8006.708); h_SL1L362->SetBinContent(12,8317.566); h_SL1L362->SetBinContent(13,8935.082); h_SL1L362->SetBinContent(14,9334.157); h_SL1L362->SetBinContent(15,9126.218); h_SL1L362->SetBinContent(16,8750.247); h_SL1L362->SetBinContent(17,9174.527); h_SL1L362->SetBinContent(18,9563.101); h_SL1L362->SetBinContent(19,9888.662); h_SL1L362->SetBinContent(20,9981.079); h_SL1L362->SetBinContent(21,10766.63); h_SL1L362->SetBinContent(22,10835.94); h_SL1L362->SetBinContent(23,11031.28); h_SL1L362->SetBinContent(24,11224.51); h_SL1L362->SetBinContent(25,11258.12); h_SL1L362->SetBinContent(26,10474.67); h_SL1L362->SetBinContent(27,11060.68); h_SL1L362->SetBinContent(28,11682.4); h_SL1L362->SetBinContent(29,12020.56); h_SL1L362->SetBinContent(30,12144.49); h_SL1L362->SetBinContent(31,13404.72); h_SL1L362->SetBinContent(32,17263.15); h_SL1L362->SetBinContent(33,45013.57); h_SL1L362->SetBinContent(34,64083.07); h_SL1L362->SetBinContent(35,68741.74); h_SL1L362->SetBinContent(36,73503.34); h_SL1L362->SetBinContent(37,76910.18); h_SL1L362->SetBinContent(38,70443.06); h_SL1L362->SetBinContent(39,47132.88); h_SL1L362->SetBinContent(40,16832.57); h_SL1L362->SetBinContent(41,12528.86); h_SL1L362->SetBinContent(42,11201.41); h_SL1L362->SetBinContent(43,11016.57); h_SL1L362->SetBinContent(44,10212.12); h_SL1L362->SetBinContent(45,9911.766); h_SL1L362->SetBinContent(46,9806.746); h_SL1L362->SetBinContent(47,9852.955); h_SL1L362->SetBinContent(48,9485.386); h_SL1L362->SetBinContent(49,8821.661); h_SL1L362->SetBinContent(50,8659.931); h_SL1L362->SetBinContent(51,8496.1); h_SL1L362->SetBinContent(52,7928.993); h_SL1L362->SetBinContent(53,11184.61); h_SL1L362->SetBinContent(54,7992.005); h_SL1L362->SetBinContent(55,8197.844); h_SL1L362->SetBinContent(56,12442.74); h_SL1L362->SetBinContent(57,7815.571); h_SL1L362->SetBinContent(58,7555.123); h_SL1L362->SetBinContent(59,7452.203); h_SL1L362->SetMaximum(238502); 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,7945.796); h_SL1L463->SetBinContent(3,7590.829); h_SL1L463->SetBinContent(4,7546.721); h_SL1L463->SetBinContent(5,7557.223); h_SL1L463->SetBinContent(6,7857.579); h_SL1L463->SetBinContent(7,8115.928); h_SL1L463->SetBinContent(8,7697.949); h_SL1L463->SetBinContent(9,7805.069); h_SL1L463->SetBinContent(10,7051.027); h_SL1L463->SetBinContent(11,7090.935); h_SL1L463->SetBinContent(12,7221.16); h_SL1L463->SetBinContent(13,7441.701); h_SL1L463->SetBinContent(14,8313.365); h_SL1L463->SetBinContent(15,8055.017); h_SL1L463->SetBinContent(16,7716.853); h_SL1L463->SetBinContent(17,7416.496); h_SL1L463->SetBinContent(18,7624.436); h_SL1L463->SetBinContent(19,7886.985); h_SL1L463->SetBinContent(20,8111.727); h_SL1L463->SetBinContent(21,8405.782); h_SL1L463->SetBinContent(22,8378.478); h_SL1L463->SetBinContent(23,8487.698); h_SL1L463->SetBinContent(24,8393.181); h_SL1L463->SetBinContent(25,8229.35); h_SL1L463->SetBinContent(26,8296.562); h_SL1L463->SetBinContent(27,8334.369); h_SL1L463->SetBinContent(28,8491.898); h_SL1L463->SetBinContent(29,8596.919); h_SL1L463->SetBinContent(30,9050.604); h_SL1L463->SetBinContent(31,10174.32); h_SL1L463->SetBinContent(32,11636.19); h_SL1L463->SetBinContent(33,19237.52); h_SL1L463->SetBinContent(34,47529.85); h_SL1L463->SetBinContent(35,58871.98); h_SL1L463->SetBinContent(36,60781.24); h_SL1L463->SetBinContent(37,61174.02); h_SL1L463->SetBinContent(38,61848.25); h_SL1L463->SetBinContent(39,55280.31); h_SL1L463->SetBinContent(40,20340.23); h_SL1L463->SetBinContent(41,11537.47); h_SL1L463->SetBinContent(42,9453.88); h_SL1L463->SetBinContent(43,8930.882); h_SL1L463->SetBinContent(44,8823.762); h_SL1L463->SetBinContent(45,7779.865); h_SL1L463->SetBinContent(46,7790.367); h_SL1L463->SetBinContent(47,7616.034); h_SL1L463->SetBinContent(48,7355.585); h_SL1L463->SetBinContent(49,6612.045); h_SL1L463->SetBinContent(50,6977.514); h_SL1L463->SetBinContent(51,6381.001); h_SL1L463->SetBinContent(52,5998.729); h_SL1L463->SetBinContent(53,5895.81); h_SL1L463->SetBinContent(54,6026.035); h_SL1L463->SetBinContent(56,5948.32); h_SL1L463->SetBinContent(57,5805.493); h_SL1L463->SetBinContent(58,6229.773); h_SL1L463->SetBinContent(59,6194.066); h_SL1L463->SetMaximum(238502); 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 6638"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }