void RatesPerCell_Removing_noisy_cells_run_6740_SL2() { //=========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,-14095.26,67.5,126857.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6740",60,0,60); h_SL2L164->SetBinContent(1,34126.4); h_SL2L164->SetBinContent(2,41713.78); h_SL2L164->SetBinContent(3,49963.22); h_SL2L164->SetBinContent(4,51514.32); h_SL2L164->SetBinContent(5,50465.54); h_SL2L164->SetBinContent(6,46854.7); h_SL2L164->SetBinContent(7,41705.38); h_SL2L164->SetBinContent(8,41066.44); h_SL2L164->SetBinContent(9,46362.89); h_SL2L164->SetBinContent(10,47296.07); h_SL2L164->SetBinContent(11,47506.25); h_SL2L164->SetBinContent(12,46436.45); h_SL2L164->SetBinContent(13,46537.34); h_SL2L164->SetBinContent(14,46098.07); h_SL2L164->SetBinContent(15,45850.06); h_SL2L164->SetBinContent(16,43639); h_SL2L164->SetBinContent(17,42083.69); h_SL2L164->SetBinContent(18,42316.99); h_SL2L164->SetBinContent(19,40620.86); h_SL2L164->SetBinContent(20,37329.49); h_SL2L164->SetBinContent(21,34826.29); h_SL2L164->SetBinContent(22,32108.7); h_SL2L164->SetBinContent(23,31438.24); h_SL2L164->SetBinContent(24,29632.82); h_SL2L164->SetBinContent(25,31955.27); h_SL2L164->SetBinContent(26,48527.71); h_SL2L164->SetBinContent(27,61430.46); h_SL2L164->SetBinContent(28,67718.95); h_SL2L164->SetBinContent(29,70547.93); h_SL2L164->SetBinContent(30,67935.43); h_SL2L164->SetBinContent(31,66117.41); h_SL2L164->SetBinContent(32,66426.36); h_SL2L164->SetBinContent(33,64572.61); h_SL2L164->SetBinContent(34,44223.29); h_SL2L164->SetBinContent(35,2.101768); h_SL2L164->SetBinContent(36,20599.42); h_SL2L164->SetBinContent(37,21889.91); h_SL2L164->SetBinContent(38,20458.61); h_SL2L164->SetBinContent(39,20984.05); h_SL2L164->SetBinContent(40,85264.51); h_SL2L164->SetBinContent(41,62323.71); h_SL2L164->SetBinContent(42,22627.63); h_SL2L164->SetBinContent(43,22194.67); h_SL2L164->SetBinContent(44,22448.98); h_SL2L164->SetBinContent(45,16664.91); h_SL2L164->SetBinContent(46,15891.46); h_SL2L164->SetBinContent(47,16194.12); h_SL2L164->SetBinContent(48,16473.65); h_SL2L164->SetBinContent(49,16906.62); h_SL2L164->SetBinContent(50,16351.75); h_SL2L164->SetBinContent(51,18100.42); h_SL2L164->SetBinContent(52,19998.32); h_SL2L164->SetBinContent(53,21036.59); h_SL2L164->SetBinContent(54,22896.66); h_SL2L164->SetBinContent(55,23165.68); h_SL2L164->SetBinContent(56,19121.88); h_SL2L164->SetBinContent(57,23518.78); h_SL2L164->SetMaximum(112762.1); 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,27089.68); h_SL2L265->SetBinContent(2,39761.24); h_SL2L265->SetBinContent(3,43678.93); h_SL2L265->SetBinContent(4,49887.55); h_SL2L265->SetBinContent(5,49315.88); h_SL2L265->SetBinContent(6,46762.23); h_SL2L265->SetBinContent(7,42491.43); h_SL2L265->SetBinContent(8,37638.45); h_SL2L265->SetBinContent(9,43115.66); h_SL2L265->SetBinContent(10,44939.99); h_SL2L265->SetBinContent(11,46182.14); h_SL2L265->SetBinContent(12,45110.24); h_SL2L265->SetBinContent(13,45347.74); h_SL2L265->SetBinContent(14,44500.72); h_SL2L265->SetBinContent(15,44017.32); h_SL2L265->SetBinContent(16,43197.63); h_SL2L265->SetBinContent(17,41051.72); h_SL2L265->SetBinContent(18,40650.29); h_SL2L265->SetBinContent(19,40250.95); h_SL2L265->SetBinContent(20,37266.44); h_SL2L265->SetBinContent(21,35622.86); h_SL2L265->SetBinContent(22,32245.32); h_SL2L265->SetBinContent(23,29935.47); h_SL2L265->SetBinContent(24,29727.4); h_SL2L265->SetBinContent(25,27957.71); h_SL2L265->SetBinContent(26,39212.68); h_SL2L265->SetBinContent(27,54641.75); h_SL2L265->SetBinContent(28,64440.19); h_SL2L265->SetBinContent(29,68116.19); h_SL2L265->SetBinContent(30,69146.05); h_SL2L265->SetBinContent(31,65053.91); h_SL2L265->SetBinContent(32,64906.79); h_SL2L265->SetBinContent(33,65325.04); h_SL2L265->SetBinContent(34,57117.63); h_SL2L265->SetBinContent(35,30387.36); h_SL2L265->SetBinContent(36,20498.54); h_SL2L265->SetBinContent(37,19363.58); h_SL2L265->SetBinContent(38,19445.55); h_SL2L265->SetBinContent(39,19443.45); h_SL2L265->SetBinContent(40,20042.46); h_SL2L265->SetBinContent(41,19145); h_SL2L265->SetBinContent(42,18163.47); h_SL2L265->SetBinContent(43,17209.27); h_SL2L265->SetBinContent(44,17921.77); h_SL2L265->SetBinContent(45,16063.81); h_SL2L265->SetBinContent(46,15483.72); h_SL2L265->SetBinContent(47,15397.55); h_SL2L265->SetBinContent(48,15321.89); h_SL2L265->SetBinContent(49,15836.82); h_SL2L265->SetBinContent(50,16500.98); h_SL2L265->SetBinContent(51,15681.29); h_SL2L265->SetBinContent(52,17995.33); h_SL2L265->SetBinContent(53,19300.53); h_SL2L265->SetBinContent(54,20630.95); h_SL2L265->SetBinContent(55,22314.47); h_SL2L265->SetBinContent(56,19399.31); h_SL2L265->SetBinContent(57,19447.65); h_SL2L265->SetMaximum(98054.18); 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,31864.9); h_SL2L366->SetBinContent(2,38184.91); h_SL2L366->SetBinContent(3,47605.04); h_SL2L366->SetBinContent(4,47651.27); h_SL2L366->SetBinContent(5,46503.71); h_SL2L366->SetBinContent(6,43262.78); h_SL2L366->SetBinContent(7,38527.5); h_SL2L366->SetBinContent(8,38781.82); h_SL2L366->SetBinContent(9,43557.03); h_SL2L366->SetBinContent(10,43863.89); h_SL2L366->SetBinContent(11,44179.15); h_SL2L366->SetBinContent(12,42277.05); h_SL2L366->SetBinContent(13,43332.14); h_SL2L366->SetBinContent(14,42325.39); h_SL2L366->SetBinContent(15,41766.32); h_SL2L366->SetBinContent(16,40976.06); h_SL2L366->SetBinContent(17,39002.5); h_SL2L366->SetBinContent(18,39439.67); h_SL2L366->SetBinContent(19,37382.04); h_SL2L366->SetBinContent(20,34599.3); h_SL2L366->SetBinContent(21,32392.44); h_SL2L366->SetBinContent(22,29464.68); h_SL2L366->SetBinContent(23,28703.84); h_SL2L366->SetBinContent(24,27224.2); h_SL2L366->SetBinContent(25,30290.67); h_SL2L366->SetBinContent(26,46594.09); h_SL2L366->SetBinContent(27,59017.63); h_SL2L366->SetBinContent(28,65762.2); h_SL2L366->SetBinContent(29,68460.88); h_SL2L366->SetBinContent(30,66405.34); h_SL2L366->SetBinContent(31,64618.84); h_SL2L366->SetBinContent(32,65026.59); h_SL2L366->SetBinContent(33,63151.81); h_SL2L366->SetBinContent(34,43000.06); h_SL2L366->SetBinContent(35,22816.79); h_SL2L366->SetBinContent(36,19273.21); h_SL2L366->SetBinContent(37,18611.15); h_SL2L366->SetBinContent(38,18407.28); h_SL2L366->SetBinContent(39,17873.43); h_SL2L366->SetBinContent(40,17900.75); h_SL2L366->SetBinContent(41,16971.77); h_SL2L366->SetBinContent(42,16528.3); h_SL2L366->SetBinContent(43,16343.34); h_SL2L366->SetBinContent(44,16252.97); h_SL2L366->SetBinContent(45,15450.09); h_SL2L366->SetBinContent(46,14701.86); h_SL2L366->SetBinContent(47,15418.57); h_SL2L366->SetBinContent(48,15176.86); h_SL2L366->SetBinContent(49,15710.71); h_SL2L366->SetBinContent(50,15204.19); h_SL2L366->SetBinContent(51,15584.61); h_SL2L366->SetBinContent(52,17511.93); h_SL2L366->SetBinContent(53,18854.96); h_SL2L366->SetBinContent(54,20290.46); h_SL2L366->SetBinContent(55,21385.48); h_SL2L366->SetBinContent(56,17640.13); h_SL2L366->SetBinContent(57,17867.12); h_SL2L366->SetMaximum(98054.18); 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,36701.07); h_SL2L467->SetBinContent(3,41530.93); h_SL2L467->SetBinContent(4,45681.92); h_SL2L467->SetBinContent(5,45137.56); h_SL2L467->SetBinContent(6,42319.09); h_SL2L467->SetBinContent(7,39273.63); h_SL2L467->SetBinContent(8,35231.93); h_SL2L467->SetBinContent(9,41579.27); h_SL2L467->SetBinContent(10,41335.46); h_SL2L467->SetBinContent(11,43048.4); h_SL2L467->SetBinContent(12,41850.39); h_SL2L467->SetBinContent(13,42075.29); h_SL2L467->SetBinContent(14,41528.82); h_SL2L467->SetBinContent(15,40698.62); h_SL2L467->SetBinContent(16,39506.93); h_SL2L467->SetBinContent(17,37983.14); h_SL2L467->SetBinContent(18,38033.59); h_SL2L467->SetBinContent(19,37272.75); h_SL2L467->SetBinContent(20,34323.96); h_SL2L467->SetBinContent(21,32831.71); h_SL2L467->SetBinContent(22,29895.54); h_SL2L467->SetBinContent(23,28378.06); h_SL2L467->SetBinContent(24,26980.39); h_SL2L467->SetBinContent(25,26053.51); h_SL2L467->SetBinContent(26,37396.75); h_SL2L467->SetBinContent(27,52975.05); h_SL2L467->SetBinContent(28,62912.21); h_SL2L467->SetBinContent(29,67212.42); h_SL2L467->SetBinContent(30,68019.5); h_SL2L467->SetBinContent(31,64431.79); h_SL2L467->SetBinContent(32,64154.35); h_SL2L467->SetBinContent(33,64431.79); h_SL2L467->SetBinContent(34,55549.71); h_SL2L467->SetBinContent(35,29349.08); h_SL2L467->SetBinContent(36,19592.68); h_SL2L467->SetBinContent(37,18262.26); h_SL2L467->SetBinContent(38,17783.05); h_SL2L467->SetBinContent(39,17556.06); h_SL2L467->SetBinContent(40,17024.32); h_SL2L467->SetBinContent(41,16767.9); h_SL2L467->SetBinContent(42,16566.13); h_SL2L467->SetBinContent(43,15893.57); h_SL2L467->SetBinContent(44,15717.02); h_SL2L467->SetBinContent(45,15092.79); h_SL2L467->SetBinContent(46,14189.03); h_SL2L467->SetBinContent(47,14527.42); h_SL2L467->SetBinContent(48,14218.46); h_SL2L467->SetBinContent(49,14668.24); h_SL2L467->SetBinContent(50,15620.34); h_SL2L467->SetBinContent(51,14596.78); h_SL2L467->SetBinContent(52,16343.34); h_SL2L467->SetBinContent(53,17711.6); h_SL2L467->SetBinContent(54,18983.16); h_SL2L467->SetBinContent(55,20555.29); h_SL2L467->SetBinContent(56,18567.01); h_SL2L467->SetBinContent(57,17509.83); h_SL2L467->SetMaximum(98054.18); 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.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("SL2, run 6740"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }