void RatesPerCell_Removing_noisy_cells_run_6648_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:59:31 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16131.05,67.5,145179.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6648",60,0,60); h_SL1L160->SetBinContent(1,32096.1); h_SL1L160->SetBinContent(2,30253.21); h_SL1L160->SetBinContent(3,30640.52); h_SL1L160->SetBinContent(4,28767.26); h_SL1L160->SetBinContent(5,27215.49); h_SL1L160->SetBinContent(6,28501.46); h_SL1L160->SetBinContent(7,26964.88); h_SL1L160->SetBinContent(8,26962.35); h_SL1L160->SetBinContent(9,24752.4); h_SL1L160->SetBinContent(10,23301.88); h_SL1L160->SetBinContent(11,22345); h_SL1L160->SetBinContent(12,22555.11); h_SL1L160->SetBinContent(13,23848.68); h_SL1L160->SetBinContent(14,23018.37); h_SL1L160->SetBinContent(15,23522.12); h_SL1L160->SetBinContent(16,21727.33); h_SL1L160->SetBinContent(17,22755.1); h_SL1L160->SetBinContent(18,23225.94); h_SL1L160->SetBinContent(19,24514.45); h_SL1L160->SetBinContent(20,23810.71); h_SL1L160->SetBinContent(21,25425.76); h_SL1L160->SetBinContent(22,25529.55); h_SL1L160->SetBinContent(23,25035.92); h_SL1L160->SetBinContent(24,23112.03); h_SL1L160->SetBinContent(25,23770.2); h_SL1L160->SetBinContent(26,23636.04); h_SL1L160->SetBinContent(27,23066.46); h_SL1L160->SetBinContent(28,23129.75); h_SL1L160->SetBinContent(29,22241.21); h_SL1L160->SetBinContent(30,22737.38); h_SL1L160->SetBinContent(31,22570.3); h_SL1L160->SetBinContent(32,21517.22); h_SL1L160->SetBinContent(33,34260.48); h_SL1L160->SetBinContent(34,42971.16); h_SL1L160->SetBinContent(35,43836.91); h_SL1L160->SetBinContent(36,43664.77); h_SL1L160->SetBinContent(37,47735.32); h_SL1L160->SetBinContent(38,47472.05); h_SL1L160->SetBinContent(39,35941.36); h_SL1L160->SetBinContent(40,21836.18); h_SL1L160->SetBinContent(41,19750.28); h_SL1L160->SetBinContent(42,19264.24); h_SL1L160->SetBinContent(43,19130.08); h_SL1L160->SetBinContent(44,18522.53); h_SL1L160->SetBinContent(45,17818.79); h_SL1L160->SetBinContent(46,16808.75); h_SL1L160->SetBinContent(47,16535.35); h_SL1L160->SetBinContent(48,15477.21); h_SL1L160->SetBinContent(49,15811.36); h_SL1L160->SetBinContent(50,16935.32); h_SL1L160->SetBinContent(51,15662.01); h_SL1L160->SetBinContent(52,15112.68); h_SL1L160->SetBinContent(53,16322.71); h_SL1L160->SetBinContent(54,15958.18); h_SL1L160->SetBinContent(55,16249.3); h_SL1L160->SetBinContent(56,17256.81); h_SL1L160->SetBinContent(57,19598.39); h_SL1L160->SetBinContent(58,20150.25); h_SL1L160->SetBinContent(59,21580.51); h_SL1L160->SetMaximum(129048.4); 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,36052.74); h_SL1L261->SetBinContent(2,34759.17); h_SL1L261->SetBinContent(3,34918.65); h_SL1L261->SetBinContent(4,35252.8); h_SL1L261->SetBinContent(5,34300.98); h_SL1L261->SetBinContent(6,37928.54); h_SL1L261->SetBinContent(7,36837.48); h_SL1L261->SetBinContent(8,36642.56); h_SL1L261->SetBinContent(9,34956.62); h_SL1L261->SetBinContent(10,31377.17); h_SL1L261->SetBinContent(11,30270.93); h_SL1L261->SetBinContent(12,30131.71); h_SL1L261->SetBinContent(13,32582.14); h_SL1L261->SetBinContent(14,34156.69); h_SL1L261->SetBinContent(15,34095.94); h_SL1L261->SetBinContent(16,34323.77); h_SL1L261->SetBinContent(17,33556.74); h_SL1L261->SetBinContent(18,34316.17); h_SL1L261->SetBinContent(19,35642.64); h_SL1L261->SetBinContent(20,36361.57); h_SL1L261->SetBinContent(21,37675.39); h_SL1L261->SetBinContent(22,39186.66); h_SL1L261->SetBinContent(23,39277.79); h_SL1L261->SetBinContent(24,39027.18); h_SL1L261->SetBinContent(25,40265.05); h_SL1L261->SetBinContent(26,38819.6); h_SL1L261->SetBinContent(27,37427.31); h_SL1L261->SetBinContent(28,36850.14); h_SL1L261->SetBinContent(29,39199.32); h_SL1L261->SetBinContent(30,39011.99); h_SL1L261->SetBinContent(31,38943.64); h_SL1L261->SetBinContent(32,39594.22); h_SL1L261->SetBinContent(33,50054.12); h_SL1L261->SetBinContent(34,81150.3); h_SL1L261->SetBinContent(35,88215.55); h_SL1L261->SetBinContent(36,92521.52); h_SL1L261->SetBinContent(37,97237.59); h_SL1L261->SetBinContent(38,96402.22); h_SL1L261->SetBinContent(39,83421); h_SL1L261->SetBinContent(40,47874.55); h_SL1L261->SetBinContent(41,36422.33); h_SL1L261->SetBinContent(42,33602.3); h_SL1L261->SetBinContent(43,32316.34); h_SL1L261->SetBinContent(44,32285.96); h_SL1L261->SetBinContent(45,31351.86); h_SL1L261->SetBinContent(46,31526.53); h_SL1L261->SetBinContent(47,31640.44); h_SL1L261->SetBinContent(48,31075.93); h_SL1L261->SetBinContent(49,29858.31); h_SL1L261->SetBinContent(50,29179.88); h_SL1L261->SetBinContent(51,28536.9); h_SL1L261->SetBinContent(52,26823.12); h_SL1L261->SetBinContent(53,28035.67); h_SL1L261->SetBinContent(54,27997.7); h_SL1L261->SetBinContent(55,28106.55); h_SL1L261->SetBinContent(56,28817.89); h_SL1L261->SetBinContent(57,27782.53); h_SL1L261->SetBinContent(58,27142.08); h_SL1L261->SetBinContent(59,26126.97); h_SL1L261->SetMaximum(112216.2); 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,34354.14); h_SL1L362->SetBinContent(2,33237.78); h_SL1L362->SetBinContent(3,34227.57); h_SL1L362->SetBinContent(4,33349.16); h_SL1L362->SetBinContent(5,36083.12); h_SL1L362->SetBinContent(6,36384.36); h_SL1L362->SetBinContent(7,34979.41); h_SL1L362->SetBinContent(8,34726.27); h_SL1L362->SetBinContent(9,31754.36); h_SL1L362->SetBinContent(10,29417.84); h_SL1L362->SetBinContent(11,29524.16); h_SL1L362->SetBinContent(12,30529.14); h_SL1L362->SetBinContent(13,32797.31); h_SL1L362->SetBinContent(14,33212.46); h_SL1L362->SetBinContent(15,33161.84); h_SL1L362->SetBinContent(16,31888.52); h_SL1L362->SetBinContent(17,33207.4); h_SL1L362->SetBinContent(18,34862.96); h_SL1L362->SetBinContent(19,35500.88); h_SL1L362->SetBinContent(20,35910.98); h_SL1L362->SetBinContent(21,37257.7); h_SL1L362->SetBinContent(22,37842.46); h_SL1L362->SetBinContent(23,37513.38); h_SL1L362->SetBinContent(24,38627.21); h_SL1L362->SetBinContent(25,38774.04); h_SL1L362->SetBinContent(26,35645.18); h_SL1L362->SetBinContent(27,36300.82); h_SL1L362->SetBinContent(28,36880.52); h_SL1L362->SetBinContent(29,37422.25); h_SL1L362->SetBinContent(30,37738.68); h_SL1L362->SetBinContent(31,38280.4); h_SL1L362->SetBinContent(32,40399.22); h_SL1L362->SetBinContent(33,67523.57); h_SL1L362->SetBinContent(34,85306.92); h_SL1L362->SetBinContent(35,90172.35); h_SL1L362->SetBinContent(36,94716.28); h_SL1L362->SetBinContent(37,97579.34); h_SL1L362->SetBinContent(38,90744.45); h_SL1L362->SetBinContent(39,67148.92); h_SL1L362->SetBinContent(40,37490.59); h_SL1L362->SetBinContent(41,33827.61); h_SL1L362->SetBinContent(42,32093.57); h_SL1L362->SetBinContent(43,31098.71); h_SL1L362->SetBinContent(44,29751.99); h_SL1L362->SetBinContent(45,30027.92); h_SL1L362->SetBinContent(46,30450.67); h_SL1L362->SetBinContent(47,31232.88); h_SL1L362->SetBinContent(48,29660.86); h_SL1L362->SetBinContent(49,28071.12); h_SL1L362->SetBinContent(50,28238.19); h_SL1L362->SetBinContent(51,26929.44); h_SL1L362->SetBinContent(52,26357.33); h_SL1L362->SetBinContent(53,27747.09); h_SL1L362->SetBinContent(54,26719.33); h_SL1L362->SetBinContent(55,27790.12); h_SL1L362->SetBinContent(56,26683.89); h_SL1L362->SetBinContent(57,26906.65); h_SL1L362->SetBinContent(58,26013.05); h_SL1L362->SetBinContent(59,25757.38); h_SL1L362->SetMaximum(112216.2); 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,32278.37); h_SL1L463->SetBinContent(3,31516.4); h_SL1L463->SetBinContent(4,31321.48); h_SL1L463->SetBinContent(5,29868.44); h_SL1L463->SetBinContent(6,32374.56); h_SL1L463->SetBinContent(7,31189.85); h_SL1L463->SetBinContent(8,31873.33); h_SL1L463->SetBinContent(9,30886.07); h_SL1L463->SetBinContent(10,27979.98); h_SL1L463->SetBinContent(11,27572.42); h_SL1L463->SetBinContent(12,28721.69); h_SL1L463->SetBinContent(13,30007.66); h_SL1L463->SetBinContent(14,31853.08); h_SL1L463->SetBinContent(15,31361.98); h_SL1L463->SetBinContent(16,30268.4); h_SL1L463->SetBinContent(17,30032.98); h_SL1L463->SetBinContent(18,29815.28); h_SL1L463->SetBinContent(19,31789.8); h_SL1L463->SetBinContent(20,31053.15); h_SL1L463->SetBinContent(21,31582.22); h_SL1L463->SetBinContent(22,32784.65); h_SL1L463->SetBinContent(23,32858.06); h_SL1L463->SetBinContent(24,33303.6); h_SL1L463->SetBinContent(25,32526.45); h_SL1L463->SetBinContent(26,32572.01); h_SL1L463->SetBinContent(27,30987.33); h_SL1L463->SetBinContent(28,31296.17); h_SL1L463->SetBinContent(29,32141.67); h_SL1L463->SetBinContent(30,32468.22); h_SL1L463->SetBinContent(31,32042.94); h_SL1L463->SetBinContent(32,33212.46); h_SL1L463->SetBinContent(33,38391.79); h_SL1L463->SetBinContent(34,66376.84); h_SL1L463->SetBinContent(35,74368.58); h_SL1L463->SetBinContent(36,78489.77); h_SL1L463->SetBinContent(37,79504.87); h_SL1L463->SetBinContent(38,78915.05); h_SL1L463->SetBinContent(39,69455.06); h_SL1L463->SetBinContent(40,37713.36); h_SL1L463->SetBinContent(41,27607.86); h_SL1L463->SetBinContent(42,25668.78); h_SL1L463->SetBinContent(43,25068.83); h_SL1L463->SetBinContent(44,24891.63); h_SL1L463->SetBinContent(45,23195.56); h_SL1L463->SetBinContent(46,23975.25); h_SL1L463->SetBinContent(47,23046.21); h_SL1L463->SetBinContent(48,22534.86); h_SL1L463->SetBinContent(49,21018.53); h_SL1L463->SetBinContent(50,21562.79); h_SL1L463->SetBinContent(51,20633.75); h_SL1L463->SetBinContent(52,19952.79); h_SL1L463->SetBinContent(53,20378.07); h_SL1L463->SetBinContent(54,20879.3); h_SL1L463->SetBinContent(55,43.03444); h_SL1L463->SetBinContent(56,21188.13); h_SL1L463->SetBinContent(57,22256.4); h_SL1L463->SetBinContent(58,23899.3); h_SL1L463->SetBinContent(59,23570.22); h_SL1L463->SetMaximum(112216.2); 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 6648"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }