void RatesPerCell_Removing_noisy_cells_run_6342_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 11:01:38 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1506.788,67.5,13561.09); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6342",60,0,60); h_SL3L168->SetBinContent(1,2036.724); h_SL3L168->SetBinContent(2,3441.168); h_SL3L168->SetBinContent(4,6748.046); h_SL3L168->SetBinContent(5,6736.855); h_SL3L168->SetBinContent(6,8029.391); h_SL3L168->SetBinContent(7,7749.622); h_SL3L168->SetBinContent(8,7145.319); h_SL3L168->SetBinContent(9,6999.839); h_SL3L168->SetBinContent(10,7861.529); h_SL3L168->SetBinContent(11,8079.75); h_SL3L168->SetBinContent(12,7458.661); h_SL3L168->SetBinContent(13,6971.862); h_SL3L168->SetBinContent(14,8253.207); h_SL3L168->SetBinContent(15,8085.345); h_SL3L168->SetBinContent(16,7693.667); h_SL3L168->SetBinContent(17,7458.661); h_SL3L168->SetBinContent(18,8040.582); h_SL3L168->SetBinContent(19,8074.154); h_SL3L168->SetBinContent(20,7486.638); h_SL3L168->SetBinContent(21,6703.283); h_SL3L168->SetBinContent(22,8079.75); h_SL3L168->SetBinContent(23,7984.628); h_SL3L168->SetBinContent(24,7721.645); h_SL3L168->SetBinContent(25,7738.431); h_SL3L168->SetBinContent(26,8264.397); h_SL3L168->SetBinContent(27,8807.151); h_SL3L168->SetBinContent(28,8018.201); h_SL3L168->SetBinContent(29,7693.667); h_SL3L168->SetBinContent(30,8773.579); h_SL3L168->SetBinContent(31,8728.815); h_SL3L168->SetBinContent(32,8135.704); h_SL3L168->SetBinContent(33,7805.576); h_SL3L168->SetBinContent(34,8605.717); h_SL3L168->SetBinContent(35,9030.967); h_SL3L168->SetBinContent(36,8365.115); h_SL3L168->SetBinContent(37,7620.927); h_SL3L168->SetBinContent(38,8740.007); h_SL3L168->SetBinContent(39,8628.099); h_SL3L168->SetBinContent(40,8057.368); h_SL3L168->SetBinContent(41,7951.056); h_SL3L168->SetBinContent(42,8740.007); h_SL3L168->SetBinContent(43,8656.075); h_SL3L168->SetBinContent(44,8186.062); h_SL3L168->SetBinContent(45,8102.131); h_SL3L168->SetBinContent(46,9114.897); h_SL3L168->SetBinContent(47,8085.345); h_SL3L168->SetBinContent(48,7699.263); h_SL3L168->SetBinContent(50,3530.694); h_SL3L168->SetBinContent(51,5069.428); h_SL3L168->SetBinContent(52,7044.602); h_SL3L168->SetBinContent(53,6328.391); h_SL3L168->SetBinContent(54,7469.852); h_SL3L168->SetBinContent(55,7458.661); h_SL3L168->SetBinContent(56,7150.915); h_SL3L168->SetBinContent(57,7066.983); h_SL3L168->SetBinContent(58,7134.128); h_SL3L168->SetBinContent(59,5080.618); h_SL3L168->SetMaximum(12054.3); 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,425.25); h_SL3L269->SetBinContent(2,5002.283); h_SL3L269->SetBinContent(4,3502.717); h_SL3L269->SetBinContent(5,6311.605); h_SL3L269->SetBinContent(6,7615.332); h_SL3L269->SetBinContent(7,7710.454); h_SL3L269->SetBinContent(8,7083.77); h_SL3L269->SetBinContent(9,6831.977); h_SL3L269->SetBinContent(10,7744.026); h_SL3L269->SetBinContent(11,7979.033); h_SL3L269->SetBinContent(12,7620.927); h_SL3L269->SetBinContent(13,6921.503); h_SL3L269->SetBinContent(14,7939.865); h_SL3L269->SetBinContent(15,8057.368); h_SL3L269->SetBinContent(16,8163.681); h_SL3L269->SetBinContent(17,7285.204); h_SL3L269->SetBinContent(18,7956.651); h_SL3L269->SetBinContent(19,7861.529); h_SL3L269->SetBinContent(20,7833.552); h_SL3L269->SetBinContent(21,6820.786); h_SL3L269->SetBinContent(22,7732.835); h_SL3L269->SetBinContent(23,7895.102); h_SL3L269->SetBinContent(24,7721.645); h_SL3L269->SetBinContent(25,7581.76); h_SL3L269->SetBinContent(26,8381.901); h_SL3L269->SetBinContent(27,8689.647); h_SL3L269->SetBinContent(28,8303.565); h_SL3L269->SetBinContent(29,7324.372); h_SL3L269->SetBinContent(30,8605.717); h_SL3L269->SetBinContent(31,8376.306); h_SL3L269->SetBinContent(32,8510.595); h_SL3L269->SetBinContent(33,7906.292); h_SL3L269->SetBinContent(34,8398.688); h_SL3L269->SetBinContent(35,8549.763); h_SL3L269->SetBinContent(36,9103.707); h_SL3L269->SetBinContent(37,7503.424); h_SL3L269->SetBinContent(38,8398.688); h_SL3L269->SetBinContent(39,8644.885); h_SL3L269->SetBinContent(40,8566.549); h_SL3L269->SetBinContent(41,7721.645); h_SL3L269->SetBinContent(42,8689.647); h_SL3L269->SetBinContent(43,8482.618); h_SL3L269->SetBinContent(44,8353.924); h_SL3L269->SetBinContent(45,7883.911); h_SL3L269->SetBinContent(46,8684.053); h_SL3L269->SetBinContent(47,8521.786); h_SL3L269->SetBinContent(48,7827.957); h_SL3L269->SetBinContent(49,6753.641); h_SL3L269->SetBinContent(50,6664.115); h_SL3L269->SetBinContent(51,1885.648); h_SL3L269->SetBinContent(52,6921.503); h_SL3L269->SetBinContent(53,6624.947); h_SL3L269->SetBinContent(54,7128.533); h_SL3L269->SetBinContent(55,7475.447); h_SL3L269->SetBinContent(56,7503.424); h_SL3L269->SetBinContent(57,7100.556); h_SL3L269->SetBinContent(58,6876.74); h_SL3L269->SetBinContent(59,6289.224); h_SL3L269->SetMaximum(10482.13); 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,2613.049); h_SL3L370->SetBinContent(2,3116.635); h_SL3L370->SetBinContent(3,1091.102); h_SL3L370->SetBinContent(4,5684.921); h_SL3L370->SetBinContent(5,6887.931); h_SL3L370->SetBinContent(6,7755.217); h_SL3L370->SetBinContent(7,7441.875); h_SL3L370->SetBinContent(8,6859.954); h_SL3L370->SetBinContent(9,7699.263); h_SL3L370->SetBinContent(10,7592.951); h_SL3L370->SetBinContent(11,7654.5); h_SL3L370->SetBinContent(12,7503.424); h_SL3L370->SetBinContent(13,7626.523); h_SL3L370->SetBinContent(14,7587.355); h_SL3L370->SetBinContent(15,7934.27); h_SL3L370->SetBinContent(16,7486.638); h_SL3L370->SetBinContent(17,8130.108); h_SL3L370->SetBinContent(18,7945.46); h_SL3L370->SetBinContent(19,7419.493); h_SL3L370->SetBinContent(20,7251.631); h_SL3L370->SetBinContent(21,7581.76); h_SL3L370->SetBinContent(22,7727.24); h_SL3L370->SetBinContent(23,7676.881); h_SL3L370->SetBinContent(24,7447.47); h_SL3L370->SetBinContent(25,8225.23); h_SL3L370->SetBinContent(26,8023.796); h_SL3L370->SetBinContent(27,8292.375); h_SL3L370->SetBinContent(28,7609.737); h_SL3L370->SetBinContent(29,8477.022); h_SL3L370->SetBinContent(30,8286.779); h_SL3L370->SetBinContent(31,8264.397); h_SL3L370->SetBinContent(32,7906.292); h_SL3L370->SetBinContent(33,8488.214); h_SL3L370->SetBinContent(34,8493.809); h_SL3L370->SetBinContent(35,8633.694); h_SL3L370->SetBinContent(36,8314.757); h_SL3L370->SetBinContent(37,8180.467); h_SL3L370->SetBinContent(38,8538.572); h_SL3L370->SetBinContent(39,8381.901); h_SL3L370->SetBinContent(40,7923.079); h_SL3L370->SetBinContent(41,8611.312); h_SL3L370->SetBinContent(42,8639.289); h_SL3L370->SetBinContent(43,8141.299); h_SL3L370->SetBinContent(44,8169.276); h_SL3L370->SetBinContent(45,8773.579); h_SL3L370->SetBinContent(46,9019.776); h_SL3L370->SetBinContent(47,7872.72); h_SL3L370->SetBinContent(48,7195.677); h_SL3L370->SetBinContent(49,7481.042); h_SL3L370->SetBinContent(50,3698.556); h_SL3L370->SetBinContent(51,4593.819); h_SL3L370->SetBinContent(52,6748.046); h_SL3L370->SetBinContent(53,6932.694); h_SL3L370->SetBinContent(54,7369.135); h_SL3L370->SetBinContent(55,7525.806); h_SL3L370->SetBinContent(56,7419.493); h_SL3L370->SetBinContent(57,6636.138); h_SL3L370->SetBinContent(58,6809.595); h_SL3L370->SetBinContent(59,4884.779); h_SL3L370->SetMaximum(10482.13); 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,4683.345); h_SL3L471->SetBinContent(3,923.2401); h_SL3L471->SetBinContent(4,3312.474); h_SL3L471->SetBinContent(5,6742.451); h_SL3L471->SetBinContent(6,7402.707); h_SL3L471->SetBinContent(7,7727.24); h_SL3L471->SetBinContent(8,7011.029); h_SL3L471->SetBinContent(9,7201.273); h_SL3L471->SetBinContent(10,8124.513); h_SL3L471->SetBinContent(11,7363.54); h_SL3L471->SetBinContent(12,7380.326); h_SL3L471->SetBinContent(13,7592.951); h_SL3L471->SetBinContent(14,7906.292); h_SL3L471->SetBinContent(15,7906.292); h_SL3L471->SetBinContent(16,7772.003); h_SL3L471->SetBinContent(17,7788.789); h_SL3L471->SetBinContent(18,8096.536); h_SL3L471->SetBinContent(19,7755.217); h_SL3L471->SetBinContent(20,7184.487); h_SL3L471->SetBinContent(21,7497.829); h_SL3L471->SetBinContent(22,7872.72); h_SL3L471->SetBinContent(23,7850.339); h_SL3L471->SetBinContent(24,7391.516); h_SL3L471->SetBinContent(25,7979.033); h_SL3L471->SetBinContent(26,8281.184); h_SL3L471->SetBinContent(27,8174.872); h_SL3L471->SetBinContent(28,8113.322); h_SL3L471->SetBinContent(29,7839.148); h_SL3L471->SetBinContent(30,8706.434); h_SL3L471->SetBinContent(31,8208.444); h_SL3L471->SetBinContent(32,8057.368); h_SL3L471->SetBinContent(33,8449.046); h_SL3L471->SetBinContent(34,8499.404); h_SL3L471->SetBinContent(35,8594.526); h_SL3L471->SetBinContent(36,8471.428); h_SL3L471->SetBinContent(37,8118.917); h_SL3L471->SetBinContent(38,8465.832); h_SL3L471->SetBinContent(39,8437.855); h_SL3L471->SetBinContent(40,8090.94); h_SL3L471->SetBinContent(41,8309.161); h_SL3L471->SetBinContent(42,8689.647); h_SL3L471->SetBinContent(43,8460.236); h_SL3L471->SetBinContent(44,8230.825); h_SL3L471->SetBinContent(45,8656.075); h_SL3L471->SetBinContent(46,8767.983); h_SL3L471->SetBinContent(47,8146.895); h_SL3L471->SetBinContent(48,7805.576); h_SL3L471->SetBinContent(49,7341.158); h_SL3L471->SetBinContent(50,6753.641); h_SL3L471->SetBinContent(51,1958.388); h_SL3L471->SetBinContent(52,6328.391); h_SL3L471->SetBinContent(53,6988.648); h_SL3L471->SetBinContent(54,7430.684); h_SL3L471->SetBinContent(55,7553.783); h_SL3L471->SetBinContent(56,7548.188); h_SL3L471->SetBinContent(57,7089.365); h_SL3L471->SetBinContent(58,6697.688); h_SL3L471->SetBinContent(59,5763.256); h_SL3L471->SetMaximum(10482.13); 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 6342"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }