void RatesPerCell_Removing_noisy_cells_run_6882_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:13:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-38983.85,67.5,350854.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6882",60,0,60); h_SL1L160->SetBinContent(1,19334.07); h_SL1L160->SetBinContent(2,18800.87); h_SL1L160->SetBinContent(3,18471.41); h_SL1L160->SetBinContent(4,18007.57); h_SL1L160->SetBinContent(5,17834.17); h_SL1L160->SetBinContent(6,19598.51); h_SL1L160->SetBinContent(7,19295.06); h_SL1L160->SetBinContent(8,18254.66); h_SL1L160->SetBinContent(9,16975.84); h_SL1L160->SetBinContent(10,15762.04); h_SL1L160->SetBinContent(11,16026.47); h_SL1L160->SetBinContent(12,16793.77); h_SL1L160->SetBinContent(13,17270.62); h_SL1L160->SetBinContent(14,17808.16); h_SL1L160->SetBinContent(15,17561.06); h_SL1L160->SetBinContent(16,16182.53); h_SL1L160->SetBinContent(17,16884.8); h_SL1L160->SetBinContent(18,18423.73); h_SL1L160->SetBinContent(19,18974.27); h_SL1L160->SetBinContent(20,18961.27); h_SL1L160->SetBinContent(21,19529.15); h_SL1L160->SetBinContent(22,19186.69); h_SL1L160->SetBinContent(23,19620.18); h_SL1L160->SetBinContent(24,19360.08); h_SL1L160->SetBinContent(25,19238.71); h_SL1L160->SetBinContent(26,18657.82); h_SL1L160->SetBinContent(27,17786.48); h_SL1L160->SetBinContent(28,19754.57); h_SL1L160->SetBinContent(29,18930.92); h_SL1L160->SetBinContent(30,20383.14); h_SL1L160->SetBinContent(31,19975.65); h_SL1L160->SetBinContent(32,21605.61); h_SL1L160->SetBinContent(33,46947.99); h_SL1L160->SetBinContent(34,66126); h_SL1L160->SetBinContent(35,69702.38); h_SL1L160->SetBinContent(36,70031.84); h_SL1L160->SetBinContent(37,76946.15); h_SL1L160->SetBinContent(38,89968.47); h_SL1L160->SetBinContent(39,49709.38); h_SL1L160->SetBinContent(40,21783.35); h_SL1L160->SetBinContent(41,18935.26); h_SL1L160->SetBinContent(42,18705.5); h_SL1L160->SetBinContent(43,17669.44); h_SL1L160->SetBinContent(44,16806.77); h_SL1L160->SetBinContent(45,16126.18); h_SL1L160->SetBinContent(46,15775.04); h_SL1L160->SetBinContent(47,15801.05); h_SL1L160->SetBinContent(48,14621.94); h_SL1L160->SetBinContent(49,14197.11); h_SL1L160->SetBinContent(50,14374.84); h_SL1L160->SetBinContent(51,13724.59); h_SL1L160->SetBinContent(52,13286.76); h_SL1L160->SetBinContent(53,14405.19); h_SL1L160->SetBinContent(54,13724.59); h_SL1L160->SetBinContent(55,14491.89); h_SL1L160->SetBinContent(56,13815.63); h_SL1L160->SetBinContent(57,14682.63); h_SL1L160->SetBinContent(58,14106.07); h_SL1L160->SetBinContent(59,14652.28); h_SL1L160->SetMaximum(311870.8); 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,19667.87); h_SL1L261->SetBinContent(2,18636.14); h_SL1L261->SetBinContent(3,18250.33); h_SL1L261->SetBinContent(4,19481.46); h_SL1L261->SetBinContent(5,17938.21); h_SL1L261->SetBinContent(6,19529.15); h_SL1L261->SetBinContent(7,19247.38); h_SL1L261->SetBinContent(8,19312.4); h_SL1L261->SetBinContent(9,20682.26); h_SL1L261->SetBinContent(10,16381.94); h_SL1L261->SetBinContent(11,16030.81); h_SL1L261->SetBinContent(12,16143.52); h_SL1L261->SetBinContent(13,17331.31); h_SL1L261->SetBinContent(14,18493.09); h_SL1L261->SetBinContent(15,18328.36); h_SL1L261->SetBinContent(16,18172.3); h_SL1L261->SetBinContent(17,17968.55); h_SL1L261->SetBinContent(18,18402.05); h_SL1L261->SetBinContent(19,19286.39); h_SL1L261->SetBinContent(20,19433.78); h_SL1L261->SetBinContent(21,20478.51); h_SL1L261->SetBinContent(22,21115.76); h_SL1L261->SetBinContent(23,20799.3); h_SL1L261->SetBinContent(24,21232.8); h_SL1L261->SetBinContent(25,21935.07); h_SL1L261->SetBinContent(26,20495.85); h_SL1L261->SetBinContent(27,20378.81); h_SL1L261->SetBinContent(28,22039.11); h_SL1L261->SetBinContent(29,21605.61); h_SL1L261->SetBinContent(30,21458.22); h_SL1L261->SetBinContent(31,22017.44); h_SL1L261->SetBinContent(32,23369.96); h_SL1L261->SetBinContent(33,35304.2); h_SL1L261->SetBinContent(34,68401.88); h_SL1L261->SetBinContent(35,77292.95); h_SL1L261->SetBinContent(36,81090.41); h_SL1L261->SetBinContent(37,85091.6); h_SL1L261->SetBinContent(38,82481.94); h_SL1L261->SetBinContent(39,71562.09); h_SL1L261->SetBinContent(40,34151.09); h_SL1L261->SetBinContent(41,23738.43); h_SL1L261->SetBinContent(42,19204.03); h_SL1L261->SetBinContent(43,18631.8); h_SL1L261->SetBinContent(44,17942.54); h_SL1L261->SetBinContent(45,18076.93); h_SL1L261->SetBinContent(46,17769.14); h_SL1L261->SetBinContent(47,17977.22); h_SL1L261->SetBinContent(48,17192.59); h_SL1L261->SetBinContent(49,235819.4); h_SL1L261->SetBinContent(50,16186.87); h_SL1L261->SetBinContent(51,15974.45); h_SL1L261->SetBinContent(52,47177.74); h_SL1L261->SetBinContent(53,58843.21); h_SL1L261->SetBinContent(54,15844.4); h_SL1L261->SetBinContent(55,15983.12); h_SL1L261->SetBinContent(56,189235.5); h_SL1L261->SetBinContent(57,27371.15); h_SL1L261->SetBinContent(58,15211.5); h_SL1L261->SetBinContent(59,14041.05); h_SL1L261->SetMaximum(271192.3); 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,10568.72); h_SL1L362->SetBinContent(2,10169.9); h_SL1L362->SetBinContent(3,10273.94); h_SL1L362->SetBinContent(4,10629.41); h_SL1L362->SetBinContent(5,9961.817); h_SL1L362->SetBinContent(6,11023.89); h_SL1L362->SetBinContent(7,10469.01); h_SL1L362->SetBinContent(8,10495.02); h_SL1L362->SetBinContent(9,9918.467); h_SL1L362->SetBinContent(10,8956.099); h_SL1L362->SetBinContent(11,8813.043); h_SL1L362->SetBinContent(12,9207.528); h_SL1L362->SetBinContent(13,9818.762); h_SL1L362->SetBinContent(14,9701.717); h_SL1L362->SetBinContent(15,9901.127); h_SL1L362->SetBinContent(16,9784.082); h_SL1L362->SetBinContent(17,9463.293); h_SL1L362->SetBinContent(18,9736.397); h_SL1L362->SetBinContent(19,10464.68); h_SL1L362->SetBinContent(20,10078.86); h_SL1L362->SetBinContent(21,11249.31); h_SL1L362->SetBinContent(22,10399.65); h_SL1L362->SetBinContent(23,11435.71); h_SL1L362->SetBinContent(24,11028.23); h_SL1L362->SetBinContent(25,10460.34); h_SL1L362->SetBinContent(26,9328.908); h_SL1L362->SetBinContent(27,10416.99); h_SL1L362->SetBinContent(28,9879.452); h_SL1L362->SetBinContent(29,11548.42); h_SL1L362->SetBinContent(30,10373.64); h_SL1L362->SetBinContent(31,11114.93); h_SL1L362->SetBinContent(32,10980.54); h_SL1L362->SetBinContent(33,19026.29); h_SL1L362->SetBinContent(34,27184.75); h_SL1L362->SetBinContent(35,29525.65); h_SL1L362->SetBinContent(36,29339.24); h_SL1L362->SetBinContent(37,30605.06); h_SL1L362->SetBinContent(38,27934.7); h_SL1L362->SetBinContent(39,22823.74); h_SL1L362->SetBinContent(40,10282.61); h_SL1L362->SetBinContent(41,9701.717); h_SL1L362->SetBinContent(42,10503.69); h_SL1L362->SetBinContent(43,10681.43); h_SL1L362->SetBinContent(44,9888.122); h_SL1L362->SetBinContent(45,9840.438); h_SL1L362->SetBinContent(46,9320.237); h_SL1L362->SetBinContent(47,9879.452); h_SL1L362->SetBinContent(48,8604.964); h_SL1L362->SetBinContent(49,17292.29); h_SL1L362->SetBinContent(50,8865.063); h_SL1L362->SetBinContent(51,8323.189); h_SL1L362->SetBinContent(52,8357.869); h_SL1L362->SetBinContent(53,130366.3); h_SL1L362->SetBinContent(54,7703.285); h_SL1L362->SetBinContent(55,7820.33); h_SL1L362->SetBinContent(56,181488.9); h_SL1L362->SetBinContent(57,58496.41); h_SL1L362->SetBinContent(58,7447.52); h_SL1L362->SetBinContent(59,7365.155); h_SL1L362->SetMaximum(271192.3); 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,17014.85); h_SL1L463->SetBinContent(3,16295.24); h_SL1L463->SetBinContent(4,16533.67); h_SL1L463->SetBinContent(5,16455.64); h_SL1L463->SetBinContent(6,17574.07); h_SL1L463->SetBinContent(7,17105.89); h_SL1L463->SetBinContent(8,16624.7); h_SL1L463->SetBinContent(9,15892.09); h_SL1L463->SetBinContent(10,14751.99); h_SL1L463->SetBinContent(11,14630.61); h_SL1L463->SetBinContent(12,14838.69); h_SL1L463->SetBinContent(13,15389.23); h_SL1L463->SetBinContent(14,16603.03); h_SL1L463->SetBinContent(15,16694.06); h_SL1L463->SetBinContent(16,16039.48); h_SL1L463->SetBinContent(17,15588.64); h_SL1L463->SetBinContent(18,15809.72); h_SL1L463->SetBinContent(19,16312.58); h_SL1L463->SetBinContent(20,17287.96); h_SL1L463->SetBinContent(21,16936.82); h_SL1L463->SetBinContent(22,18224.32); h_SL1L463->SetBinContent(23,17964.22); h_SL1L463->SetBinContent(24,18154.96); h_SL1L463->SetBinContent(25,17543.72); h_SL1L463->SetBinContent(26,17881.85); h_SL1L463->SetBinContent(27,17851.51); h_SL1L463->SetBinContent(28,17166.58); h_SL1L463->SetBinContent(29,17439.68); h_SL1L463->SetBinContent(30,18423.73); h_SL1L463->SetBinContent(31,20513.19); h_SL1L463->SetBinContent(32,19377.42); h_SL1L463->SetBinContent(33,28402.88); h_SL1L463->SetBinContent(34,60750.61); h_SL1L463->SetBinContent(35,91620.1); h_SL1L463->SetBinContent(36,70057.84); h_SL1L463->SetBinContent(37,69216.85); h_SL1L463->SetBinContent(38,70036.17); h_SL1L463->SetBinContent(39,68497.24); h_SL1L463->SetBinContent(40,27960.71); h_SL1L463->SetBinContent(41,17920.87); h_SL1L463->SetBinContent(42,17023.52); h_SL1L463->SetBinContent(43,17790.82); h_SL1L463->SetBinContent(44,15762.04); h_SL1L463->SetBinContent(45,13941.34); h_SL1L463->SetBinContent(46,15185.49); h_SL1L463->SetBinContent(47,14444.2); h_SL1L463->SetBinContent(48,13308.43); h_SL1L463->SetBinContent(49,12922.62); h_SL1L463->SetBinContent(50,12866.26); h_SL1L463->SetBinContent(51,12242.02); h_SL1L463->SetBinContent(52,12020.94); h_SL1L463->SetBinContent(53,11947.24); h_SL1L463->SetBinContent(54,12549.81); h_SL1L463->SetBinContent(56,12575.82); h_SL1L463->SetBinContent(57,12484.78); h_SL1L463->SetBinContent(58,12939.96); h_SL1L463->SetBinContent(59,13039.66); h_SL1L463->SetMaximum(271192.3); 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 6882"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }