void RatesPerCell_Removing_noisy_cells_run_6624_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:52:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20886.45,67.5,187978); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6624",60,0,60); h_SL1L160->SetBinContent(1,63887.3); h_SL1L160->SetBinContent(2,62180.76); h_SL1L160->SetBinContent(3,62312.46); h_SL1L160->SetBinContent(4,59451.42); h_SL1L160->SetBinContent(5,56338.18); h_SL1L160->SetBinContent(6,58910.6); h_SL1L160->SetBinContent(7,56937.85); h_SL1L160->SetBinContent(8,56786.53); h_SL1L160->SetBinContent(9,50725.38); h_SL1L160->SetBinContent(10,46942.41); h_SL1L160->SetBinContent(11,45757.08); h_SL1L160->SetBinContent(12,46443.62); h_SL1L160->SetBinContent(13,48881.53); h_SL1L160->SetBinContent(14,47830.71); h_SL1L160->SetBinContent(15,47502.85); h_SL1L160->SetBinContent(16,44661.42); h_SL1L160->SetBinContent(17,46726.64); h_SL1L160->SetBinContent(18,48430.38); h_SL1L160->SetBinContent(19,50977.57); h_SL1L160->SetBinContent(20,47460.82); h_SL1L160->SetBinContent(21,52325.43); h_SL1L160->SetBinContent(22,52134.88); h_SL1L160->SetBinContent(23,50694.55); h_SL1L160->SetBinContent(24,47200.21); h_SL1L160->SetBinContent(25,47827.91); h_SL1L160->SetBinContent(26,47895.16); h_SL1L160->SetBinContent(27,46656.59); h_SL1L160->SetBinContent(28,46928.4); h_SL1L160->SetBinContent(29,44809.94); h_SL1L160->SetBinContent(30,45793.51); h_SL1L160->SetBinContent(31,43703.07); h_SL1L160->SetBinContent(32,41127.85); h_SL1L160->SetBinContent(33,53278.18); h_SL1L160->SetBinContent(34,65773.18); h_SL1L160->SetBinContent(35,69444.05); h_SL1L160->SetBinContent(36,68995.7); h_SL1L160->SetBinContent(37,78058.02); h_SL1L160->SetBinContent(38,78467.13); h_SL1L160->SetBinContent(39,59185.21); h_SL1L160->SetBinContent(40,39908.89); h_SL1L160->SetBinContent(41,40107.85); h_SL1L160->SetBinContent(42,39777.19); h_SL1L160->SetBinContent(43,38782.41); h_SL1L160->SetBinContent(44,38025.82); h_SL1L160->SetBinContent(45,35178.79); h_SL1L160->SetBinContent(46,33365.77); h_SL1L160->SetBinContent(47,33402.2); h_SL1L160->SetBinContent(48,31205.27); h_SL1L160->SetBinContent(49,31600.38); h_SL1L160->SetBinContent(50,33525.49); h_SL1L160->SetBinContent(51,31418.24); h_SL1L160->SetBinContent(52,30157.25); h_SL1L160->SetBinContent(53,32242.08); h_SL1L160->SetBinContent(54,31454.67); h_SL1L160->SetBinContent(55,33819.72); h_SL1L160->SetBinContent(56,35114.34); h_SL1L160->SetBinContent(57,39623.07); h_SL1L160->SetBinContent(58,40828.02); h_SL1L160->SetBinContent(59,43364); h_SL1L160->SetMaximum(167091.5); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,70237.08); h_SL1L261->SetBinContent(2,66126.26); h_SL1L261->SetBinContent(3,66271.97); h_SL1L261->SetBinContent(4,66033.78); h_SL1L261->SetBinContent(5,65750.76); h_SL1L261->SetBinContent(6,71548.51); h_SL1L261->SetBinContent(7,69942.85); h_SL1L261->SetBinContent(8,69662.62); h_SL1L261->SetBinContent(9,66468.12); h_SL1L261->SetBinContent(10,59622.36); h_SL1L261->SetBinContent(11,56587.57); h_SL1L261->SetBinContent(12,59019.88); h_SL1L261->SetBinContent(13,60790.87); h_SL1L261->SetBinContent(14,64775.6); h_SL1L261->SetBinContent(15,64545.82); h_SL1L261->SetBinContent(16,64044.22); h_SL1L261->SetBinContent(17,63080.27); h_SL1L261->SetBinContent(18,65302.41); h_SL1L261->SetBinContent(19,68051.37); h_SL1L261->SetBinContent(20,69306.75); h_SL1L261->SetBinContent(21,71077.74); h_SL1L261->SetBinContent(22,72952.41); h_SL1L261->SetBinContent(23,71960.43); h_SL1L261->SetBinContent(24,72946.8); h_SL1L261->SetBinContent(25,73420.38); h_SL1L261->SetBinContent(26,70707.85); h_SL1L261->SetBinContent(27,68421.26); h_SL1L261->SetBinContent(28,70539.72); h_SL1L261->SetBinContent(29,70867.57); h_SL1L261->SetBinContent(30,70469.66); h_SL1L261->SetBinContent(31,69808.34); h_SL1L261->SetBinContent(32,69855.98); h_SL1L261->SetBinContent(33,75967.57); h_SL1L261->SetBinContent(34,103471.1); h_SL1L261->SetBinContent(35,111931); h_SL1L261->SetBinContent(36,120287.1); h_SL1L261->SetBinContent(37,126345.5); h_SL1L261->SetBinContent(38,123691.8); h_SL1L261->SetBinContent(39,109081.1); h_SL1L261->SetBinContent(40,73271.86); h_SL1L261->SetBinContent(41,62959.77); h_SL1L261->SetBinContent(42,58692.03); h_SL1L261->SetBinContent(43,57405.82); h_SL1L261->SetBinContent(44,56766.92); h_SL1L261->SetBinContent(45,55954.28); h_SL1L261->SetBinContent(46,56287.74); h_SL1L261->SetBinContent(47,57344.17); h_SL1L261->SetBinContent(48,57439.45); h_SL1L261->SetBinContent(49,61536.26); h_SL1L261->SetBinContent(50,53947.91); h_SL1L261->SetBinContent(51,52541.2); h_SL1L261->SetBinContent(52,49327.08); h_SL1L261->SetBinContent(53,51812.63); h_SL1L261->SetBinContent(54,52140.49); h_SL1L261->SetBinContent(55,52445.93); h_SL1L261->SetBinContent(56,55814.17); h_SL1L261->SetBinContent(57,51846.26); h_SL1L261->SetBinContent(58,50319.06); h_SL1L261->SetBinContent(59,48259.45); h_SL1L261->SetMaximum(145297.3); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,65425.71); h_SL1L362->SetBinContent(2,63441.75); h_SL1L362->SetBinContent(3,64613.07); h_SL1L362->SetBinContent(4,63085.87); h_SL1L362->SetBinContent(5,67479.72); h_SL1L362->SetBinContent(6,67989.72); h_SL1L362->SetBinContent(7,67104.22); h_SL1L362->SetBinContent(8,66137.46); h_SL1L362->SetBinContent(9,59622.36); h_SL1L362->SetBinContent(10,55449.88); h_SL1L362->SetBinContent(11,54948.29); h_SL1L362->SetBinContent(12,58058.73); h_SL1L362->SetBinContent(13,61068.29); h_SL1L362->SetBinContent(14,62648.73); h_SL1L362->SetBinContent(15,62982.19); h_SL1L362->SetBinContent(16,59731.64); h_SL1L362->SetBinContent(17,62035.05); h_SL1L362->SetBinContent(18,64352.46); h_SL1L362->SetBinContent(19,65495.76); h_SL1L362->SetBinContent(20,66896.86); h_SL1L362->SetBinContent(21,69690.65); h_SL1L362->SetBinContent(22,70433.23); h_SL1L362->SetBinContent(23,70875.98); h_SL1L362->SetBinContent(24,71419.61); h_SL1L362->SetBinContent(25,71346.75); h_SL1L362->SetBinContent(26,65470.54); h_SL1L362->SetBinContent(27,67440.48); h_SL1L362->SetBinContent(28,67409.66); h_SL1L362->SetBinContent(29,67356.42); h_SL1L362->SetBinContent(30,68216.7); h_SL1L362->SetBinContent(31,67737.52); h_SL1L362->SetBinContent(32,66891.26); h_SL1L362->SetBinContent(33,89762.79); h_SL1L362->SetBinContent(34,107018.7); h_SL1L362->SetBinContent(35,115005); h_SL1L362->SetBinContent(36,121626.6); h_SL1L362->SetBinContent(37,125235.8); h_SL1L362->SetBinContent(38,116156.7); h_SL1L362->SetBinContent(39,91186.3); h_SL1L362->SetBinContent(40,62404.94); h_SL1L362->SetBinContent(41,58529.5); h_SL1L362->SetBinContent(42,57313.34); h_SL1L362->SetBinContent(43,56397.03); h_SL1L362->SetBinContent(44,54561.59); h_SL1L362->SetBinContent(45,53309); h_SL1L362->SetBinContent(46,55077.19); h_SL1L362->SetBinContent(47,56433.45); h_SL1L362->SetBinContent(48,54698.89); h_SL1L362->SetBinContent(49,51938.73); h_SL1L362->SetBinContent(50,51706.15); h_SL1L362->SetBinContent(51,49245.82); h_SL1L362->SetBinContent(52,48225.82); h_SL1L362->SetBinContent(53,51826.64); h_SL1L362->SetBinContent(54,50212.58); h_SL1L362->SetBinContent(55,50843.07); h_SL1L362->SetBinContent(56,52415.1); h_SL1L362->SetBinContent(57,48873.12); h_SL1L362->SetBinContent(58,47710.21); h_SL1L362->SetBinContent(59,46634.17); h_SL1L362->SetMaximum(145297.3); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,40228.35); h_SL1L463->SetBinContent(3,37445.77); h_SL1L463->SetBinContent(4,35142.36); h_SL1L463->SetBinContent(5,31936.64); h_SL1L463->SetBinContent(6,33071.54); h_SL1L463->SetBinContent(7,33298.51); h_SL1L463->SetBinContent(8,33858.95); h_SL1L463->SetBinContent(9,34951.81); h_SL1L463->SetBinContent(10,34506.26); h_SL1L463->SetBinContent(11,35834.5); h_SL1L463->SetBinContent(12,35604.72); h_SL1L463->SetBinContent(13,37824.06); h_SL1L463->SetBinContent(14,39844.45); h_SL1L463->SetBinContent(15,38530.21); h_SL1L463->SetBinContent(16,36142.74); h_SL1L463->SetBinContent(17,32847.36); h_SL1L463->SetBinContent(18,30782.14); h_SL1L463->SetBinContent(19,32906.2); h_SL1L463->SetBinContent(20,32059.94); h_SL1L463->SetBinContent(21,31468.68); h_SL1L463->SetBinContent(22,32037.52); h_SL1L463->SetBinContent(23,32054.34); h_SL1L463->SetBinContent(24,31830.16); h_SL1L463->SetBinContent(25,28907.47); h_SL1L463->SetBinContent(26,30033.95); h_SL1L463->SetBinContent(27,28977.52); h_SL1L463->SetBinContent(28,28330.22); h_SL1L463->SetBinContent(29,27828.62); h_SL1L463->SetBinContent(30,29495.93); h_SL1L463->SetBinContent(31,30008.73); h_SL1L463->SetBinContent(32,27654.89); h_SL1L463->SetBinContent(33,26144.5); h_SL1L463->SetBinContent(34,39875.27); h_SL1L463->SetBinContent(35,55248.12); h_SL1L463->SetBinContent(36,52143.29); h_SL1L463->SetBinContent(37,45787.91); h_SL1L463->SetBinContent(38,44033.73); h_SL1L463->SetBinContent(39,44243.89); h_SL1L463->SetBinContent(40,25547.63); h_SL1L463->SetBinContent(41,23426.37); h_SL1L463->SetBinContent(42,24012.03); h_SL1L463->SetBinContent(43,24684.56); h_SL1L463->SetBinContent(44,24555.66); h_SL1L463->SetBinContent(45,21932.8); h_SL1L463->SetBinContent(46,23972.8); h_SL1L463->SetBinContent(47,21251.87); h_SL1L463->SetBinContent(48,22072.91); h_SL1L463->SetBinContent(49,18928.84); h_SL1L463->SetBinContent(50,19245.49); h_SL1L463->SetBinContent(51,17373.62); h_SL1L463->SetBinContent(52,16614.23); h_SL1L463->SetBinContent(53,15647.47); h_SL1L463->SetBinContent(54,16989.72); h_SL1L463->SetBinContent(56,18407.63); h_SL1L463->SetBinContent(57,19391.21); h_SL1L463->SetBinContent(58,24407.14); h_SL1L463->SetBinContent(59,26898.29); h_SL1L463->SetMaximum(145297.3); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6624"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }