void RatesPerCell_Removing_noisy_cells_run_5836_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:44:04 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1628.256,67.5,14654.31); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5836",60,0,60); h_SL2L164->SetBinContent(1,4393.544); h_SL2L164->SetBinContent(2,5472.777); h_SL2L164->SetBinContent(3,6348.822); h_SL2L164->SetBinContent(4,7817.778); h_SL2L164->SetBinContent(5,8327.416); h_SL2L164->SetBinContent(6,8627.202); h_SL2L164->SetBinContent(7,8597.224); h_SL2L164->SetBinContent(8,8963.63); h_SL2L164->SetBinContent(9,9286.733); h_SL2L164->SetBinContent(10,8936.982); h_SL2L164->SetBinContent(11,9076.883); h_SL2L164->SetBinContent(12,8900.342); h_SL2L164->SetBinContent(13,8907.004); h_SL2L164->SetBinContent(14,8980.285); h_SL2L164->SetBinContent(15,9003.602); h_SL2L164->SetBinContent(16,9256.755); h_SL2L164->SetBinContent(17,8973.623); h_SL2L164->SetBinContent(18,9276.741); h_SL2L164->SetBinContent(19,9203.46); h_SL2L164->SetBinContent(20,9243.432); h_SL2L164->SetBinContent(21,8903.673); h_SL2L164->SetBinContent(22,8817.067); h_SL2L164->SetBinContent(23,9093.538); h_SL2L164->SetBinContent(24,8707.146); h_SL2L164->SetBinContent(25,8860.37); h_SL2L164->SetBinContent(26,9086.876); h_SL2L164->SetBinContent(27,9036.911); h_SL2L164->SetBinContent(28,9200.129); h_SL2L164->SetBinContent(29,9146.833); h_SL2L164->SetBinContent(30,9040.242); h_SL2L164->SetBinContent(31,8647.188); h_SL2L164->SetBinContent(32,8660.513); h_SL2L164->SetBinContent(33,8623.871); h_SL2L164->SetBinContent(34,8593.893); h_SL2L164->SetBinContent(36,9849.667); h_SL2L164->SetBinContent(37,8953.638); h_SL2L164->SetBinContent(38,8970.292); h_SL2L164->SetBinContent(39,8647.188); h_SL2L164->SetBinContent(40,8070.931); h_SL2L164->SetBinContent(41,8533.936); h_SL2L164->SetBinContent(42,8627.202); h_SL2L164->SetBinContent(43,8853.708); h_SL2L164->SetBinContent(44,8620.541); h_SL2L164->SetBinContent(45,8960.299); h_SL2L164->SetBinContent(46,8597.224); h_SL2L164->SetBinContent(47,8430.676); h_SL2L164->SetBinContent(48,8500.626); h_SL2L164->SetBinContent(49,8274.12); h_SL2L164->SetBinContent(50,8677.167); h_SL2L164->SetBinContent(51,8653.851); h_SL2L164->SetBinContent(52,8510.619); h_SL2L164->SetBinContent(53,7801.123); h_SL2L164->SetBinContent(54,7378.09); h_SL2L164->SetBinContent(55,5905.803); h_SL2L164->SetBinContent(56,4550.1); h_SL2L164->SetBinContent(57,1975.263); h_SL2L164->SetMaximum(13026.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,1855.348); h_SL2L265->SetBinContent(2,5056.407); h_SL2L265->SetBinContent(3,6079.013); h_SL2L265->SetBinContent(4,7334.788); h_SL2L265->SetBinContent(5,8354.063); h_SL2L265->SetBinContent(6,8370.718); h_SL2L265->SetBinContent(7,8810.405); h_SL2L265->SetBinContent(8,8797.082); h_SL2L265->SetBinContent(9,9040.242); h_SL2L265->SetBinContent(10,8950.307); h_SL2L265->SetBinContent(11,8920.327); h_SL2L265->SetBinContent(12,8847.046); h_SL2L265->SetBinContent(13,9033.58); h_SL2L265->SetBinContent(14,8960.299); h_SL2L265->SetBinContent(15,8783.758); h_SL2L265->SetBinContent(16,9143.502); h_SL2L265->SetBinContent(17,8770.435); h_SL2L265->SetBinContent(18,9300.058); h_SL2L265->SetBinContent(19,9253.424); h_SL2L265->SetBinContent(20,8936.982); h_SL2L265->SetBinContent(21,9046.904); h_SL2L265->SetBinContent(22,8946.976); h_SL2L265->SetBinContent(23,8653.851); h_SL2L265->SetBinContent(24,8837.054); h_SL2L265->SetBinContent(25,8633.864); h_SL2L265->SetBinContent(26,9133.51); h_SL2L265->SetBinContent(27,9133.51); h_SL2L265->SetBinContent(28,8970.292); h_SL2L265->SetBinContent(29,9383.332); h_SL2L265->SetBinContent(30,8740.455); h_SL2L265->SetBinContent(31,8757.11); h_SL2L265->SetBinContent(32,8717.139); h_SL2L265->SetBinContent(33,8607.217); h_SL2L265->SetBinContent(34,8530.604); h_SL2L265->SetBinContent(35,7264.837); h_SL2L265->SetBinContent(36,7414.731); h_SL2L265->SetBinContent(37,9023.588); h_SL2L265->SetBinContent(38,8850.377); h_SL2L265->SetBinContent(39,8880.356); h_SL2L265->SetBinContent(40,8314.092); h_SL2L265->SetBinContent(41,8630.533); h_SL2L265->SetBinContent(42,8513.949); h_SL2L265->SetBinContent(43,8610.548); h_SL2L265->SetBinContent(44,8523.942); h_SL2L265->SetBinContent(45,8730.463); h_SL2L265->SetBinContent(46,8723.801); h_SL2L265->SetBinContent(47,8260.796); h_SL2L265->SetBinContent(48,8357.395); h_SL2L265->SetBinContent(49,8194.177); h_SL2L265->SetBinContent(50,8370.718); h_SL2L265->SetBinContent(51,8720.47); h_SL2L265->SetBinContent(52,8537.267); h_SL2L265->SetBinContent(53,8347.401); h_SL2L265->SetBinContent(54,7907.714); h_SL2L265->SetBinContent(55,7128.268); h_SL2L265->SetBinContent(56,5552.721); h_SL2L265->SetBinContent(57,3650.739); h_SL2L265->SetMaximum(11327.12); 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,2718.068); h_SL2L366->SetBinContent(2,5612.678); h_SL2L366->SetBinContent(3,7351.442); h_SL2L366->SetBinContent(4,7881.066); h_SL2L366->SetBinContent(5,8513.949); h_SL2L366->SetBinContent(6,8727.132); h_SL2L366->SetBinContent(7,8720.47); h_SL2L366->SetBinContent(8,8803.744); h_SL2L366->SetBinContent(9,8787.089); h_SL2L366->SetBinContent(10,8880.356); h_SL2L366->SetBinContent(11,9030.249); h_SL2L366->SetBinContent(12,8890.349); h_SL2L366->SetBinContent(13,9026.919); h_SL2L366->SetBinContent(14,8966.961); h_SL2L366->SetBinContent(15,8797.082); h_SL2L366->SetBinContent(16,8953.638); h_SL2L366->SetBinContent(17,8956.968); h_SL2L366->SetBinContent(18,8990.278); h_SL2L366->SetBinContent(19,8890.349); h_SL2L366->SetBinContent(20,9020.257); h_SL2L366->SetBinContent(21,8950.307); h_SL2L366->SetBinContent(22,8883.687); h_SL2L366->SetBinContent(23,8540.598); h_SL2L366->SetBinContent(24,8897.011); h_SL2L366->SetBinContent(25,8770.435); h_SL2L366->SetBinContent(26,9056.897); h_SL2L366->SetBinContent(27,8940.313); h_SL2L366->SetBinContent(28,9010.264); h_SL2L366->SetBinContent(29,8930.32); h_SL2L366->SetBinContent(30,8627.202); h_SL2L366->SetBinContent(31,8807.075); h_SL2L366->SetBinContent(32,8500.626); h_SL2L366->SetBinContent(33,8310.761); h_SL2L366->SetBinContent(34,7914.376); h_SL2L366->SetBinContent(35,7621.251); h_SL2L366->SetBinContent(36,8040.953); h_SL2L366->SetBinContent(37,8500.626); h_SL2L366->SetBinContent(38,8787.089); h_SL2L366->SetBinContent(39,8687.16); h_SL2L366->SetBinContent(40,8350.732); h_SL2L366->SetBinContent(41,8600.555); h_SL2L366->SetBinContent(42,8517.28); h_SL2L366->SetBinContent(43,8414.021); h_SL2L366->SetBinContent(44,8530.604); h_SL2L366->SetBinContent(45,8893.68); h_SL2L366->SetBinContent(46,8310.761); h_SL2L366->SetBinContent(47,8577.238); h_SL2L366->SetBinContent(48,8417.352); h_SL2L366->SetBinContent(49,8220.824); h_SL2L366->SetBinContent(50,8407.358); h_SL2L366->SetBinContent(51,8197.508); h_SL2L366->SetBinContent(52,8527.273); h_SL2L366->SetBinContent(53,8394.035); h_SL2L366->SetBinContent(54,7737.834); h_SL2L366->SetBinContent(55,6851.797); h_SL2L366->SetBinContent(56,4526.783); h_SL2L366->SetBinContent(57,2937.912); h_SL2L366->SetMaximum(11327.12); 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,3927.209); h_SL2L467->SetBinContent(3,6991.698); h_SL2L467->SetBinContent(4,8084.255); h_SL2L467->SetBinContent(5,8394.035); h_SL2L467->SetBinContent(6,8907.004); h_SL2L467->SetBinContent(7,8810.405); h_SL2L467->SetBinContent(8,8813.736); h_SL2L467->SetBinContent(9,8903.673); h_SL2L467->SetBinContent(10,8703.814); h_SL2L467->SetBinContent(11,8993.608); h_SL2L467->SetBinContent(12,9116.854); h_SL2L467->SetBinContent(13,8953.638); h_SL2L467->SetBinContent(14,9093.538); h_SL2L467->SetBinContent(15,9150.164); h_SL2L467->SetBinContent(16,8610.548); h_SL2L467->SetBinContent(17,8983.616); h_SL2L467->SetBinContent(18,8966.961); h_SL2L467->SetBinContent(19,9020.257); h_SL2L467->SetBinContent(20,9123.517); h_SL2L467->SetBinContent(21,8986.947); h_SL2L467->SetBinContent(22,8903.673); h_SL2L467->SetBinContent(23,8800.413); h_SL2L467->SetBinContent(24,9006.933); h_SL2L467->SetBinContent(25,8733.794); h_SL2L467->SetBinContent(26,9036.911); h_SL2L467->SetBinContent(27,9046.904); h_SL2L467->SetBinContent(28,9183.474); h_SL2L467->SetBinContent(29,9056.897); h_SL2L467->SetBinContent(30,8830.392); h_SL2L467->SetBinContent(31,8873.694); h_SL2L467->SetBinContent(32,8643.857); h_SL2L467->SetBinContent(33,8500.626); h_SL2L467->SetBinContent(34,7987.657); h_SL2L467->SetBinContent(35,8184.184); h_SL2L467->SetBinContent(36,8314.092); h_SL2L467->SetBinContent(37,8377.38); h_SL2L467->SetBinContent(38,8367.387); h_SL2L467->SetBinContent(39,8857.039); h_SL2L467->SetBinContent(40,8757.11); h_SL2L467->SetBinContent(41,8487.302); h_SL2L467->SetBinContent(42,8807.075); h_SL2L467->SetBinContent(43,8740.455); h_SL2L467->SetBinContent(44,8523.942); h_SL2L467->SetBinContent(45,8790.42); h_SL2L467->SetBinContent(46,8703.814); h_SL2L467->SetBinContent(47,8434.007); h_SL2L467->SetBinContent(48,8567.245); h_SL2L467->SetBinContent(49,8260.796); h_SL2L467->SetBinContent(50,8607.217); h_SL2L467->SetBinContent(51,8463.985); h_SL2L467->SetBinContent(52,8400.697); h_SL2L467->SetBinContent(53,8607.217); h_SL2L467->SetBinContent(54,8387.373); h_SL2L467->SetBinContent(55,7747.828); h_SL2L467->SetBinContent(56,5982.416); h_SL2L467->SetBinContent(57,2884.617); h_SL2L467->SetMaximum(11327.12); 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 5836"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }