void RatesPerCell_Removing_noisy_cells_run_5748_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:41:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7237.382,67.5,65136.43); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5748",60,0,60); h_SL2L164->SetBinContent(1,4534.669); h_SL2L164->SetBinContent(2,43780.59); h_SL2L164->SetBinContent(3,6447.489); h_SL2L164->SetBinContent(4,7434.416); h_SL2L164->SetBinContent(5,8288.887); h_SL2L164->SetBinContent(6,8597.95); h_SL2L164->SetBinContent(7,8648.596); h_SL2L164->SetBinContent(8,8678.463); h_SL2L164->SetBinContent(9,8901.82); h_SL2L164->SetBinContent(10,9275.813); h_SL2L164->SetBinContent(11,8940.777); h_SL2L164->SetBinContent(12,9023.888); h_SL2L164->SetBinContent(13,9168.03); h_SL2L164->SetBinContent(14,9153.746); h_SL2L164->SetBinContent(15,9106.997); h_SL2L164->SetBinContent(16,8971.944); h_SL2L164->SetBinContent(17,8916.104); h_SL2L164->SetBinContent(18,9421.255); h_SL2L164->SetBinContent(19,9465.407); h_SL2L164->SetBinContent(20,9181.017); h_SL2L164->SetBinContent(21,9177.121); h_SL2L164->SetBinContent(22,9160.239); h_SL2L164->SetBinContent(23,9044.665); h_SL2L164->SetBinContent(24,9039.471); h_SL2L164->SetBinContent(25,9184.912); h_SL2L164->SetBinContent(26,9365.416); h_SL2L164->SetBinContent(27,9690.063); h_SL2L164->SetBinContent(28,9638.119); h_SL2L164->SetBinContent(29,9438.137); h_SL2L164->SetBinContent(30,9313.473); h_SL2L164->SetBinContent(31,9090.115); h_SL2L164->SetBinContent(32,9049.859); h_SL2L164->SetBinContent(33,8932.986); h_SL2L164->SetBinContent(34,8783.648); h_SL2L164->SetBinContent(35,84.40822); h_SL2L164->SetBinContent(36,9353.729); h_SL2L164->SetBinContent(37,9083.622); h_SL2L164->SetBinContent(38,9279.709); h_SL2L164->SetBinContent(39,8869.355); h_SL2L164->SetBinContent(40,8453.808); h_SL2L164->SetBinContent(41,8531.723); h_SL2L164->SetBinContent(42,9010.901); h_SL2L164->SetBinContent(43,9064.144); h_SL2L164->SetBinContent(44,9204.392); h_SL2L164->SetBinContent(45,9132.969); h_SL2L164->SetBinContent(46,9005.707); h_SL2L164->SetBinContent(47,8964.152); h_SL2L164->SetBinContent(48,8905.716); h_SL2L164->SetBinContent(49,11047.09); h_SL2L164->SetBinContent(50,8896.626); h_SL2L164->SetBinContent(51,8934.285); h_SL2L164->SetBinContent(52,8464.196); h_SL2L164->SetBinContent(53,8246.033); h_SL2L164->SetBinContent(54,7782.438); h_SL2L164->SetBinContent(55,6103.363); h_SL2L164->SetBinContent(56,4707.381); h_SL2L164->SetBinContent(57,2285.515); h_SL2L164->SetMaximum(57899.05); 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,2285.515); h_SL2L265->SetBinContent(2,4891.781); h_SL2L265->SetBinContent(3,6081.287); h_SL2L265->SetBinContent(4,7426.625); h_SL2L265->SetBinContent(5,8108.383); h_SL2L265->SetBinContent(6,8634.312); h_SL2L265->SetBinContent(7,9471.9); h_SL2L265->SetBinContent(8,8897.925); h_SL2L265->SetBinContent(9,8761.572); h_SL2L265->SetBinContent(10,9036.873); h_SL2L265->SetBinContent(11,8934.285); h_SL2L265->SetBinContent(12,9057.65); h_SL2L265->SetBinContent(13,8990.124); h_SL2L265->SetBinContent(14,9157.642); h_SL2L265->SetBinContent(15,9101.803); h_SL2L265->SetBinContent(16,8921.299); h_SL2L265->SetBinContent(17,8935.583); h_SL2L265->SetBinContent(18,9186.211); h_SL2L265->SetBinContent(19,9387.492); h_SL2L265->SetBinContent(20,9513.455); h_SL2L265->SetBinContent(21,9223.87); h_SL2L265->SetBinContent(22,9205.689); h_SL2L265->SetBinContent(23,8886.237); h_SL2L265->SetBinContent(24,8949.868); h_SL2L265->SetBinContent(25,9231.661); h_SL2L265->SetBinContent(26,9234.259); h_SL2L265->SetBinContent(27,9532.934); h_SL2L265->SetBinContent(28,9592.669); h_SL2L265->SetBinContent(29,9655.001); h_SL2L265->SetBinContent(30,9232.96); h_SL2L265->SetBinContent(31,9274.515); h_SL2L265->SetBinContent(32,8981.034); h_SL2L265->SetBinContent(33,8843.384); h_SL2L265->SetBinContent(34,8908.313); h_SL2L265->SetBinContent(35,7707.119); h_SL2L265->SetBinContent(36,7485.061); h_SL2L265->SetBinContent(37,8881.043); h_SL2L265->SetBinContent(38,8979.735); h_SL2L265->SetBinContent(39,9007.006); h_SL2L265->SetBinContent(40,8671.97); h_SL2L265->SetBinContent(41,8712.227); h_SL2L265->SetBinContent(42,8860.266); h_SL2L265->SetBinContent(43,9184.912); h_SL2L265->SetBinContent(44,9053.755); h_SL2L265->SetBinContent(45,9075.831); h_SL2L265->SetBinContent(46,9009.603); h_SL2L265->SetBinContent(47,8834.294); h_SL2L265->SetBinContent(48,8757.677); h_SL2L265->SetBinContent(49,8800.53); h_SL2L265->SetBinContent(50,8677.164); h_SL2L265->SetBinContent(51,8843.384); h_SL2L265->SetBinContent(52,8726.511); h_SL2L265->SetBinContent(53,8529.125); h_SL2L265->SetBinContent(54,8259.02); h_SL2L265->SetBinContent(55,7470.776); h_SL2L265->SetBinContent(56,5818.973); h_SL2L265->SetBinContent(57,3951.603); h_SL2L265->SetMaximum(50347.68); 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,3078.952); h_SL2L366->SetBinContent(2,5582.629); h_SL2L366->SetBinContent(3,7195.476); h_SL2L366->SetBinContent(4,7935.671); h_SL2L366->SetBinContent(5,8500.557); h_SL2L366->SetBinContent(6,8757.677); h_SL2L366->SetBinContent(7,8873.251); h_SL2L366->SetBinContent(8,8787.545); h_SL2L366->SetBinContent(9,9018.693); h_SL2L366->SetBinContent(11,9210.884); h_SL2L366->SetBinContent(12,9032.978); h_SL2L366->SetBinContent(13,9004.408); h_SL2L366->SetBinContent(14,9230.363); h_SL2L366->SetBinContent(15,8955.062); h_SL2L366->SetBinContent(16,8788.843); h_SL2L366->SetBinContent(17,9177.121); h_SL2L366->SetBinContent(18,9373.208); h_SL2L366->SetBinContent(19,9261.529); h_SL2L366->SetBinContent(20,9317.368); h_SL2L366->SetBinContent(21,9303.084); h_SL2L366->SetBinContent(22,9271.918); h_SL2L366->SetBinContent(23,8707.032); h_SL2L366->SetBinContent(24,9117.386); h_SL2L366->SetBinContent(25,9412.165); h_SL2L366->SetBinContent(26,9186.211); h_SL2L366->SetBinContent(27,9393.985); h_SL2L366->SetBinContent(28,9499.171); h_SL2L366->SetBinContent(29,9461.512); h_SL2L366->SetBinContent(30,9094.011); h_SL2L366->SetBinContent(31,9148.552); h_SL2L366->SetBinContent(32,8913.508); h_SL2L366->SetBinContent(33,8862.862); h_SL2L366->SetBinContent(34,8384.982); h_SL2L366->SetBinContent(35,7673.356); h_SL2L366->SetBinContent(36,8070.724); h_SL2L366->SetBinContent(37,8878.445); h_SL2L366->SetBinContent(38,8992.722); h_SL2L366->SetBinContent(39,8865.46); h_SL2L366->SetBinContent(40,8571.979); h_SL2L366->SetBinContent(41,8700.539); h_SL2L366->SetBinContent(42,13228.71); h_SL2L366->SetBinContent(43,9140.761); h_SL2L366->SetBinContent(44,8813.517); h_SL2L366->SetBinContent(45,9009.603); h_SL2L366->SetBinContent(46,9010.901); h_SL2L366->SetBinContent(47,8832.995); h_SL2L366->SetBinContent(48,8891.432); h_SL2L366->SetBinContent(49,8857.668); h_SL2L366->SetBinContent(50,8904.417); h_SL2L366->SetBinContent(51,8756.378); h_SL2L366->SetBinContent(52,8644.7); h_SL2L366->SetBinContent(53,8574.576); h_SL2L366->SetBinContent(54,8088.904); h_SL2L366->SetBinContent(55,7138.338); h_SL2L366->SetBinContent(56,4808.671); h_SL2L366->SetBinContent(57,3307.503); h_SL2L366->SetMaximum(50347.68); 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,4063.281); h_SL2L467->SetBinContent(3,6874.725); h_SL2L467->SetBinContent(4,7929.178); h_SL2L467->SetBinContent(5,8509.646); h_SL2L467->SetBinContent(6,8730.406); h_SL2L467->SetBinContent(7,8878.445); h_SL2L467->SetBinContent(8,8849.877); h_SL2L467->SetBinContent(9,8916.104); h_SL2L467->SetBinContent(10,8718.72); h_SL2L467->SetBinContent(11,9008.305); h_SL2L467->SetBinContent(12,9148.552); h_SL2L467->SetBinContent(13,9000.513); h_SL2L467->SetBinContent(14,9192.704); h_SL2L467->SetBinContent(15,9138.163); h_SL2L467->SetBinContent(16,8964.152); h_SL2L467->SetBinContent(17,8955.062); h_SL2L467->SetBinContent(18,9238.154); h_SL2L467->SetBinContent(19,9342.041); h_SL2L467->SetBinContent(20,9368.014); h_SL2L467->SetBinContent(21,9348.534); h_SL2L467->SetBinContent(22,9075.831); h_SL2L467->SetBinContent(23,9060.248); h_SL2L467->SetBinContent(24,8669.373); h_SL2L467->SetBinContent(25,9173.225); h_SL2L467->SetBinContent(26,9431.645); h_SL2L467->SetBinContent(27,9319.966); h_SL2L467->SetBinContent(28,9390.089); h_SL2L467->SetBinContent(29,9458.914); h_SL2L467->SetBinContent(30,9410.866); h_SL2L467->SetBinContent(31,9029.082); h_SL2L467->SetBinContent(32,8860.266); h_SL2L467->SetBinContent(33,8820.009); h_SL2L467->SetBinContent(34,8577.173); h_SL2L467->SetBinContent(35,8286.289); h_SL2L467->SetBinContent(36,8169.417); h_SL2L467->SetBinContent(37,8338.233); h_SL2L467->SetBinContent(38,8807.023); h_SL2L467->SetBinContent(39,9134.268); h_SL2L467->SetBinContent(40,8805.725); h_SL2L467->SetBinContent(41,8708.331); h_SL2L467->SetBinContent(42,9109.595); h_SL2L467->SetBinContent(43,9134.268); h_SL2L467->SetBinContent(44,9190.106); h_SL2L467->SetBinContent(45,8852.474); h_SL2L467->SetBinContent(46,9135.566); h_SL2L467->SetBinContent(47,9083.622); h_SL2L467->SetBinContent(48,8922.598); h_SL2L467->SetBinContent(49,8861.563); h_SL2L467->SetBinContent(50,8749.886); h_SL2L467->SetBinContent(51,8835.592); h_SL2L467->SetBinContent(52,8694.046); h_SL2L467->SetBinContent(53,8786.246); h_SL2L467->SetBinContent(54,8442.12); h_SL2L467->SetBinContent(55,7996.705); h_SL2L467->SetBinContent(56,6243.611); h_SL2L467->SetBinContent(57,3021.814); h_SL2L467->SetMaximum(50347.68); 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 5748"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }