void RatesPerCell_Removing_noisy_cells_run_6740_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:58 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15291.12,67.5,137620.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6740",60,0,60); h_SL3L168->SetBinContent(1,20153.85); h_SL3L168->SetBinContent(2,14268.9); h_SL3L168->SetBinContent(4,23382.16); h_SL3L168->SetBinContent(5,24475.08); h_SL3L168->SetBinContent(6,26452.85); h_SL3L168->SetBinContent(7,25603.73); h_SL3L168->SetBinContent(8,25118.22); h_SL3L168->SetBinContent(9,24004.29); h_SL3L168->SetBinContent(10,22461.59); h_SL3L168->SetBinContent(11,21225.75); h_SL3L168->SetBinContent(12,22158.94); h_SL3L168->SetBinContent(13,22478.4); h_SL3L168->SetBinContent(14,24147.21); h_SL3L168->SetBinContent(15,24132.49); h_SL3L168->SetBinContent(16,24601.19); h_SL3L168->SetBinContent(17,23361.15); h_SL3L168->SetBinContent(18,24014.8); h_SL3L168->SetBinContent(19,24603.29); h_SL3L168->SetBinContent(20,25311.59); h_SL3L168->SetBinContent(21,26114.46); h_SL3L168->SetBinContent(22,27123.31); h_SL3L168->SetBinContent(23,26913.13); h_SL3L168->SetBinContent(24,26944.66); h_SL3L168->SetBinContent(25,27642.45); h_SL3L168->SetBinContent(26,27531.05); h_SL3L168->SetBinContent(27,27154.84); h_SL3L168->SetBinContent(28,26339.35); h_SL3L168->SetBinContent(29,26547.43); h_SL3L168->SetBinContent(30,27400.74); h_SL3L168->SetBinContent(31,27663.46); h_SL3L168->SetBinContent(32,28195.21); h_SL3L168->SetBinContent(33,31684.15); h_SL3L168->SetBinContent(34,60713.76); h_SL3L168->SetBinContent(35,78620.82); h_SL3L168->SetBinContent(36,84285.08); h_SL3L168->SetBinContent(37,89051.89); h_SL3L168->SetBinContent(38,92498.79); h_SL3L168->SetBinContent(39,85161.52); h_SL3L168->SetBinContent(40,61283.34); h_SL3L168->SetBinContent(41,30208.71); h_SL3L168->SetBinContent(42,25389.35); h_SL3L168->SetBinContent(43,22875.64); h_SL3L168->SetBinContent(44,23197.21); h_SL3L168->SetBinContent(45,22558.27); h_SL3L168->SetBinContent(46,21658.71); h_SL3L168->SetBinContent(47,21587.25); h_SL3L168->SetBinContent(48,22018.12); h_SL3L168->SetBinContent(49,40971.86); h_SL3L168->SetBinContent(50,21053.41); h_SL3L168->SetBinContent(51,20477.52); h_SL3L168->SetBinContent(52,20530.06); h_SL3L168->SetBinContent(53,19342.57); h_SL3L168->SetBinContent(54,18892.79); h_SL3L168->SetBinContent(55,19725.09); h_SL3L168->SetBinContent(56,18949.54); h_SL3L168->SetBinContent(57,18867.57); h_SL3L168->SetBinContent(58,14956.18); h_SL3L168->SetBinContent(59,12679.96); h_SL3L168->SetMaximum(122328.9); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,20727.63); h_SL3L269->SetBinContent(2,15292.46); h_SL3L269->SetBinContent(4,19418.23); h_SL3L269->SetBinContent(5,23008.05); h_SL3L269->SetBinContent(6,24180.84); h_SL3L269->SetBinContent(7,24288.03); h_SL3L269->SetBinContent(8,24245.99); h_SL3L269->SetBinContent(9,23739.46); h_SL3L269->SetBinContent(10,22112.7); h_SL3L269->SetBinContent(11,20853.74); h_SL3L269->SetBinContent(12,20668.78); h_SL3L269->SetBinContent(13,21108.05); h_SL3L269->SetBinContent(14,22713.8); h_SL3L269->SetBinContent(15,23266.57); h_SL3L269->SetBinContent(16,23058.49); h_SL3L269->SetBinContent(17,22543.56); h_SL3L269->SetBinContent(18,22530.95); h_SL3L269->SetBinContent(19,23121.54); h_SL3L269->SetBinContent(20,24172.43); h_SL3L269->SetBinContent(21,24496.1); h_SL3L269->SetBinContent(22,25444); h_SL3L269->SetBinContent(23,25656.28); h_SL3L269->SetBinContent(24,25925.3); h_SL3L269->SetBinContent(25,26169.11); h_SL3L269->SetBinContent(26,26576.85); h_SL3L269->SetBinContent(27,26324.64); h_SL3L269->SetBinContent(28,25275.86); h_SL3L269->SetBinContent(29,25244.33); h_SL3L269->SetBinContent(30,25792.89); h_SL3L269->SetBinContent(31,26427.62); h_SL3L269->SetBinContent(32,26635.7); h_SL3L269->SetBinContent(33,29065.34); h_SL3L269->SetBinContent(34,40084.91); h_SL3L269->SetBinContent(35,71266.73); h_SL3L269->SetBinContent(36,81493.94); h_SL3L269->SetBinContent(37,84657.09); h_SL3L269->SetBinContent(38,89940.94); h_SL3L269->SetBinContent(39,88610.52); h_SL3L269->SetBinContent(40,76369.83); h_SL3L269->SetBinContent(41,39963.01); h_SL3L269->SetBinContent(42,26520.1); h_SL3L269->SetBinContent(43,23096.32); h_SL3L269->SetBinContent(44,22068.56); h_SL3L269->SetBinContent(45,21925.64); h_SL3L269->SetBinContent(46,20958.83); h_SL3L269->SetBinContent(47,20643.56); h_SL3L269->SetBinContent(48,20933.61); h_SL3L269->SetBinContent(49,23058.49); h_SL3L269->SetBinContent(50,20334.6); h_SL3L269->SetBinContent(51,19617.9); h_SL3L269->SetBinContent(52,20336.7); h_SL3L269->SetBinContent(53,22255.62); h_SL3L269->SetBinContent(54,18384.16); h_SL3L269->SetBinContent(55,18308.5); h_SL3L269->SetBinContent(56,19126.08); h_SL3L269->SetBinContent(57,18405.18); h_SL3L269->SetBinContent(58,16692.24); h_SL3L269->SetBinContent(59,13455.52); h_SL3L269->SetMaximum(106373.6); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,18056.29); h_SL3L370->SetBinContent(2,13800.21); h_SL3L370->SetBinContent(3,15733.83); h_SL3L370->SetBinContent(4,21639.8); h_SL3L370->SetBinContent(5,22486.81); h_SL3L370->SetBinContent(6,24002.19); h_SL3L370->SetBinContent(7,22785.26); h_SL3L370->SetBinContent(8,23136.26); h_SL3L370->SetBinContent(9,21965.57); h_SL3L370->SetBinContent(10,20256.84); h_SL3L370->SetBinContent(11,19735.6); h_SL3L370->SetBinContent(12,19760.82); h_SL3L370->SetBinContent(13,20385.04); h_SL3L370->SetBinContent(14,21644); h_SL3L370->SetBinContent(15,21631.39); h_SL3L370->SetBinContent(16,21950.86); h_SL3L370->SetBinContent(17,20933.61); h_SL3L370->SetBinContent(18,21877.3); h_SL3L370->SetBinContent(19,22572.98); h_SL3L370->SetBinContent(20,22465.79); h_SL3L370->SetBinContent(21,23165.68); h_SL3L370->SetBinContent(22,24378.4); h_SL3L370->SetBinContent(23,24798.76); h_SL3L370->SetBinContent(24,24775.64); h_SL3L370->SetBinContent(25,24615.9); h_SL3L370->SetBinContent(26,24691.56); h_SL3L370->SetBinContent(27,24767.23); h_SL3L370->SetBinContent(28,24439.35); h_SL3L370->SetBinContent(29,24521.32); h_SL3L370->SetBinContent(30,24670.55); h_SL3L370->SetBinContent(31,24788.25); h_SL3L370->SetBinContent(32,25786.59); h_SL3L370->SetBinContent(33,29321.76); h_SL3L370->SetBinContent(34,58107.57); h_SL3L370->SetBinContent(35,75875.91); h_SL3L370->SetBinContent(36,81842.83); h_SL3L370->SetBinContent(37,86069.48); h_SL3L370->SetBinContent(38,88692.49); h_SL3L370->SetBinContent(39,82782.32); h_SL3L370->SetBinContent(40,59248.83); h_SL3L370->SetBinContent(41,27747.54); h_SL3L370->SetBinContent(42,23441.01); h_SL3L370->SetBinContent(43,21404.4); h_SL3L370->SetBinContent(44,21038.69); h_SL3L370->SetBinContent(45,2297.232); h_SL3L370->SetBinContent(46,19678.85); h_SL3L370->SetBinContent(47,19676.75); h_SL3L370->SetBinContent(48,19819.67); h_SL3L370->SetBinContent(49,19575.86); h_SL3L370->SetBinContent(50,19294.23); h_SL3L370->SetBinContent(51,18350.53); h_SL3L370->SetBinContent(52,18890.69); h_SL3L370->SetBinContent(53,18180.29); h_SL3L370->SetBinContent(54,17270.22); h_SL3L370->SetBinContent(55,18121.44); h_SL3L370->SetBinContent(56,17425.75); h_SL3L370->SetBinContent(57,17249.21); h_SL3L370->SetBinContent(58,14535.82); h_SL3L370->SetBinContent(59,12114.59); h_SL3L370->SetMaximum(106373.6); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,13867.46); h_SL3L471->SetBinContent(3,14302.53); h_SL3L471->SetBinContent(4,18352.63); h_SL3L471->SetBinContent(5,20715.02); h_SL3L471->SetBinContent(6,22188.36); h_SL3L471->SetBinContent(7,22514.13); h_SL3L471->SetBinContent(8,21736.48); h_SL3L471->SetBinContent(9,21087.03); h_SL3L471->SetBinContent(10,20059.27); h_SL3L471->SetBinContent(11,18888.58); h_SL3L471->SetBinContent(12,18817.12); h_SL3L471->SetBinContent(13,18819.23); h_SL3L471->SetBinContent(14,20408.16); h_SL3L471->SetBinContent(15,20725.53); h_SL3L471->SetBinContent(16,21110.15); h_SL3L471->SetBinContent(17,21070.22); h_SL3L471->SetBinContent(18,20515.35); h_SL3L471->SetBinContent(19,20664.58); h_SL3L471->SetBinContent(20,21042.9); h_SL3L471->SetBinContent(21,21877.3); h_SL3L471->SetBinContent(22,22274.53); h_SL3L471->SetBinContent(23,23829.84); h_SL3L471->SetBinContent(24,23846.65); h_SL3L471->SetBinContent(25,23373.76); h_SL3L471->SetBinContent(26,24164.02); h_SL3L471->SetBinContent(27,23760.48); h_SL3L471->SetBinContent(28,22793.67); h_SL3L471->SetBinContent(29,22846.21); h_SL3L471->SetBinContent(30,23941.23); h_SL3L471->SetBinContent(31,23865.57); h_SL3L471->SetBinContent(32,24164.02); h_SL3L471->SetBinContent(33,27039.24); h_SL3L471->SetBinContent(34,38035.69); h_SL3L471->SetBinContent(35,69587.42); h_SL3L471->SetBinContent(36,78698.59); h_SL3L471->SetBinContent(37,82496.48); h_SL3L471->SetBinContent(38,87488.17); h_SL3L471->SetBinContent(39,86185.08); h_SL3L471->SetBinContent(40,74345.82); h_SL3L471->SetBinContent(41,37823.41); h_SL3L471->SetBinContent(42,24979.51); h_SL3L471->SetBinContent(43,21198.43); h_SL3L471->SetBinContent(44,20221.11); h_SL3L471->SetBinContent(45,19531.73); h_SL3L471->SetBinContent(46,19504.4); h_SL3L471->SetBinContent(47,18781.39); h_SL3L471->SetBinContent(48,18808.72); h_SL3L471->SetBinContent(49,18827.63); h_SL3L471->SetBinContent(50,18415.69); h_SL3L471->SetBinContent(51,18541.79); h_SL3L471->SetBinContent(52,17770.45); h_SL3L471->SetBinContent(53,17770.45); h_SL3L471->SetBinContent(54,16679.63); h_SL3L471->SetBinContent(55,17049.54); h_SL3L471->SetBinContent(56,16975.98); h_SL3L471->SetBinContent(57,16381.18); h_SL3L471->SetBinContent(58,15387.04); h_SL3L471->SetBinContent(59,12640.03); h_SL3L471->SetMaximum(106373.6); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6740"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }