void RatesPerCell_Removing_noisy_cells_run_6740_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:58 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16780.95,67.5,151028.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6740",60,0,60); h_SL1L160->SetBinContent(1,38876.39); h_SL1L160->SetBinContent(2,37264.34); h_SL1L160->SetBinContent(3,37871.75); h_SL1L160->SetBinContent(4,37155.05); h_SL1L160->SetBinContent(5,35837.24); h_SL1L160->SetBinContent(6,37098.3); h_SL1L160->SetBinContent(7,35774.18); h_SL1L160->SetBinContent(8,35385.36); h_SL1L160->SetBinContent(9,32817); h_SL1L160->SetBinContent(10,29920.76); h_SL1L160->SetBinContent(11,30044.77); h_SL1L160->SetBinContent(12,30738.35); h_SL1L160->SetBinContent(13,32558.48); h_SL1L160->SetBinContent(14,31610.58); h_SL1L160->SetBinContent(15,31162.91); h_SL1L160->SetBinContent(16,30072.09); h_SL1L160->SetBinContent(17,30637.46); h_SL1L160->SetBinContent(18,32503.84); h_SL1L160->SetBinContent(19,34189.45); h_SL1L160->SetBinContent(20,33186.91); h_SL1L160->SetBinContent(21,34410.14); h_SL1L160->SetBinContent(22,34595.09); h_SL1L160->SetBinContent(23,34500.52); h_SL1L160->SetBinContent(24,32938.9); h_SL1L160->SetBinContent(25,32964.12); h_SL1L160->SetBinContent(26,32203.28); h_SL1L160->SetBinContent(27,30923.31); h_SL1L160->SetBinContent(28,32005.72); h_SL1L160->SetBinContent(29,31179.72); h_SL1L160->SetBinContent(30,31669.43); h_SL1L160->SetBinContent(31,30639.57); h_SL1L160->SetBinContent(32,30336.91); h_SL1L160->SetBinContent(33,49624.83); h_SL1L160->SetBinContent(34,61905.46); h_SL1L160->SetBinContent(35,67155.68); h_SL1L160->SetBinContent(36,66527.25); h_SL1L160->SetBinContent(37,72519.39); h_SL1L160->SetBinContent(38,71823.7); h_SL1L160->SetBinContent(39,53040.21); h_SL1L160->SetBinContent(40,30290.67); h_SL1L160->SetBinContent(41,28642.89); h_SL1L160->SetBinContent(42,27711.8); h_SL1L160->SetBinContent(43,27547.87); h_SL1L160->SetBinContent(44,27087.58); h_SL1L160->SetBinContent(45,25214.9); h_SL1L160->SetBinContent(46,25053.07); h_SL1L160->SetBinContent(47,24014.8); h_SL1L160->SetBinContent(48,22287.14); h_SL1L160->SetBinContent(49,23949.64); h_SL1L160->SetBinContent(50,24260.7); h_SL1L160->SetBinContent(51,22640.24); h_SL1L160->SetBinContent(52,22726.41); h_SL1L160->SetBinContent(53,23312.8); h_SL1L160->SetBinContent(54,22776.86); h_SL1L160->SetBinContent(55,23501.96); h_SL1L160->SetBinContent(56,23871.88); h_SL1L160->SetBinContent(57,25931.61); h_SL1L160->SetBinContent(58,25643.67); h_SL1L160->SetBinContent(59,26328.84); h_SL1L160->SetMaximum(134247.5); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,40574.62); h_SL1L261->SetBinContent(2,38769.2); h_SL1L261->SetBinContent(3,38674.62); h_SL1L261->SetBinContent(4,39427.06); h_SL1L261->SetBinContent(5,38048.3); h_SL1L261->SetBinContent(6,41841.99); h_SL1L261->SetBinContent(7,40866.77); h_SL1L261->SetBinContent(8,39996.64); h_SL1L261->SetBinContent(9,38546.42); h_SL1L261->SetBinContent(10,34698.08); h_SL1L261->SetBinContent(11,34000.29); h_SL1L261->SetBinContent(12,34576.18); h_SL1L261->SetBinContent(13,35948.63); h_SL1L261->SetBinContent(14,38052.5); h_SL1L261->SetBinContent(15,37758.25); h_SL1L261->SetBinContent(16,37518.65); h_SL1L261->SetBinContent(17,36825.07); h_SL1L261->SetBinContent(18,37394.65); h_SL1L261->SetBinContent(19,39240); h_SL1L261->SetBinContent(20,40360.24); h_SL1L261->SetBinContent(21,41274.51); h_SL1L261->SetBinContent(22,42100.5); h_SL1L261->SetBinContent(23,42945.42); h_SL1L261->SetBinContent(24,43229.16); h_SL1L261->SetBinContent(25,43283.8); h_SL1L261->SetBinContent(26,41844.09); h_SL1L261->SetBinContent(27,39992.43); h_SL1L261->SetBinContent(28,40894.09); h_SL1L261->SetBinContent(29,41997.52); h_SL1L261->SetBinContent(30,42232.92); h_SL1L261->SetBinContent(31,41203.05); h_SL1L261->SetBinContent(32,41493.09); h_SL1L261->SetBinContent(33,53151.6); h_SL1L261->SetBinContent(34,84232.54); h_SL1L261->SetBinContent(35,94087.73); h_SL1L261->SetBinContent(36,97398.01); h_SL1L261->SetBinContent(37,101511.2); h_SL1L261->SetBinContent(38,99661.61); h_SL1L261->SetBinContent(39,87692.05); h_SL1L261->SetBinContent(40,51018.3); h_SL1L261->SetBinContent(41,39820.09); h_SL1L261->SetBinContent(42,35933.92); h_SL1L261->SetBinContent(43,35324.41); h_SL1L261->SetBinContent(44,34305.05); h_SL1L261->SetBinContent(45,33869.98); h_SL1L261->SetBinContent(46,34225.18); h_SL1L261->SetBinContent(47,34725.4); h_SL1L261->SetBinContent(48,33741.78); h_SL1L261->SetBinContent(49,43935.35); h_SL1L261->SetBinContent(50,32060.36); h_SL1L261->SetBinContent(51,30959.04); h_SL1L261->SetBinContent(52,29718.99); h_SL1L261->SetBinContent(53,31867); h_SL1L261->SetBinContent(54,30673.2); h_SL1L261->SetBinContent(55,30822.42); h_SL1L261->SetBinContent(56,34569.87); h_SL1L261->SetBinContent(57,30334.81); h_SL1L261->SetBinContent(58,29702.18); h_SL1L261->SetBinContent(59,27522.65); h_SL1L261->SetMaximum(116737.8); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,38334.14); h_SL1L362->SetBinContent(2,37079.38); h_SL1L362->SetBinContent(3,38197.52); h_SL1L362->SetBinContent(4,37537.57); h_SL1L362->SetBinContent(5,39235.8); h_SL1L362->SetBinContent(6,40150.07); h_SL1L362->SetBinContent(7,38371.97); h_SL1L362->SetBinContent(8,38466.55); h_SL1L362->SetBinContent(9,35200.4); h_SL1L362->SetBinContent(10,32423.97); h_SL1L362->SetBinContent(11,32669.88); h_SL1L362->SetBinContent(12,34103.28); h_SL1L362->SetBinContent(13,35999.07); h_SL1L362->SetBinContent(14,36816.66); h_SL1L362->SetBinContent(15,37253.83); h_SL1L362->SetBinContent(16,35282.37); h_SL1L362->SetBinContent(17,35965.45); h_SL1L362->SetBinContent(18,37533.36); h_SL1L362->SetBinContent(19,38456.04); h_SL1L362->SetBinContent(20,38405.6); h_SL1L362->SetBinContent(21,41165.22); h_SL1L362->SetBinContent(22,40868.87); h_SL1L362->SetBinContent(23,41476.28); h_SL1L362->SetBinContent(24,41543.54); h_SL1L362->SetBinContent(25,41739); h_SL1L362->SetBinContent(26,38426.62); h_SL1L362->SetBinContent(27,39149.62); h_SL1L362->SetBinContent(28,39584.69); h_SL1L362->SetBinContent(29,39740.22); h_SL1L362->SetBinContent(30,40559.91); h_SL1L362->SetBinContent(31,39399.73); h_SL1L362->SetBinContent(32,42220.3); h_SL1L362->SetBinContent(33,70999.81); h_SL1L362->SetBinContent(34,88921.58); h_SL1L362->SetBinContent(35,95203.77); h_SL1L362->SetBinContent(36,98011.73); h_SL1L362->SetBinContent(37,101452.3); h_SL1L362->SetBinContent(38,93911.18); h_SL1L362->SetBinContent(39,70768.62); h_SL1L362->SetBinContent(40,40398.07); h_SL1L362->SetBinContent(41,35915); h_SL1L362->SetBinContent(42,34614.01); h_SL1L362->SetBinContent(43,33916.22); h_SL1L362->SetBinContent(44,32953.61); h_SL1L362->SetBinContent(45,32451.29); h_SL1L362->SetBinContent(46,33247.86); h_SL1L362->SetBinContent(47,33348.75); h_SL1L362->SetBinContent(48,31015.78); h_SL1L362->SetBinContent(49,31196.54); h_SL1L362->SetBinContent(50,30334.81); h_SL1L362->SetBinContent(51,28953.95); h_SL1L362->SetBinContent(52,29687.47); h_SL1L362->SetBinContent(53,32737.13); h_SL1L362->SetBinContent(54,29212.47); h_SL1L362->SetBinContent(55,29830.39); h_SL1L362->SetBinContent(56,32915.78); h_SL1L362->SetBinContent(57,29395.32); h_SL1L362->SetBinContent(58,28214.13); h_SL1L362->SetBinContent(59,27325.08); h_SL1L362->SetMaximum(116737.8); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,8032.956); h_SL1L463->SetBinContent(3,7240.589); h_SL1L463->SetBinContent(4,6223.333); h_SL1L463->SetBinContent(5,6105.635); h_SL1L463->SetBinContent(6,6326.32); h_SL1L463->SetBinContent(7,6816.032); h_SL1L463->SetBinContent(8,6437.714); h_SL1L463->SetBinContent(9,6601.652); h_SL1L463->SetBinContent(10,6315.812); h_SL1L463->SetBinContent(11,7270.014); h_SL1L463->SetBinContent(12,7087.16); h_SL1L463->SetBinContent(13,7410.833); h_SL1L463->SetBinContent(14,7934.172); h_SL1L463->SetBinContent(15,7614.704); h_SL1L463->SetBinContent(16,7143.908); h_SL1L463->SetBinContent(17,5828.201); h_SL1L463->SetBinContent(18,5685.281); h_SL1L463->SetBinContent(19,5956.409); h_SL1L463->SetBinContent(20,5815.591); h_SL1L463->SetBinContent(21,5666.365); h_SL1L463->SetBinContent(22,6025.768); h_SL1L463->SetBinContent(23,5660.06); h_SL1L463->SetBinContent(24,5708.401); h_SL1L463->SetBinContent(25,4707.959); h_SL1L463->SetBinContent(26,5351.1); h_SL1L463->SetBinContent(27,5021.123); h_SL1L463->SetBinContent(28,5113.601); h_SL1L463->SetBinContent(29,5010.614); h_SL1L463->SetBinContent(30,5138.822); h_SL1L463->SetBinContent(31,5847.117); h_SL1L463->SetBinContent(32,4810.946); h_SL1L463->SetBinContent(33,4764.707); h_SL1L463->SetBinContent(34,6761.386); h_SL1L463->SetBinContent(35,9455.853); h_SL1L463->SetBinContent(36,7402.425); h_SL1L463->SetBinContent(37,5752.538); h_SL1L463->SetBinContent(38,6547.006); h_SL1L463->SetBinContent(39,8299.88); h_SL1L463->SetBinContent(40,4518.8); h_SL1L463->SetBinContent(41,4377.982); h_SL1L463->SetBinContent(42,4649.11); h_SL1L463->SetBinContent(43,5136.72); h_SL1L463->SetBinContent(44,5153.534); h_SL1L463->SetBinContent(45,4100.548); h_SL1L463->SetBinContent(46,4737.384); h_SL1L463->SetBinContent(47,4237.164); h_SL1L463->SetBinContent(48,3863.049); h_SL1L463->SetBinContent(49,3339.709); h_SL1L463->SetBinContent(50,3581.412); h_SL1L463->SetBinContent(51,3272.452); h_SL1L463->SetBinContent(52,3585.615); h_SL1L463->SetBinContent(53,3251.434); h_SL1L463->SetBinContent(54,3272.452); h_SL1L463->SetBinContent(55,2.101768); h_SL1L463->SetBinContent(56,3341.81); h_SL1L463->SetBinContent(57,3270.35); h_SL1L463->SetBinContent(58,4401.101); h_SL1L463->SetBinContent(59,4785.725); h_SL1L463->SetMaximum(116737.8); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6740"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }