void RatesPerCell_Removing_noisy_cells_run_7291_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:36:41 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1578.231,67.5,14204.08); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7291",60,0,60); h_SL2L164->SetBinContent(1,4108.88); h_SL2L164->SetBinContent(2,5165.348); h_SL2L164->SetBinContent(3,6115.46); h_SL2L164->SetBinContent(4,7168.383); h_SL2L164->SetBinContent(5,7983.777); h_SL2L164->SetBinContent(6,8182.308); h_SL2L164->SetBinContent(7,8526.192); h_SL2L164->SetBinContent(8,8380.839); h_SL2L164->SetBinContent(9,8774.355); h_SL2L164->SetBinContent(10,8664.454); h_SL2L164->SetBinContent(11,8777.9); h_SL2L164->SetBinContent(12,8625.457); h_SL2L164->SetBinContent(13,8543.918); h_SL2L164->SetBinContent(14,8646.729); h_SL2L164->SetBinContent(15,8969.341); h_SL2L164->SetBinContent(16,8841.714); h_SL2L164->SetBinContent(17,8696.361); h_SL2L164->SetBinContent(18,8923.254); h_SL2L164->SetBinContent(19,8784.991); h_SL2L164->SetBinContent(20,8512.011); h_SL2L164->SetBinContent(21,8731.813); h_SL2L164->SetBinContent(22,8870.076); h_SL2L164->SetBinContent(23,9210.414); h_SL2L164->SetBinContent(24,8639.638); h_SL2L164->SetBinContent(25,8901.982); h_SL2L164->SetBinContent(26,9128.875); h_SL2L164->SetBinContent(27,9306.135); h_SL2L164->SetBinContent(28,9547.208); h_SL2L164->SetBinContent(29,9107.604); h_SL2L164->SetBinContent(30,9174.963); h_SL2L164->SetBinContent(31,8717.633); h_SL2L164->SetBinContent(32,8898.438); h_SL2L164->SetBinContent(33,8884.257); h_SL2L164->SetBinContent(34,8462.379); h_SL2L164->SetBinContent(35,3.545194); h_SL2L164->SetBinContent(36,8660.909); h_SL2L164->SetBinContent(37,9093.423); h_SL2L164->SetBinContent(38,8568.734); h_SL2L164->SetBinContent(39,8976.432); h_SL2L164->SetBinContent(40,7927.054); h_SL2L164->SetBinContent(41,7934.145); h_SL2L164->SetBinContent(42,8845.26); h_SL2L164->SetBinContent(43,8905.527); h_SL2L164->SetBinContent(44,8827.533); h_SL2L164->SetBinContent(45,8777.9); h_SL2L164->SetBinContent(46,8983.522); h_SL2L164->SetBinContent(47,8806.263); h_SL2L164->SetBinContent(48,8760.175); h_SL2L164->SetBinContent(49,8451.743); h_SL2L164->SetBinContent(50,8792.081); h_SL2L164->SetBinContent(51,8962.251); h_SL2L164->SetBinContent(52,8582.915); h_SL2L164->SetBinContent(53,7902.238); h_SL2L164->SetBinContent(54,7221.561); h_SL2L164->SetBinContent(55,5516.322); h_SL2L164->SetBinContent(56,4282.595); h_SL2L164->SetBinContent(57,1928.586); h_SL2L164->SetMaximum(12625.85); 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,2389.461); h_SL2L265->SetBinContent(2,4498.852); h_SL2L265->SetBinContent(3,6097.734); h_SL2L265->SetBinContent(4,7182.563); h_SL2L265->SetBinContent(5,7753.34); h_SL2L265->SetBinContent(6,8327.661); h_SL2L265->SetBinContent(7,8231.94); h_SL2L265->SetBinContent(8,8597.096); h_SL2L265->SetBinContent(9,8210.67); h_SL2L265->SetBinContent(10,8699.906); h_SL2L265->SetBinContent(11,8749.539); h_SL2L265->SetBinContent(12,8455.288); h_SL2L265->SetBinContent(13,8373.749); h_SL2L265->SetBinContent(14,8685.726); h_SL2L265->SetBinContent(15,8958.706); h_SL2L265->SetBinContent(16,8515.557); h_SL2L265->SetBinContent(17,8678.636); h_SL2L265->SetBinContent(18,8972.887); h_SL2L265->SetBinContent(19,8668); h_SL2L265->SetBinContent(20,8675.09); h_SL2L265->SetBinContent(21,8455.288); h_SL2L265->SetBinContent(22,8901.982); h_SL2L265->SetBinContent(23,8859.44); h_SL2L265->SetBinContent(24,8905.527); h_SL2L265->SetBinContent(25,8735.358); h_SL2L265->SetBinContent(26,9061.517); h_SL2L265->SetBinContent(27,9288.408); h_SL2L265->SetBinContent(28,8979.977); h_SL2L265->SetBinContent(29,9373.493); h_SL2L265->SetBinContent(30,8880.711); h_SL2L265->SetBinContent(31,9082.787); h_SL2L265->SetBinContent(32,8760.175); h_SL2L265->SetBinContent(33,8781.446); h_SL2L265->SetBinContent(34,9022.52); h_SL2L265->SetBinContent(35,7168.383); h_SL2L265->SetBinContent(36,7249.922); h_SL2L265->SetBinContent(37,8689.271); h_SL2L265->SetBinContent(38,8749.539); h_SL2L265->SetBinContent(39,8689.271); h_SL2L265->SetBinContent(40,8561.644); h_SL2L265->SetBinContent(41,8143.311); h_SL2L265->SetBinContent(42,8664.454); h_SL2L265->SetBinContent(43,8618.367); h_SL2L265->SetBinContent(44,8901.982); h_SL2L265->SetBinContent(45,8731.813); h_SL2L265->SetBinContent(46,8919.708); h_SL2L265->SetBinContent(47,8940.979); h_SL2L265->SetBinContent(48,8802.717); h_SL2L265->SetBinContent(49,8540.373); h_SL2L265->SetBinContent(50,8543.918); h_SL2L265->SetBinContent(51,8834.624); h_SL2L265->SetBinContent(52,8689.271); h_SL2L265->SetBinContent(53,8409.2); h_SL2L265->SetBinContent(54,7827.789); h_SL2L265->SetBinContent(55,7047.846); h_SL2L265->SetBinContent(56,5122.806); h_SL2L265->SetBinContent(57,3449.474); h_SL2L265->SetMaximum(10979.29); 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,2960.237); h_SL2L366->SetBinContent(2,5204.345); h_SL2L366->SetBinContent(3,7093.934); h_SL2L366->SetBinContent(4,7643.438); h_SL2L366->SetBinContent(5,8122.04); h_SL2L366->SetBinContent(6,8636.093); h_SL2L366->SetBinContent(7,8224.851); h_SL2L366->SetBinContent(8,8590.006); h_SL2L366->SetBinContent(9,8345.387); h_SL2L366->SetBinContent(10,8675.09); h_SL2L366->SetBinContent(11,8770.811); h_SL2L366->SetBinContent(12,8611.276); h_SL2L366->SetBinContent(13,8703.451); h_SL2L366->SetBinContent(14,8894.893); h_SL2L366->SetBinContent(15,8948.07); h_SL2L366->SetBinContent(16,8348.933); h_SL2L366->SetBinContent(17,8643.184); h_SL2L366->SetBinContent(18,9352.222); h_SL2L366->SetBinContent(19,8444.652); h_SL2L366->SetBinContent(20,8214.215); h_SL2L366->SetBinContent(21,8731.813); h_SL2L366->SetBinContent(22,8781.446); h_SL2L366->SetBinContent(23,8770.811); h_SL2L366->SetBinContent(24,8590.006); h_SL2L366->SetBinContent(25,9089.878); h_SL2L366->SetBinContent(26,9057.971); h_SL2L366->SetBinContent(27,9033.154); h_SL2L366->SetBinContent(28,9153.691); h_SL2L366->SetBinContent(29,9213.96); h_SL2L366->SetBinContent(30,9054.426); h_SL2L366->SetBinContent(31,9015.429); h_SL2L366->SetBinContent(32,8710.542); h_SL2L366->SetBinContent(33,8448.197); h_SL2L366->SetBinContent(34,8203.579); h_SL2L366->SetBinContent(35,7540.628); h_SL2L366->SetBinContent(36,7817.153); h_SL2L366->SetBinContent(37,8689.271); h_SL2L366->SetBinContent(38,8706.997); h_SL2L366->SetBinContent(39,8781.446); h_SL2L366->SetBinContent(40,8196.489); h_SL2L366->SetBinContent(41,8359.567); h_SL2L366->SetBinContent(42,8426.927); h_SL2L366->SetBinContent(43,8831.079); h_SL2L366->SetBinContent(44,8763.72); h_SL2L366->SetBinContent(45,8838.169); h_SL2L366->SetBinContent(46,8792.081); h_SL2L366->SetBinContent(47,8781.446); h_SL2L366->SetBinContent(48,8650.273); h_SL2L366->SetBinContent(49,8469.469); h_SL2L366->SetBinContent(50,8660.909); h_SL2L366->SetBinContent(51,8519.102); h_SL2L366->SetBinContent(52,8526.192); h_SL2L366->SetBinContent(53,8217.76); h_SL2L366->SetBinContent(54,7781.701); h_SL2L366->SetBinContent(55,6519.612); h_SL2L366->SetBinContent(56,4069.883); h_SL2L366->SetBinContent(57,2800.703); h_SL2L366->SetMaximum(10979.29); 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,3853.626); h_SL2L467->SetBinContent(3,6728.778); h_SL2L467->SetBinContent(4,7927.054); h_SL2L467->SetBinContent(5,8352.478); h_SL2L467->SetBinContent(6,8281.573); h_SL2L467->SetBinContent(7,8465.924); h_SL2L467->SetBinContent(8,8246.122); h_SL2L467->SetBinContent(9,8458.833); h_SL2L467->SetBinContent(10,8288.664); h_SL2L467->SetBinContent(11,8905.527); h_SL2L467->SetBinContent(12,8742.449); h_SL2L467->SetBinContent(13,8682.181); h_SL2L467->SetBinContent(14,8955.16); h_SL2L467->SetBinContent(15,8990.612); h_SL2L467->SetBinContent(16,8632.548); h_SL2L467->SetBinContent(17,8561.644); h_SL2L467->SetBinContent(18,9018.974); h_SL2L467->SetBinContent(19,8994.157); h_SL2L467->SetBinContent(20,8352.478); h_SL2L467->SetBinContent(21,8714.087); h_SL2L467->SetBinContent(22,8965.796); h_SL2L467->SetBinContent(23,8699.906); h_SL2L467->SetBinContent(24,8753.084); h_SL2L467->SetBinContent(25,8916.163); h_SL2L467->SetBinContent(26,9281.318); h_SL2L467->SetBinContent(27,9107.604); h_SL2L467->SetBinContent(28,8866.53); h_SL2L467->SetBinContent(29,9366.403); h_SL2L467->SetBinContent(30,9281.318); h_SL2L467->SetBinContent(31,8912.618); h_SL2L467->SetBinContent(32,8820.443); h_SL2L467->SetBinContent(33,8788.536); h_SL2L467->SetBinContent(34,7983.777); h_SL2L467->SetBinContent(35,8260.303); h_SL2L467->SetBinContent(36,7973.142); h_SL2L467->SetBinContent(37,8100.769); h_SL2L467->SetBinContent(38,8660.909); h_SL2L467->SetBinContent(39,8692.816); h_SL2L467->SetBinContent(40,8579.37); h_SL2L467->SetBinContent(41,8660.909); h_SL2L467->SetBinContent(42,8582.915); h_SL2L467->SetBinContent(43,8515.557); h_SL2L467->SetBinContent(44,8767.265); h_SL2L467->SetBinContent(45,8653.819); h_SL2L467->SetBinContent(46,8884.257); h_SL2L467->SetBinContent(47,8905.527); h_SL2L467->SetBinContent(48,8714.087); h_SL2L467->SetBinContent(49,8614.822); h_SL2L467->SetBinContent(50,8710.542); h_SL2L467->SetBinContent(51,8547.463); h_SL2L467->SetBinContent(52,8781.446); h_SL2L467->SetBinContent(53,8643.184); h_SL2L467->SetBinContent(54,8675.09); h_SL2L467->SetBinContent(55,7544.173); h_SL2L467->SetBinContent(56,5580.136); h_SL2L467->SetBinContent(57,2499.362); h_SL2L467->SetMaximum(10979.29); 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.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("SL2, run 7291"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }