void RatesPerCell_Removing_noisy_cells_run_6626_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:45:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18669.39,67.5,168024.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6626",60,0,60); h_SL2L164->SetBinContent(1,59783.61); h_SL2L164->SetBinContent(2,74028.2); h_SL2L164->SetBinContent(3,88932.84); h_SL2L164->SetBinContent(4,91287.29); h_SL2L164->SetBinContent(5,88647.01); h_SL2L164->SetBinContent(6,81032.61); h_SL2L164->SetBinContent(7,73167.74); h_SL2L164->SetBinContent(8,71393.8); h_SL2L164->SetBinContent(9,80855.8); h_SL2L164->SetBinContent(10,82833.07); h_SL2L164->SetBinContent(11,82977.46); h_SL2L164->SetBinContent(12,80334.23); h_SL2L164->SetBinContent(13,80287.09); h_SL2L164->SetBinContent(14,78386.43); h_SL2L164->SetBinContent(15,76388.54); h_SL2L164->SetBinContent(16,74676.48); h_SL2L164->SetBinContent(17,71676.69); h_SL2L164->SetBinContent(18,71096.18); h_SL2L164->SetBinContent(19,69251.52); h_SL2L164->SetBinContent(20,63411.06); h_SL2L164->SetBinContent(21,58719.84); h_SL2L164->SetBinContent(22,53230.05); h_SL2L164->SetBinContent(23,51031.77); h_SL2L164->SetBinContent(24,48141.02); h_SL2L164->SetBinContent(25,48927.8); h_SL2L164->SetBinContent(26,61607.65); h_SL2L164->SetBinContent(27,76703.84); h_SL2L164->SetBinContent(28,84064.81); h_SL2L164->SetBinContent(29,87191.31); h_SL2L164->SetBinContent(30,79957.05); h_SL2L164->SetBinContent(31,72749.3); h_SL2L164->SetBinContent(32,68007.98); h_SL2L164->SetBinContent(33,64115.33); h_SL2L164->SetBinContent(34,46093.02); h_SL2L164->SetBinContent(36,31845.5); h_SL2L164->SetBinContent(37,32570.4); h_SL2L164->SetBinContent(38,32535.04); h_SL2L164->SetBinContent(39,32081.24); h_SL2L164->SetBinContent(40,61121.44); h_SL2L164->SetBinContent(41,112934.1); h_SL2L164->SetBinContent(42,35293.2); h_SL2L164->SetBinContent(43,35228.37); h_SL2L164->SetBinContent(44,34633.12); h_SL2L164->SetBinContent(45,26962.74); h_SL2L164->SetBinContent(46,25448.11); h_SL2L164->SetBinContent(47,26691.64); h_SL2L164->SetBinContent(48,27257.41); h_SL2L164->SetBinContent(49,29087.35); h_SL2L164->SetBinContent(50,27275.1); h_SL2L164->SetBinContent(51,29703.21); h_SL2L164->SetBinContent(52,33722.58); h_SL2L164->SetBinContent(53,37025.88); h_SL2L164->SetBinContent(54,39227.1); h_SL2L164->SetBinContent(55,39772.25); h_SL2L164->SetBinContent(56,34485.79); h_SL2L164->SetBinContent(57,35714.58); h_SL2L164->SetMaximum(149355.1); 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,48332.55); h_SL2L265->SetBinContent(2,70724.89); h_SL2L265->SetBinContent(3,76709.73); h_SL2L265->SetBinContent(4,88175.52); h_SL2L265->SetBinContent(5,86201.2); h_SL2L265->SetBinContent(6,81975.57); h_SL2L265->SetBinContent(7,74093.02); h_SL2L265->SetBinContent(8,65794.98); h_SL2L265->SetBinContent(9,75834.55); h_SL2L265->SetBinContent(10,78065.23); h_SL2L265->SetBinContent(11,80729.09); h_SL2L265->SetBinContent(12,77929.69); h_SL2L265->SetBinContent(13,77293.19); h_SL2L265->SetBinContent(14,76916.01); h_SL2L265->SetBinContent(15,75168.59); h_SL2L265->SetBinContent(16,73992.83); h_SL2L265->SetBinContent(17,70562.82); h_SL2L265->SetBinContent(18,68556.08); h_SL2L265->SetBinContent(19,68055.13); h_SL2L265->SetBinContent(20,62476.94); h_SL2L265->SetBinContent(21,59220.79); h_SL2L265->SetBinContent(22,53182.9); h_SL2L265->SetBinContent(23,49240.15); h_SL2L265->SetBinContent(24,48385.59); h_SL2L265->SetBinContent(25,44896.64); h_SL2L265->SetBinContent(26,53400.96); h_SL2L265->SetBinContent(27,68320.34); h_SL2L265->SetBinContent(28,79792.03); h_SL2L265->SetBinContent(29,84135.54); h_SL2L265->SetBinContent(30,84427.27); h_SL2L265->SetBinContent(31,73624.48); h_SL2L265->SetBinContent(32,69525.56); h_SL2L265->SetBinContent(33,65912.85); h_SL2L265->SetBinContent(34,55761.3); h_SL2L265->SetBinContent(35,37347.08); h_SL2L265->SetBinContent(36,30728.68); h_SL2L265->SetBinContent(37,30298.46); h_SL2L265->SetBinContent(38,30731.63); h_SL2L265->SetBinContent(39,30434.01); h_SL2L265->SetBinContent(40,31167.75); h_SL2L265->SetBinContent(41,30254.26); h_SL2L265->SetBinContent(42,29747.42); h_SL2L265->SetBinContent(43,28412.54); h_SL2L265->SetBinContent(44,29066.72); h_SL2L265->SetBinContent(45,26016.83); h_SL2L265->SetBinContent(46,24749.73); h_SL2L265->SetBinContent(47,25014.94); h_SL2L265->SetBinContent(48,25645.54); h_SL2L265->SetBinContent(49,26529.57); h_SL2L265->SetBinContent(50,27693.53); h_SL2L265->SetBinContent(51,26591.45); h_SL2L265->SetBinContent(52,30545.98); h_SL2L265->SetBinContent(53,33310.04); h_SL2L265->SetBinContent(54,36642.8); h_SL2L265->SetBinContent(55,39669.12); h_SL2L265->SetBinContent(56,34671.43); h_SL2L265->SetBinContent(57,33386.65); h_SL2L265->SetMaximum(129874.2); 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,56780.88); h_SL2L366->SetBinContent(2,66643.64); h_SL2L366->SetBinContent(3,83652.27); h_SL2L366->SetBinContent(4,83994.09); h_SL2L366->SetBinContent(5,80826.34); h_SL2L366->SetBinContent(6,74258.04); h_SL2L366->SetBinContent(7,66490.41); h_SL2L366->SetBinContent(8,68158.27); h_SL2L366->SetBinContent(9,75631.22); h_SL2L366->SetBinContent(10,76692.05); h_SL2L366->SetBinContent(11,75466.2); h_SL2L366->SetBinContent(12,74558.61); h_SL2L366->SetBinContent(13,74216.78); h_SL2L366->SetBinContent(14,73751.2); h_SL2L366->SetBinContent(15,71267.09); h_SL2L366->SetBinContent(16,68924.42); h_SL2L366->SetBinContent(17,66481.57); h_SL2L366->SetBinContent(18,66089.66); h_SL2L366->SetBinContent(19,63039.77); h_SL2L366->SetBinContent(20,57797.51); h_SL2L366->SetBinContent(21,53887.17); h_SL2L366->SetBinContent(22,49169.43); h_SL2L366->SetBinContent(23,47271.72); h_SL2L366->SetBinContent(24,44366.23); h_SL2L366->SetBinContent(25,45488.94); h_SL2L366->SetBinContent(26,59474.21); h_SL2L366->SetBinContent(27,74151.95); h_SL2L366->SetBinContent(28,81707.41); h_SL2L366->SetBinContent(29,83275.09); h_SL2L366->SetBinContent(30,78194.89); h_SL2L366->SetBinContent(31,70471.47); h_SL2L366->SetBinContent(32,66673.11); h_SL2L366->SetBinContent(33,61357.18); h_SL2L366->SetBinContent(34,44053.88); h_SL2L366->SetBinContent(35,31506.62); h_SL2L366->SetBinContent(36,28937.06); h_SL2L366->SetBinContent(37,28948.85); h_SL2L366->SetBinContent(38,29031.36); h_SL2L366->SetBinContent(39,28860.45); h_SL2L366->SetBinContent(40,27720.05); h_SL2L366->SetBinContent(41,27905.7); h_SL2L366->SetBinContent(42,26635.65); h_SL2L366->SetBinContent(43,26759.41); h_SL2L366->SetBinContent(44,26411.7); h_SL2L366->SetBinContent(45,24749.73); h_SL2L366->SetBinContent(46,24130.92); h_SL2L366->SetBinContent(47,24970.74); h_SL2L366->SetBinContent(48,24749.73); h_SL2L366->SetBinContent(49,26284.99); h_SL2L366->SetBinContent(50,25834.13); h_SL2L366->SetBinContent(51,26338.03); h_SL2L366->SetBinContent(52,30133.44); h_SL2L366->SetBinContent(53,33398.44); h_SL2L366->SetBinContent(54,36318.66); h_SL2L366->SetBinContent(55,37812.66); h_SL2L366->SetBinContent(56,31223.74); h_SL2L366->SetBinContent(57,30843.61); h_SL2L366->SetMaximum(129874.2); 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,65435.48); h_SL2L467->SetBinContent(3,72849.49); h_SL2L467->SetBinContent(4,81079.76); h_SL2L467->SetBinContent(5,80764.45); h_SL2L467->SetBinContent(6,74744.25); h_SL2L467->SetBinContent(7,69280.98); h_SL2L467->SetBinContent(8,61307.08); h_SL2L467->SetBinContent(9,71105.02); h_SL2L467->SetBinContent(10,72937.9); h_SL2L467->SetBinContent(11,72985.05); h_SL2L467->SetBinContent(12,72233.62); h_SL2L467->SetBinContent(13,70736.67); h_SL2L467->SetBinContent(14,71166.9); h_SL2L467->SetBinContent(15,70559.87); h_SL2L467->SetBinContent(16,67468.73); h_SL2L467->SetBinContent(17,65685.95); h_SL2L467->SetBinContent(18,63019.14); h_SL2L467->SetBinContent(19,62762.78); h_SL2L467->SetBinContent(20,57010.73); h_SL2L467->SetBinContent(21,54768.25); h_SL2L467->SetBinContent(22,50103.55); h_SL2L467->SetBinContent(23,46358.23); h_SL2L467->SetBinContent(24,44578.4); h_SL2L467->SetBinContent(25,42111.97); h_SL2L467->SetBinContent(26,50675.22); h_SL2L467->SetBinContent(27,66649.54); h_SL2L467->SetBinContent(28,76942.52); h_SL2L467->SetBinContent(29,82164.16); h_SL2L467->SetBinContent(30,82376.33); h_SL2L467->SetBinContent(31,72260.14); h_SL2L467->SetBinContent(32,68214.26); h_SL2L467->SetBinContent(33,64542.61); h_SL2L467->SetBinContent(34,53321.4); h_SL2L467->SetBinContent(35,34683.22); h_SL2L467->SetBinContent(36,28076.61); h_SL2L467->SetBinContent(37,27952.85); h_SL2L467->SetBinContent(38,28044.2); h_SL2L467->SetBinContent(39,28247.52); h_SL2L467->SetBinContent(40,26930.33); h_SL2L467->SetBinContent(41,26927.38); h_SL2L467->SetBinContent(42,26874.34); h_SL2L467->SetBinContent(43,25851.82); h_SL2L467->SetBinContent(44,25371.5); h_SL2L467->SetBinContent(45,24664.28); h_SL2L467->SetBinContent(46,23261.62); h_SL2L467->SetBinContent(47,23479.68); h_SL2L467->SetBinContent(48,23170.28); h_SL2L467->SetBinContent(49,24186.9); h_SL2L467->SetBinContent(50,26364.55); h_SL2L467->SetBinContent(51,24284.15); h_SL2L467->SetBinContent(52,27896.86); h_SL2L467->SetBinContent(53,30260.15); h_SL2L467->SetBinContent(54,33911.17); h_SL2L467->SetBinContent(55,36333.4); h_SL2L467->SetBinContent(56,32835.61); h_SL2L467->SetBinContent(57,30548.93); h_SL2L467->SetMaximum(129874.2); 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 6626"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }