void RatesPerCell_Removing_noisy_cells_run_6722_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16556.12,67.5,149005.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 6722",60,0,60); h_SL3L168->SetBinContent(1,28945.31); h_SL3L168->SetBinContent(2,20535.23); h_SL3L168->SetBinContent(4,34003.73); h_SL3L168->SetBinContent(5,34851.74); h_SL3L168->SetBinContent(6,37516.91); h_SL3L168->SetBinContent(7,36760.43); h_SL3L168->SetBinContent(8,36483.14); h_SL3L168->SetBinContent(9,34983.65); h_SL3L168->SetBinContent(10,31465.1); h_SL3L168->SetBinContent(11,31198.58); h_SL3L168->SetBinContent(12,31645.47); h_SL3L168->SetBinContent(13,32972.67); h_SL3L168->SetBinContent(14,34870.59); h_SL3L168->SetBinContent(15,34464.08); h_SL3L168->SetBinContent(16,34383.32); h_SL3L168->SetBinContent(17,33562.23); h_SL3L168->SetBinContent(18,34030.66); h_SL3L168->SetBinContent(19,35796.66); h_SL3L168->SetBinContent(20,36407.77); h_SL3L168->SetBinContent(21,36504.68); h_SL3L168->SetBinContent(22,38677.2); h_SL3L168->SetBinContent(23,38553.36); h_SL3L168->SetBinContent(24,38892.56); h_SL3L168->SetBinContent(25,39495.59); h_SL3L168->SetBinContent(26,39406.75); h_SL3L168->SetBinContent(27,38421.45); h_SL3L168->SetBinContent(28,37018.87); h_SL3L168->SetBinContent(29,36868.11); h_SL3L168->SetBinContent(30,38604.51); h_SL3L168->SetBinContent(31,38582.97); h_SL3L168->SetBinContent(32,38504.9); h_SL3L168->SetBinContent(33,41048.92); h_SL3L168->SetBinContent(34,67654.8); h_SL3L168->SetBinContent(35,86728.23); h_SL3L168->SetBinContent(36,91759.74); h_SL3L168->SetBinContent(37,97348.52); h_SL3L168->SetBinContent(38,100151); h_SL3L168->SetBinContent(39,92535.06); h_SL3L168->SetBinContent(40,69894.62); h_SL3L168->SetBinContent(41,38133.39); h_SL3L168->SetBinContent(42,33718.38); h_SL3L168->SetBinContent(43,31400.49); h_SL3L168->SetBinContent(44,31093.59); h_SL3L168->SetBinContent(45,30689.78); h_SL3L168->SetBinContent(46,30361.34); h_SL3L168->SetBinContent(47,30269.81); h_SL3L168->SetBinContent(48,30703.24); h_SL3L168->SetBinContent(49,45081.67); h_SL3L168->SetBinContent(50,29039.53); h_SL3L168->SetBinContent(51,28269.59); h_SL3L168->SetBinContent(52,28331.51); h_SL3L168->SetBinContent(53,27216.99); h_SL3L168->SetBinContent(54,26465.89); h_SL3L168->SetBinContent(55,27685.41); h_SL3L168->SetBinContent(56,26605.88); h_SL3L168->SetBinContent(57,26183.23); h_SL3L168->SetBinContent(58,20680.6); h_SL3L168->SetBinContent(59,17692.39); h_SL3L168->SetMaximum(132448.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,30210.59); h_SL3L269->SetBinContent(2,21272.86); h_SL3L269->SetBinContent(4,27591.19); h_SL3L269->SetBinContent(5,33214.95); h_SL3L269->SetBinContent(6,35094.03); h_SL3L269->SetBinContent(7,35715.9); h_SL3L269->SetBinContent(8,34281.02); h_SL3L269->SetBinContent(9,34396.78); h_SL3L269->SetBinContent(10,31591.63); h_SL3L269->SetBinContent(11,30024.83); h_SL3L269->SetBinContent(12,29384.12); h_SL3L269->SetBinContent(13,30474.41); h_SL3L269->SetBinContent(14,31898.52); h_SL3L269->SetBinContent(15,33764.14); h_SL3L269->SetBinContent(16,33053.43); h_SL3L269->SetBinContent(17,32883.83); h_SL3L269->SetBinContent(18,32221.57); h_SL3L269->SetBinContent(19,33303.79); h_SL3L269->SetBinContent(20,34585.23); h_SL3L269->SetBinContent(21,34703.68); h_SL3L269->SetBinContent(22,36095.48); h_SL3L269->SetBinContent(23,36426.61); h_SL3L269->SetBinContent(24,37153.48); h_SL3L269->SetBinContent(25,37245.01); h_SL3L269->SetBinContent(26,37869.57); h_SL3L269->SetBinContent(27,37616.52); h_SL3L269->SetBinContent(28,36119.71); h_SL3L269->SetBinContent(29,35613.6); h_SL3L269->SetBinContent(30,36421.23); h_SL3L269->SetBinContent(31,36644.67); h_SL3L269->SetBinContent(32,36671.59); h_SL3L269->SetBinContent(33,38052.63); h_SL3L269->SetBinContent(34,48258.33); h_SL3L269->SetBinContent(35,79446.14); h_SL3L269->SetBinContent(36,88626.16); h_SL3L269->SetBinContent(37,92432.77); h_SL3L269->SetBinContent(38,98339.2); h_SL3L269->SetBinContent(39,96382.05); h_SL3L269->SetBinContent(40,83225.83); h_SL3L269->SetBinContent(41,47526.08); h_SL3L269->SetBinContent(42,34671.37); h_SL3L269->SetBinContent(43,31050.52); h_SL3L269->SetBinContent(44,30105.6); h_SL3L269->SetBinContent(45,29997.91); h_SL3L269->SetBinContent(46,29332.97); h_SL3L269->SetBinContent(47,28423.04); h_SL3L269->SetBinContent(48,28837.62); h_SL3L269->SetBinContent(49,29478.34); h_SL3L269->SetBinContent(50,27919.62); h_SL3L269->SetBinContent(51,27863.09); h_SL3L269->SetBinContent(52,27685.41); h_SL3L269->SetBinContent(53,27012.39); h_SL3L269->SetBinContent(54,25647.5); h_SL3L269->SetBinContent(55,26051.31); h_SL3L269->SetBinContent(56,26377.06); h_SL3L269->SetBinContent(57,25599.04); h_SL3L269->SetBinContent(58,23337.69); h_SL3L269->SetBinContent(59,19033.05); h_SL3L269->SetMaximum(115173.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,25677.11); h_SL3L370->SetBinContent(2,18944.21); h_SL3L370->SetBinContent(3,23154.63); h_SL3L370->SetBinContent(4,31317.03); h_SL3L370->SetBinContent(5,32140.81); h_SL3L370->SetBinContent(6,33826.06); h_SL3L370->SetBinContent(7,33220.34); h_SL3L370->SetBinContent(8,32803.07); h_SL3L370->SetBinContent(9,30719.39); h_SL3L370->SetBinContent(10,28878); h_SL3L370->SetBinContent(11,28110.76); h_SL3L370->SetBinContent(12,29139.14); h_SL3L370->SetBinContent(13,29680.25); h_SL3L370->SetBinContent(14,31508.17); h_SL3L370->SetBinContent(15,31222.81); h_SL3L370->SetBinContent(16,31570.09); h_SL3L370->SetBinContent(17,30638.63); h_SL3L370->SetBinContent(18,30918.61); h_SL3L370->SetBinContent(19,31632.01); h_SL3L370->SetBinContent(20,32558.09); h_SL3L370->SetBinContent(21,33193.42); h_SL3L370->SetBinContent(22,35131.72); h_SL3L370->SetBinContent(23,34822.13); h_SL3L370->SetBinContent(24,35462.84); h_SL3L370->SetBinContent(25,35866.66); h_SL3L370->SetBinContent(26,36143.94); h_SL3L370->SetBinContent(27,34566.38); h_SL3L370->SetBinContent(28,34100.65); h_SL3L370->SetBinContent(29,34036.04); h_SL3L370->SetBinContent(30,34830.21); h_SL3L370->SetBinContent(31,34851.74); h_SL3L370->SetBinContent(32,35199.02); h_SL3L370->SetBinContent(33,37522.29); h_SL3L370->SetBinContent(34,65328.84); h_SL3L370->SetBinContent(35,83309.29); h_SL3L370->SetBinContent(36,89565.7); h_SL3L370->SetBinContent(37,93668.43); h_SL3L370->SetBinContent(38,96360.52); h_SL3L370->SetBinContent(39,90023.34); h_SL3L370->SetBinContent(40,67146); h_SL3L370->SetBinContent(41,35441.31); h_SL3L370->SetBinContent(42,31282.04); h_SL3L370->SetBinContent(43,28818.78); h_SL3L370->SetBinContent(44,28756.86); h_SL3L370->SetBinContent(45,2191.358); h_SL3L370->SetBinContent(46,27370.44); h_SL3L370->SetBinContent(47,27383.9); h_SL3L370->SetBinContent(48,27855.01); h_SL3L370->SetBinContent(49,27879.24); h_SL3L370->SetBinContent(50,26899.32); h_SL3L370->SetBinContent(51,26333.98); h_SL3L370->SetBinContent(52,25981.32); h_SL3L370->SetBinContent(53,25316.38); h_SL3L370->SetBinContent(54,24274.54); h_SL3L370->SetBinContent(55,24947.56); h_SL3L370->SetBinContent(56,24761.8); h_SL3L370->SetBinContent(57,23738.81); h_SL3L370->SetBinContent(58,19905.28); h_SL3L370->SetBinContent(59,16978.98); h_SL3L370->SetMaximum(115173.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,19315.71); h_SL3L471->SetBinContent(3,20858.28); h_SL3L471->SetBinContent(4,26358.21); h_SL3L471->SetBinContent(5,30030.22); h_SL3L471->SetBinContent(6,31841.99); h_SL3L471->SetBinContent(7,32229.65); h_SL3L471->SetBinContent(8,31131.28); h_SL3L471->SetBinContent(9,31403.18); h_SL3L471->SetBinContent(10,28843.01); h_SL3L471->SetBinContent(11,27424.28); h_SL3L471->SetBinContent(12,26638.19); h_SL3L471->SetBinContent(13,27895.39); h_SL3L471->SetBinContent(14,28805.32); h_SL3L471->SetBinContent(15,29394.88); h_SL3L471->SetBinContent(16,29346.43); h_SL3L471->SetBinContent(17,29381.42); h_SL3L471->SetBinContent(18,28988.38); h_SL3L471->SetBinContent(19,29429.88); h_SL3L471->SetBinContent(20,30724.78); h_SL3L471->SetBinContent(21,31957.75); h_SL3L471->SetBinContent(22,32517.7); h_SL3L471->SetBinContent(23,33004.97); h_SL3L471->SetBinContent(24,33220.34); h_SL3L471->SetBinContent(25,34009.12); h_SL3L471->SetBinContent(26,33707.61); h_SL3L471->SetBinContent(27,33995.66); h_SL3L471->SetBinContent(28,32315.8); h_SL3L471->SetBinContent(29,32447.71); h_SL3L471->SetBinContent(30,32878.44); h_SL3L471->SetBinContent(31,32969.97); h_SL3L471->SetBinContent(32,33408.79); h_SL3L471->SetBinContent(33,35029.42); h_SL3L471->SetBinContent(34,45087.05); h_SL3L471->SetBinContent(35,76912.89); h_SL3L471->SetBinContent(36,85131.83); h_SL3L471->SetBinContent(37,90211.8); h_SL3L471->SetBinContent(38,94721.04); h_SL3L471->SetBinContent(39,92726.2); h_SL3L471->SetBinContent(40,80339.91); h_SL3L471->SetBinContent(41,44672.47); h_SL3L471->SetBinContent(42,31976.59); h_SL3L471->SetBinContent(43,28587.26); h_SL3L471->SetBinContent(44,27351.59); h_SL3L471->SetBinContent(45,26939.7); h_SL3L471->SetBinContent(46,26743.18); h_SL3L471->SetBinContent(47,25555.97); h_SL3L471->SetBinContent(48,26191.3); h_SL3L471->SetBinContent(49,26401.29); h_SL3L471->SetBinContent(50,25644.81); h_SL3L471->SetBinContent(51,25101.01); h_SL3L471->SetBinContent(52,25254.46); h_SL3L471->SetBinContent(53,25014.86); h_SL3L471->SetBinContent(54,23135.79); h_SL3L471->SetBinContent(55,23230.01); h_SL3L471->SetBinContent(56,23884.19); h_SL3L471->SetBinContent(57,22734.66); h_SL3L471->SetBinContent(58,21918.96); h_SL3L471->SetBinContent(59,17409.72); h_SL3L471->SetMaximum(115173.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 6722"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }