void RatesPerCell_Removing_noisy_cells_run_5387_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2722.338,67.5,24501.04); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5387",60,0,60); h_SL2L164->SetBinContent(1,2621.368); h_SL2L164->SetBinContent(2,4316.624); h_SL2L164->SetBinContent(3,4839.103); h_SL2L164->SetBinContent(4,5330.189); h_SL2L164->SetBinContent(5,5516.309); h_SL2L164->SetBinContent(6,5684.489); h_SL2L164->SetBinContent(7,6137.454); h_SL2L164->SetBinContent(8,6166.605); h_SL2L164->SetBinContent(9,6449.147); h_SL2L164->SetBinContent(10,6980.597); h_SL2L164->SetBinContent(11,7738.529); h_SL2L164->SetBinContent(12,7982.951); h_SL2L164->SetBinContent(13,8444.886); h_SL2L164->SetBinContent(14,8572.702); h_SL2L164->SetBinContent(15,8931.486); h_SL2L164->SetBinContent(16,9169.181); h_SL2L164->SetBinContent(17,10039.23); h_SL2L164->SetBinContent(18,11223.22); h_SL2L164->SetBinContent(19,11898.18); h_SL2L164->SetBinContent(20,11752.43); h_SL2L164->SetBinContent(21,11911.64); h_SL2L164->SetBinContent(22,12878.11); h_SL2L164->SetBinContent(23,13283.99); h_SL2L164->SetBinContent(24,13566.53); h_SL2L164->SetBinContent(25,15006.15); h_SL2L164->SetBinContent(26,15560.03); h_SL2L164->SetBinContent(27,16250.69); h_SL2L164->SetBinContent(28,15882.93); h_SL2L164->SetBinContent(29,16306.75); h_SL2L164->SetBinContent(30,15389.6); h_SL2L164->SetBinContent(31,14524.04); h_SL2L164->SetBinContent(32,13710.04); h_SL2L164->SetBinContent(33,13340.05); h_SL2L164->SetBinContent(34,13252.59); h_SL2L164->SetBinContent(35,2.242402); h_SL2L164->SetBinContent(36,11963.21); h_SL2L164->SetBinContent(37,11182.86); h_SL2L164->SetBinContent(38,10884.62); h_SL2L164->SetBinContent(39,9812.75); h_SL2L164->SetBinContent(40,7796.831); h_SL2L164->SetBinContent(41,8583.914); h_SL2L164->SetBinContent(42,8821.608); h_SL2L164->SetBinContent(43,8227.372); h_SL2L164->SetBinContent(44,7866.346); h_SL2L164->SetBinContent(45,7812.528); h_SL2L164->SetBinContent(46,7745.256); h_SL2L164->SetBinContent(47,7561.379); h_SL2L164->SetBinContent(48,7018.718); h_SL2L164->SetBinContent(49,7056.838); h_SL2L164->SetBinContent(50,6668.903); h_SL2L164->SetBinContent(51,6949.203); h_SL2L164->SetBinContent(52,6590.419); h_SL2L164->SetBinContent(53,6211.453); h_SL2L164->SetBinContent(54,6258.543); h_SL2L164->SetBinContent(55,5612.732); h_SL2L164->SetBinContent(56,5424.37); h_SL2L164->SetBinContent(57,2484.581); h_SL2L164->SetMaximum(21778.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,1502.409); h_SL2L265->SetBinContent(2,3937.658); h_SL2L265->SetBinContent(3,4386.138); h_SL2L265->SetBinContent(4,5119.403); h_SL2L265->SetBinContent(5,5464.733); h_SL2L265->SetBinContent(6,5478.188); h_SL2L265->SetBinContent(7,5877.335); h_SL2L265->SetBinContent(8,6072.424); h_SL2L265->SetBinContent(9,6453.632); h_SL2L265->SetBinContent(10,6487.269); h_SL2L265->SetBinContent(11,7373.017); h_SL2L265->SetBinContent(12,7933.618); h_SL2L265->SetBinContent(13,8216.16); h_SL2L265->SetBinContent(14,8480.764); h_SL2L265->SetBinContent(15,8700.52); h_SL2L265->SetBinContent(16,8956.153); h_SL2L265->SetBinContent(17,9436.027); h_SL2L265->SetBinContent(18,10664.86); h_SL2L265->SetBinContent(19,11360.01); h_SL2L265->SetBinContent(20,12001.33); h_SL2L265->SetBinContent(21,11725.52); h_SL2L265->SetBinContent(22,12194.18); h_SL2L265->SetBinContent(23,12972.29); h_SL2L265->SetBinContent(24,13275.02); h_SL2L265->SetBinContent(25,14055.38); h_SL2L265->SetBinContent(26,15414.27); h_SL2L265->SetBinContent(27,15826.87); h_SL2L265->SetBinContent(28,15795.48); h_SL2L265->SetBinContent(29,16468.2); h_SL2L265->SetBinContent(30,15528.63); h_SL2L265->SetBinContent(31,14676.52); h_SL2L265->SetBinContent(32,13806.47); h_SL2L265->SetBinContent(33,13414.05); h_SL2L265->SetBinContent(34,13057.51); h_SL2L265->SetBinContent(35,11265.83); h_SL2L265->SetBinContent(36,10617.77); h_SL2L265->SetBinContent(37,11407.1); h_SL2L265->SetBinContent(38,11108.86); h_SL2L265->SetBinContent(39,10274.69); h_SL2L265->SetBinContent(40,8848.518); h_SL2L265->SetBinContent(41,8617.55); h_SL2L265->SetBinContent(42,8944.941); h_SL2L265->SetBinContent(43,8314.826); h_SL2L265->SetBinContent(44,7855.134); h_SL2L265->SetBinContent(45,7837.194); h_SL2L265->SetBinContent(46,7698.166); h_SL2L265->SetBinContent(47,7586.045); h_SL2L265->SetBinContent(48,7233.988); h_SL2L265->SetBinContent(49,6668.903); h_SL2L265->SetBinContent(50,6801.205); h_SL2L265->SetBinContent(51,6821.386); h_SL2L265->SetBinContent(52,6754.114); h_SL2L265->SetBinContent(53,6265.271); h_SL2L265->SetBinContent(54,6249.574); h_SL2L265->SetBinContent(55,6103.818); h_SL2L265->SetBinContent(56,5509.582); h_SL2L265->SetBinContent(57,4406.32); h_SL2L265->SetMaximum(18938.43); 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,2363.491); h_SL2L366->SetBinContent(2,4276.26); h_SL2L366->SetBinContent(3,4818.921); h_SL2L366->SetBinContent(4,5310.007); h_SL2L366->SetBinContent(5,5612.732); h_SL2L366->SetBinContent(6,5487.157); h_SL2L366->SetBinContent(7,6094.848); h_SL2L366->SetBinContent(8,6126.242); h_SL2L366->SetBinContent(9,6496.238); h_SL2L366->SetBinContent(10,6691.327); h_SL2L366->SetBinContent(11,7630.894); h_SL2L366->SetBinContent(12,7958.284); h_SL2L366->SetBinContent(13,8317.068); h_SL2L366->SetBinContent(14,8633.247); h_SL2L366->SetBinContent(15,8628.763); h_SL2L366->SetBinContent(16,9119.849); h_SL2L366->SetBinContent(17,10005.6); h_SL2L366->SetBinContent(18,10866.68); h_SL2L366->SetBinContent(19,11714.31); h_SL2L366->SetBinContent(20,11745.7); h_SL2L366->SetBinContent(21,12005.82); h_SL2L366->SetBinContent(22,12790.66); h_SL2L366->SetBinContent(23,13070.96); h_SL2L366->SetBinContent(24,13472.35); h_SL2L366->SetBinContent(25,15033.06); h_SL2L366->SetBinContent(26,15506.21); h_SL2L366->SetBinContent(27,16012.99); h_SL2L366->SetBinContent(28,15750.63); h_SL2L366->SetBinContent(29,15952.45); h_SL2L366->SetBinContent(30,15062.21); h_SL2L366->SetBinContent(31,14434.34); h_SL2L366->SetBinContent(32,13476.83); h_SL2L366->SetBinContent(33,13205.5); h_SL2L366->SetBinContent(34,13218.96); h_SL2L366->SetBinContent(35,9483.117); h_SL2L366->SetBinContent(36,11528.19); h_SL2L366->SetBinContent(37,11173.89); h_SL2L366->SetBinContent(38,10687.29); h_SL2L366->SetBinContent(39,9684.934); h_SL2L366->SetBinContent(40,8462.824); h_SL2L366->SetBinContent(41,8924.76); h_SL2L366->SetBinContent(42,8680.338); h_SL2L366->SetBinContent(43,8263.251); h_SL2L366->SetBinContent(44,7709.377); h_SL2L366->SetBinContent(45,7875.315); h_SL2L366->SetBinContent(46,7572.591); h_SL2L366->SetBinContent(47,7397.684); h_SL2L366->SetBinContent(48,6955.931); h_SL2L366->SetBinContent(49,6904.355); h_SL2L366->SetBinContent(50,6621.812); h_SL2L366->SetBinContent(51,6733.933); h_SL2L366->SetBinContent(52,6525.389); h_SL2L366->SetBinContent(53,6186.787); h_SL2L366->SetBinContent(54,6189.029); h_SL2L366->SetBinContent(55,5778.669); h_SL2L366->SetBinContent(56,5395.219); h_SL2L366->SetBinContent(57,2670.701); h_SL2L366->SetMaximum(18938.43); 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,3794.144); h_SL2L467->SetBinContent(3,4556.561); h_SL2L467->SetBinContent(4,5170.979); h_SL2L467->SetBinContent(5,5606.004); h_SL2L467->SetBinContent(6,5401.946); h_SL2L467->SetBinContent(7,5798.851); h_SL2L467->SetBinContent(8,6101.575); h_SL2L467->SetBinContent(9,6354.967); h_SL2L467->SetBinContent(10,6370.664); h_SL2L467->SetBinContent(11,7272.109); h_SL2L467->SetBinContent(12,7949.314); h_SL2L467->SetBinContent(13,8182.524); h_SL2L467->SetBinContent(14,8487.491); h_SL2L467->SetBinContent(15,8711.731); h_SL2L467->SetBinContent(16,8911.305); h_SL2L467->SetBinContent(17,9444.996); h_SL2L467->SetBinContent(18,10489.96); h_SL2L467->SetBinContent(19,11164.92); h_SL2L467->SetBinContent(20,11893.7); h_SL2L467->SetBinContent(21,11595.46); h_SL2L467->SetBinContent(22,12151.58); h_SL2L467->SetBinContent(23,13019.38); h_SL2L467->SetBinContent(24,13362.47); h_SL2L467->SetBinContent(25,13920.83); h_SL2L467->SetBinContent(26,15465.85); h_SL2L467->SetBinContent(27,15719.24); h_SL2L467->SetBinContent(28,15777.54); h_SL2L467->SetBinContent(29,16286.56); h_SL2L467->SetBinContent(30,15544.33); h_SL2L467->SetBinContent(31,14562.16); h_SL2L467->SetBinContent(32,13972.41); h_SL2L467->SetBinContent(33,13438.71); h_SL2L467->SetBinContent(34,13041.81); h_SL2L467->SetBinContent(35,11373.46); h_SL2L467->SetBinContent(36,10395.78); h_SL2L467->SetBinContent(37,11371.22); h_SL2L467->SetBinContent(38,10945.16); h_SL2L467->SetBinContent(39,10202.93); h_SL2L467->SetBinContent(40,8949.426); h_SL2L467->SetBinContent(41,8568.218); h_SL2L467->SetBinContent(42,8920.274); h_SL2L467->SetBinContent(43,8326.038); h_SL2L467->SetBinContent(44,7861.861); h_SL2L467->SetBinContent(45,7922.406); h_SL2L467->SetBinContent(46,7700.408); h_SL2L467->SetBinContent(47,7440.289); h_SL2L467->SetBinContent(48,7233.988); h_SL2L467->SetBinContent(49,6738.417); h_SL2L467->SetBinContent(50,6765.326); h_SL2L467->SetBinContent(51,6796.72); h_SL2L467->SetBinContent(52,6550.056); h_SL2L467->SetBinContent(53,6215.938); h_SL2L467->SetBinContent(54,6298.907); h_SL2L467->SetBinContent(55,6067.939); h_SL2L467->SetBinContent(56,5623.944); h_SL2L467->SetBinContent(57,4274.018); h_SL2L467->SetMaximum(18938.43); 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 5387"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }