void RatesPerCell_Removing_noisy_cells_run_7296_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:32:46 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7825.463,67.5,70429.16); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7296",60,0,60); h_SL2L164->SetBinContent(1,4074.754); h_SL2L164->SetBinContent(2,4798.695); h_SL2L164->SetBinContent(3,5915.633); h_SL2L164->SetBinContent(4,7309.736); h_SL2L164->SetBinContent(5,7586.902); h_SL2L164->SetBinContent(6,7847.521); h_SL2L164->SetBinContent(7,8108.14); h_SL2L164->SetBinContent(8,8203.286); h_SL2L164->SetBinContent(9,8488.726); h_SL2L164->SetBinContent(10,8426.674); h_SL2L164->SetBinContent(11,8827.944); h_SL2L164->SetBinContent(12,8484.589); h_SL2L164->SetBinContent(13,8575.599); h_SL2L164->SetBinContent(14,8505.273); h_SL2L164->SetBinContent(15,8356.348); h_SL2L164->SetBinContent(16,8443.221); h_SL2L164->SetBinContent(17,8501.137); h_SL2L164->SetBinContent(18,8894.133); h_SL2L164->SetBinContent(19,8712.113); h_SL2L164->SetBinContent(20,8418.4); h_SL2L164->SetBinContent(21,8534.23); h_SL2L164->SetBinContent(22,8720.387); h_SL2L164->SetBinContent(23,8459.769); h_SL2L164->SetBinContent(24,8418.4); h_SL2L164->SetBinContent(25,8542.505); h_SL2L164->SetBinContent(26,8960.322); h_SL2L164->SetBinContent(27,8952.048); h_SL2L164->SetBinContent(28,8600.42); h_SL2L164->SetBinContent(29,8964.459); h_SL2L164->SetBinContent(30,8517.684); h_SL2L164->SetBinContent(31,8505.273); h_SL2L164->SetBinContent(32,8095.729); h_SL2L164->SetBinContent(33,8592.146); h_SL2L164->SetBinContent(34,7963.352); h_SL2L164->SetBinContent(35,4.136806); h_SL2L164->SetBinContent(36,8525.957); h_SL2L164->SetBinContent(37,15575.07); h_SL2L164->SetBinContent(38,11061.82); h_SL2L164->SetBinContent(39,12005.01); h_SL2L164->SetBinContent(40,47337.47); h_SL2L164->SetBinContent(41,14238.89); h_SL2L164->SetBinContent(42,15306.18); h_SL2L164->SetBinContent(43,16108.72); h_SL2L164->SetBinContent(44,15186.21); h_SL2L164->SetBinContent(45,8050.225); h_SL2L164->SetBinContent(46,8472.179); h_SL2L164->SetBinContent(47,8132.96); h_SL2L164->SetBinContent(48,8695.566); h_SL2L164->SetBinContent(49,8046.088); h_SL2L164->SetBinContent(50,8178.465); h_SL2L164->SetBinContent(51,8306.706); h_SL2L164->SetBinContent(52,7992.309); h_SL2L164->SetBinContent(53,7417.293); h_SL2L164->SetBinContent(54,6900.192); h_SL2L164->SetBinContent(55,5204.102); h_SL2L164->SetBinContent(56,4116.122); h_SL2L164->SetBinContent(57,1816.058); h_SL2L164->SetMaximum(62603.7); 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,2159.413); h_SL2L265->SetBinContent(2,4351.92); h_SL2L265->SetBinContent(3,5514.362); h_SL2L265->SetBinContent(4,6970.518); h_SL2L265->SetBinContent(5,7814.427); h_SL2L265->SetBinContent(6,7893.026); h_SL2L265->SetBinContent(7,8025.404); h_SL2L265->SetBinContent(8,8352.211); h_SL2L265->SetBinContent(9,8372.896); h_SL2L265->SetBinContent(10,8265.339); h_SL2L265->SetBinContent(11,8513.547); h_SL2L265->SetBinContent(12,8687.293); h_SL2L265->SetBinContent(13,8592.146); h_SL2L265->SetBinContent(14,8662.472); h_SL2L265->SetBinContent(15,8343.938); h_SL2L265->SetBinContent(16,8261.201); h_SL2L265->SetBinContent(17,8252.928); h_SL2L265->SetBinContent(18,8861.038); h_SL2L265->SetBinContent(19,8881.723); h_SL2L265->SetBinContent(20,8554.915); h_SL2L265->SetBinContent(21,8592.146); h_SL2L265->SetBinContent(22,8534.23); h_SL2L265->SetBinContent(23,8823.808); h_SL2L265->SetBinContent(24,8108.14); h_SL2L265->SetBinContent(25,8716.25); h_SL2L265->SetBinContent(26,8728.661); h_SL2L265->SetBinContent(27,8716.25); h_SL2L265->SetBinContent(28,8968.596); h_SL2L265->SetBinContent(29,8720.387); h_SL2L265->SetBinContent(30,8633.514); h_SL2L265->SetBinContent(31,8472.179); h_SL2L265->SetBinContent(32,8294.296); h_SL2L265->SetBinContent(33,8319.117); h_SL2L265->SetBinContent(34,8476.315); h_SL2L265->SetBinContent(35,7053.254); h_SL2L265->SetBinContent(36,7450.388); h_SL2L265->SetBinContent(37,8861.038); h_SL2L265->SetBinContent(38,8604.557); h_SL2L265->SetBinContent(39,9237.488); h_SL2L265->SetBinContent(40,9928.334); h_SL2L265->SetBinContent(41,7727.554); h_SL2L265->SetBinContent(42,8745.208); h_SL2L265->SetBinContent(43,8352.211); h_SL2L265->SetBinContent(44,8579.735); h_SL2L265->SetBinContent(45,8050.225); h_SL2L265->SetBinContent(46,8108.14); h_SL2L265->SetBinContent(47,8517.684); h_SL2L265->SetBinContent(48,8298.433); h_SL2L265->SetBinContent(49,8211.56); h_SL2L265->SetBinContent(50,8095.729); h_SL2L265->SetBinContent(51,8261.201); h_SL2L265->SetBinContent(52,8174.329); h_SL2L265->SetBinContent(53,8050.225); h_SL2L265->SetBinContent(54,7458.661); h_SL2L265->SetBinContent(55,6532.017); h_SL2L265->SetBinContent(56,5133.776); h_SL2L265->SetBinContent(57,3222.572); h_SL2L265->SetMaximum(54438.09); 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,2738.566); h_SL2L366->SetBinContent(2,4877.294); h_SL2L366->SetBinContent(3,6565.111); h_SL2L366->SetBinContent(4,7698.596); h_SL2L366->SetBinContent(5,7859.932); h_SL2L366->SetBinContent(6,7996.446); h_SL2L366->SetBinContent(7,8223.971); h_SL2L366->SetBinContent(8,8451.495); h_SL2L366->SetBinContent(9,8223.971); h_SL2L366->SetBinContent(10,8434.947); h_SL2L366->SetBinContent(11,8629.377); h_SL2L366->SetBinContent(12,8691.43); h_SL2L366->SetBinContent(13,8335.664); h_SL2L366->SetBinContent(14,8650.062); h_SL2L366->SetBinContent(15,8687.293); h_SL2L366->SetBinContent(16,7893.026); h_SL2L366->SetBinContent(17,8716.25); h_SL2L366->SetBinContent(18,9125.794); h_SL2L366->SetBinContent(19,8439.084); h_SL2L366->SetBinContent(20,8534.23); h_SL2L366->SetBinContent(21,8633.514); h_SL2L366->SetBinContent(22,8774.166); h_SL2L366->SetBinContent(23,8339.801); h_SL2L366->SetBinContent(24,8447.357); h_SL2L366->SetBinContent(25,8592.146); h_SL2L366->SetBinContent(26,8873.449); h_SL2L366->SetBinContent(27,8819.671); h_SL2L366->SetBinContent(28,8720.387); h_SL2L366->SetBinContent(29,8803.123); h_SL2L366->SetBinContent(30,8530.094); h_SL2L366->SetBinContent(31,8314.98); h_SL2L366->SetBinContent(32,8298.433); h_SL2L366->SetBinContent(33,8405.99); h_SL2L366->SetBinContent(34,7653.091); h_SL2L366->SetBinContent(35,7297.326); h_SL2L366->SetBinContent(36,7727.554); h_SL2L366->SetBinContent(37,8290.159); h_SL2L366->SetBinContent(38,8509.41); h_SL2L366->SetBinContent(39,8207.423); h_SL2L366->SetBinContent(40,8836.218); h_SL2L366->SetBinContent(41,7847.521); h_SL2L366->SetBinContent(42,8439.084); h_SL2L366->SetBinContent(43,8219.834); h_SL2L366->SetBinContent(44,7826.837); h_SL2L366->SetBinContent(45,8182.602); h_SL2L366->SetBinContent(46,8323.254); h_SL2L366->SetBinContent(47,8385.306); h_SL2L366->SetBinContent(48,8195.013); h_SL2L366->SetBinContent(49,8542.505); h_SL2L366->SetBinContent(50,8228.107); h_SL2L366->SetBinContent(51,7905.437); h_SL2L366->SetBinContent(52,8207.423); h_SL2L366->SetBinContent(53,8004.72); h_SL2L366->SetBinContent(54,7247.684); h_SL2L366->SetBinContent(55,6345.86); h_SL2L366->SetBinContent(56,4033.386); h_SL2L366->SetBinContent(57,2788.207); h_SL2L366->SetMaximum(54438.09); 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,3739.673); h_SL2L467->SetBinContent(3,5928.043); h_SL2L467->SetBinContent(4,7603.449); h_SL2L467->SetBinContent(5,7818.563); h_SL2L467->SetBinContent(6,8037.814); h_SL2L467->SetBinContent(7,8261.201); h_SL2L467->SetBinContent(8,8286.022); h_SL2L467->SetBinContent(9,8319.117); h_SL2L467->SetBinContent(10,8447.357); h_SL2L467->SetBinContent(11,8455.632); h_SL2L467->SetBinContent(12,8786.576); h_SL2L467->SetBinContent(13,8550.778); h_SL2L467->SetBinContent(14,8588.01); h_SL2L467->SetBinContent(15,8691.43); h_SL2L467->SetBinContent(16,8472.179); h_SL2L467->SetBinContent(17,8025.404); h_SL2L467->SetBinContent(18,9183.709); h_SL2L467->SetBinContent(19,8720.387); h_SL2L467->SetBinContent(20,8757.618); h_SL2L467->SetBinContent(21,8774.166); h_SL2L467->SetBinContent(22,8741.071); h_SL2L467->SetBinContent(23,8434.947); h_SL2L467->SetBinContent(24,8600.42); h_SL2L467->SetBinContent(25,8377.032); h_SL2L467->SetBinContent(26,8815.533); h_SL2L467->SetBinContent(27,8844.491); h_SL2L467->SetBinContent(28,8993.416); h_SL2L467->SetBinContent(29,8732.798); h_SL2L467->SetBinContent(30,9022.374); h_SL2L467->SetBinContent(31,8534.23); h_SL2L467->SetBinContent(32,8240.518); h_SL2L467->SetBinContent(33,8463.905); h_SL2L467->SetBinContent(34,7921.983); h_SL2L467->SetBinContent(35,7859.932); h_SL2L467->SetBinContent(36,7955.078); h_SL2L467->SetBinContent(37,7624.133); h_SL2L467->SetBinContent(38,8323.254); h_SL2L467->SetBinContent(39,8418.4); h_SL2L467->SetBinContent(40,8029.541); h_SL2L467->SetBinContent(41,7938.531); h_SL2L467->SetBinContent(42,8339.801); h_SL2L467->SetBinContent(43,8364.622); h_SL2L467->SetBinContent(44,7880.615); h_SL2L467->SetBinContent(45,8302.569); h_SL2L467->SetBinContent(46,8451.495); h_SL2L467->SetBinContent(47,8405.99); h_SL2L467->SetBinContent(48,8385.306); h_SL2L467->SetBinContent(49,8145.371); h_SL2L467->SetBinContent(50,8157.781); h_SL2L467->SetBinContent(51,8021.267); h_SL2L467->SetBinContent(52,8215.696); h_SL2L467->SetBinContent(53,7901.299); h_SL2L467->SetBinContent(54,8041.951); h_SL2L467->SetBinContent(55,7380.062); h_SL2L467->SetBinContent(56,5386.122); h_SL2L467->SetBinContent(57,2552.409); h_SL2L467->SetMaximum(54438.09); 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 7296"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }