void RatesPerCell_Removing_noisy_cells_run_5184_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:13:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11412.46,67.5,102712.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5184",60,0,60); h_SL3L168->SetBinContent(1,202.8571); h_SL3L168->SetBinContent(2,168.5714); h_SL3L168->SetBinContent(4,208.5714); h_SL3L168->SetBinContent(5,261.4286); h_SL3L168->SetBinContent(6,227.1429); h_SL3L168->SetBinContent(7,248.5714); h_SL3L168->SetBinContent(8,248.5714); h_SL3L168->SetBinContent(9,277.1429); h_SL3L168->SetBinContent(10,317.1429); h_SL3L168->SetBinContent(11,355.7143); h_SL3L168->SetBinContent(12,361.4286); h_SL3L168->SetBinContent(13,417.1429); h_SL3L168->SetBinContent(14,437.1429); h_SL3L168->SetBinContent(15,425.7143); h_SL3L168->SetBinContent(16,507.1429); h_SL3L168->SetBinContent(17,602.8572); h_SL3L168->SetBinContent(18,580); h_SL3L168->SetBinContent(19,695.7143); h_SL3L168->SetBinContent(20,738.5715); h_SL3L168->SetBinContent(21,910); h_SL3L168->SetBinContent(22,1002.857); h_SL3L168->SetBinContent(23,1137.143); h_SL3L168->SetBinContent(24,1310); h_SL3L168->SetBinContent(25,1408.571); h_SL3L168->SetBinContent(26,1631.429); h_SL3L168->SetBinContent(27,1895.714); h_SL3L168->SetBinContent(28,2234.286); h_SL3L168->SetBinContent(29,2554.286); h_SL3L168->SetBinContent(30,3111.429); h_SL3L168->SetBinContent(31,3797.143); h_SL3L168->SetBinContent(32,5975.714); h_SL3L168->SetBinContent(33,12620); h_SL3L168->SetBinContent(34,63651.43); h_SL3L168->SetBinContent(35,65827.14); h_SL3L168->SetBinContent(36,63640); h_SL3L168->SetBinContent(37,63744.29); h_SL3L168->SetBinContent(38,57722.86); h_SL3L168->SetBinContent(39,45705.71); h_SL3L168->SetBinContent(40,26595.71); h_SL3L168->SetBinContent(41,6198.572); h_SL3L168->SetBinContent(42,3697.143); h_SL3L168->SetBinContent(43,2831.429); h_SL3L168->SetBinContent(44,2524.286); h_SL3L168->SetBinContent(45,2231.429); h_SL3L168->SetBinContent(46,1988.572); h_SL3L168->SetBinContent(47,1757.143); h_SL3L168->SetBinContent(48,1625.714); h_SL3L168->SetBinContent(49,12772.86); h_SL3L168->SetBinContent(50,1351.429); h_SL3L168->SetBinContent(51,1334.286); h_SL3L168->SetBinContent(52,1327.143); h_SL3L168->SetBinContent(53,1211.429); h_SL3L168->SetBinContent(54,1122.857); h_SL3L168->SetBinContent(55,1090); h_SL3L168->SetBinContent(56,1067.143); h_SL3L168->SetBinContent(57,947.1429); h_SL3L168->SetBinContent(58,841.4286); h_SL3L168->SetBinContent(59,865.7143); h_SL3L168->SetMaximum(91299.65); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,184.2857); h_SL3L269->SetBinContent(2,164.2857); h_SL3L269->SetBinContent(4,188.5714); h_SL3L269->SetBinContent(5,232.8571); h_SL3L269->SetBinContent(6,267.1429); h_SL3L269->SetBinContent(7,222.8571); h_SL3L269->SetBinContent(8,298.5714); h_SL3L269->SetBinContent(9,268.5714); h_SL3L269->SetBinContent(10,334.2857); h_SL3L269->SetBinContent(11,321.4286); h_SL3L269->SetBinContent(12,408.5714); h_SL3L269->SetBinContent(13,360); h_SL3L269->SetBinContent(14,420); h_SL3L269->SetBinContent(15,418.5714); h_SL3L269->SetBinContent(16,505.7143); h_SL3L269->SetBinContent(17,565.7143); h_SL3L269->SetBinContent(18,588.5715); h_SL3L269->SetBinContent(19,588.5715); h_SL3L269->SetBinContent(20,694.2857); h_SL3L269->SetBinContent(21,822.8572); h_SL3L269->SetBinContent(22,872.8572); h_SL3L269->SetBinContent(23,1065.714); h_SL3L269->SetBinContent(24,1175.714); h_SL3L269->SetBinContent(25,1394.286); h_SL3L269->SetBinContent(26,1484.286); h_SL3L269->SetBinContent(27,1788.571); h_SL3L269->SetBinContent(28,1974.286); h_SL3L269->SetBinContent(29,2288.572); h_SL3L269->SetBinContent(30,2810); h_SL3L269->SetBinContent(31,3245.714); h_SL3L269->SetBinContent(32,4250); h_SL3L269->SetBinContent(33,8617.143); h_SL3L269->SetBinContent(34,36102.86); h_SL3L269->SetBinContent(35,68607.14); h_SL3L269->SetBinContent(36,64282.86); h_SL3L269->SetBinContent(37,63981.43); h_SL3L269->SetBinContent(38,61162.86); h_SL3L269->SetBinContent(39,52657.14); h_SL3L269->SetBinContent(40,38572.86); h_SL3L269->SetBinContent(41,12092.86); h_SL3L269->SetBinContent(42,4980); h_SL3L269->SetBinContent(43,3090); h_SL3L269->SetBinContent(44,2638.572); h_SL3L269->SetBinContent(45,2321.429); h_SL3L269->SetBinContent(46,2038.572); h_SL3L269->SetBinContent(47,1861.429); h_SL3L269->SetBinContent(48,1660); h_SL3L269->SetBinContent(49,1557.143); h_SL3L269->SetBinContent(50,1330); h_SL3L269->SetBinContent(51,1350); h_SL3L269->SetBinContent(52,1321.429); h_SL3L269->SetBinContent(53,1288.571); h_SL3L269->SetBinContent(54,1150); h_SL3L269->SetBinContent(55,1138.571); h_SL3L269->SetBinContent(56,1048.571); h_SL3L269->SetBinContent(57,1008.571); h_SL3L269->SetBinContent(58,890); h_SL3L269->SetBinContent(59,830); h_SL3L269->SetMaximum(79391.08); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,217.1429); h_SL3L370->SetBinContent(2,178.5714); h_SL3L370->SetBinContent(3,182.8571); h_SL3L370->SetBinContent(4,204.2857); h_SL3L370->SetBinContent(5,261.4286); h_SL3L370->SetBinContent(6,231.4286); h_SL3L370->SetBinContent(7,300); h_SL3L370->SetBinContent(8,232.8571); h_SL3L370->SetBinContent(9,282.8571); h_SL3L370->SetBinContent(10,340); h_SL3L370->SetBinContent(11,350); h_SL3L370->SetBinContent(12,344.2857); h_SL3L370->SetBinContent(13,415.7143); h_SL3L370->SetBinContent(14,434.2857); h_SL3L370->SetBinContent(15,440); h_SL3L370->SetBinContent(16,501.4286); h_SL3L370->SetBinContent(17,538.5714); h_SL3L370->SetBinContent(18,605.7143); h_SL3L370->SetBinContent(19,651.4286); h_SL3L370->SetBinContent(20,735.7143); h_SL3L370->SetBinContent(21,830); h_SL3L370->SetBinContent(22,991.4286); h_SL3L370->SetBinContent(23,1088.571); h_SL3L370->SetBinContent(24,1222.857); h_SL3L370->SetBinContent(25,1414.286); h_SL3L370->SetBinContent(26,1592.857); h_SL3L370->SetBinContent(27,1840); h_SL3L370->SetBinContent(28,2137.143); h_SL3L370->SetBinContent(29,2497.143); h_SL3L370->SetBinContent(30,2915.714); h_SL3L370->SetBinContent(31,3698.572); h_SL3L370->SetBinContent(32,5864.286); h_SL3L370->SetBinContent(33,12532.86); h_SL3L370->SetBinContent(34,63504.29); h_SL3L370->SetBinContent(35,66041.43); h_SL3L370->SetBinContent(36,63774.29); h_SL3L370->SetBinContent(37,63828.57); h_SL3L370->SetBinContent(38,57684.29); h_SL3L370->SetBinContent(39,46038.57); h_SL3L370->SetBinContent(40,26691.43); h_SL3L370->SetBinContent(41,6038.572); h_SL3L370->SetBinContent(42,3552.857); h_SL3L370->SetBinContent(43,2755.714); h_SL3L370->SetBinContent(44,2434.286); h_SL3L370->SetBinContent(45,2615.714); h_SL3L370->SetBinContent(46,1921.429); h_SL3L370->SetBinContent(47,1665.714); h_SL3L370->SetBinContent(48,1521.429); h_SL3L370->SetBinContent(49,1432.857); h_SL3L370->SetBinContent(50,1257.143); h_SL3L370->SetBinContent(51,1304.286); h_SL3L370->SetBinContent(52,1265.714); h_SL3L370->SetBinContent(53,1160); h_SL3L370->SetBinContent(54,1115.714); h_SL3L370->SetBinContent(55,1048.571); h_SL3L370->SetBinContent(56,994.2858); h_SL3L370->SetBinContent(57,950); h_SL3L370->SetBinContent(58,878.5715); h_SL3L370->SetBinContent(59,815.7143); h_SL3L370->SetMaximum(79391.08); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,161.4286); h_SL3L471->SetBinContent(3,210); h_SL3L471->SetBinContent(4,181.4286); h_SL3L471->SetBinContent(5,242.8571); h_SL3L471->SetBinContent(6,255.7143); h_SL3L471->SetBinContent(7,208.5714); h_SL3L471->SetBinContent(8,254.2857); h_SL3L471->SetBinContent(9,227.1429); h_SL3L471->SetBinContent(10,304.2857); h_SL3L471->SetBinContent(11,287.1429); h_SL3L471->SetBinContent(12,380); h_SL3L471->SetBinContent(13,375.7143); h_SL3L471->SetBinContent(14,431.4286); h_SL3L471->SetBinContent(15,451.4286); h_SL3L471->SetBinContent(16,504.2857); h_SL3L471->SetBinContent(17,542.8572); h_SL3L471->SetBinContent(18,622.8572); h_SL3L471->SetBinContent(19,612.8572); h_SL3L471->SetBinContent(20,711.4286); h_SL3L471->SetBinContent(21,814.2857); h_SL3L471->SetBinContent(22,870); h_SL3L471->SetBinContent(23,1121.429); h_SL3L471->SetBinContent(24,1130); h_SL3L471->SetBinContent(25,1340); h_SL3L471->SetBinContent(26,1531.429); h_SL3L471->SetBinContent(27,1771.429); h_SL3L471->SetBinContent(28,1970); h_SL3L471->SetBinContent(29,2257.143); h_SL3L471->SetBinContent(30,2825.714); h_SL3L471->SetBinContent(31,3170); h_SL3L471->SetBinContent(32,4100); h_SL3L471->SetBinContent(33,8542.857); h_SL3L471->SetBinContent(34,36234.29); h_SL3L471->SetBinContent(35,69035.72); h_SL3L471->SetBinContent(36,64562.86); h_SL3L471->SetBinContent(37,63941.43); h_SL3L471->SetBinContent(38,61190); h_SL3L471->SetBinContent(39,52444.29); h_SL3L471->SetBinContent(40,38597.14); h_SL3L471->SetBinContent(41,12034.29); h_SL3L471->SetBinContent(42,4887.143); h_SL3L471->SetBinContent(43,3137.143); h_SL3L471->SetBinContent(44,2600); h_SL3L471->SetBinContent(45,2298.572); h_SL3L471->SetBinContent(46,1948.572); h_SL3L471->SetBinContent(47,1797.143); h_SL3L471->SetBinContent(48,1642.857); h_SL3L471->SetBinContent(49,1474.286); h_SL3L471->SetBinContent(50,1344.286); h_SL3L471->SetBinContent(51,1247.143); h_SL3L471->SetBinContent(52,1254.286); h_SL3L471->SetBinContent(53,1248.571); h_SL3L471->SetBinContent(54,1108.571); h_SL3L471->SetBinContent(55,1091.429); h_SL3L471->SetBinContent(56,1045.714); h_SL3L471->SetBinContent(57,968.5715); h_SL3L471->SetBinContent(58,885.7143); h_SL3L471->SetBinContent(59,840); h_SL3L471->SetMaximum(79391.08); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 5184"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }