void RatesPerCell_Removing_noisy_cells_run_6727_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:03:13 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19090,67.5,171810); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6727",60,0,60); h_SL1L160->SetBinContent(1,50777.81); h_SL1L160->SetBinContent(2,49079.64); h_SL1L160->SetBinContent(3,49244.07); h_SL1L160->SetBinContent(4,45893.1); h_SL1L160->SetBinContent(5,42615.83); h_SL1L160->SetBinContent(6,45096.46); h_SL1L160->SetBinContent(7,42221.76); h_SL1L160->SetBinContent(8,42632.84); h_SL1L160->SetBinContent(9,39979.27); h_SL1L160->SetBinContent(10,36645.3); h_SL1L160->SetBinContent(11,36222.89); h_SL1L160->SetBinContent(12,35497.12); h_SL1L160->SetBinContent(13,37271.84); h_SL1L160->SetBinContent(14,35641.71); h_SL1L160->SetBinContent(15,35278.83); h_SL1L160->SetBinContent(16,33515.45); h_SL1L160->SetBinContent(17,34726); h_SL1L160->SetBinContent(18,36049.95); h_SL1L160->SetBinContent(19,38008.94); h_SL1L160->SetBinContent(20,36392.99); h_SL1L160->SetBinContent(21,38040.12); h_SL1L160->SetBinContent(22,38774.39); h_SL1L160->SetBinContent(23,37810.49); h_SL1L160->SetBinContent(24,34782.7); h_SL1L160->SetBinContent(25,35040.69); h_SL1L160->SetBinContent(26,34915.95); h_SL1L160->SetBinContent(27,33458.75); h_SL1L160->SetBinContent(28,33158.24); h_SL1L160->SetBinContent(29,32554.39); h_SL1L160->SetBinContent(30,31684.04); h_SL1L160->SetBinContent(31,30459.32); h_SL1L160->SetBinContent(32,28661.92); h_SL1L160->SetBinContent(33,38023.12); h_SL1L160->SetBinContent(34,45830.73); h_SL1L160->SetBinContent(35,47500.55); h_SL1L160->SetBinContent(36,45334.6); h_SL1L160->SetBinContent(37,49660.82); h_SL1L160->SetBinContent(38,49377.32); h_SL1L160->SetBinContent(39,39953.76); h_SL1L160->SetBinContent(40,29450.05); h_SL1L160->SetBinContent(41,28174.3); h_SL1L160->SetBinContent(42,28610.89); h_SL1L160->SetBinContent(43,27241.58); h_SL1L160->SetBinContent(44,27550.6); h_SL1L160->SetBinContent(45,25279.76); h_SL1L160->SetBinContent(46,24843.17); h_SL1L160->SetBinContent(47,23298.09); h_SL1L160->SetBinContent(48,22342.69); h_SL1L160->SetBinContent(49,23334.94); h_SL1L160->SetBinContent(50,23907.62); h_SL1L160->SetBinContent(51,23462.52); h_SL1L160->SetBinContent(52,23666.64); h_SL1L160->SetBinContent(53,23819.73); h_SL1L160->SetBinContent(54,23459.68); h_SL1L160->SetBinContent(55,24627.71); h_SL1L160->SetBinContent(56,25903.46); h_SL1L160->SetBinContent(57,29583.3); h_SL1L160->SetBinContent(58,32044.09); h_SL1L160->SetBinContent(59,33705.4); h_SL1L160->SetMaximum(152720); 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,57970.23); h_SL1L261->SetBinContent(2,55254.29); h_SL1L261->SetBinContent(3,56175.67); h_SL1L261->SetBinContent(4,56138.81); h_SL1L261->SetBinContent(5,54199.67); h_SL1L261->SetBinContent(6,59572.01); h_SL1L261->SetBinContent(7,57856.83); h_SL1L261->SetBinContent(8,57125.39); h_SL1L261->SetBinContent(9,55540.62); h_SL1L261->SetBinContent(10,49105.16); h_SL1L261->SetBinContent(11,48373.73); h_SL1L261->SetBinContent(12,49796.9); h_SL1L261->SetBinContent(13,51512.08); h_SL1L261->SetBinContent(14,53768.75); h_SL1L261->SetBinContent(15,53964.36); h_SL1L261->SetBinContent(16,53031.64); h_SL1L261->SetBinContent(17,52790.67); h_SL1L261->SetBinContent(18,54072.09); h_SL1L261->SetBinContent(19,56549.89); h_SL1L261->SetBinContent(20,57547.81); h_SL1L261->SetBinContent(21,58171.51); h_SL1L261->SetBinContent(22,60479.21); h_SL1L261->SetBinContent(23,61066.05); h_SL1L261->SetBinContent(24,61029.2); h_SL1L261->SetBinContent(25,61831.51); h_SL1L261->SetBinContent(26,59013.51); h_SL1L261->SetBinContent(27,56717.15); h_SL1L261->SetBinContent(28,56297.57); h_SL1L261->SetBinContent(29,59438.76); h_SL1L261->SetBinContent(30,58398.31); h_SL1L261->SetBinContent(31,56966.63); h_SL1L261->SetBinContent(32,56668.96); h_SL1L261->SetBinContent(33,67688.63); h_SL1L261->SetBinContent(34,99556.95); h_SL1L261->SetBinContent(35,107863.5); h_SL1L261->SetBinContent(36,111875.1); h_SL1L261->SetBinContent(37,115478.4); h_SL1L261->SetBinContent(38,111960.1); h_SL1L261->SetBinContent(39,99576.79); h_SL1L261->SetBinContent(40,64933); h_SL1L261->SetBinContent(41,53289.63); h_SL1L261->SetBinContent(42,49519.07); h_SL1L261->SetBinContent(43,48467.28); h_SL1L261->SetBinContent(44,48495.63); h_SL1L261->SetBinContent(45,47134.83); h_SL1L261->SetBinContent(46,48044.87); h_SL1L261->SetBinContent(47,49181.7); h_SL1L261->SetBinContent(48,45986.65); h_SL1L261->SetBinContent(49,44934.86); h_SL1L261->SetBinContent(50,45314.75); h_SL1L261->SetBinContent(51,43820.71); h_SL1L261->SetBinContent(52,41714.3); h_SL1L261->SetBinContent(53,44146.73); h_SL1L261->SetBinContent(54,42927.68); h_SL1L261->SetBinContent(55,43778.18); h_SL1L261->SetBinContent(56,43718.64); h_SL1L261->SetBinContent(57,42374.85); h_SL1L261->SetBinContent(58,41521.52); h_SL1L261->SetBinContent(59,40155.04); h_SL1L261->SetMaximum(132800.1); 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,51874.96); h_SL1L362->SetBinContent(2,51636.82); h_SL1L362->SetBinContent(3,52850.2); h_SL1L362->SetBinContent(4,51228.58); h_SL1L362->SetBinContent(5,53451.23); h_SL1L362->SetBinContent(6,55251.46); h_SL1L362->SetBinContent(7,52972.11); h_SL1L362->SetBinContent(8,52475.98); h_SL1L362->SetBinContent(9,48716.76); h_SL1L362->SetBinContent(10,45090.79); h_SL1L362->SetBinContent(11,45226.87); h_SL1L362->SetBinContent(12,46794.63); h_SL1L362->SetBinContent(13,49884.79); h_SL1L362->SetBinContent(14,50182.46); h_SL1L362->SetBinContent(15,50933.74); h_SL1L362->SetBinContent(16,48008.01); h_SL1L362->SetBinContent(17,48943.56); h_SL1L362->SetBinContent(18,51787.08); h_SL1L362->SetBinContent(19,52756.65); h_SL1L362->SetBinContent(20,53286.8); h_SL1L362->SetBinContent(21,55863.82); h_SL1L362->SetBinContent(22,55753.25); h_SL1L362->SetBinContent(23,55784.44); h_SL1L362->SetBinContent(24,57148.07); h_SL1L362->SetBinContent(25,57082.87); h_SL1L362->SetBinContent(26,52836.03); h_SL1L362->SetBinContent(27,53703.54); h_SL1L362->SetBinContent(28,54588.06); h_SL1L362->SetBinContent(29,54809.2); h_SL1L362->SetBinContent(30,54307.4); h_SL1L362->SetBinContent(31,52478.82); h_SL1L362->SetBinContent(32,53334.99); h_SL1L362->SetBinContent(33,78444.65); h_SL1L362->SetBinContent(34,96775.8); h_SL1L362->SetBinContent(35,100183.5); h_SL1L362->SetBinContent(36,103426.7); h_SL1L362->SetBinContent(37,105570); h_SL1L362->SetBinContent(38,97714.2); h_SL1L362->SetBinContent(39,77341.83); h_SL1L362->SetBinContent(40,50568.02); h_SL1L362->SetBinContent(41,47500.55); h_SL1L362->SetBinContent(42,46009.33); h_SL1L362->SetBinContent(43,44727.91); h_SL1L362->SetBinContent(44,44594.66); h_SL1L362->SetBinContent(45,43160.15); h_SL1L362->SetBinContent(46,44515.28); h_SL1L362->SetBinContent(47,45465.01); h_SL1L362->SetBinContent(48,41938.26); h_SL1L362->SetBinContent(49,42278.46); h_SL1L362->SetBinContent(50,41337.24); h_SL1L362->SetBinContent(51,39296.04); h_SL1L362->SetBinContent(52,39701.44); h_SL1L362->SetBinContent(53,40359.16); h_SL1L362->SetBinContent(54,39905.56); h_SL1L362->SetBinContent(55,40319.47); h_SL1L362->SetBinContent(56,39914.07); h_SL1L362->SetBinContent(57,38731.87); h_SL1L362->SetBinContent(58,37748.12); h_SL1L362->SetBinContent(59,37328.54); h_SL1L362->SetMaximum(132800.1); 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,43599.57); h_SL1L463->SetBinContent(3,41297.55); h_SL1L463->SetBinContent(4,39233.66); h_SL1L463->SetBinContent(5,36095.31); h_SL1L463->SetBinContent(6,37351.22); h_SL1L463->SetBinContent(7,36475.2); h_SL1L463->SetBinContent(8,38675.17); h_SL1L463->SetBinContent(9,39480.31); h_SL1L463->SetBinContent(10,37509.98); h_SL1L463->SetBinContent(11,37492.97); h_SL1L463->SetBinContent(12,39213.82); h_SL1L463->SetBinContent(13,40055.82); h_SL1L463->SetBinContent(14,42581.81); h_SL1L463->SetBinContent(15,41365.59); h_SL1L463->SetBinContent(16,39590.88); h_SL1L463->SetBinContent(17,37059.21); h_SL1L463->SetBinContent(18,36083.97); h_SL1L463->SetBinContent(19,37359.73); h_SL1L463->SetBinContent(20,37030.86); h_SL1L463->SetBinContent(21,36446.85); h_SL1L463->SetBinContent(22,37694.25); h_SL1L463->SetBinContent(23,37977.76); h_SL1L463->SetBinContent(24,38411.51); h_SL1L463->SetBinContent(25,35539.65); h_SL1L463->SetBinContent(26,36591.44); h_SL1L463->SetBinContent(27,34434); h_SL1L463->SetBinContent(28,33875.5); h_SL1L463->SetBinContent(29,33949.21); h_SL1L463->SetBinContent(30,34550.23); h_SL1L463->SetBinContent(31,33209.27); h_SL1L463->SetBinContent(32,31882.49); h_SL1L463->SetBinContent(33,32710.31); h_SL1L463->SetBinContent(34,46967.56); h_SL1L463->SetBinContent(35,53485.25); h_SL1L463->SetBinContent(36,52297.38); h_SL1L463->SetBinContent(37,47650.8); h_SL1L463->SetBinContent(38,48609.04); h_SL1L463->SetBinContent(39,46919.37); h_SL1L463->SetBinContent(40,28457.8); h_SL1L463->SetBinContent(41,24743.94); h_SL1L463->SetBinContent(42,24636.21); h_SL1L463->SetBinContent(43,24004.01); h_SL1L463->SetBinContent(44,23955.81); h_SL1L463->SetBinContent(45,21339.1); h_SL1L463->SetBinContent(46,23003.25); h_SL1L463->SetBinContent(47,21838.06); h_SL1L463->SetBinContent(48,21038.59); h_SL1L463->SetBinContent(49,19717.47); h_SL1L463->SetBinContent(50,20423.39); h_SL1L463->SetBinContent(51,19811.03); h_SL1L463->SetBinContent(52,20559.47); h_SL1L463->SetBinContent(53,19830.88); h_SL1L463->SetBinContent(54,20587.82); h_SL1L463->SetBinContent(55,2.835007); h_SL1L463->SetBinContent(56,22028.01); h_SL1L463->SetBinContent(57,23334.94); h_SL1L463->SetBinContent(58,28123.27); h_SL1L463->SetBinContent(59,28942.59); h_SL1L463->SetMaximum(132800.1); 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 6727"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }