void RatesPerCell_Removing_noisy_cells_run_6750_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:04:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16324.25,67.5,146918.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6750",60,0,60); h_SL1L160->SetBinContent(1,34564.38); h_SL1L160->SetBinContent(2,33873.64); h_SL1L160->SetBinContent(3,34179.25); h_SL1L160->SetBinContent(4,32820.13); h_SL1L160->SetBinContent(5,30357.81); h_SL1L160->SetBinContent(6,32189.02); h_SL1L160->SetBinContent(7,30315.57); h_SL1L160->SetBinContent(8,31133.03); h_SL1L160->SetBinContent(9,28223.47); h_SL1L160->SetBinContent(10,26287.91); h_SL1L160->SetBinContent(11,25624.5); h_SL1L160->SetBinContent(12,25149.93); h_SL1L160->SetBinContent(13,28141.48); h_SL1L160->SetBinContent(14,26148.77); h_SL1L160->SetBinContent(15,25631.95); h_SL1L160->SetBinContent(16,25254.28); h_SL1L160->SetBinContent(17,25005.81); h_SL1L160->SetBinContent(18,25818.3); h_SL1L160->SetBinContent(19,27699.21); h_SL1L160->SetBinContent(20,26151.25); h_SL1L160->SetBinContent(21,27520.31); h_SL1L160->SetBinContent(22,28009.79); h_SL1L160->SetBinContent(23,27468.13); h_SL1L160->SetBinContent(24,25234.4); h_SL1L160->SetBinContent(25,25989.75); h_SL1L160->SetBinContent(26,25711.46); h_SL1L160->SetBinContent(27,25082.84); h_SL1L160->SetBinContent(28,25415.79); h_SL1L160->SetBinContent(29,25038.12); h_SL1L160->SetBinContent(30,24454.21); h_SL1L160->SetBinContent(31,23641.72); h_SL1L160->SetBinContent(32,22717.42); h_SL1L160->SetBinContent(33,34991.74); h_SL1L160->SetBinContent(34,42413.48); h_SL1L160->SetBinContent(35,45042.27); h_SL1L160->SetBinContent(36,44667.08); h_SL1L160->SetBinContent(37,47805.23); h_SL1L160->SetBinContent(38,49353.19); h_SL1L160->SetBinContent(39,37103.72); h_SL1L160->SetBinContent(40,22692.58); h_SL1L160->SetBinContent(41,21885.06); h_SL1L160->SetBinContent(42,21149.59); h_SL1L160->SetBinContent(43,20806.71); h_SL1L160->SetBinContent(44,20575.63); h_SL1L160->SetBinContent(45,19025.19); h_SL1L160->SetBinContent(46,18729.51); h_SL1L160->SetBinContent(47,18369.23); h_SL1L160->SetBinContent(48,17293.37); h_SL1L160->SetBinContent(49,18133.19); h_SL1L160->SetBinContent(50,18719.57); h_SL1L160->SetBinContent(51,17849.94); h_SL1L160->SetBinContent(52,17812.67); h_SL1L160->SetBinContent(53,18088.47); h_SL1L160->SetBinContent(54,17576.62); h_SL1L160->SetBinContent(55,17991.56); h_SL1L160->SetBinContent(56,19268.69); h_SL1L160->SetBinContent(57,21169.47); h_SL1L160->SetBinContent(58,22627.98); h_SL1L160->SetBinContent(59,24064.12); h_SL1L160->SetMaximum(130594); 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,39357.32); h_SL1L261->SetBinContent(2,37794.46); h_SL1L261->SetBinContent(3,37978.32); h_SL1L261->SetBinContent(4,38196.98); h_SL1L261->SetBinContent(5,37709.98); h_SL1L261->SetBinContent(6,41437); h_SL1L261->SetBinContent(7,39456.71); h_SL1L261->SetBinContent(8,39749.9); h_SL1L261->SetBinContent(9,37834.21); h_SL1L261->SetBinContent(10,33637.59); h_SL1L261->SetBinContent(11,33036.3); h_SL1L261->SetBinContent(12,33575.47); h_SL1L261->SetBinContent(13,35009.13); h_SL1L261->SetBinContent(14,37394.43); h_SL1L261->SetBinContent(15,37103.72); h_SL1L261->SetBinContent(16,36447.76); h_SL1L261->SetBinContent(17,36537.21); h_SL1L261->SetBinContent(18,36644.05); h_SL1L261->SetBinContent(19,38527.44); h_SL1L261->SetBinContent(20,38877.78); h_SL1L261->SetBinContent(21,40256.78); h_SL1L261->SetBinContent(22,41220.83); h_SL1L261->SetBinContent(23,41996.05); h_SL1L261->SetBinContent(24,41802.25); h_SL1L261->SetBinContent(25,42510.38); h_SL1L261->SetBinContent(26,40706.5); h_SL1L261->SetBinContent(27,39223.15); h_SL1L261->SetBinContent(28,39625.67); h_SL1L261->SetBinContent(29,40465.49); h_SL1L261->SetBinContent(30,40830.74); h_SL1L261->SetBinContent(31,40458.04); h_SL1L261->SetBinContent(32,40706.5); h_SL1L261->SetBinContent(33,52021.73); h_SL1L261->SetBinContent(34,82819.34); h_SL1L261->SetBinContent(35,91247.37); h_SL1L261->SetBinContent(36,94363.16); h_SL1L261->SetBinContent(37,98748.62); h_SL1L261->SetBinContent(38,97660.33); h_SL1L261->SetBinContent(39,85448.12); h_SL1L261->SetBinContent(40,49753.22); h_SL1L261->SetBinContent(41,38480.23); h_SL1L261->SetBinContent(42,35607.94); h_SL1L261->SetBinContent(43,34025.2); h_SL1L261->SetBinContent(44,32954.3); h_SL1L261->SetBinContent(45,32802.74); h_SL1L261->SetBinContent(46,33351.85); h_SL1L261->SetBinContent(47,33714.62); h_SL1L261->SetBinContent(48,31791.47); h_SL1L261->SetBinContent(49,31361.62); h_SL1L261->SetBinContent(50,31478.4); h_SL1L261->SetBinContent(51,29634.77); h_SL1L261->SetBinContent(52,29167.65); h_SL1L261->SetBinContent(53,29918.03); h_SL1L261->SetBinContent(54,30054.68); h_SL1L261->SetBinContent(55,30248.49); h_SL1L261->SetBinContent(56,29932.93); h_SL1L261->SetBinContent(57,29595.02); h_SL1L261->SetBinContent(58,28516.67); h_SL1L261->SetBinContent(59,27597.33); h_SL1L261->SetMaximum(113560.9); 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,37752.22); h_SL1L362->SetBinContent(2,36813.01); h_SL1L362->SetBinContent(3,37083.84); h_SL1L362->SetBinContent(4,36132.21); h_SL1L362->SetBinContent(5,38589.56); h_SL1L362->SetBinContent(6,39426.89); h_SL1L362->SetBinContent(7,38134.86); h_SL1L362->SetBinContent(8,37190.68); h_SL1L362->SetBinContent(9,34566.86); h_SL1L362->SetBinContent(10,32420.1); h_SL1L362->SetBinContent(11,31644.88); h_SL1L362->SetBinContent(12,33518.32); h_SL1L362->SetBinContent(13,35476.25); h_SL1L362->SetBinContent(14,36080.03); h_SL1L362->SetBinContent(15,35757.02); h_SL1L362->SetBinContent(16,34189.19); h_SL1L362->SetBinContent(17,34748.24); h_SL1L362->SetBinContent(18,36586.91); h_SL1L362->SetBinContent(19,37454.06); h_SL1L362->SetBinContent(20,38196.98); h_SL1L362->SetBinContent(21,39697.72); h_SL1L362->SetBinContent(22,39948.68); h_SL1L362->SetBinContent(23,39826.93); h_SL1L362->SetBinContent(24,40415.8); h_SL1L362->SetBinContent(25,40659.29); h_SL1L362->SetBinContent(26,37963.42); h_SL1L362->SetBinContent(27,37933.6); h_SL1L362->SetBinContent(28,39098.91); h_SL1L362->SetBinContent(29,39329.99); h_SL1L362->SetBinContent(30,39836.87); h_SL1L362->SetBinContent(31,38346.06); h_SL1L362->SetBinContent(32,40691.59); h_SL1L362->SetBinContent(33,69128.75); h_SL1L362->SetBinContent(34,87987.47); h_SL1L362->SetBinContent(35,91570.38); h_SL1L362->SetBinContent(36,95757.06); h_SL1L362->SetBinContent(37,98221.87); h_SL1L362->SetBinContent(38,92790.35); h_SL1L362->SetBinContent(39,68887.73); h_SL1L362->SetBinContent(40,40003.34); h_SL1L362->SetBinContent(41,35396.74); h_SL1L362->SetBinContent(42,33317.07); h_SL1L362->SetBinContent(43,32606.45); h_SL1L362->SetBinContent(44,31928.13); h_SL1L362->SetBinContent(45,32082.18); h_SL1L362->SetBinContent(46,32338.1); h_SL1L362->SetBinContent(47,32879.76); h_SL1L362->SetBinContent(48,30390.12); h_SL1L362->SetBinContent(49,30499.44); h_SL1L362->SetBinContent(50,29674.53); h_SL1L362->SetBinContent(51,28514.18); h_SL1L362->SetBinContent(52,28581.27); h_SL1L362->SetBinContent(53,29117.96); h_SL1L362->SetBinContent(54,28680.65); h_SL1L362->SetBinContent(55,29249.65); h_SL1L362->SetBinContent(56,28601.14); h_SL1L362->SetBinContent(57,28335.29); h_SL1L362->SetBinContent(58,27132.7); h_SL1L362->SetBinContent(59,26789.81); h_SL1L362->SetMaximum(113560.9); 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,11317.71); h_SL1L463->SetBinContent(3,10075.38); h_SL1L463->SetBinContent(4,9215.676); h_SL1L463->SetBinContent(5,8457.849); h_SL1L463->SetBinContent(6,9086.473); h_SL1L463->SetBinContent(7,9464.145); h_SL1L463->SetBinContent(8,9518.807); h_SL1L463->SetBinContent(9,9876.601); h_SL1L463->SetBinContent(10,9829.392); h_SL1L463->SetBinContent(11,10485.35); h_SL1L463->SetBinContent(12,10353.66); h_SL1L463->SetBinContent(13,10579.77); h_SL1L463->SetBinContent(14,11054.34); h_SL1L463->SetBinContent(15,10900.29); h_SL1L463->SetBinContent(16,9831.877); h_SL1L463->SetBinContent(17,8977.146); h_SL1L463->SetBinContent(18,8162.172); h_SL1L463->SetBinContent(19,8790.796); h_SL1L463->SetBinContent(20,8333.615); h_SL1L463->SetBinContent(21,8457.849); h_SL1L463->SetBinContent(22,8343.554); h_SL1L463->SetBinContent(23,8321.191); h_SL1L463->SetBinContent(24,8897.637); h_SL1L463->SetBinContent(25,7622.997); h_SL1L463->SetBinContent(26,8216.835); h_SL1L463->SetBinContent(27,7687.598); h_SL1L463->SetBinContent(28,7583.242); h_SL1L463->SetBinContent(29,7183.208); h_SL1L463->SetBinContent(30,7257.749); h_SL1L463->SetBinContent(31,7247.81); h_SL1L463->SetBinContent(32,6919.833); h_SL1L463->SetBinContent(33,6701.181); h_SL1L463->SetBinContent(34,9180.891); h_SL1L463->SetBinContent(35,10905.26); h_SL1L463->SetBinContent(36,10115.13); h_SL1L463->SetBinContent(37,8654.139); h_SL1L463->SetBinContent(38,9146.105); h_SL1L463->SetBinContent(39,9687.766); h_SL1L463->SetBinContent(40,6092.434); h_SL1L463->SetBinContent(41,5794.272); h_SL1L463->SetBinContent(42,5752.033); h_SL1L463->SetBinContent(43,6017.894); h_SL1L463->SetBinContent(44,6162.005); h_SL1L463->SetBinContent(45,5344.545); h_SL1L463->SetBinContent(46,5789.303); h_SL1L463->SetBinContent(47,5158.194); h_SL1L463->SetBinContent(48,4919.666); h_SL1L463->SetBinContent(49,4509.693); h_SL1L463->SetBinContent(50,4860.033); h_SL1L463->SetBinContent(51,4822.763); h_SL1L463->SetBinContent(52,4648.835); h_SL1L463->SetBinContent(53,4482.362); h_SL1L463->SetBinContent(54,4619.019); h_SL1L463->SetBinContent(56,4837.671); h_SL1L463->SetBinContent(57,5138.317); h_SL1L463->SetBinContent(58,6691.242); h_SL1L463->SetBinContent(59,6837.838); h_SL1L463->SetMaximum(113560.9); 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 6750"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }