void RatesPerCell_Removing_noisy_cells_run_6721_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:04:12 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12750.34,67.5,114753); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6721",60,0,60); h_SL2L164->SetBinContent(1,47796.34); h_SL2L164->SetBinContent(2,59688.7); h_SL2L164->SetBinContent(3,72782.02); h_SL2L164->SetBinContent(4,73807.04); h_SL2L164->SetBinContent(5,73118.59); h_SL2L164->SetBinContent(6,67032.17); h_SL2L164->SetBinContent(7,59775.39); h_SL2L164->SetBinContent(8,58931.4); h_SL2L164->SetBinContent(9,66241.73); h_SL2L164->SetBinContent(10,68245.88); h_SL2L164->SetBinContent(11,67753.77); h_SL2L164->SetBinContent(12,65910.25); h_SL2L164->SetBinContent(13,66914.88); h_SL2L164->SetBinContent(14,66731.3); h_SL2L164->SetBinContent(15,64739.89); h_SL2L164->SetBinContent(16,62174.77); h_SL2L164->SetBinContent(17,60644.88); h_SL2L164->SetBinContent(18,59958.98); h_SL2L164->SetBinContent(19,57595.3); h_SL2L164->SetBinContent(20,52916.38); h_SL2L164->SetBinContent(21,49395.08); h_SL2L164->SetBinContent(22,45042.54); h_SL2L164->SetBinContent(23,43688.59); h_SL2L164->SetBinContent(24,41646.18); h_SL2L164->SetBinContent(25,43492.25); h_SL2L164->SetBinContent(26,58564.23); h_SL2L164->SetBinContent(27,69949.16); h_SL2L164->SetBinContent(28,75385.38); h_SL2L164->SetBinContent(29,77129.45); h_SL2L164->SetBinContent(30,73738.2); h_SL2L164->SetBinContent(31,71420.41); h_SL2L164->SetBinContent(32,71690.69); h_SL2L164->SetBinContent(33,70915.55); h_SL2L164->SetBinContent(34,50998.91); h_SL2L164->SetBinContent(36,26742.49); h_SL2L164->SetBinContent(37,28731.35); h_SL2L164->SetBinContent(38,27532.94); h_SL2L164->SetBinContent(39,27706.33); h_SL2L164->SetBinContent(40,55950.66); h_SL2L164->SetBinContent(41,73340.42); h_SL2L164->SetBinContent(42,28713.5); h_SL2L164->SetBinContent(43,29098.53); h_SL2L164->SetBinContent(44,29057.73); h_SL2L164->SetBinContent(45,22764.78); h_SL2L164->SetBinContent(46,22282.86); h_SL2L164->SetBinContent(47,22920.32); h_SL2L164->SetBinContent(48,22838.72); h_SL2L164->SetBinContent(49,24297.22); h_SL2L164->SetBinContent(50,23080.96); h_SL2L164->SetBinContent(51,24251.32); h_SL2L164->SetBinContent(52,27476.84); h_SL2L164->SetBinContent(53,30006.26); h_SL2L164->SetBinContent(54,31816.63); h_SL2L164->SetBinContent(55,31923.72); h_SL2L164->SetBinContent(56,28032.7); h_SL2L164->SetBinContent(57,24011.64); h_SL2L164->SetMaximum(102002.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,39555.33); h_SL2L265->SetBinContent(2,57360.71); h_SL2L265->SetBinContent(3,62870.87); h_SL2L265->SetBinContent(4,71086.38); h_SL2L265->SetBinContent(5,70762.55); h_SL2L265->SetBinContent(6,66960.78); h_SL2L265->SetBinContent(7,61659.71); h_SL2L265->SetBinContent(8,53750.17); h_SL2L265->SetBinContent(9,61940.19); h_SL2L265->SetBinContent(10,63872.95); h_SL2L265->SetBinContent(11,66371.77); h_SL2L265->SetBinContent(12,64268.17); h_SL2L265->SetBinContent(13,64002.99); h_SL2L265->SetBinContent(14,64191.68); h_SL2L265->SetBinContent(15,62646.48); h_SL2L265->SetBinContent(16,60813.16); h_SL2L265->SetBinContent(17,59693.8); h_SL2L265->SetBinContent(18,57092.98); h_SL2L265->SetBinContent(19,57597.84); h_SL2L265->SetBinContent(20,53056.62); h_SL2L265->SetBinContent(21,49627.11); h_SL2L265->SetBinContent(22,45417.36); h_SL2L265->SetBinContent(23,42138.3); h_SL2L265->SetBinContent(24,40850.64); h_SL2L265->SetBinContent(25,39093.81); h_SL2L265->SetBinContent(26,48556.19); h_SL2L265->SetBinContent(27,62932.07); h_SL2L265->SetBinContent(28,72751.41); h_SL2L265->SetBinContent(29,75512.87); h_SL2L265->SetBinContent(30,75081.95); h_SL2L265->SetBinContent(31,69722.23); h_SL2L265->SetBinContent(32,70446.38); h_SL2L265->SetBinContent(33,70859.45); h_SL2L265->SetBinContent(34,62590.39); h_SL2L265->SetBinContent(35,37421.13); h_SL2L265->SetBinContent(36,27611.98); h_SL2L265->SetBinContent(37,26349.82); h_SL2L265->SetBinContent(38,26421.22); h_SL2L265->SetBinContent(39,25748.06); h_SL2L265->SetBinContent(40,26620.1); h_SL2L265->SetBinContent(41,25421.69); h_SL2L265->SetBinContent(42,24850.53); h_SL2L265->SetBinContent(43,24256.42); h_SL2L265->SetBinContent(44,24529.25); h_SL2L265->SetBinContent(45,22861.67); h_SL2L265->SetBinContent(46,21239.99); h_SL2L265->SetBinContent(47,21270.58); h_SL2L265->SetBinContent(48,21696.4); h_SL2L265->SetBinContent(49,22359.36); h_SL2L265->SetBinContent(50,23445.58); h_SL2L265->SetBinContent(51,21882.54); h_SL2L265->SetBinContent(52,24886.23); h_SL2L265->SetBinContent(53,27221.86); h_SL2L265->SetBinContent(54,29588.09); h_SL2L265->SetBinContent(55,31021.09); h_SL2L265->SetBinContent(56,28200.99); h_SL2L265->SetBinContent(57,27030.62); h_SL2L265->SetMaximum(88698.87); 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,45771.79); h_SL2L366->SetBinContent(2,54920.54); h_SL2L366->SetBinContent(3,68778.8); h_SL2L366->SetBinContent(4,68687.01); h_SL2L366->SetBinContent(5,66955.68); h_SL2L366->SetBinContent(6,61200.74); h_SL2L366->SetBinContent(7,54499.82); h_SL2L366->SetBinContent(8,55812.97); h_SL2L366->SetBinContent(9,62557.24); h_SL2L366->SetBinContent(10,63646.02); h_SL2L366->SetBinContent(11,62988.16); h_SL2L366->SetBinContent(12,61391.98); h_SL2L366->SetBinContent(13,61606.16); h_SL2L366->SetBinContent(14,61894.29); h_SL2L366->SetBinContent(15,60270.05); h_SL2L366->SetBinContent(16,57470.36); h_SL2L366->SetBinContent(17,56542.22); h_SL2L366->SetBinContent(18,55848.67); h_SL2L366->SetBinContent(19,53505.39); h_SL2L366->SetBinContent(20,49183.45); h_SL2L366->SetBinContent(21,44718.71); h_SL2L366->SetBinContent(22,41873.12); h_SL2L366->SetBinContent(23,40190.23); h_SL2L366->SetBinContent(24,37961.7); h_SL2L366->SetBinContent(25,40429.92); h_SL2L366->SetBinContent(26,55078.62); h_SL2L366->SetBinContent(27,67065.32); h_SL2L366->SetBinContent(28,73888.63); h_SL2L366->SetBinContent(29,73982.98); h_SL2L366->SetBinContent(30,72172.61); h_SL2L366->SetBinContent(31,69421.35); h_SL2L366->SetBinContent(32,69584.54); h_SL2L366->SetBinContent(33,68452.42); h_SL2L366->SetBinContent(34,48551.09); h_SL2L366->SetBinContent(35,29243.87); h_SL2L366->SetBinContent(36,25745.52); h_SL2L366->SetBinContent(37,25526.23); h_SL2L366->SetBinContent(38,25067.26); h_SL2L366->SetBinContent(39,24389.01); h_SL2L366->SetBinContent(40,24401.76); h_SL2L366->SetBinContent(41,24261.52); h_SL2L366->SetBinContent(42,23007.01); h_SL2L366->SetBinContent(43,23116.65); h_SL2L366->SetBinContent(44,22242.06); h_SL2L366->SetBinContent(45,21433.77); h_SL2L366->SetBinContent(46,20712.17); h_SL2L366->SetBinContent(47,20696.88); h_SL2L366->SetBinContent(48,20888.11); h_SL2L366->SetBinContent(49,22147.72); h_SL2L366->SetBinContent(50,21653.06); h_SL2L366->SetBinContent(51,22035.53); h_SL2L366->SetBinContent(52,24942.32); h_SL2L366->SetBinContent(53,27441.14); h_SL2L366->SetBinContent(54,29478.45); h_SL2L366->SetBinContent(55,29947.62); h_SL2L366->SetBinContent(56,25531.33); h_SL2L366->SetBinContent(57,25526.23); h_SL2L366->SetMaximum(88698.87); 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,53079.57); h_SL2L467->SetBinContent(3,59887.58); h_SL2L467->SetBinContent(4,66032.64); h_SL2L467->SetBinContent(5,65288.1); h_SL2L467->SetBinContent(6,60162.96); h_SL2L467->SetBinContent(7,55833.37); h_SL2L467->SetBinContent(8,49593.96); h_SL2L467->SetBinContent(9,58510.68); h_SL2L467->SetBinContent(10,59168.53); h_SL2L467->SetBinContent(11,61590.86); h_SL2L467->SetBinContent(12,59013); h_SL2L467->SetBinContent(13,59331.72); h_SL2L467->SetBinContent(14,59415.87); h_SL2L467->SetBinContent(15,58773.31); h_SL2L467->SetBinContent(16,56228.59); h_SL2L467->SetBinContent(17,54247.38); h_SL2L467->SetBinContent(18,53495.19); h_SL2L467->SetBinContent(19,52829.68); h_SL2L467->SetBinContent(20,48737.23); h_SL2L467->SetBinContent(21,45955.38); h_SL2L467->SetBinContent(22,41967.46); h_SL2L467->SetBinContent(23,39017.32); h_SL2L467->SetBinContent(24,37306.39); h_SL2L467->SetBinContent(25,36141.12); h_SL2L467->SetBinContent(26,46123.66); h_SL2L467->SetBinContent(27,60484.24); h_SL2L467->SetBinContent(28,69831.88); h_SL2L467->SetBinContent(29,73595.41); h_SL2L467->SetBinContent(30,74087.52); h_SL2L467->SetBinContent(31,68587.56); h_SL2L467->SetBinContent(32,69306.61); h_SL2L467->SetBinContent(33,68796.65); h_SL2L467->SetBinContent(34,60555.63); h_SL2L467->SetBinContent(35,35784.15); h_SL2L467->SetBinContent(36,25883.21); h_SL2L467->SetBinContent(37,24542); h_SL2L467->SetBinContent(38,24246.22); h_SL2L467->SetBinContent(39,23519.52); h_SL2L467->SetBinContent(40,23200.8); h_SL2L467->SetBinContent(41,22430.75); h_SL2L467->SetBinContent(42,22695.93); h_SL2L467->SetBinContent(43,22196.17); h_SL2L467->SetBinContent(44,21821.35); h_SL2L467->SetBinContent(45,21303.73); h_SL2L467->SetBinContent(46,19832.49); h_SL2L467->SetBinContent(47,19926.83); h_SL2L467->SetBinContent(48,20380.7); h_SL2L467->SetBinContent(49,20732.57); h_SL2L467->SetBinContent(50,22104.38); h_SL2L467->SetBinContent(51,20118.07); h_SL2L467->SetBinContent(52,22774.98); h_SL2L467->SetBinContent(53,24924.47); h_SL2L467->SetBinContent(54,27181.06); h_SL2L467->SetBinContent(55,29014.38); h_SL2L467->SetBinContent(56,27051.02); h_SL2L467->SetBinContent(57,24888.78); h_SL2L467->SetMaximum(88698.87); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6721"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }