void RatesPerCell_Removing_noisy_cells_run_7359_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:12:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11537.66,67.5,103839); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7359",60,0,60); h_SL2L164->SetBinContent(1,20347.08); h_SL2L164->SetBinContent(2,27002.61); h_SL2L164->SetBinContent(3,31637.95); h_SL2L164->SetBinContent(4,34433); h_SL2L164->SetBinContent(5,35194.02); h_SL2L164->SetBinContent(6,33810.34); h_SL2L164->SetBinContent(7,32551.18); h_SL2L164->SetBinContent(8,30959.95); h_SL2L164->SetBinContent(9,31748.65); h_SL2L164->SetBinContent(10,33070.07); h_SL2L164->SetBinContent(11,34363.81); h_SL2L164->SetBinContent(12,34716.65); h_SL2L164->SetBinContent(13,35221.7); h_SL2L164->SetBinContent(14,34903.45); h_SL2L164->SetBinContent(15,34778.91); h_SL2L164->SetBinContent(16,35152.51); h_SL2L164->SetBinContent(17,34716.65); h_SL2L164->SetBinContent(18,35200.94); h_SL2L164->SetBinContent(19,34474.5); h_SL2L164->SetBinContent(20,35097.16); h_SL2L164->SetBinContent(21,35069.49); h_SL2L164->SetBinContent(22,33139.25); h_SL2L164->SetBinContent(23,34426.07); h_SL2L164->SetBinContent(24,33616.62); h_SL2L164->SetBinContent(25,33858.77); h_SL2L164->SetBinContent(26,33754.99); h_SL2L164->SetBinContent(27,33332.96); h_SL2L164->SetBinContent(28,33180.76); h_SL2L164->SetBinContent(29,32654.96); h_SL2L164->SetBinContent(30,31887.01); h_SL2L164->SetBinContent(31,31375.05); h_SL2L164->SetBinContent(32,31381.97); h_SL2L164->SetBinContent(33,31887.01); h_SL2L164->SetBinContent(34,33706.56); h_SL2L164->SetBinContent(35,6.918424); h_SL2L164->SetBinContent(36,32592.69); h_SL2L164->SetBinContent(37,37172.69); h_SL2L164->SetBinContent(38,33630.46); h_SL2L164->SetBinContent(39,34550.61); h_SL2L164->SetBinContent(40,60702.25); h_SL2L164->SetBinContent(41,69793.05); h_SL2L164->SetBinContent(42,37532.45); h_SL2L164->SetBinContent(43,37753.84); h_SL2L164->SetBinContent(44,37269.55); h_SL2L164->SetBinContent(45,29873.75); h_SL2L164->SetBinContent(46,30081.31); h_SL2L164->SetBinContent(47,28759.89); h_SL2L164->SetBinContent(48,27473.06); h_SL2L164->SetBinContent(49,27016.45); h_SL2L164->SetBinContent(50,25985.6); h_SL2L164->SetBinContent(51,26545.99); h_SL2L164->SetBinContent(52,26068.62); h_SL2L164->SetBinContent(53,26781.22); h_SL2L164->SetBinContent(54,26774.3); h_SL2L164->SetBinContent(55,24643.43); h_SL2L164->SetBinContent(56,19433.85); h_SL2L164->SetBinContent(57,14217.36); h_SL2L164->SetMaximum(92301.3); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,16348.24); h_SL2L265->SetBinContent(2,24802.55); h_SL2L265->SetBinContent(3,28746.05); h_SL2L265->SetBinContent(4,33256.86); h_SL2L265->SetBinContent(5,33748.07); h_SL2L265->SetBinContent(6,32737.98); h_SL2L265->SetBinContent(7,32094.57); h_SL2L265->SetBinContent(8,30918.44); h_SL2L265->SetBinContent(9,30517.17); h_SL2L265->SetBinContent(10,31631.03); h_SL2L265->SetBinContent(11,32232.94); h_SL2L265->SetBinContent(12,33706.56); h_SL2L265->SetBinContent(13,33561.27); h_SL2L265->SetBinContent(14,33353.72); h_SL2L265->SetBinContent(15,34654.38); h_SL2L265->SetBinContent(16,33962.54); h_SL2L265->SetBinContent(17,32883.27); h_SL2L265->SetBinContent(18,33160); h_SL2L265->SetBinContent(19,34260.04); h_SL2L265->SetBinContent(20,33651.21); h_SL2L265->SetBinContent(21,34080.16); h_SL2L265->SetBinContent(22,32938.61); h_SL2L265->SetBinContent(23,32274.45); h_SL2L265->SetBinContent(24,32696.47); h_SL2L265->SetBinContent(25,33007.8); h_SL2L265->SetBinContent(26,31956.2); h_SL2L265->SetBinContent(27,32357.47); h_SL2L265->SetBinContent(28,31963.12); h_SL2L265->SetBinContent(29,31471.91); h_SL2L265->SetBinContent(30,31381.97); h_SL2L265->SetBinContent(31,30399.55); h_SL2L265->SetBinContent(32,30544.84); h_SL2L265->SetBinContent(33,31257.44); h_SL2L265->SetBinContent(34,31976.96); h_SL2L265->SetBinContent(35,31029.13); h_SL2L265->SetBinContent(36,29735.38); h_SL2L265->SetBinContent(37,31499.58); h_SL2L265->SetBinContent(38,31188.25); h_SL2L265->SetBinContent(39,31748.65); h_SL2L265->SetBinContent(40,32834.84); h_SL2L265->SetBinContent(41,29638.53); h_SL2L265->SetBinContent(42,30544.84); h_SL2L265->SetBinContent(43,30005.2); h_SL2L265->SetBinContent(44,28766.8); h_SL2L265->SetBinContent(45,28337.86); h_SL2L265->SetBinContent(46,28213.33); h_SL2L265->SetBinContent(47,28026.54); h_SL2L265->SetBinContent(48,27051.04); h_SL2L265->SetBinContent(49,26373.03); h_SL2L265->SetBinContent(50,25390.62); h_SL2L265->SetBinContent(51,25390.62); h_SL2L265->SetBinContent(52,25542.82); h_SL2L265->SetBinContent(53,25681.19); h_SL2L265->SetBinContent(54,24989.35); h_SL2L265->SetBinContent(55,24802.55); h_SL2L265->SetBinContent(56,21336.42); h_SL2L265->SetBinContent(57,18001.74); h_SL2L265->SetMaximum(80262.01); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,18520.62); h_SL2L366->SetBinContent(2,26179.31); h_SL2L366->SetBinContent(3,30364.96); h_SL2L366->SetBinContent(4,31603.36); h_SL2L366->SetBinContent(5,32405.9); h_SL2L366->SetBinContent(6,32108.4); h_SL2L366->SetBinContent(7,30108.98); h_SL2L366->SetBinContent(8,29202.67); h_SL2L366->SetBinContent(9,29811.49); h_SL2L366->SetBinContent(10,31395.81); h_SL2L366->SetBinContent(11,32433.57); h_SL2L366->SetBinContent(12,32350.55); h_SL2L366->SetBinContent(13,32281.37); h_SL2L366->SetBinContent(14,32419.73); h_SL2L366->SetBinContent(15,32468.16); h_SL2L366->SetBinContent(16,33007.8); h_SL2L366->SetBinContent(17,32371.3); h_SL2L366->SetBinContent(18,32973.21); h_SL2L366->SetBinContent(19,32834.84); h_SL2L366->SetBinContent(20,32066.89); h_SL2L366->SetBinContent(21,32288.28); h_SL2L366->SetBinContent(22,32502.75); h_SL2L366->SetBinContent(23,32129.16); h_SL2L366->SetBinContent(24,32246.77); h_SL2L366->SetBinContent(25,32170.67); h_SL2L366->SetBinContent(26,31464.99); h_SL2L366->SetBinContent(27,32136.08); h_SL2L366->SetBinContent(28,31036.05); h_SL2L366->SetBinContent(29,31215.93); h_SL2L366->SetBinContent(30,30067.47); h_SL2L366->SetBinContent(31,30503.33); h_SL2L366->SetBinContent(32,30219.67); h_SL2L366->SetBinContent(33,29929.1); h_SL2L366->SetBinContent(34,30821.58); h_SL2L366->SetBinContent(35,28704.54); h_SL2L366->SetBinContent(36,29922.18); h_SL2L366->SetBinContent(37,30067.47); h_SL2L366->SetBinContent(38,29915.26); h_SL2L366->SetBinContent(39,29721.55); h_SL2L366->SetBinContent(40,30046.71); h_SL2L366->SetBinContent(41,29112.73); h_SL2L366->SetBinContent(42,29680.04); h_SL2L366->SetBinContent(43,28151.07); h_SL2L366->SetBinContent(44,27978.11); h_SL2L366->SetBinContent(45,27376.2); h_SL2L366->SetBinContent(46,27881.25); h_SL2L366->SetBinContent(47,27334.69); h_SL2L366->SetBinContent(48,25369.86); h_SL2L366->SetBinContent(49,24684.94); h_SL2L366->SetBinContent(50,24781.79); h_SL2L366->SetBinContent(51,24691.85); h_SL2L366->SetBinContent(52,23820.13); h_SL2L366->SetBinContent(53,25044.69); h_SL2L366->SetBinContent(54,24166.05); h_SL2L366->SetBinContent(55,23405.03); h_SL2L366->SetBinContent(56,19281.65); h_SL2L366->SetBinContent(57,15345.06); h_SL2L366->SetMaximum(80262.01); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,22886.14); h_SL2L467->SetBinContent(3,27189.4); h_SL2L467->SetBinContent(4,30378.8); h_SL2L467->SetBinContent(5,32066.89); h_SL2L467->SetBinContent(6,30766.23); h_SL2L467->SetBinContent(7,29804.57); h_SL2L467->SetBinContent(8,28192.58); h_SL2L467->SetBinContent(9,28531.58); h_SL2L467->SetBinContent(10,30053.63); h_SL2L467->SetBinContent(11,30579.43); h_SL2L467->SetBinContent(12,32246.77); h_SL2L467->SetBinContent(13,31333.54); h_SL2L467->SetBinContent(14,31970.04); h_SL2L467->SetBinContent(15,32350.55); h_SL2L467->SetBinContent(16,30551.76); h_SL2L467->SetBinContent(17,31132.91); h_SL2L467->SetBinContent(18,31561.85); h_SL2L467->SetBinContent(19,31976.96); h_SL2L467->SetBinContent(20,31707.13); h_SL2L467->SetBinContent(21,31174.42); h_SL2L467->SetBinContent(22,30863.09); h_SL2L467->SetBinContent(23,30634.78); h_SL2L467->SetBinContent(24,30939.19); h_SL2L467->SetBinContent(25,31188.25); h_SL2L467->SetBinContent(26,29825.32); h_SL2L467->SetBinContent(27,31354.3); h_SL2L467->SetBinContent(28,30544.84); h_SL2L467->SetBinContent(29,30399.55); h_SL2L467->SetBinContent(30,30074.39); h_SL2L467->SetBinContent(31,29216.5); h_SL2L467->SetBinContent(32,28953.6); h_SL2L467->SetBinContent(33,29334.12); h_SL2L467->SetBinContent(34,29043.54); h_SL2L467->SetBinContent(35,28566.17); h_SL2L467->SetBinContent(36,28891.34); h_SL2L467->SetBinContent(37,28247.92); h_SL2L467->SetBinContent(38,29216.5); h_SL2L467->SetBinContent(39,28988.2); h_SL2L467->SetBinContent(40,28047.29); h_SL2L467->SetBinContent(41,27749.8); h_SL2L467->SetBinContent(42,28725.29); h_SL2L467->SetBinContent(43,28642.27); h_SL2L467->SetBinContent(44,27085.63); h_SL2L467->SetBinContent(45,27127.14); h_SL2L467->SetBinContent(46,27763.63); h_SL2L467->SetBinContent(47,26878.08); h_SL2L467->SetBinContent(48,25757.29); h_SL2L467->SetBinContent(49,25293.76); h_SL2L467->SetBinContent(50,23494.97); h_SL2L467->SetBinContent(51,23730.19); h_SL2L467->SetBinContent(52,23626.42); h_SL2L467->SetBinContent(53,24110.71); h_SL2L467->SetBinContent(54,24913.24); h_SL2L467->SetBinContent(55,22906.9); h_SL2L467->SetBinContent(56,21765.36); h_SL2L467->SetBinContent(57,15587.21); h_SL2L467->SetMaximum(80262.01); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7359"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }