void RatesPerCell_Removing_noisy_cells_run_5395_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:36:53 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11951.81,67.5,107566.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5395",60,0,60); h_SL1L160->SetBinContent(1,497.1429); h_SL1L160->SetBinContent(2,537.1429); h_SL1L160->SetBinContent(3,575.7143); h_SL1L160->SetBinContent(4,600); h_SL1L160->SetBinContent(5,550); h_SL1L160->SetBinContent(6,614.2857); h_SL1L160->SetBinContent(7,640); h_SL1L160->SetBinContent(8,612.8572); h_SL1L160->SetBinContent(9,712.8572); h_SL1L160->SetBinContent(10,725.7143); h_SL1L160->SetBinContent(11,891.4286); h_SL1L160->SetBinContent(12,904.2857); h_SL1L160->SetBinContent(13,977.1429); h_SL1L160->SetBinContent(14,1078.571); h_SL1L160->SetBinContent(15,1048.571); h_SL1L160->SetBinContent(16,1060); h_SL1L160->SetBinContent(17,1122.857); h_SL1L160->SetBinContent(18,1405.714); h_SL1L160->SetBinContent(19,1635.714); h_SL1L160->SetBinContent(20,1808.571); h_SL1L160->SetBinContent(21,2100); h_SL1L160->SetBinContent(22,2261.429); h_SL1L160->SetBinContent(23,2584.286); h_SL1L160->SetBinContent(24,2780); h_SL1L160->SetBinContent(25,3004.286); h_SL1L160->SetBinContent(26,3241.429); h_SL1L160->SetBinContent(27,3435.714); h_SL1L160->SetBinContent(28,4382.857); h_SL1L160->SetBinContent(29,4485.714); h_SL1L160->SetBinContent(30,5120); h_SL1L160->SetBinContent(31,7500); h_SL1L160->SetBinContent(32,14131.43); h_SL1L160->SetBinContent(33,67922.86); h_SL1L160->SetBinContent(34,67765.72); h_SL1L160->SetBinContent(35,64125.71); h_SL1L160->SetBinContent(36,61811.43); h_SL1L160->SetBinContent(37,56662.86); h_SL1L160->SetBinContent(38,45075.71); h_SL1L160->SetBinContent(39,25894.29); h_SL1L160->SetBinContent(40,7140); h_SL1L160->SetBinContent(41,4701.429); h_SL1L160->SetBinContent(42,4111.429); h_SL1L160->SetBinContent(43,3788.572); h_SL1L160->SetBinContent(44,3408.572); h_SL1L160->SetBinContent(45,3094.286); h_SL1L160->SetBinContent(46,2885.714); h_SL1L160->SetBinContent(47,2807.143); h_SL1L160->SetBinContent(48,2448.572); h_SL1L160->SetBinContent(49,2385.714); h_SL1L160->SetBinContent(50,2380); h_SL1L160->SetBinContent(51,2087.143); h_SL1L160->SetBinContent(52,1930); h_SL1L160->SetBinContent(53,1912.857); h_SL1L160->SetBinContent(54,1734.286); h_SL1L160->SetBinContent(55,1701.429); h_SL1L160->SetBinContent(56,1608.571); h_SL1L160->SetBinContent(57,1600); h_SL1L160->SetBinContent(58,1538.571); h_SL1L160->SetBinContent(59,1438.571); h_SL1L160->SetMaximum(95614.45); 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,438.5714); h_SL1L261->SetBinContent(2,475.7143); h_SL1L261->SetBinContent(3,482.8571); h_SL1L261->SetBinContent(4,510); h_SL1L261->SetBinContent(5,498.5714); h_SL1L261->SetBinContent(6,485.7143); h_SL1L261->SetBinContent(7,562.8572); h_SL1L261->SetBinContent(8,574.2857); h_SL1L261->SetBinContent(9,590); h_SL1L261->SetBinContent(10,590); h_SL1L261->SetBinContent(11,821.4286); h_SL1L261->SetBinContent(12,822.8572); h_SL1L261->SetBinContent(13,865.7143); h_SL1L261->SetBinContent(14,958.5715); h_SL1L261->SetBinContent(15,984.2858); h_SL1L261->SetBinContent(16,965.7143); h_SL1L261->SetBinContent(17,977.1429); h_SL1L261->SetBinContent(18,1254.286); h_SL1L261->SetBinContent(19,1490); h_SL1L261->SetBinContent(20,1558.571); h_SL1L261->SetBinContent(21,1837.143); h_SL1L261->SetBinContent(22,2095.714); h_SL1L261->SetBinContent(23,2197.143); h_SL1L261->SetBinContent(24,2541.429); h_SL1L261->SetBinContent(25,2811.429); h_SL1L261->SetBinContent(26,2865.714); h_SL1L261->SetBinContent(27,3161.429); h_SL1L261->SetBinContent(28,3802.857); h_SL1L261->SetBinContent(29,4324.286); h_SL1L261->SetBinContent(30,4647.143); h_SL1L261->SetBinContent(31,5520); h_SL1L261->SetBinContent(32,10012.86); h_SL1L261->SetBinContent(33,40064.29); h_SL1L261->SetBinContent(34,71775.72); h_SL1L261->SetBinContent(35,65058.57); h_SL1L261->SetBinContent(36,63007.14); h_SL1L261->SetBinContent(37,59901.43); h_SL1L261->SetBinContent(38,51388.57); h_SL1L261->SetBinContent(39,37935.71); h_SL1L261->SetBinContent(40,12274.29); h_SL1L261->SetBinContent(41,6048.572); h_SL1L261->SetBinContent(42,4164.286); h_SL1L261->SetBinContent(43,3687.143); h_SL1L261->SetBinContent(44,3488.572); h_SL1L261->SetBinContent(45,3262.857); h_SL1L261->SetBinContent(46,2895.714); h_SL1L261->SetBinContent(47,2684.286); h_SL1L261->SetBinContent(48,2520); h_SL1L261->SetBinContent(49,2407.143); h_SL1L261->SetBinContent(50,2264.286); h_SL1L261->SetBinContent(51,2150); h_SL1L261->SetBinContent(52,1880); h_SL1L261->SetBinContent(53,1885.714); h_SL1L261->SetBinContent(54,1761.429); h_SL1L261->SetBinContent(55,1674.286); h_SL1L261->SetBinContent(56,1567.143); h_SL1L261->SetBinContent(57,1455.714); h_SL1L261->SetBinContent(58,1521.429); h_SL1L261->SetBinContent(59,1344.286); h_SL1L261->SetMaximum(83143.36); 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,412.8571); h_SL1L362->SetBinContent(2,440); h_SL1L362->SetBinContent(3,504.2857); h_SL1L362->SetBinContent(4,468.5714); h_SL1L362->SetBinContent(5,457.1429); h_SL1L362->SetBinContent(6,502.8571); h_SL1L362->SetBinContent(7,550); h_SL1L362->SetBinContent(8,490); h_SL1L362->SetBinContent(9,597.1429); h_SL1L362->SetBinContent(10,645.7143); h_SL1L362->SetBinContent(11,770); h_SL1L362->SetBinContent(12,787.1429); h_SL1L362->SetBinContent(13,815.7143); h_SL1L362->SetBinContent(14,902.8572); h_SL1L362->SetBinContent(15,955.7143); h_SL1L362->SetBinContent(16,1000); h_SL1L362->SetBinContent(17,1061.429); h_SL1L362->SetBinContent(18,1241.429); h_SL1L362->SetBinContent(19,1470); h_SL1L362->SetBinContent(20,1614.286); h_SL1L362->SetBinContent(21,1897.143); h_SL1L362->SetBinContent(22,2005.714); h_SL1L362->SetBinContent(23,2388.572); h_SL1L362->SetBinContent(24,2544.286); h_SL1L362->SetBinContent(25,2737.143); h_SL1L362->SetBinContent(26,2955.714); h_SL1L362->SetBinContent(27,3291.429); h_SL1L362->SetBinContent(28,4141.429); h_SL1L362->SetBinContent(29,4325.714); h_SL1L362->SetBinContent(30,4908.572); h_SL1L362->SetBinContent(31,7374.286); h_SL1L362->SetBinContent(32,14231.43); h_SL1L362->SetBinContent(33,68335.72); h_SL1L362->SetBinContent(34,67970); h_SL1L362->SetBinContent(35,64141.43); h_SL1L362->SetBinContent(36,62095.71); h_SL1L362->SetBinContent(37,56577.14); h_SL1L362->SetBinContent(38,45132.86); h_SL1L362->SetBinContent(39,25835.71); h_SL1L362->SetBinContent(40,6978.572); h_SL1L362->SetBinContent(41,4508.572); h_SL1L362->SetBinContent(42,3927.143); h_SL1L362->SetBinContent(43,3578.572); h_SL1L362->SetBinContent(44,3271.429); h_SL1L362->SetBinContent(45,2964.286); h_SL1L362->SetBinContent(46,2667.143); h_SL1L362->SetBinContent(47,2545.714); h_SL1L362->SetBinContent(48,2312.857); h_SL1L362->SetBinContent(49,2178.572); h_SL1L362->SetBinContent(50,2140); h_SL1L362->SetBinContent(51,1981.429); h_SL1L362->SetBinContent(52,1731.429); h_SL1L362->SetBinContent(53,1805.714); h_SL1L362->SetBinContent(54,1635.714); h_SL1L362->SetBinContent(55,1520); h_SL1L362->SetBinContent(56,1451.429); h_SL1L362->SetBinContent(57,1424.286); h_SL1L362->SetBinContent(58,1401.429); h_SL1L362->SetBinContent(59,1330); h_SL1L362->SetMaximum(83143.36); 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,484.2857); h_SL1L463->SetBinContent(3,454.2857); h_SL1L463->SetBinContent(4,441.4286); h_SL1L463->SetBinContent(5,441.4286); h_SL1L463->SetBinContent(6,432.8571); h_SL1L463->SetBinContent(7,474.2857); h_SL1L463->SetBinContent(8,524.2857); h_SL1L463->SetBinContent(9,527.1429); h_SL1L463->SetBinContent(10,558.5715); h_SL1L463->SetBinContent(11,690); h_SL1L463->SetBinContent(12,702.8572); h_SL1L463->SetBinContent(13,751.4286); h_SL1L463->SetBinContent(14,824.2857); h_SL1L463->SetBinContent(15,877.1429); h_SL1L463->SetBinContent(16,892.8572); h_SL1L463->SetBinContent(17,945.7143); h_SL1L463->SetBinContent(18,1168.571); h_SL1L463->SetBinContent(19,1348.571); h_SL1L463->SetBinContent(20,1440); h_SL1L463->SetBinContent(21,1658.571); h_SL1L463->SetBinContent(22,1894.286); h_SL1L463->SetBinContent(23,2027.143); h_SL1L463->SetBinContent(24,2438.572); h_SL1L463->SetBinContent(25,2570); h_SL1L463->SetBinContent(26,2745.714); h_SL1L463->SetBinContent(27,3044.286); h_SL1L463->SetBinContent(28,3661.429); h_SL1L463->SetBinContent(29,4148.571); h_SL1L463->SetBinContent(30,4547.143); h_SL1L463->SetBinContent(31,5447.143); h_SL1L463->SetBinContent(32,9865.715); h_SL1L463->SetBinContent(33,39790); h_SL1L463->SetBinContent(34,72298.57); h_SL1L463->SetBinContent(35,65715.72); h_SL1L463->SetBinContent(36,63174.29); h_SL1L463->SetBinContent(37,60285.71); h_SL1L463->SetBinContent(38,51547.14); h_SL1L463->SetBinContent(39,38291.43); h_SL1L463->SetBinContent(40,12325.71); h_SL1L463->SetBinContent(41,5995.714); h_SL1L463->SetBinContent(42,4045.714); h_SL1L463->SetBinContent(43,3575.714); h_SL1L463->SetBinContent(44,3320); h_SL1L463->SetBinContent(45,3107.143); h_SL1L463->SetBinContent(46,2821.429); h_SL1L463->SetBinContent(47,2502.857); h_SL1L463->SetBinContent(48,2324.286); h_SL1L463->SetBinContent(49,2237.143); h_SL1L463->SetBinContent(50,2098.572); h_SL1L463->SetBinContent(51,1981.429); h_SL1L463->SetBinContent(52,1812.857); h_SL1L463->SetBinContent(53,1737.143); h_SL1L463->SetBinContent(54,1607.143); h_SL1L463->SetBinContent(56,1495.714); h_SL1L463->SetBinContent(57,1424.286); h_SL1L463->SetBinContent(58,1425.714); h_SL1L463->SetBinContent(59,1304.286); h_SL1L463->SetMaximum(83143.36); 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 5395"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }