void RatesPerCell_Removing_noisy_cells_run_7291_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:36:41 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2250.981,67.5,20258.83); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7291",60,0,60); h_SL1L160->SetBinContent(1,3116.226); h_SL1L160->SetBinContent(2,4165.603); h_SL1L160->SetBinContent(3,4764.741); h_SL1L160->SetBinContent(4,5300.065); h_SL1L160->SetBinContent(5,6104.824); h_SL1L160->SetBinContent(6,6299.81); h_SL1L160->SetBinContent(7,6289.174); h_SL1L160->SetBinContent(8,6459.344); h_SL1L160->SetBinContent(9,7037.21); h_SL1L160->SetBinContent(10,6693.327); h_SL1L160->SetBinContent(11,6473.524); h_SL1L160->SetBinContent(12,6282.084); h_SL1L160->SetBinContent(13,7054.937); h_SL1L160->SetBinContent(14,12993.14); h_SL1L160->SetBinContent(15,12039.48); h_SL1L160->SetBinContent(16,7026.575); h_SL1L160->SetBinContent(17,6923.764); h_SL1L160->SetBinContent(18,7129.385); h_SL1L160->SetBinContent(19,6523.157); h_SL1L160->SetBinContent(20,6576.335); h_SL1L160->SetBinContent(21,7019.484); h_SL1L160->SetBinContent(22,7040.755); h_SL1L160->SetBinContent(23,6771.321); h_SL1L160->SetBinContent(24,6831.589); h_SL1L160->SetBinContent(25,6980.487); h_SL1L160->SetBinContent(26,7161.292); h_SL1L160->SetBinContent(27,6703.962); h_SL1L160->SetBinContent(28,6955.671); h_SL1L160->SetBinContent(29,7391.73); h_SL1L160->SetBinContent(30,7281.829); h_SL1L160->SetBinContent(31,6732.324); h_SL1L160->SetBinContent(32,7171.928); h_SL1L160->SetBinContent(33,7905.783); h_SL1L160->SetBinContent(34,7962.506); h_SL1L160->SetBinContent(35,7171.928); h_SL1L160->SetBinContent(36,7317.281); h_SL1L160->SetBinContent(37,7455.543); h_SL1L160->SetBinContent(38,7356.278); h_SL1L160->SetBinContent(39,6395.53); h_SL1L160->SetBinContent(41,6781.957); h_SL1L160->SetBinContent(42,6881.222); h_SL1L160->SetBinContent(43,6197); h_SL1L160->SetBinContent(44,5814.118); h_SL1L160->SetBinContent(45,6165.093); h_SL1L160->SetBinContent(46,6477.07); h_SL1L160->SetBinContent(47,4988.088); h_SL1L160->SetBinContent(48,5019.995); h_SL1L160->SetBinContent(49,5193.709); h_SL1L160->SetBinContent(50,5505.687); h_SL1L160->SetBinContent(51,5002.269); h_SL1L160->SetBinContent(52,5204.345); h_SL1L160->SetBinContent(53,5310.701); h_SL1L160->SetBinContent(54,5058.992); h_SL1L160->SetBinContent(55,4353.499); h_SL1L160->SetBinContent(56,4006.069); h_SL1L160->SetMaximum(18007.85); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,2956.692); h_SL1L261->SetBinContent(2,3669.276); h_SL1L261->SetBinContent(3,4704.473); h_SL1L261->SetBinContent(4,5388.695); h_SL1L261->SetBinContent(5,5888.567); h_SL1L261->SetBinContent(6,6459.344); h_SL1L261->SetBinContent(7,6430.982); h_SL1L261->SetBinContent(8,6569.245); h_SL1L261->SetBinContent(9,7111.66); h_SL1L261->SetBinContent(10,7249.922); h_SL1L261->SetBinContent(11,6530.248); h_SL1L261->SetBinContent(12,6675.601); h_SL1L261->SetBinContent(13,6923.764); h_SL1L261->SetBinContent(14,7324.371); h_SL1L261->SetBinContent(15,6891.857); h_SL1L261->SetBinContent(16,6952.125); h_SL1L261->SetBinContent(17,7388.185); h_SL1L261->SetBinContent(18,7359.823); h_SL1L261->SetBinContent(19,6774.866); h_SL1L261->SetBinContent(20,6781.957); h_SL1L261->SetBinContent(21,7150.657); h_SL1L261->SetBinContent(22,7405.911); h_SL1L261->SetBinContent(23,7175.473); h_SL1L261->SetBinContent(24,7225.105); h_SL1L261->SetBinContent(25,7015.939); h_SL1L261->SetBinContent(26,7533.538); h_SL1L261->SetBinContent(27,6945.035); h_SL1L261->SetBinContent(28,6707.507); h_SL1L261->SetBinContent(29,7675.345); h_SL1L261->SetBinContent(30,7547.718); h_SL1L261->SetBinContent(31,6976.942); h_SL1L261->SetBinContent(32,7168.383); h_SL1L261->SetBinContent(33,7927.054); h_SL1L261->SetBinContent(34,7966.051); h_SL1L261->SetBinContent(35,7395.275); h_SL1L261->SetBinContent(36,7179.018); h_SL1L261->SetBinContent(37,7519.357); h_SL1L261->SetBinContent(38,7476.814); h_SL1L261->SetBinContent(39,6923.764); h_SL1L261->SetBinContent(40,6650.784); h_SL1L261->SetBinContent(41,7108.114); h_SL1L261->SetBinContent(42,7026.575); h_SL1L261->SetBinContent(43,6590.516); h_SL1L261->SetBinContent(44,6292.72); h_SL1L261->SetBinContent(45,6328.171); h_SL1L261->SetBinContent(46,6906.038); h_SL1L261->SetBinContent(47,5714.853); h_SL1L261->SetBinContent(48,5048.356); h_SL1L261->SetBinContent(49,5328.427); h_SL1L261->SetBinContent(50,5700.672); h_SL1L261->SetBinContent(51,5271.704); h_SL1L261->SetBinContent(52,5243.342); h_SL1L261->SetBinContent(53,5441.873); h_SL1L261->SetBinContent(54,5643.949); h_SL1L261->SetBinContent(55,4768.286); h_SL1L261->SetBinContent(56,4484.67); h_SL1L261->SetMaximum(15659.65); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,3141.042); h_SL1L362->SetBinContent(2,4052.157); h_SL1L362->SetBinContent(3,5037.721); h_SL1L362->SetBinContent(4,5643.949); h_SL1L362->SetBinContent(5,6498.341); h_SL1L362->SetBinContent(6,6399.075); h_SL1L362->SetBinContent(7,6519.612); h_SL1L362->SetBinContent(8,6906.038); h_SL1L362->SetBinContent(9,7136.476); h_SL1L362->SetBinContent(10,6870.586); h_SL1L362->SetBinContent(11,6579.88); h_SL1L362->SetBinContent(12,7115.205); h_SL1L362->SetBinContent(13,7065.572); h_SL1L362->SetBinContent(14,7196.744); h_SL1L362->SetBinContent(15,6796.137); h_SL1L362->SetBinContent(16,7345.642); h_SL1L362->SetBinContent(17,7583.17); h_SL1L362->SetBinContent(18,7008.849); h_SL1L362->SetBinContent(19,6654.33); h_SL1L362->SetBinContent(20,7164.837); h_SL1L362->SetBinContent(21,7381.094); h_SL1L362->SetBinContent(22,7140.021); h_SL1L362->SetBinContent(23,7115.205); h_SL1L362->SetBinContent(24,7285.374); h_SL1L362->SetBinContent(25,7551.264); h_SL1L362->SetBinContent(26,7179.018); h_SL1L362->SetBinContent(27,7026.575); h_SL1L362->SetBinContent(28,7423.637); h_SL1L362->SetBinContent(29,7802.972); h_SL1L362->SetBinContent(30,7324.371); h_SL1L362->SetBinContent(31,7090.388); h_SL1L362->SetBinContent(32,7760.43); h_SL1L362->SetBinContent(33,8075.952); h_SL1L362->SetBinContent(34,7838.424); h_SL1L362->SetBinContent(35,7129.385); h_SL1L362->SetBinContent(36,7732.068); h_SL1L362->SetBinContent(37,7643.438); h_SL1L362->SetBinContent(38,7281.829); h_SL1L362->SetBinContent(39,6696.872); h_SL1L362->SetBinContent(40,6888.312); h_SL1L362->SetBinContent(41,7359.823); h_SL1L362->SetBinContent(42,6945.035); h_SL1L362->SetBinContent(43,6289.174); h_SL1L362->SetBinContent(44,6243.087); h_SL1L362->SetBinContent(45,6654.33); h_SL1L362->SetBinContent(46,6604.697); h_SL1L362->SetBinContent(47,5268.159); h_SL1L362->SetBinContent(48,5296.52); h_SL1L362->SetBinContent(49,5452.509); h_SL1L362->SetBinContent(50,5303.61); h_SL1L362->SetBinContent(51,5232.707); h_SL1L362->SetBinContent(52,5466.689); h_SL1L362->SetBinContent(53,5814.118); h_SL1L362->SetBinContent(54,5324.882); h_SL1L362->SetBinContent(55,4704.473); h_SL1L362->SetBinContent(56,4477.58); h_SL1L362->SetMaximum(15659.65); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,3403.386); h_SL1L463->SetBinContent(3,4690.292); h_SL1L463->SetBinContent(4,5225.616); h_SL1L463->SetBinContent(5,6083.553); h_SL1L463->SetBinContent(6,6399.075); h_SL1L463->SetBinContent(7,6420.347); h_SL1L463->SetBinContent(8,6764.23); h_SL1L463->SetBinContent(9,7189.654); h_SL1L463->SetBinContent(10,6898.948); h_SL1L463->SetBinContent(11,6590.516); h_SL1L463->SetBinContent(12,6980.487); h_SL1L463->SetBinContent(13,7246.377); h_SL1L463->SetBinContent(14,7402.365); h_SL1L463->SetBinContent(15,13617.09); h_SL1L463->SetBinContent(16,9199.779); h_SL1L463->SetBinContent(17,7583.17); h_SL1L463->SetBinContent(18,7345.642); h_SL1L463->SetBinContent(19,6469.979); h_SL1L463->SetBinContent(20,6909.583); h_SL1L463->SetBinContent(21,7377.549); h_SL1L463->SetBinContent(22,7310.19); h_SL1L463->SetBinContent(23,6955.671); h_SL1L463->SetBinContent(24,7391.73); h_SL1L463->SetBinContent(25,7274.738); h_SL1L463->SetBinContent(26,7296.01); h_SL1L463->SetBinContent(27,6842.225); h_SL1L463->SetBinContent(28,7228.651); h_SL1L463->SetBinContent(29,7948.325); h_SL1L463->SetBinContent(30,7636.348); h_SL1L463->SetBinContent(31,6980.487); h_SL1L463->SetBinContent(32,7370.458); h_SL1L463->SetBinContent(33,7941.235); h_SL1L463->SetBinContent(34,7863.241); h_SL1L463->SetBinContent(35,7568.99); h_SL1L463->SetBinContent(36,7257.012); h_SL1L463->SetBinContent(41,7246.377); h_SL1L463->SetBinContent(42,7171.928); h_SL1L463->SetBinContent(43,6207.635); h_SL1L463->SetBinContent(44,6484.16); h_SL1L463->SetBinContent(45,6494.796); h_SL1L463->SetBinContent(46,6643.694); h_SL1L463->SetBinContent(47,5792.847); h_SL1L463->SetBinContent(48,5264.613); h_SL1L463->SetBinContent(49,5363.879); h_SL1L463->SetBinContent(50,5555.319); h_SL1L463->SetBinContent(51,4867.552); h_SL1L463->SetBinContent(52,5594.316); h_SL1L463->SetBinContent(53,5732.579); h_SL1L463->SetBinContent(54,5587.226); h_SL1L463->SetBinContent(56,4942); h_SL1L463->SetMaximum(15659.65); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 7291"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }