void RatesPerCell_Removing_noisy_cells_run_6649_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:25 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14539.02,67.5,130851.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6649",60,0,60); h_SL3L168->SetBinContent(1,17905.57); h_SL3L168->SetBinContent(2,12937.46); h_SL3L168->SetBinContent(4,21269.23); h_SL3L168->SetBinContent(5,22083.12); h_SL3L168->SetBinContent(6,23645.19); h_SL3L168->SetBinContent(7,23098.36); h_SL3L168->SetBinContent(8,23066.57); h_SL3L168->SetBinContent(9,21773.67); h_SL3L168->SetBinContent(10,20173.44); h_SL3L168->SetBinContent(11,19194.23); h_SL3L168->SetBinContent(12,19724.11); h_SL3L168->SetBinContent(13,20175.56); h_SL3L168->SetBinContent(14,21905.08); h_SL3L168->SetBinContent(15,21879.64); h_SL3L168->SetBinContent(16,21780.03); h_SL3L168->SetBinContent(17,21549); h_SL3L168->SetBinContent(18,21877.53); h_SL3L168->SetBinContent(19,22795.27); h_SL3L168->SetBinContent(20,23390.85); h_SL3L168->SetBinContent(21,23530.74); h_SL3L168->SetBinContent(22,24715.54); h_SL3L168->SetBinContent(23,25482.8); h_SL3L168->SetBinContent(24,25368.35); h_SL3L168->SetBinContent(25,25669.32); h_SL3L168->SetBinContent(26,26057.19); h_SL3L168->SetBinContent(27,24840.59); h_SL3L168->SetBinContent(28,24829.99); h_SL3L168->SetBinContent(29,25289.93); h_SL3L168->SetBinContent(30,25724.43); h_SL3L168->SetBinContent(31,25565.46); h_SL3L168->SetBinContent(32,26445.06); h_SL3L168->SetBinContent(33,30014.3); h_SL3L168->SetBinContent(34,57781.93); h_SL3L168->SetBinContent(35,75880.38); h_SL3L168->SetBinContent(36,79386.04); h_SL3L168->SetBinContent(37,86261.71); h_SL3L168->SetBinContent(38,87948.84); h_SL3L168->SetBinContent(39,82204.98); h_SL3L168->SetBinContent(40,59547.48); h_SL3L168->SetBinContent(41,28195.77); h_SL3L168->SetBinContent(42,23325.15); h_SL3L168->SetBinContent(43,21771.55); h_SL3L168->SetBinContent(44,21459.98); h_SL3L168->SetBinContent(45,20614.3); h_SL3L168->SetBinContent(46,20262.46); h_SL3L168->SetBinContent(47,20008.12); h_SL3L168->SetBinContent(48,20141.65); h_SL3L168->SetBinContent(49,38195.59); h_SL3L168->SetBinContent(50,19940.3); h_SL3L168->SetBinContent(51,18973.8); h_SL3L168->SetBinContent(52,18840.28); h_SL3L168->SetBinContent(53,17780.52); h_SL3L168->SetBinContent(54,17324.83); h_SL3L168->SetBinContent(55,17873.78); h_SL3L168->SetBinContent(56,17950.08); h_SL3L168->SetBinContent(57,17589.77); h_SL3L168->SetBinContent(58,13999.33); h_SL3L168->SetBinContent(59,12049.38); h_SL3L168->SetMaximum(116312.1); 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,18422.73); h_SL3L269->SetBinContent(2,13552.11); h_SL3L269->SetBinContent(4,17634.28); h_SL3L269->SetBinContent(5,20798.7); h_SL3L269->SetBinContent(6,21998.34); h_SL3L269->SetBinContent(7,21930.51); h_SL3L269->SetBinContent(8,22267.51); h_SL3L269->SetBinContent(9,21729.16); h_SL3L269->SetBinContent(10,20120.46); h_SL3L269->SetBinContent(11,18891.14); h_SL3L269->SetBinContent(12,18666.48); h_SL3L269->SetBinContent(13,19433.74); h_SL3L269->SetBinContent(14,20705.44); h_SL3L269->SetBinContent(15,21307.38); h_SL3L269->SetBinContent(16,21010.65); h_SL3L269->SetBinContent(17,20323.93); h_SL3L269->SetBinContent(18,20743.59); h_SL3L269->SetBinContent(19,21063.63); h_SL3L269->SetBinContent(20,22214.53); h_SL3L269->SetBinContent(21,22167.9); h_SL3L269->SetBinContent(22,22820.71); h_SL3L269->SetBinContent(23,23950.4); h_SL3L269->SetBinContent(24,24367.94); h_SL3L269->SetBinContent(25,24403.97); h_SL3L269->SetBinContent(26,24384.9); h_SL3L269->SetBinContent(27,24380.66); h_SL3L269->SetBinContent(28,23507.42); h_SL3L269->SetBinContent(29,23774.48); h_SL3L269->SetBinContent(30,24410.33); h_SL3L269->SetBinContent(31,24448.48); h_SL3L269->SetBinContent(32,25137.32); h_SL3L269->SetBinContent(33,27125.42); h_SL3L269->SetBinContent(34,38748.78); h_SL3L269->SetBinContent(35,69341.71); h_SL3L269->SetBinContent(36,77141.48); h_SL3L269->SetBinContent(37,82014.23); h_SL3L269->SetBinContent(38,86711.05); h_SL3L269->SetBinContent(39,86399.48); h_SL3L269->SetBinContent(40,73553.16); h_SL3L269->SetBinContent(41,37735.66); h_SL3L269->SetBinContent(42,25118.25); h_SL3L269->SetBinContent(43,21591.39); h_SL3L269->SetBinContent(44,20463.82); h_SL3L269->SetBinContent(45,19724.11); h_SL3L269->SetBinContent(46,19872.47); h_SL3L269->SetBinContent(47,18942.01); h_SL3L269->SetBinContent(48,19374.39); h_SL3L269->SetBinContent(49,19399.82); h_SL3L269->SetBinContent(50,18893.26); h_SL3L269->SetBinContent(51,18342.19); h_SL3L269->SetBinContent(52,17721.18); h_SL3L269->SetBinContent(53,18318.88); h_SL3L269->SetBinContent(54,17125.6); h_SL3L269->SetBinContent(55,16292.63); h_SL3L269->SetBinContent(56,16830.98); h_SL3L269->SetBinContent(57,16858.54); h_SL3L269->SetBinContent(58,15107.83); h_SL3L269->SetBinContent(59,12409.7); h_SL3L269->SetMaximum(101141.2); 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,15775.47); h_SL3L370->SetBinContent(2,12257.09); h_SL3L370->SetBinContent(3,14378.72); h_SL3L370->SetBinContent(4,19904.27); h_SL3L370->SetBinContent(5,20198.88); h_SL3L370->SetBinContent(6,21205.64); h_SL3L370->SetBinContent(7,20627.02); h_SL3L370->SetBinContent(8,20762.67); h_SL3L370->SetBinContent(9,19855.52); h_SL3L370->SetBinContent(10,18172.63); h_SL3L370->SetBinContent(11,17841.99); h_SL3L370->SetBinContent(12,18176.87); h_SL3L370->SetBinContent(13,18778.81); h_SL3L370->SetBinContent(14,20323.93); h_SL3L370->SetBinContent(15,20037.79); h_SL3L370->SetBinContent(16,19772.86); h_SL3L370->SetBinContent(17,19592.7); h_SL3L370->SetBinContent(18,19893.67); h_SL3L370->SetBinContent(19,20531.64); h_SL3L370->SetBinContent(20,21504.49); h_SL3L370->SetBinContent(21,21540.52); h_SL3L370->SetBinContent(22,22528.21); h_SL3L370->SetBinContent(23,22791.03); h_SL3L370->SetBinContent(24,23204.33); h_SL3L370->SetBinContent(25,24257.73); h_SL3L370->SetBinContent(26,23479.87); h_SL3L370->SetBinContent(27,23019.94); h_SL3L370->SetBinContent(28,22646.9); h_SL3L370->SetBinContent(29,23002.98); h_SL3L370->SetBinContent(30,23263.68); h_SL3L370->SetBinContent(31,23363.3); h_SL3L370->SetBinContent(32,24783.37); h_SL3L370->SetBinContent(33,28566.68); h_SL3L370->SetBinContent(34,55730.25); h_SL3L370->SetBinContent(35,73968.59); h_SL3L370->SetBinContent(36,77980.8); h_SL3L370->SetBinContent(37,84233.34); h_SL3L370->SetBinContent(38,86350.73); h_SL3L370->SetBinContent(39,79928.63); h_SL3L370->SetBinContent(40,57752.26); h_SL3L370->SetBinContent(41,26368.76); h_SL3L370->SetBinContent(42,22127.63); h_SL3L370->SetBinContent(43,20186.16); h_SL3L370->SetBinContent(44,19552.43); h_SL3L370->SetBinContent(45,2147.058); h_SL3L370->SetBinContent(46,18395.18); h_SL3L370->SetBinContent(47,18032.74); h_SL3L370->SetBinContent(48,18475.72); h_SL3L370->SetBinContent(49,17928.89); h_SL3L370->SetBinContent(50,17943.72); h_SL3L370->SetBinContent(51,17305.75); h_SL3L370->SetBinContent(52,17339.67); h_SL3L370->SetBinContent(53,16843.7); h_SL3L370->SetBinContent(54,16093.4); h_SL3L370->SetBinContent(55,16116.71); h_SL3L370->SetBinContent(56,16284.15); h_SL3L370->SetBinContent(57,15764.87); h_SL3L370->SetBinContent(58,13246.9); h_SL3L370->SetBinContent(59,11305.44); h_SL3L370->SetMaximum(101141.2); 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,12346.11); h_SL3L471->SetBinContent(3,13268.1); h_SL3L471->SetBinContent(4,16538.49); h_SL3L471->SetBinContent(5,19323.52); h_SL3L471->SetBinContent(6,46192.48); h_SL3L471->SetBinContent(7,20552.83); h_SL3L471->SetBinContent(8,19762.26); h_SL3L471->SetBinContent(9,19486.72); h_SL3L471->SetBinContent(10,18414.25); h_SL3L471->SetBinContent(11,16667.78); h_SL3L471->SetBinContent(12,16799.19); h_SL3L471->SetBinContent(13,17445.64); h_SL3L471->SetBinContent(14,18520.23); h_SL3L471->SetBinContent(15,19086.14); h_SL3L471->SetBinContent(16,19287.49); h_SL3L471->SetBinContent(17,18770.33); h_SL3L471->SetBinContent(18,18965.33); h_SL3L471->SetBinContent(19,19448.57); h_SL3L471->SetBinContent(20,19789.81); h_SL3L471->SetBinContent(21,20167.08); h_SL3L471->SetBinContent(22,21269.23); h_SL3L471->SetBinContent(23,21459.98); h_SL3L471->SetBinContent(24,21811.82); h_SL3L471->SetBinContent(25,22246.32); h_SL3L471->SetBinContent(26,22269.63); h_SL3L471->SetBinContent(27,22237.84); h_SL3L471->SetBinContent(28,21542.64); h_SL3L471->SetBinContent(29,21462.1); h_SL3L471->SetBinContent(30,22428.6); h_SL3L471->SetBinContent(31,22458.27); h_SL3L471->SetBinContent(32,22769.84); h_SL3L471->SetBinContent(33,25372.59); h_SL3L471->SetBinContent(34,36860.3); h_SL3L471->SetBinContent(35,68010.66); h_SL3L471->SetBinContent(36,74890.57); h_SL3L471->SetBinContent(37,79812.06); h_SL3L471->SetBinContent(38,83731.02); h_SL3L471->SetBinContent(39,84059.55); h_SL3L471->SetBinContent(40,71745.23); h_SL3L471->SetBinContent(41,35993.43); h_SL3L471->SetBinContent(42,23967.36); h_SL3L471->SetBinContent(43,19664.76); h_SL3L471->SetBinContent(44,18971.68); h_SL3L471->SetBinContent(45,18325.24); h_SL3L471->SetBinContent(46,17714.82); h_SL3L471->SetBinContent(47,17511.35); h_SL3L471->SetBinContent(48,17151.03); h_SL3L471->SetBinContent(49,17254.88); h_SL3L471->SetBinContent(50,17163.75); h_SL3L471->SetBinContent(51,16934.84); h_SL3L471->SetBinContent(52,16557.57); h_SL3L471->SetBinContent(53,16133.67); h_SL3L471->SetBinContent(54,15512.65); h_SL3L471->SetBinContent(55,15137.5); h_SL3L471->SetBinContent(56,15627.11); h_SL3L471->SetBinContent(57,15194.73); h_SL3L471->SetBinContent(58,14327.85); h_SL3L471->SetBinContent(59,11937.05); h_SL3L471->SetMaximum(101141.2); 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 6649"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }