void RatesPerCell_Removing_noisy_cells_run_6630_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:50:37 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11913.71,67.5,107223.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6630",60,0,60); h_SL2L164->SetBinContent(1,7836.002); h_SL2L164->SetBinContent(2,10138.15); h_SL2L164->SetBinContent(3,11787.98); h_SL2L164->SetBinContent(4,12597.94); h_SL2L164->SetBinContent(5,12146.75); h_SL2L164->SetBinContent(6,11168.27); h_SL2L164->SetBinContent(7,10168.05); h_SL2L164->SetBinContent(8,9972.353); h_SL2L164->SetBinContent(9,11513.46); h_SL2L164->SetBinContent(10,11554.23); h_SL2L164->SetBinContent(11,11855.93); h_SL2L164->SetBinContent(12,11518.9); h_SL2L164->SetBinContent(13,11831.47); h_SL2L164->SetBinContent(14,11445.51); h_SL2L164->SetBinContent(15,11578.69); h_SL2L164->SetBinContent(16,11336.79); h_SL2L164->SetBinContent(17,10717.08); h_SL2L164->SetBinContent(18,10817.65); h_SL2L164->SetBinContent(19,10741.55); h_SL2L164->SetBinContent(20,10268.61); h_SL2L164->SetBinContent(21,9534.754); h_SL2L164->SetBinContent(22,8996.589); h_SL2L164->SetBinContent(23,9023.77); h_SL2L164->SetBinContent(24,8857.971); h_SL2L164->SetBinContent(25,13706.89); h_SL2L164->SetBinContent(26,32539.93); h_SL2L164->SetBinContent(27,49663.35); h_SL2L164->SetBinContent(28,59877.6); h_SL2L164->SetBinContent(29,63701.83); h_SL2L164->SetBinContent(30,60051.55); h_SL2L164->SetBinContent(31,52636.84); h_SL2L164->SetBinContent(32,48421.22); h_SL2L164->SetBinContent(33,43493.48); h_SL2L164->SetBinContent(34,23217.18); h_SL2L164->SetBinContent(36,6721.621); h_SL2L164->SetBinContent(37,7621.28); h_SL2L164->SetBinContent(38,6585.721); h_SL2L164->SetBinContent(39,7281.529); h_SL2L164->SetBinContent(40,45292.8); h_SL2L164->SetBinContent(41,72067.84); h_SL2L164->SetBinContent(42,10760.57); h_SL2L164->SetBinContent(43,10689.91); h_SL2L164->SetBinContent(44,10717.08); h_SL2L164->SetBinContent(45,4207.468); h_SL2L164->SetBinContent(46,4150.39); h_SL2L164->SetBinContent(47,4161.262); h_SL2L164->SetBinContent(48,4283.572); h_SL2L164->SetBinContent(49,4310.752); h_SL2L164->SetBinContent(50,4101.466); h_SL2L164->SetBinContent(51,4411.318); h_SL2L164->SetBinContent(52,4854.353); h_SL2L164->SetBinContent(53,5240.31); h_SL2L164->SetBinContent(54,5637.138); h_SL2L164->SetBinContent(55,5085.383); h_SL2L164->SetBinContent(56,4634.195); h_SL2L164->SetBinContent(57,10660.01); h_SL2L164->SetMaximum(95309.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,6593.875); h_SL2L265->SetBinContent(2,9999.532); h_SL2L265->SetBinContent(3,10695.34); h_SL2L265->SetBinContent(4,12152.19); h_SL2L265->SetBinContent(5,12198.4); h_SL2L265->SetBinContent(6,11421.05); h_SL2L265->SetBinContent(7,10426.26); h_SL2L265->SetBinContent(8,9368.956); h_SL2L265->SetBinContent(9,10575.75); h_SL2L265->SetBinContent(10,11007.91); h_SL2L265->SetBinContent(11,11358.53); h_SL2L265->SetBinContent(12,11638.49); h_SL2L265->SetBinContent(13,11162.84); h_SL2L265->SetBinContent(14,10899.19); h_SL2L265->SetBinContent(15,11369.41); h_SL2L265->SetBinContent(16,10336.56); h_SL2L265->SetBinContent(17,10896.47); h_SL2L265->SetBinContent(18,10342); h_SL2L265->SetBinContent(19,10624.67); h_SL2L265->SetBinContent(20,9787.528); h_SL2L265->SetBinContent(21,9390.699); h_SL2L265->SetBinContent(22,8847.099); h_SL2L265->SetBinContent(23,8423.091); h_SL2L265->SetBinContent(24,8637.812); h_SL2L265->SetBinContent(25,9488.548); h_SL2L265->SetBinContent(26,22578.45); h_SL2L265->SetBinContent(27,40876.04); h_SL2L265->SetBinContent(28,55675.57); h_SL2L265->SetBinContent(29,62476.01); h_SL2L265->SetBinContent(30,62160.72); h_SL2L265->SetBinContent(31,55651.11); h_SL2L265->SetBinContent(32,49448.62); h_SL2L265->SetBinContent(33,46344.66); h_SL2L265->SetBinContent(34,34977.98); h_SL2L265->SetBinContent(35,13560.12); h_SL2L265->SetBinContent(36,7278.812); h_SL2L265->SetBinContent(37,6167.148); h_SL2L265->SetBinContent(38,5715.96); h_SL2L265->SetBinContent(39,5846.424); h_SL2L265->SetBinContent(40,7490.816); h_SL2L265->SetBinContent(41,6506.899); h_SL2L265->SetBinContent(42,6210.636); h_SL2L265->SetBinContent(43,5098.973); h_SL2L265->SetBinContent(44,5710.524); h_SL2L265->SetBinContent(45,4207.468); h_SL2L265->SetBinContent(46,3919.36); h_SL2L265->SetBinContent(47,3677.458); h_SL2L265->SetBinContent(48,4009.054); h_SL2L265->SetBinContent(49,4101.466); h_SL2L265->SetBinContent(50,4063.414); h_SL2L265->SetBinContent(51,3845.974); h_SL2L265->SetBinContent(52,4389.575); h_SL2L265->SetBinContent(53,4949.483); h_SL2L265->SetBinContent(54,5069.075); h_SL2L265->SetBinContent(55,5482.211); h_SL2L265->SetBinContent(56,4984.817); h_SL2L265->SetBinContent(57,4318.906); h_SL2L265->SetMaximum(82878.02); 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,7871.336); h_SL2L366->SetBinContent(2,8999.308); h_SL2L366->SetBinContent(3,11508.02); h_SL2L366->SetBinContent(4,11426.48); h_SL2L366->SetBinContent(5,11165.56); h_SL2L366->SetBinContent(6,10472.46); h_SL2L366->SetBinContent(7,9230.338); h_SL2L366->SetBinContent(8,9398.854); h_SL2L366->SetBinContent(9,10757.86); h_SL2L366->SetBinContent(10,10937.24); h_SL2L366->SetBinContent(11,10988.89); h_SL2L366->SetBinContent(12,10901.91); h_SL2L366->SetBinContent(13,10741.55); h_SL2L366->SetBinContent(14,10852.99); h_SL2L366->SetBinContent(15,10714.37); h_SL2L366->SetBinContent(16,10518.67); h_SL2L366->SetBinContent(17,10004.97); h_SL2L366->SetBinContent(18,10173.48); h_SL2L366->SetBinContent(19,9956.044); h_SL2L366->SetBinContent(20,9474.958); h_SL2L366->SetBinContent(21,8667.711); h_SL2L366->SetBinContent(22,8028.98); h_SL2L366->SetBinContent(23,8433.963); h_SL2L366->SetBinContent(24,8224.677); h_SL2L366->SetBinContent(25,12951.28); h_SL2L366->SetBinContent(26,32189.31); h_SL2L366->SetBinContent(27,49157.8); h_SL2L366->SetBinContent(28,59219.84); h_SL2L366->SetBinContent(29,62704.32); h_SL2L366->SetBinContent(30,59459.03); h_SL2L366->SetBinContent(31,51796.98); h_SL2L366->SetBinContent(32,48271.73); h_SL2L366->SetBinContent(33,42993.37); h_SL2L366->SetBinContent(34,22994.3); h_SL2L366->SetBinContent(35,8833.509); h_SL2L366->SetBinContent(36,6311.203); h_SL2L366->SetBinContent(37,5623.548); h_SL2L366->SetBinContent(38,5147.897); h_SL2L366->SetBinContent(39,5115.281); h_SL2L366->SetBinContent(40,5414.262); h_SL2L366->SetBinContent(41,5147.897); h_SL2L366->SetBinContent(42,4443.935); h_SL2L366->SetBinContent(43,4280.854); h_SL2L366->SetBinContent(44,4049.824); h_SL2L366->SetBinContent(45,4006.336); h_SL2L366->SetBinContent(46,3506.224); h_SL2L366->SetBinContent(47,4136.8); h_SL2L366->SetBinContent(48,3878.59); h_SL2L366->SetBinContent(49,3848.692); h_SL2L366->SetBinContent(50,4017.208); h_SL2L366->SetBinContent(51,4011.772); h_SL2L366->SetBinContent(52,4449.371); h_SL2L366->SetBinContent(53,4623.323); h_SL2L366->SetBinContent(54,5071.793); h_SL2L366->SetBinContent(55,5262.053); h_SL2L366->SetBinContent(56,4212.904); h_SL2L366->SetBinContent(57,4150.39); h_SL2L366->SetMaximum(82878.02); 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,8825.355); h_SL2L467->SetBinContent(3,9839.17); h_SL2L467->SetBinContent(4,11157.4); h_SL2L467->SetBinContent(5,10768.73); h_SL2L467->SetBinContent(6,10203.38); h_SL2L467->SetBinContent(7,9627.166); h_SL2L467->SetBinContent(8,8371.448); h_SL2L467->SetBinContent(9,9939.736); h_SL2L467->SetBinContent(10,10480.62); h_SL2L467->SetBinContent(11,10265.9); h_SL2L467->SetBinContent(12,10361.03); h_SL2L467->SetBinContent(13,10255.02); h_SL2L467->SetBinContent(14,10295.79); h_SL2L467->SetBinContent(15,10034.87); h_SL2L467->SetBinContent(16,10230.56); h_SL2L467->SetBinContent(17,9947.891); h_SL2L467->SetBinContent(18,9890.812); h_SL2L467->SetBinContent(19,9730.45); h_SL2L467->SetBinContent(20,8893.305); h_SL2L467->SetBinContent(21,8928.64); h_SL2L467->SetBinContent(22,8159.444); h_SL2L467->SetBinContent(23,8254.574); h_SL2L467->SetBinContent(24,7996.364); h_SL2L467->SetBinContent(25,8765.559); h_SL2L467->SetBinContent(26,21676.07); h_SL2L467->SetBinContent(27,40631.42); h_SL2L467->SetBinContent(28,55039.55); h_SL2L467->SetBinContent(29,61625.28); h_SL2L467->SetBinContent(30,62258.57); h_SL2L467->SetBinContent(31,55390.18); h_SL2L467->SetBinContent(32,49331.75); h_SL2L467->SetBinContent(33,46067.43); h_SL2L467->SetBinContent(34,34668.12); h_SL2L467->SetBinContent(35,13576.42); h_SL2L467->SetBinContent(36,6602.029); h_SL2L467->SetBinContent(37,5862.732); h_SL2L467->SetBinContent(38,5185.949); h_SL2L467->SetBinContent(39,4903.277); h_SL2L467->SetBinContent(40,4530.911); h_SL2L467->SetBinContent(41,4460.243); h_SL2L467->SetBinContent(42,4685.837); h_SL2L467->SetBinContent(43,4272.7); h_SL2L467->SetBinContent(44,4134.082); h_SL2L467->SetBinContent(45,4047.106); h_SL2L467->SetBinContent(46,3685.612); h_SL2L467->SetBinContent(47,3783.46); h_SL2L467->SetBinContent(48,3707.356); h_SL2L467->SetBinContent(49,3769.87); h_SL2L467->SetBinContent(50,3726.382); h_SL2L467->SetBinContent(51,3767.152); h_SL2L467->SetBinContent(52,4074.286); h_SL2L467->SetBinContent(53,4636.913); h_SL2L467->SetBinContent(54,4539.064); h_SL2L467->SetBinContent(55,4753.787); h_SL2L467->SetBinContent(56,4555.373); h_SL2L467->SetBinContent(57,4071.568); h_SL2L467->SetMaximum(82878.02); 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 6630"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }