void RatesPerCell_Removing_noisy_cells_run_6750_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:04:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11367.46,67.5,102307.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6750",60,0,60); h_SL2L164->SetBinContent(1,32693.41); h_SL2L164->SetBinContent(2,40927.64); h_SL2L164->SetBinContent(3,49842.67); h_SL2L164->SetBinContent(4,50983.14); h_SL2L164->SetBinContent(5,48978); h_SL2L164->SetBinContent(6,46207.58); h_SL2L164->SetBinContent(7,40833.22); h_SL2L164->SetBinContent(8,39653); h_SL2L164->SetBinContent(9,45241.04); h_SL2L164->SetBinContent(10,46724.4); h_SL2L164->SetBinContent(11,46533.08); h_SL2L164->SetBinContent(12,45367.76); h_SL2L164->SetBinContent(13,45029.85); h_SL2L164->SetBinContent(14,44445.95); h_SL2L164->SetBinContent(15,44711.81); h_SL2L164->SetBinContent(16,42324.03); h_SL2L164->SetBinContent(17,41208.41); h_SL2L164->SetBinContent(18,40480.4); h_SL2L164->SetBinContent(19,39715.12); h_SL2L164->SetBinContent(20,36370.74); h_SL2L164->SetBinContent(21,33838.85); h_SL2L164->SetBinContent(22,31254.78); h_SL2L164->SetBinContent(23,30064.62); h_SL2L164->SetBinContent(24,28625.99); h_SL2L164->SetBinContent(25,31068.43); h_SL2L164->SetBinContent(26,46866.02); h_SL2L164->SetBinContent(27,59532.92); h_SL2L164->SetBinContent(28,65754.55); h_SL2L164->SetBinContent(29,68763.51); h_SL2L164->SetBinContent(30,66919.88); h_SL2L164->SetBinContent(31,64022.73); h_SL2L164->SetBinContent(32,65078.72); h_SL2L164->SetBinContent(33,63602.82); h_SL2L164->SetBinContent(34,43004.83); h_SL2L164->SetBinContent(36,19186.7); h_SL2L164->SetBinContent(37,20819.13); h_SL2L164->SetBinContent(38,20048.88); h_SL2L164->SetBinContent(39,19917.19); h_SL2L164->SetBinContent(40,56891.71); h_SL2L164->SetBinContent(41,37006.82); h_SL2L164->SetBinContent(42,20963.24); h_SL2L164->SetBinContent(43,21281.28); h_SL2L164->SetBinContent(44,20684.96); h_SL2L164->SetBinContent(45,15956.61); h_SL2L164->SetBinContent(46,15211.21); h_SL2L164->SetBinContent(47,15352.83); h_SL2L164->SetBinContent(48,15482.04); h_SL2L164->SetBinContent(49,16659.78); h_SL2L164->SetBinContent(50,16006.3); h_SL2L164->SetBinContent(51,16764.13); h_SL2L164->SetBinContent(52,19363.11); h_SL2L164->SetBinContent(53,20538.36); h_SL2L164->SetBinContent(54,21716.1); h_SL2L164->SetBinContent(55,21800.58); h_SL2L164->SetBinContent(56,19007.8); h_SL2L164->SetBinContent(57,16128.05); h_SL2L164->SetMaximum(90939.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,26968.71); h_SL2L265->SetBinContent(2,38984.62); h_SL2L265->SetBinContent(3,42845.81); h_SL2L265->SetBinContent(4,48687.29); h_SL2L265->SetBinContent(5,48327.02); h_SL2L265->SetBinContent(6,45449.76); h_SL2L265->SetBinContent(7,40927.64); h_SL2L265->SetBinContent(8,36957.12); h_SL2L265->SetBinContent(9,42244.52); h_SL2L265->SetBinContent(10,43685.63); h_SL2L265->SetBinContent(11,45521.81); h_SL2L265->SetBinContent(12,44408.68); h_SL2L265->SetBinContent(13,44334.14); h_SL2L265->SetBinContent(14,44294.38); h_SL2L265->SetBinContent(15,43039.62); h_SL2L265->SetBinContent(16,42100.41); h_SL2L265->SetBinContent(17,40254.29); h_SL2L265->SetBinContent(18,39787.17); h_SL2L265->SetBinContent(19,38584.59); h_SL2L265->SetBinContent(20,36298.68); h_SL2L265->SetBinContent(21,34422.75); h_SL2L265->SetBinContent(22,31098.25); h_SL2L265->SetBinContent(23,29214.86); h_SL2L265->SetBinContent(24,28623.51); h_SL2L265->SetBinContent(25,27490.49); h_SL2L265->SetBinContent(26,37896.33); h_SL2L265->SetBinContent(27,52603.15); h_SL2L265->SetBinContent(28,62817.67); h_SL2L265->SetBinContent(29,66348.4); h_SL2L265->SetBinContent(30,67026.71); h_SL2L265->SetBinContent(31,64154.42); h_SL2L265->SetBinContent(32,63418.96); h_SL2L265->SetBinContent(33,64882.43); h_SL2L265->SetBinContent(34,55482.89); h_SL2L265->SetBinContent(35,29806.21); h_SL2L265->SetBinContent(36,20761.98); h_SL2L265->SetBinContent(37,19042.58); h_SL2L265->SetBinContent(38,18838.84); h_SL2L265->SetBinContent(39,18438.81); h_SL2L265->SetBinContent(40,18739.45); h_SL2L265->SetBinContent(41,17926.96); h_SL2L265->SetBinContent(42,16880.91); h_SL2L265->SetBinContent(43,16851.1); h_SL2L265->SetBinContent(44,16547.96); h_SL2L265->SetBinContent(45,15698.21); h_SL2L265->SetBinContent(46,15288.23); h_SL2L265->SetBinContent(47,14704.33); h_SL2L265->SetBinContent(48,14972.68); h_SL2L265->SetBinContent(49,15412.47); h_SL2L265->SetBinContent(50,16095.75); h_SL2L265->SetBinContent(51,15260.9); h_SL2L265->SetBinContent(52,17149.26); h_SL2L265->SetBinContent(53,18525.77); h_SL2L265->SetBinContent(54,19944.52); h_SL2L265->SetBinContent(55,21052.69); h_SL2L265->SetBinContent(56,19107.19); h_SL2L265->SetBinContent(57,18095.92); h_SL2L265->SetMaximum(79078.03); 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,31863.53); h_SL2L366->SetBinContent(2,37260.25); h_SL2L366->SetBinContent(3,46247.34); h_SL2L366->SetBinContent(4,47174.12); h_SL2L366->SetBinContent(5,45176.44); h_SL2L366->SetBinContent(6,41986.11); h_SL2L366->SetBinContent(7,37533.57); h_SL2L366->SetBinContent(8,38035.47); h_SL2L366->SetBinContent(9,41941.39); h_SL2L366->SetBinContent(10,43101.73); h_SL2L366->SetBinContent(11,42296.7); h_SL2L366->SetBinContent(12,42490.5); h_SL2L366->SetBinContent(13,42232.1); h_SL2L366->SetBinContent(14,42112.83); h_SL2L366->SetBinContent(15,40920.19); h_SL2L366->SetBinContent(16,39657.97); h_SL2L366->SetBinContent(17,38601.98); h_SL2L366->SetBinContent(18,38370.91); h_SL2L366->SetBinContent(19,36554.61); h_SL2L366->SetBinContent(20,33580.44); h_SL2L366->SetBinContent(21,30842.33); h_SL2L366->SetBinContent(22,28757.68); h_SL2L366->SetBinContent(23,28054.52); h_SL2L366->SetBinContent(24,26414.63); h_SL2L366->SetBinContent(25,29473.27); h_SL2L366->SetBinContent(26,45017.42); h_SL2L366->SetBinContent(27,58099.26); h_SL2L366->SetBinContent(28,64482.4); h_SL2L366->SetBinContent(29,66845.33); h_SL2L366->SetBinContent(30,65111.02); h_SL2L366->SetBinContent(31,62735.67); h_SL2L366->SetBinContent(32,63483.56); h_SL2L366->SetBinContent(33,62144.32); h_SL2L366->SetBinContent(34,41762.49); h_SL2L366->SetBinContent(35,22369.57); h_SL2L366->SetBinContent(36,18538.19); h_SL2L366->SetBinContent(37,17899.63); h_SL2L366->SetBinContent(38,17618.86); h_SL2L366->SetBinContent(39,17447.42); h_SL2L366->SetBinContent(40,17832.54); h_SL2L366->SetBinContent(41,16664.75); h_SL2L366->SetBinContent(42,16108.18); h_SL2L366->SetBinContent(43,15949.16); h_SL2L366->SetBinContent(44,15591.36); h_SL2L366->SetBinContent(45,14731.66); h_SL2L366->SetBinContent(46,13946.51); h_SL2L366->SetBinContent(47,14016.08); h_SL2L366->SetBinContent(48,14729.18); h_SL2L366->SetBinContent(49,15504.4); h_SL2L366->SetBinContent(50,14972.68); h_SL2L366->SetBinContent(51,15419.92); h_SL2L366->SetBinContent(52,17025.02); h_SL2L366->SetBinContent(53,18751.88); h_SL2L366->SetBinContent(54,19840.17); h_SL2L366->SetBinContent(55,20324.68); h_SL2L366->SetBinContent(56,17507.05); h_SL2L366->SetBinContent(57,16955.45); h_SL2L366->SetMaximum(79078.03); 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,35779.38); h_SL2L467->SetBinContent(3,40463); h_SL2L467->SetBinContent(4,45017.42); h_SL2L467->SetBinContent(5,44281.96); h_SL2L467->SetBinContent(6,41340.1); h_SL2L467->SetBinContent(7,38008.14); h_SL2L467->SetBinContent(8,34733.34); h_SL2L467->SetBinContent(9,39329.99); h_SL2L467->SetBinContent(10,40626.99); h_SL2L467->SetBinContent(11,41886.73); h_SL2L467->SetBinContent(12,41255.62); h_SL2L467->SetBinContent(13,40368.59); h_SL2L467->SetBinContent(14,40751.23); h_SL2L467->SetBinContent(15,40226.96); h_SL2L467->SetBinContent(16,38895.17); h_SL2L467->SetBinContent(17,37575.81); h_SL2L467->SetBinContent(18,36564.54); h_SL2L467->SetBinContent(19,35806.71); h_SL2L467->SetBinContent(20,33443.79); h_SL2L467->SetBinContent(21,31721.9); h_SL2L467->SetBinContent(22,29070.75); h_SL2L467->SetBinContent(23,26891.69); h_SL2L467->SetBinContent(24,25984.78); h_SL2L467->SetBinContent(25,25388.46); h_SL2L467->SetBinContent(26,36012.95); h_SL2L467->SetBinContent(27,51326.02); h_SL2L467->SetBinContent(28,61113.18); h_SL2L467->SetBinContent(29,65250.17); h_SL2L467->SetBinContent(30,66159.56); h_SL2L467->SetBinContent(31,63083.53); h_SL2L467->SetBinContent(32,62695.92); h_SL2L467->SetBinContent(33,63905.96); h_SL2L467->SetBinContent(34,54481.57); h_SL2L467->SetBinContent(35,28419.76); h_SL2L467->SetBinContent(36,19032.64); h_SL2L467->SetBinContent(37,18003.99); h_SL2L467->SetBinContent(38,17285.91); h_SL2L467->SetBinContent(39,16957.94); h_SL2L467->SetBinContent(40,16314.41); h_SL2L467->SetBinContent(41,15872.13); h_SL2L467->SetBinContent(42,16095.75); h_SL2L467->SetBinContent(43,15164); h_SL2L467->SetBinContent(44,15116.79); h_SL2L467->SetBinContent(45,14736.63); h_SL2L467->SetBinContent(46,13939.05); h_SL2L467->SetBinContent(47,13630.95); h_SL2L467->SetBinContent(48,13951.48); h_SL2L467->SetBinContent(49,14135.34); h_SL2L467->SetBinContent(50,14828.57); h_SL2L467->SetBinContent(51,13906.75); h_SL2L467->SetBinContent(52,15613.73); h_SL2L467->SetBinContent(53,17087.14); h_SL2L467->SetBinContent(54,18003.99); h_SL2L467->SetBinContent(55,19467.46); h_SL2L467->SetBinContent(56,17984.11); h_SL2L467->SetBinContent(57,17052.36); h_SL2L467->SetMaximum(79078.03); 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 6750"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }