void RatesPerCell_Removing_noisy_cells_run_6693_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:55:50 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14076.58,67.5,126689.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6693",60,0,60); h_SL1L160->SetBinContent(1,19905.49); h_SL1L160->SetBinContent(2,19445.79); h_SL1L160->SetBinContent(3,19456.95); h_SL1L160->SetBinContent(4,18943.69); h_SL1L160->SetBinContent(5,18477.29); h_SL1L160->SetBinContent(6,19981.36); h_SL1L160->SetBinContent(7,18816.49); h_SL1L160->SetBinContent(8,18736.15); h_SL1L160->SetBinContent(9,17283.41); h_SL1L160->SetBinContent(10,15960.1); h_SL1L160->SetBinContent(11,15986.88); h_SL1L160->SetBinContent(12,16578.24); h_SL1L160->SetBinContent(13,17669.47); h_SL1L160->SetBinContent(14,17258.86); h_SL1L160->SetBinContent(15,16899.58); h_SL1L160->SetBinContent(16,16250.2); h_SL1L160->SetBinContent(17,16627.33); h_SL1L160->SetBinContent(18,17220.93); h_SL1L160->SetBinContent(19,18658.05); h_SL1L160->SetBinContent(20,18303.23); h_SL1L160->SetBinContent(21,19157.92); h_SL1L160->SetBinContent(22,19218.17); h_SL1L160->SetBinContent(23,19122.21); h_SL1L160->SetBinContent(24,18242.98); h_SL1L160->SetBinContent(25,18604.49); h_SL1L160->SetBinContent(26,18111.32); h_SL1L160->SetBinContent(27,17872.54); h_SL1L160->SetBinContent(28,18515.23); h_SL1L160->SetBinContent(29,18385.8); h_SL1L160->SetBinContent(30,18334.47); h_SL1L160->SetBinContent(31,18678.13); h_SL1L160->SetBinContent(32,20021.53); h_SL1L160->SetBinContent(33,41382); h_SL1L160->SetBinContent(34,56596.75); h_SL1L160->SetBinContent(35,59745.48); h_SL1L160->SetBinContent(36,61407.99); h_SL1L160->SetBinContent(37,66962.34); h_SL1L160->SetBinContent(38,64449.6); h_SL1L160->SetBinContent(39,44390.13); h_SL1L160->SetBinContent(40,20025.99); h_SL1L160->SetBinContent(41,17223.16); h_SL1L160->SetBinContent(42,16241.27); h_SL1L160->SetBinContent(43,16049.36); h_SL1L160->SetBinContent(44,16319.38); h_SL1L160->SetBinContent(45,15225.91); h_SL1L160->SetBinContent(46,14489.5); h_SL1L160->SetBinContent(47,14223.95); h_SL1L160->SetBinContent(48,13134.95); h_SL1L160->SetBinContent(49,13898.14); h_SL1L160->SetBinContent(50,14047.65); h_SL1L160->SetBinContent(51,12782.36); h_SL1L160->SetBinContent(52,12728.8); h_SL1L160->SetBinContent(53,12998.82); h_SL1L160->SetBinContent(54,13054.61); h_SL1L160->SetBinContent(55,13545.55); h_SL1L160->SetBinContent(56,13105.93); h_SL1L160->SetBinContent(57,14154.77); h_SL1L160->SetBinContent(58,13884.75); h_SL1L160->SetBinContent(59,13556.71); h_SL1L160->SetMaximum(112612.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,20313.87); h_SL1L261->SetBinContent(2,19724.73); h_SL1L261->SetBinContent(3,19691.26); h_SL1L261->SetBinContent(4,19800.61); h_SL1L261->SetBinContent(5,19675.64); h_SL1L261->SetBinContent(6,21081.52); h_SL1L261->SetBinContent(7,20412.05); h_SL1L261->SetBinContent(8,20615.12); h_SL1L261->SetBinContent(9,19651.09); h_SL1L261->SetBinContent(10,17977.42); h_SL1L261->SetBinContent(11,16939.75); h_SL1L261->SetBinContent(12,17624.84); h_SL1L261->SetBinContent(13,18524.16); h_SL1L261->SetBinContent(14,19443.56); h_SL1L261->SetBinContent(15,19695.72); h_SL1L261->SetBinContent(16,19360.99); h_SL1L261->SetBinContent(17,18323.32); h_SL1L261->SetBinContent(18,19425.71); h_SL1L261->SetBinContent(19,20204.52); h_SL1L261->SetBinContent(20,20744.55); h_SL1L261->SetBinContent(21,21144); h_SL1L261->SetBinContent(22,21791.16); h_SL1L261->SetBinContent(23,22150.44); h_SL1L261->SetBinContent(24,22503.02); h_SL1L261->SetBinContent(25,22719.48); h_SL1L261->SetBinContent(26,21701.89); h_SL1L261->SetBinContent(27,21380.55); h_SL1L261->SetBinContent(28,22228.54); h_SL1L261->SetBinContent(29,22679.31); h_SL1L261->SetBinContent(30,22750.72); h_SL1L261->SetBinContent(31,23226.05); h_SL1L261->SetBinContent(32,24301.66); h_SL1L261->SetBinContent(33,35642.43); h_SL1L261->SetBinContent(34,68488.72); h_SL1L261->SetBinContent(35,76484.39); h_SL1L261->SetBinContent(36,80688.64); h_SL1L261->SetBinContent(37,84477.83); h_SL1L261->SetBinContent(38,83018.39); h_SL1L261->SetBinContent(39,71010.38); h_SL1L261->SetBinContent(40,34783.28); h_SL1L261->SetBinContent(41,24060.65); h_SL1L261->SetBinContent(42,20188.9); h_SL1L261->SetBinContent(43,19747.05); h_SL1L261->SetBinContent(44,18832.11); h_SL1L261->SetBinContent(45,18265.29); h_SL1L261->SetBinContent(46,18747.31); h_SL1L261->SetBinContent(47,18571.02); h_SL1L261->SetBinContent(48,17678.4); h_SL1L261->SetBinContent(49,30605.81); h_SL1L261->SetBinContent(50,17424); h_SL1L261->SetBinContent(51,16517.99); h_SL1L261->SetBinContent(52,16087.29); h_SL1L261->SetBinContent(53,16513.52); h_SL1L261->SetBinContent(54,16243.5); h_SL1L261->SetBinContent(55,16301.52); h_SL1L261->SetBinContent(56,20179.97); h_SL1L261->SetBinContent(57,15667.76); h_SL1L261->SetBinContent(58,15591.89); h_SL1L261->SetBinContent(59,14357.84); h_SL1L261->SetMaximum(97924.52); 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,19345.37); h_SL1L362->SetBinContent(2,19407.85); h_SL1L362->SetBinContent(3,19537.28); h_SL1L362->SetBinContent(4,18771.86); h_SL1L362->SetBinContent(5,19597.54); h_SL1L362->SetBinContent(6,20235.76); h_SL1L362->SetBinContent(7,19965.74); h_SL1L362->SetBinContent(8,19715.81); h_SL1L362->SetBinContent(9,17872.54); h_SL1L362->SetBinContent(10,16734.45); h_SL1L362->SetBinContent(11,16928.59); h_SL1L362->SetBinContent(12,17330.27); h_SL1L362->SetBinContent(13,18385.8); h_SL1L362->SetBinContent(14,18666.97); h_SL1L362->SetBinContent(15,19008.4); h_SL1L362->SetBinContent(16,18620.11); h_SL1L362->SetBinContent(17,18702.68); h_SL1L362->SetBinContent(18,18818.72); h_SL1L362->SetBinContent(19,20057.24); h_SL1L362->SetBinContent(20,20222.37); h_SL1L362->SetBinContent(21,21175.25); h_SL1L362->SetBinContent(22,21492.13); h_SL1L362->SetBinContent(23,21302.45); h_SL1L362->SetBinContent(24,22043.32); h_SL1L362->SetBinContent(25,21925.05); h_SL1L362->SetBinContent(26,20458.92); h_SL1L362->SetBinContent(27,20601.74); h_SL1L362->SetBinContent(28,21139.54); h_SL1L362->SetBinContent(29,21909.43); h_SL1L362->SetBinContent(30,21904.96); h_SL1L362->SetBinContent(31,22469.55); h_SL1L362->SetBinContent(32,24984.51); h_SL1L362->SetBinContent(33,54304.94); h_SL1L362->SetBinContent(34,73295.49); h_SL1L362->SetBinContent(35,77475.2); h_SL1L362->SetBinContent(36,83016.16); h_SL1L362->SetBinContent(37,85151.76); h_SL1L362->SetBinContent(38,78604.37); h_SL1L362->SetBinContent(39,54545.95); h_SL1L362->SetBinContent(40,24676.56); h_SL1L362->SetBinContent(41,20838.28); h_SL1L362->SetBinContent(42,19604.23); h_SL1L362->SetBinContent(43,18479.53); h_SL1L362->SetBinContent(44,18042.14); h_SL1L362->SetBinContent(45,18124.71); h_SL1L362->SetBinContent(46,18562.09); h_SL1L362->SetBinContent(47,17883.7); h_SL1L362->SetBinContent(48,17051.33); h_SL1L362->SetBinContent(49,16754.53); h_SL1L362->SetBinContent(50,16348.39); h_SL1L362->SetBinContent(51,15623.13); h_SL1L362->SetBinContent(52,15578.5); h_SL1L362->SetBinContent(53,18604.49); h_SL1L362->SetBinContent(54,15422.29); h_SL1L362->SetBinContent(55,15578.5); h_SL1L362->SetBinContent(56,20101.87); h_SL1L362->SetBinContent(57,15029.54); h_SL1L362->SetBinContent(58,14991.6); h_SL1L362->SetBinContent(59,13933.84); h_SL1L362->SetMaximum(97924.52); 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,4233.264); h_SL1L463->SetBinContent(3,3898.53); h_SL1L463->SetBinContent(4,3588.344); h_SL1L463->SetBinContent(5,3461.145); h_SL1L463->SetBinContent(6,3523.629); h_SL1L463->SetBinContent(7,3887.373); h_SL1L463->SetBinContent(8,3635.207); h_SL1L463->SetBinContent(9,3916.383); h_SL1L463->SetBinContent(10,3644.133); h_SL1L463->SetBinContent(11,4001.182); h_SL1L463->SetBinContent(12,3809.268); h_SL1L463->SetBinContent(13,4161.854); h_SL1L463->SetBinContent(14,4349.305); h_SL1L463->SetBinContent(15,4237.727); h_SL1L463->SetBinContent(16,3869.52); h_SL1L463->SetBinContent(17,3320.557); h_SL1L463->SetBinContent(18,2947.887); h_SL1L463->SetBinContent(19,3191.127); h_SL1L463->SetBinContent(20,3258.073); h_SL1L463->SetBinContent(21,3106.328); h_SL1L463->SetBinContent(22,3311.631); h_SL1L463->SetBinContent(23,3291.547); h_SL1L463->SetBinContent(24,3108.559); h_SL1L463->SetBinContent(25,2577.448); h_SL1L463->SetBinContent(26,3034.918); h_SL1L463->SetBinContent(27,2818.457); h_SL1L463->SetBinContent(28,2952.35); h_SL1L463->SetBinContent(29,2802.836); h_SL1L463->SetBinContent(30,2744.815); h_SL1L463->SetBinContent(31,3304.936); h_SL1L463->SetBinContent(32,2740.352); h_SL1L463->SetBinContent(33,2936.729); h_SL1L463->SetBinContent(34,5009.846); h_SL1L463->SetBinContent(35,7665.399); h_SL1L463->SetBinContent(36,6344.317); h_SL1L463->SetBinContent(37,5119.192); h_SL1L463->SetBinContent(38,5585.587); h_SL1L463->SetBinContent(39,6824.102); h_SL1L463->SetBinContent(40,3182.2); h_SL1L463->SetBinContent(41,2918.877); h_SL1L463->SetBinContent(42,2836.309); h_SL1L463->SetBinContent(43,3137.569); h_SL1L463->SetBinContent(44,3273.694); h_SL1L463->SetBinContent(45,2635.469); h_SL1L463->SetBinContent(46,3010.371); h_SL1L463->SetBinContent(47,2702.416); h_SL1L463->SetBinContent(48,2289.578); h_SL1L463->SetBinContent(49,2119.979); h_SL1L463->SetBinContent(50,2289.578); h_SL1L463->SetBinContent(51,2113.285); h_SL1L463->SetBinContent(52,2108.822); h_SL1L463->SetBinContent(53,1852.192); h_SL1L463->SetBinContent(54,1899.055); h_SL1L463->SetBinContent(56,1970.465); h_SL1L463->SetBinContent(57,1762.93); h_SL1L463->SetBinContent(58,2367.682); h_SL1L463->SetBinContent(59,2499.344); h_SL1L463->SetMaximum(97924.52); 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 6693"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }