void RatesPerCell_Removing_noisy_cells_run_6726_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:47:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12825.95,67.5,115433.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6726",60,0,60); h_SL2L164->SetBinContent(1,48210.34); h_SL2L164->SetBinContent(2,60119.84); h_SL2L164->SetBinContent(3,71361.24); h_SL2L164->SetBinContent(4,74196.84); h_SL2L164->SetBinContent(5,72503.25); h_SL2L164->SetBinContent(6,66264.94); h_SL2L164->SetBinContent(7,59684.8); h_SL2L164->SetBinContent(8,59055.53); h_SL2L164->SetBinContent(9,66881.26); h_SL2L164->SetBinContent(10,67955.94); h_SL2L164->SetBinContent(11,67803.15); h_SL2L164->SetBinContent(12,65762.55); h_SL2L164->SetBinContent(13,68080.23); h_SL2L164->SetBinContent(14,66448.8); h_SL2L164->SetBinContent(15,64447.05); h_SL2L164->SetBinContent(16,62712.02); h_SL2L164->SetBinContent(17,59736.59); h_SL2L164->SetBinContent(18,59423.25); h_SL2L164->SetBinContent(19,57784.04); h_SL2L164->SetBinContent(20,53420.59); h_SL2L164->SetBinContent(21,49300.55); h_SL2L164->SetBinContent(22,44947.46); h_SL2L164->SetBinContent(23,43577.57); h_SL2L164->SetBinContent(24,41650.91); h_SL2L164->SetBinContent(25,43222.79); h_SL2L164->SetBinContent(26,58392.59); h_SL2L164->SetBinContent(27,69507.09); h_SL2L164->SetBinContent(28,75823.1); h_SL2L164->SetBinContent(29,77586.61); h_SL2L164->SetBinContent(30,72870.97); h_SL2L164->SetBinContent(31,70669.82); h_SL2L164->SetBinContent(32,71125.59); h_SL2L164->SetBinContent(33,69781.59); h_SL2L164->SetBinContent(34,50582.4); h_SL2L164->SetBinContent(36,26729.71); h_SL2L164->SetBinContent(37,28006.38); h_SL2L164->SetBinContent(38,28236.85); h_SL2L164->SetBinContent(39,27006.8); h_SL2L164->SetBinContent(40,60303.71); h_SL2L164->SetBinContent(41,56639.44); h_SL2L164->SetBinContent(42,27861.36); h_SL2L164->SetBinContent(43,28195.42); h_SL2L164->SetBinContent(44,27669.73); h_SL2L164->SetBinContent(45,22723.62); h_SL2L164->SetBinContent(46,21695.56); h_SL2L164->SetBinContent(47,22451.72); h_SL2L164->SetBinContent(48,22982.58); h_SL2L164->SetBinContent(49,23964.04); h_SL2L164->SetBinContent(50,22972.22); h_SL2L164->SetBinContent(51,24792.7); h_SL2L164->SetBinContent(52,27395.24); h_SL2L164->SetBinContent(53,29977.06); h_SL2L164->SetBinContent(54,32602.9); h_SL2L164->SetBinContent(55,32059.08); h_SL2L164->SetBinContent(56,27436.67); h_SL2L164->SetBinContent(57,24282.55); h_SL2L164->SetMaximum(102607.6); 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,39170.09); h_SL2L265->SetBinContent(2,57576.87); h_SL2L265->SetBinContent(3,62232.95); h_SL2L265->SetBinContent(4,72534.33); h_SL2L265->SetBinContent(5,70667.23); h_SL2L265->SetBinContent(6,67544.19); h_SL2L265->SetBinContent(7,61246.32); h_SL2L265->SetBinContent(8,53638.11); h_SL2L265->SetBinContent(9,62693.89); h_SL2L265->SetBinContent(10,64320.16); h_SL2L265->SetBinContent(11,67015.91); h_SL2L265->SetBinContent(12,64068.96); h_SL2L265->SetBinContent(13,63183.33); h_SL2L265->SetBinContent(14,64291.67); h_SL2L265->SetBinContent(15,63649.45); h_SL2L265->SetBinContent(16,61119.43); h_SL2L265->SetBinContent(17,58840.59); h_SL2L265->SetBinContent(18,57263.53); h_SL2L265->SetBinContent(19,57304.96); h_SL2L265->SetBinContent(20,52568.61); h_SL2L265->SetBinContent(21,49362.7); h_SL2L265->SetBinContent(22,44597.86); h_SL2L265->SetBinContent(23,43054.47); h_SL2L265->SetBinContent(24,41099.33); h_SL2L265->SetBinContent(25,39268.49); h_SL2L265->SetBinContent(26,49181.43); h_SL2L265->SetBinContent(27,62116.42); h_SL2L265->SetBinContent(28,72099.27); h_SL2L265->SetBinContent(29,75701.39); h_SL2L265->SetBinContent(30,75698.8); h_SL2L265->SetBinContent(31,69468.25); h_SL2L265->SetBinContent(32,69955.09); h_SL2L265->SetBinContent(33,70473.02); h_SL2L265->SetBinContent(34,62869.99); h_SL2L265->SetBinContent(35,37497.21); h_SL2L265->SetBinContent(36,27128.51); h_SL2L265->SetBinContent(37,25631.73); h_SL2L265->SetBinContent(38,26519.96); h_SL2L265->SetBinContent(39,25649.86); h_SL2L265->SetBinContent(40,26320.56); h_SL2L265->SetBinContent(41,25256.24); h_SL2L265->SetBinContent(42,24826.37); h_SL2L265->SetBinContent(43,23516.04); h_SL2L265->SetBinContent(44,24036.54); h_SL2L265->SetBinContent(45,22438.77); h_SL2L265->SetBinContent(46,21213.89); h_SL2L265->SetBinContent(47,20683.03); h_SL2L265->SetBinContent(48,21889.78); h_SL2L265->SetBinContent(49,21923.44); h_SL2L265->SetBinContent(50,22853.1); h_SL2L265->SetBinContent(51,22285.98); h_SL2L265->SetBinContent(52,26012.4); h_SL2L265->SetBinContent(53,27369.34); h_SL2L265->SetBinContent(54,29371.09); h_SL2L265->SetBinContent(55,31675.82); h_SL2L265->SetBinContent(56,28001.2); h_SL2L265->SetBinContent(57,27125.92); h_SL2L265->SetMaximum(89224.6); 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,45768.36); h_SL2L366->SetBinContent(2,55251.42); h_SL2L366->SetBinContent(3,68893.37); h_SL2L366->SetBinContent(4,68054.34); h_SL2L366->SetBinContent(5,65993.03); h_SL2L366->SetBinContent(6,60808.68); h_SL2L366->SetBinContent(7,54624.74); h_SL2L366->SetBinContent(8,56067.14); h_SL2L366->SetBinContent(9,62090.52); h_SL2L366->SetBinContent(10,63431.93); h_SL2L366->SetBinContent(11,63292.09); h_SL2L366->SetBinContent(12,61740.93); h_SL2L366->SetBinContent(13,61137.55); h_SL2L366->SetBinContent(14,62178.57); h_SL2L366->SetBinContent(15,59736.59); h_SL2L366->SetBinContent(16,58501.36); h_SL2L366->SetBinContent(17,55989.45); h_SL2L366->SetBinContent(18,55391.26); h_SL2L366->SetBinContent(19,52928.56); h_SL2L366->SetBinContent(20,49090.8); h_SL2L366->SetBinContent(21,45157.21); h_SL2L366->SetBinContent(22,41964.25); h_SL2L366->SetBinContent(23,40423.45); h_SL2L366->SetBinContent(24,38556.36); h_SL2L366->SetBinContent(25,40169.67); h_SL2L366->SetBinContent(26,55800.41); h_SL2L366->SetBinContent(27,66876.08); h_SL2L366->SetBinContent(28,73166.19); h_SL2L366->SetBinContent(29,75426.89); h_SL2L366->SetBinContent(30,71428.57); h_SL2L366->SetBinContent(31,69105.71); h_SL2L366->SetBinContent(32,69911.07); h_SL2L366->SetBinContent(33,67867.89); h_SL2L366->SetBinContent(34,48650.57); h_SL2L366->SetBinContent(35,29270.1); h_SL2L366->SetBinContent(36,25761.21); h_SL2L366->SetBinContent(37,24862.62); h_SL2L366->SetBinContent(38,25473.77); h_SL2L366->SetBinContent(39,24738.32); h_SL2L366->SetBinContent(40,23971.8); h_SL2L366->SetBinContent(41,23676.59); h_SL2L366->SetBinContent(42,23070.63); h_SL2L366->SetBinContent(43,22503.51); h_SL2L366->SetBinContent(44,22060.69); h_SL2L366->SetBinContent(45,21661.89); h_SL2L366->SetBinContent(46,20499.17); h_SL2L366->SetBinContent(47,20714.1); h_SL2L366->SetBinContent(48,21071.47); h_SL2L366->SetBinContent(49,22045.15); h_SL2L366->SetBinContent(50,21361.5); h_SL2L366->SetBinContent(51,22267.86); h_SL2L366->SetBinContent(52,25297.67); h_SL2L366->SetBinContent(53,26918.75); h_SL2L366->SetBinContent(54,29712.92); h_SL2L366->SetBinContent(55,30551.94); h_SL2L366->SetBinContent(56,25781.93); h_SL2L366->SetBinContent(57,25383.13); h_SL2L366->SetMaximum(89224.6); 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,52501.28); h_SL2L467->SetBinContent(3,59399.94); h_SL2L467->SetBinContent(4,65291.25); h_SL2L467->SetBinContent(5,65169.54); h_SL2L467->SetBinContent(6,60821.62); h_SL2L467->SetBinContent(7,56307.97); h_SL2L467->SetBinContent(8,50963.07); h_SL2L467->SetBinContent(9,57872.09); h_SL2L467->SetBinContent(10,61145.32); h_SL2L467->SetBinContent(11,60762.06); h_SL2L467->SetBinContent(12,60013.67); h_SL2L467->SetBinContent(13,59319.66); h_SL2L467->SetBinContent(14,59239.39); h_SL2L467->SetBinContent(15,58063.71); h_SL2L467->SetBinContent(16,56201.8); h_SL2L467->SetBinContent(17,54899.24); h_SL2L467->SetBinContent(18,53518.99); h_SL2L467->SetBinContent(19,52985.54); h_SL2L467->SetBinContent(20,48575.47); h_SL2L467->SetBinContent(21,45781.3); h_SL2L467->SetBinContent(22,41992.74); h_SL2L467->SetBinContent(23,38882.64); h_SL2L467->SetBinContent(24,37453.19); h_SL2L467->SetBinContent(25,36344.85); h_SL2L467->SetBinContent(26,46327.71); h_SL2L467->SetBinContent(27,60003.31); h_SL2L467->SetBinContent(28,69913.66); h_SL2L467->SetBinContent(29,73805.81); h_SL2L467->SetBinContent(30,73492.47); h_SL2L467->SetBinContent(31,67906.73); h_SL2L467->SetBinContent(32,68093.18); h_SL2L467->SetBinContent(33,68867.47); h_SL2L467->SetBinContent(34,60922.62); h_SL2L467->SetBinContent(35,35583.51); h_SL2L467->SetBinContent(36,25952.84); h_SL2L467->SetBinContent(37,24194.51); h_SL2L467->SetBinContent(38,23932.96); h_SL2L467->SetBinContent(39,24153.08); h_SL2L467->SetBinContent(40,23593.72); h_SL2L467->SetBinContent(41,22620.04); h_SL2L467->SetBinContent(42,22537.17); h_SL2L467->SetBinContent(43,21793.96); h_SL2L467->SetBinContent(44,21962.29); h_SL2L467->SetBinContent(45,21081.83); h_SL2L467->SetBinContent(46,20167.7); h_SL2L467->SetBinContent(47,20020.1); h_SL2L467->SetBinContent(48,20333.44); h_SL2L467->SetBinContent(49,20413.71); h_SL2L467->SetBinContent(50,21674.84); h_SL2L467->SetBinContent(51,20574.27); h_SL2L467->SetBinContent(52,23075.81); h_SL2L467->SetBinContent(53,25108.63); h_SL2L467->SetBinContent(54,26864.37); h_SL2L467->SetBinContent(55,29055.16); h_SL2L467->SetBinContent(56,27009.39); h_SL2L467->SetBinContent(57,24958.44); h_SL2L467->SetMaximum(89224.6); 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.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("SL2, run 6726"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }