void RatesPerCell_Removing_noisy_cells_run_6701_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:45:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19360.83,67.5,174247.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6701",60,0,60); h_SL1L160->SetBinContent(1,53016.23); h_SL1L160->SetBinContent(2,52614.88); h_SL1L160->SetBinContent(3,55825.67); h_SL1L160->SetBinContent(4,52117.98); h_SL1L160->SetBinContent(5,50837.48); h_SL1L160->SetBinContent(6,53054.46); h_SL1L160->SetBinContent(7,49805.44); h_SL1L160->SetBinContent(8,49805.44); h_SL1L160->SetBinContent(9,46996); h_SL1L160->SetBinContent(10,40325.97); h_SL1L160->SetBinContent(11,42638.5); h_SL1L160->SetBinContent(12,43766.1); h_SL1L160->SetBinContent(13,44301.23); h_SL1L160->SetBinContent(14,44931.93); h_SL1L160->SetBinContent(15,43230.97); h_SL1L160->SetBinContent(16,41358.01); h_SL1L160->SetBinContent(17,43097.19); h_SL1L160->SetBinContent(18,43574.98); h_SL1L160->SetBinContent(19,46824); h_SL1L160->SetBinContent(20,43383.87); h_SL1L160->SetBinContent(21,49308.54); h_SL1L160->SetBinContent(22,48372.05); h_SL1L160->SetBinContent(23,48486.73); h_SL1L160->SetBinContent(24,43919); h_SL1L160->SetBinContent(25,44071.89); h_SL1L160->SetBinContent(26,43536.76); h_SL1L160->SetBinContent(27,43479.43); h_SL1L160->SetBinContent(28,42867.85); h_SL1L160->SetBinContent(29,43039.85); h_SL1L160->SetBinContent(30,43345.64); h_SL1L160->SetBinContent(31,38701.47); h_SL1L160->SetBinContent(32,41033.11); h_SL1L160->SetBinContent(33,57794.19); h_SL1L160->SetBinContent(34,69375.96); h_SL1L160->SetBinContent(35,75701.98); h_SL1L160->SetBinContent(36,73160.11); h_SL1L160->SetBinContent(37,79505.23); h_SL1L160->SetBinContent(38,78989.22); h_SL1L160->SetBinContent(39,60947.64); h_SL1L160->SetBinContent(40,39465.94); h_SL1L160->SetBinContent(41,37038.74); h_SL1L160->SetBinContent(42,38032.55); h_SL1L160->SetBinContent(43,36369.82); h_SL1L160->SetBinContent(44,36752.06); h_SL1L160->SetBinContent(45,33713.28); h_SL1L160->SetBinContent(46,31419.86); h_SL1L160->SetBinContent(47,31610.98); h_SL1L160->SetBinContent(48,28285.52); h_SL1L160->SetBinContent(49,30999.4); h_SL1L160->SetBinContent(50,33120.81); h_SL1L160->SetBinContent(51,30024.69); h_SL1L160->SetBinContent(52,30770.05); h_SL1L160->SetBinContent(53,29814.46); h_SL1L160->SetBinContent(54,29222); h_SL1L160->SetBinContent(55,33139.92); h_SL1L160->SetBinContent(56,32910.58); h_SL1L160->SetBinContent(57,35204); h_SL1L160->SetBinContent(58,35165.78); h_SL1L160->SetBinContent(59,37669.43); h_SL1L160->SetMaximum(154886.6); 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,60011.16); h_SL1L261->SetBinContent(2,54545.18); h_SL1L261->SetBinContent(3,55997.68); h_SL1L261->SetBinContent(4,56743.04); h_SL1L261->SetBinContent(5,55825.67); h_SL1L261->SetBinContent(6,60718.3); h_SL1L261->SetBinContent(7,59476.03); h_SL1L261->SetBinContent(8,59246.69); h_SL1L261->SetBinContent(9,56246.13); h_SL1L261->SetBinContent(10,50302.35); h_SL1L261->SetBinContent(11,49404.09); h_SL1L261->SetBinContent(12,49614.32); h_SL1L261->SetBinContent(13,52882.45); h_SL1L261->SetBinContent(14,56666.59); h_SL1L261->SetBinContent(15,55653.66); h_SL1L261->SetBinContent(16,54946.53); h_SL1L261->SetBinContent(17,52978.01); h_SL1L261->SetBinContent(18,55347.88); h_SL1L261->SetBinContent(19,56360.8); h_SL1L261->SetBinContent(20,58252.88); h_SL1L261->SetBinContent(21,60240.5); h_SL1L261->SetBinContent(22,62744.16); h_SL1L261->SetBinContent(23,61788.56); h_SL1L261->SetBinContent(24,62591.26); h_SL1L261->SetBinContent(25,64349.55); h_SL1L261->SetBinContent(26,60947.64); h_SL1L261->SetBinContent(27,58520.44); h_SL1L261->SetBinContent(28,58845.34); h_SL1L261->SetBinContent(29,58463.11); h_SL1L261->SetBinContent(30,60660.96); h_SL1L261->SetBinContent(31,59972.94); h_SL1L261->SetBinContent(32,57985.31); h_SL1L261->SetBinContent(33,68191.03); h_SL1L261->SetBinContent(34,100165.1); h_SL1L261->SetBinContent(35,110237.1); h_SL1L261->SetBinContent(36,114002.1); h_SL1L261->SetBinContent(37,117117.3); h_SL1L261->SetBinContent(38,117098.2); h_SL1L261->SetBinContent(39,102496.8); h_SL1L261->SetBinContent(40,65954.95); h_SL1L261->SetBinContent(41,56131.46); h_SL1L261->SetBinContent(42,50397.91); h_SL1L261->SetBinContent(43,48486.73); h_SL1L261->SetBinContent(44,49117.42); h_SL1L261->SetBinContent(45,49384.98); h_SL1L261->SetBinContent(46,48696.96); h_SL1L261->SetBinContent(47,50092.12); h_SL1L261->SetBinContent(48,48028.04); h_SL1L261->SetBinContent(49,61215.21); h_SL1L261->SetBinContent(50,46021.3); h_SL1L261->SetBinContent(51,43326.53); h_SL1L261->SetBinContent(52,41300.68); h_SL1L261->SetBinContent(53,43192.75); h_SL1L261->SetBinContent(54,42753.18); h_SL1L261->SetBinContent(55,44110.12); h_SL1L261->SetBinContent(56,49365.87); h_SL1L261->SetBinContent(57,43919); h_SL1L261->SetBinContent(58,41396.23); h_SL1L261->SetBinContent(59,41205.12); h_SL1L261->SetMaximum(134684.9); 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,57259.06); h_SL1L362->SetBinContent(2,55118.54); h_SL1L362->SetBinContent(3,54698.07); h_SL1L362->SetBinContent(4,54296.72); h_SL1L362->SetBinContent(5,59036.46); h_SL1L362->SetBinContent(6,58329.32); h_SL1L362->SetBinContent(7,56399.03); h_SL1L362->SetBinContent(8,55214.09); h_SL1L362->SetBinContent(9,52614.88); h_SL1L362->SetBinContent(10,48677.84); h_SL1L362->SetBinContent(11,48028.04); h_SL1L362->SetBinContent(12,50168.57); h_SL1L362->SetBinContent(13,51793.07); h_SL1L362->SetBinContent(14,53207.35); h_SL1L362->SetBinContent(15,52117.98); h_SL1L362->SetBinContent(16,49671.66); h_SL1L362->SetBinContent(17,52003.3); h_SL1L362->SetBinContent(18,52385.54); h_SL1L362->SetBinContent(19,55768.34); h_SL1L362->SetBinContent(20,54583.4); h_SL1L362->SetBinContent(21,58883.57); h_SL1L362->SetBinContent(22,58998.23); h_SL1L362->SetBinContent(23,60297.84); h_SL1L362->SetBinContent(24,60125.84); h_SL1L362->SetBinContent(25,60355.18); h_SL1L362->SetBinContent(26,56303.47); h_SL1L362->SetBinContent(27,55940.34); h_SL1L362->SetBinContent(28,56418.14); h_SL1L362->SetBinContent(29,58482.21); h_SL1L362->SetBinContent(30,58807.12); h_SL1L362->SetBinContent(31,54889.19); h_SL1L362->SetBinContent(32,58157.32); h_SL1L362->SetBinContent(33,85506.35); h_SL1L362->SetBinContent(34,104924); h_SL1L362->SetBinContent(35,109205); h_SL1L362->SetBinContent(36,114632.8); h_SL1L362->SetBinContent(37,116524.9); h_SL1L362->SetBinContent(38,109357.9); h_SL1L362->SetBinContent(39,82219.12); h_SL1L362->SetBinContent(40,54048.27); h_SL1L362->SetBinContent(41,51315.28); h_SL1L362->SetBinContent(42,49270.31); h_SL1L362->SetBinContent(43,47454.69); h_SL1L362->SetBinContent(44,48200.05); h_SL1L362->SetBinContent(45,46212.42); h_SL1L362->SetBinContent(46,47015.12); h_SL1L362->SetBinContent(47,48888.07); h_SL1L362->SetBinContent(48,44970.15); h_SL1L362->SetBinContent(49,45696.4); h_SL1L362->SetBinContent(50,45696.4); h_SL1L362->SetBinContent(51,40765.55); h_SL1L362->SetBinContent(52,42218.04); h_SL1L362->SetBinContent(53,45467.05); h_SL1L362->SetBinContent(54,40994.89); h_SL1L362->SetBinContent(55,43804.33); h_SL1L362->SetBinContent(56,47015.12); h_SL1L362->SetBinContent(57,42619.39); h_SL1L362->SetBinContent(58,41606.46); h_SL1L362->SetBinContent(59,40001.07); h_SL1L362->SetMaximum(134684.9); 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,50952.15); h_SL1L463->SetBinContent(3,52939.79); h_SL1L463->SetBinContent(4,51945.97); h_SL1L463->SetBinContent(5,48926.3); h_SL1L463->SetBinContent(6,54105.61); h_SL1L463->SetBinContent(7,49805.44); h_SL1L463->SetBinContent(8,52060.64); h_SL1L463->SetBinContent(9,52289.98); h_SL1L463->SetBinContent(10,46097.75); h_SL1L463->SetBinContent(11,46881.33); h_SL1L463->SetBinContent(12,46824); h_SL1L463->SetBinContent(13,48238.27); h_SL1L463->SetBinContent(14,52366.43); h_SL1L463->SetBinContent(15,51888.63); h_SL1L463->SetBinContent(16,48524.95); h_SL1L463->SetBinContent(17,47798.7); h_SL1L463->SetBinContent(18,52022.42); h_SL1L463->SetBinContent(19,51582.84); h_SL1L463->SetBinContent(20,55061.2); h_SL1L463->SetBinContent(21,52882.45); h_SL1L463->SetBinContent(22,55577.22); h_SL1L463->SetBinContent(23,54640.74); h_SL1L463->SetBinContent(24,56074.12); h_SL1L463->SetBinContent(25,54010.05); h_SL1L463->SetBinContent(26,52117.98); h_SL1L463->SetBinContent(27,51965.08); h_SL1L463->SetBinContent(28,52289.98); h_SL1L463->SetBinContent(29,51659.29); h_SL1L463->SetBinContent(30,52882.45); h_SL1L463->SetBinContent(31,51582.84); h_SL1L463->SetBinContent(32,50837.48); h_SL1L463->SetBinContent(33,56150.57); h_SL1L463->SetBinContent(34,86614.84); h_SL1L463->SetBinContent(35,100318); h_SL1L463->SetBinContent(36,99668.22); h_SL1L463->SetBinContent(37,96591.22); h_SL1L463->SetBinContent(38,98693.52); h_SL1L463->SetBinContent(39,90054.97); h_SL1L463->SetBinContent(40,57048.83); h_SL1L463->SetBinContent(41,43536.76); h_SL1L463->SetBinContent(42,42581.17); h_SL1L463->SetBinContent(43,42944.29); h_SL1L463->SetBinContent(44,41587.36); h_SL1L463->SetBinContent(45,37917.88); h_SL1L463->SetBinContent(46,38816.14); h_SL1L463->SetBinContent(47,40058.41); h_SL1L463->SetBinContent(48,37306.3); h_SL1L463->SetBinContent(49,34191.07); h_SL1L463->SetBinContent(50,38223.67); h_SL1L463->SetBinContent(51,36293.38); h_SL1L463->SetBinContent(52,33923.51); h_SL1L463->SetBinContent(53,34898.21); h_SL1L463->SetBinContent(54,34554.2); h_SL1L463->SetBinContent(55,38.22367); h_SL1L463->SetBinContent(56,36025.81); h_SL1L463->SetBinContent(57,37153.41); h_SL1L463->SetBinContent(58,37936.99); h_SL1L463->SetBinContent(59,37573.87); h_SL1L463->SetMaximum(134684.9); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6701"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }