void RatesPerCell_Removing_noisy_cells_run_7041_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:19:07 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3677.7,67.5,33099.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7041",60,0,60); h_SL2L164->SetBinContent(1,103.4338); h_SL2L164->SetBinContent(2,141.0461); h_SL2L164->SetBinContent(3,108.1354); h_SL2L164->SetBinContent(4,188.0615); h_SL2L164->SetBinContent(5,122.24); h_SL2L164->SetBinContent(6,150.4492); h_SL2L164->SetBinContent(7,277.3907); h_SL2L164->SetBinContent(8,173.9569); h_SL2L164->SetBinContent(9,178.6584); h_SL2L164->SetBinContent(10,211.5692); h_SL2L164->SetBinContent(11,244.4799); h_SL2L164->SetBinContent(12,296.1968); h_SL2L164->SetBinContent(13,329.1076); h_SL2L164->SetBinContent(14,324.4061); h_SL2L164->SetBinContent(15,427.8399); h_SL2L164->SetBinContent(16,470.1537); h_SL2L164->SetBinContent(17,465.4522); h_SL2L164->SetBinContent(18,648.8121); h_SL2L164->SetBinContent(19,761.649); h_SL2L164->SetBinContent(20,818.0674); h_SL2L164->SetBinContent(21,1057.846); h_SL2L164->SetBinContent(22,1433.969); h_SL2L164->SetBinContent(23,1669.046); h_SL2L164->SetBinContent(24,1993.452); h_SL2L164->SetBinContent(25,2369.575); h_SL2L164->SetBinContent(26,3474.436); h_SL2L164->SetBinContent(27,4546.386); h_SL2L164->SetBinContent(28,5491.396); h_SL2L164->SetBinContent(29,6868.946); h_SL2L164->SetBinContent(30,7324.995); h_SL2L164->SetBinContent(31,8143.062); h_SL2L164->SetBinContent(32,8161.869); h_SL2L164->SetBinContent(33,9718.077); h_SL2L164->SetBinContent(34,10578.46); h_SL2L164->SetBinContent(35,18.80615); h_SL2L164->SetBinContent(36,12219.29); h_SL2L164->SetBinContent(37,14377.3); h_SL2L164->SetBinContent(38,15406.94); h_SL2L164->SetBinContent(39,16281.42); h_SL2L164->SetBinContent(40,14795.74); h_SL2L164->SetBinContent(41,16883.22); h_SL2L164->SetBinContent(42,18575.77); h_SL2L164->SetBinContent(43,19643.02); h_SL2L164->SetBinContent(44,20940.65); h_SL2L164->SetBinContent(45,21476.62); h_SL2L164->SetBinContent(46,21006.47); h_SL2L164->SetBinContent(47,20851.32); h_SL2L164->SetBinContent(48,21899.76); h_SL2L164->SetBinContent(49,21838.64); h_SL2L164->SetBinContent(50,21058.19); h_SL2L164->SetBinContent(51,21645.88); h_SL2L164->SetBinContent(52,21109.9); h_SL2L164->SetBinContent(53,20381.16); h_SL2L164->SetBinContent(54,19013.02); h_SL2L164->SetBinContent(55,15115.44); h_SL2L164->SetBinContent(56,11880.78); h_SL2L164->SetBinContent(57,5265.722); h_SL2L164->SetMaximum(29421.6); 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,117.5384); h_SL2L265->SetBinContent(2,159.8523); h_SL2L265->SetBinContent(3,150.4492); h_SL2L265->SetBinContent(4,126.9415); h_SL2L265->SetBinContent(5,169.2553); h_SL2L265->SetBinContent(6,197.4646); h_SL2L265->SetBinContent(7,202.1661); h_SL2L265->SetBinContent(8,211.5692); h_SL2L265->SetBinContent(9,216.2707); h_SL2L265->SetBinContent(10,155.1507); h_SL2L265->SetBinContent(11,291.4953); h_SL2L265->SetBinContent(12,310.3015); h_SL2L265->SetBinContent(13,296.1968); h_SL2L265->SetBinContent(14,338.5107); h_SL2L265->SetBinContent(15,366.7199); h_SL2L265->SetBinContent(16,507.766); h_SL2L265->SetBinContent(17,413.7353); h_SL2L265->SetBinContent(18,695.8275); h_SL2L265->SetBinContent(19,724.0367); h_SL2L265->SetBinContent(20,860.3813); h_SL2L265->SetBinContent(21,888.5905); h_SL2L265->SetBinContent(22,1316.43); h_SL2L265->SetBinContent(23,1532.701); h_SL2L265->SetBinContent(24,1767.778); h_SL2L265->SetBinContent(25,2322.559); h_SL2L265->SetBinContent(26,2943.162); h_SL2L265->SetBinContent(27,3530.854); h_SL2L265->SetBinContent(28,5195.199); h_SL2L265->SetBinContent(29,5806.398); h_SL2L265->SetBinContent(30,6723.198); h_SL2L265->SetBinContent(31,7578.878); h_SL2L265->SetBinContent(32,7884.478); h_SL2L265->SetBinContent(33,8838.89); h_SL2L265->SetBinContent(34,10211.74); h_SL2L265->SetBinContent(35,8749.561); h_SL2L265->SetBinContent(36,9577.031); h_SL2L265->SetBinContent(37,13756.7); h_SL2L265->SetBinContent(38,15073.13); h_SL2L265->SetBinContent(39,15345.82); h_SL2L265->SetBinContent(40,16168.59); h_SL2L265->SetBinContent(41,16779.79); h_SL2L265->SetBinContent(42,17668.38); h_SL2L265->SetBinContent(43,19168.17); h_SL2L265->SetBinContent(44,19755.86); h_SL2L265->SetBinContent(45,20630.35); h_SL2L265->SetBinContent(46,20884.23); h_SL2L265->SetBinContent(47,21048.78); h_SL2L265->SetBinContent(48,21048.78); h_SL2L265->SetBinContent(49,21683.49); h_SL2L265->SetBinContent(50,20771.39); h_SL2L265->SetBinContent(51,21232.14); h_SL2L265->SetBinContent(52,21213.34); h_SL2L265->SetBinContent(53,21175.72); h_SL2L265->SetBinContent(54,20052.06); h_SL2L265->SetBinContent(55,18401.82); h_SL2L265->SetBinContent(56,14132.82); h_SL2L265->SetBinContent(57,8867.099); h_SL2L265->SetMaximum(25584.82); 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,108.1354); h_SL2L366->SetBinContent(2,126.9415); h_SL2L366->SetBinContent(3,169.2553); h_SL2L366->SetBinContent(4,150.4492); h_SL2L366->SetBinContent(5,202.1661); h_SL2L366->SetBinContent(6,173.9569); h_SL2L366->SetBinContent(7,230.3753); h_SL2L366->SetBinContent(8,230.3753); h_SL2L366->SetBinContent(9,183.36); h_SL2L366->SetBinContent(10,183.36); h_SL2L366->SetBinContent(11,263.2861); h_SL2L366->SetBinContent(12,291.4953); h_SL2L366->SetBinContent(13,258.5845); h_SL2L366->SetBinContent(14,352.6153); h_SL2L366->SetBinContent(15,484.2583); h_SL2L366->SetBinContent(16,456.0491); h_SL2L366->SetBinContent(17,535.9752); h_SL2L366->SetBinContent(18,686.4244); h_SL2L366->SetBinContent(19,803.9628); h_SL2L366->SetBinContent(20,709.9321); h_SL2L366->SetBinContent(21,1189.489); h_SL2L366->SetBinContent(22,1339.938); h_SL2L366->SetBinContent(23,1664.344); h_SL2L366->SetBinContent(24,1828.898); h_SL2L366->SetBinContent(25,2886.744); h_SL2L366->SetBinContent(26,3554.362); h_SL2L366->SetBinContent(27,4410.042); h_SL2L366->SetBinContent(28,5402.066); h_SL2L366->SetBinContent(29,6530.435); h_SL2L366->SetBinContent(30,7179.247); h_SL2L366->SetBinContent(31,8232.392); h_SL2L366->SetBinContent(32,8387.542); h_SL2L366->SetBinContent(33,9426.582); h_SL2L366->SetBinContent(34,9713.376); h_SL2L366->SetBinContent(35,10225.84); h_SL2L366->SetBinContent(36,11062.72); h_SL2L366->SetBinContent(37,14316.18); h_SL2L366->SetBinContent(38,15002.61); h_SL2L366->SetBinContent(39,15707.84); h_SL2L366->SetBinContent(40,16808); h_SL2L366->SetBinContent(41,17104.19); h_SL2L366->SetBinContent(42,17861.14); h_SL2L366->SetBinContent(43,19671.23); h_SL2L366->SetBinContent(44,19798.17); h_SL2L366->SetBinContent(45,20630.35); h_SL2L366->SetBinContent(46,21048.78); h_SL2L366->SetBinContent(47,21504.83); h_SL2L366->SetBinContent(48,21213.34); h_SL2L366->SetBinContent(49,21354.38); h_SL2L366->SetBinContent(50,20884.23); h_SL2L366->SetBinContent(51,21269.75); h_SL2L366->SetBinContent(52,21086.39); h_SL2L366->SetBinContent(53,21321.47); h_SL2L366->SetBinContent(54,20367.06); h_SL2L366->SetBinContent(55,17315.76); h_SL2L366->SetBinContent(56,10841.74); h_SL2L366->SetBinContent(57,7480.146); h_SL2L366->SetMaximum(25584.82); 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,141.0461); h_SL2L467->SetBinContent(3,126.9415); h_SL2L467->SetBinContent(4,150.4492); h_SL2L467->SetBinContent(5,141.0461); h_SL2L467->SetBinContent(6,211.5692); h_SL2L467->SetBinContent(7,155.1507); h_SL2L467->SetBinContent(8,183.36); h_SL2L467->SetBinContent(9,225.6738); h_SL2L467->SetBinContent(10,183.36); h_SL2L467->SetBinContent(11,188.0615); h_SL2L467->SetBinContent(12,338.5107); h_SL2L467->SetBinContent(13,263.2861); h_SL2L467->SetBinContent(14,427.8399); h_SL2L467->SetBinContent(15,441.9445); h_SL2L467->SetBinContent(16,394.9291); h_SL2L467->SetBinContent(17,418.4368); h_SL2L467->SetBinContent(18,568.886); h_SL2L467->SetBinContent(19,789.8582); h_SL2L467->SetBinContent(20,766.3505); h_SL2L467->SetBinContent(21,813.3659); h_SL2L467->SetBinContent(22,1250.609); h_SL2L467->SetBinContent(23,1438.67); h_SL2L467->SetBinContent(24,1847.704); h_SL2L467->SetBinContent(25,2256.738); h_SL2L467->SetBinContent(26,3103.014); h_SL2L467->SetBinContent(27,3808.245); h_SL2L467->SetBinContent(28,4635.716); h_SL2L467->SetBinContent(29,5900.429); h_SL2L467->SetBinContent(30,7320.293); h_SL2L467->SetBinContent(31,7813.955); h_SL2L467->SetBinContent(32,8175.973); h_SL2L467->SetBinContent(33,8914.114); h_SL2L467->SetBinContent(34,9506.508); h_SL2L467->SetBinContent(35,10470.32); h_SL2L467->SetBinContent(36,11316.6); h_SL2L467->SetBinContent(37,12247.5); h_SL2L467->SetBinContent(38,14447.82); h_SL2L467->SetBinContent(39,15806.57); h_SL2L467->SetBinContent(40,16718.67); h_SL2L467->SetBinContent(41,17151.21); h_SL2L467->SetBinContent(42,17738.9); h_SL2L467->SetBinContent(43,19266.9); h_SL2L467->SetBinContent(44,19826.38); h_SL2L467->SetBinContent(45,20705.57); h_SL2L467->SetBinContent(46,21725.8); h_SL2L467->SetBinContent(47,21688.19); h_SL2L467->SetBinContent(48,21603.56); h_SL2L467->SetBinContent(49,21641.18); h_SL2L467->SetBinContent(50,21636.47); h_SL2L467->SetBinContent(51,21622.37); h_SL2L467->SetBinContent(52,21829.24); h_SL2L467->SetBinContent(53,21763.42); h_SL2L467->SetBinContent(54,22247.67); h_SL2L467->SetBinContent(55,19920.41); h_SL2L467->SetBinContent(56,15124.84); h_SL2L467->SetBinContent(57,6779.617); h_SL2L467->SetMaximum(25584.82); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 7041"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }