void RatesPerCell_Removing_noisy_cells_run_6627_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17792.95,67.5,160136.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6627",60,0,60); h_SL3L168->SetBinContent(1,34600.69); h_SL3L168->SetBinContent(2,24218.03); h_SL3L168->SetBinContent(4,41044.89); h_SL3L168->SetBinContent(5,42861.94); h_SL3L168->SetBinContent(6,45167.83); h_SL3L168->SetBinContent(7,44162.46); h_SL3L168->SetBinContent(8,42634.42); h_SL3L168->SetBinContent(9,41776.63); h_SL3L168->SetBinContent(10,38489.96); h_SL3L168->SetBinContent(11,36808.2); h_SL3L168->SetBinContent(12,37893.51); h_SL3L168->SetBinContent(13,38901.95); h_SL3L168->SetBinContent(14,41201.7); h_SL3L168->SetBinContent(15,41973.4); h_SL3L168->SetBinContent(16,41598.31); h_SL3L168->SetBinContent(17,39507.63); h_SL3L168->SetBinContent(18,41386.17); h_SL3L168->SetBinContent(19,42818.89); h_SL3L168->SetBinContent(20,44725.1); h_SL3L168->SetBinContent(21,44949.54); h_SL3L168->SetBinContent(22,46508.32); h_SL3L168->SetBinContent(23,46846.52); h_SL3L168->SetBinContent(24,46923.38); h_SL3L168->SetBinContent(25,46456.05); h_SL3L168->SetBinContent(26,46794.25); h_SL3L168->SetBinContent(27,46711.24); h_SL3L168->SetBinContent(28,44746.62); h_SL3L168->SetBinContent(29,44845.01); h_SL3L168->SetBinContent(30,46643.6); h_SL3L168->SetBinContent(31,46333.07); h_SL3L168->SetBinContent(32,45530.62); h_SL3L168->SetBinContent(33,48196.24); h_SL3L168->SetBinContent(34,71630.26); h_SL3L168->SetBinContent(35,88503.24); h_SL3L168->SetBinContent(36,94440.15); h_SL3L168->SetBinContent(37,103605.3); h_SL3L168->SetBinContent(38,107632.9); h_SL3L168->SetBinContent(39,100623); h_SL3L168->SetBinContent(40,73050.69); h_SL3L168->SetBinContent(41,44230.1); h_SL3L168->SetBinContent(42,39523); h_SL3L168->SetBinContent(43,37361.61); h_SL3L168->SetBinContent(44,38296.27); h_SL3L168->SetBinContent(45,36414.66); h_SL3L168->SetBinContent(46,35160.25); h_SL3L168->SetBinContent(47,35707.52); h_SL3L168->SetBinContent(48,35891.99); h_SL3L168->SetBinContent(49,40915.77); h_SL3L168->SetBinContent(50,35698.3); h_SL3L168->SetBinContent(51,34240.97); h_SL3L168->SetBinContent(52,34271.72); h_SL3L168->SetBinContent(53,32639.15); h_SL3L168->SetBinContent(54,31412.41); h_SL3L168->SetBinContent(55,32267.13); h_SL3L168->SetBinContent(56,32633); h_SL3L168->SetBinContent(57,31692.19); h_SL3L168->SetBinContent(58,24879.05); h_SL3L168->SetBinContent(59,21309.53); h_SL3L168->SetMaximum(142343.5); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,36122.58); h_SL3L269->SetBinContent(2,25893.64); h_SL3L269->SetBinContent(4,33798.24); h_SL3L269->SetBinContent(5,39695.18); h_SL3L269->SetBinContent(6,42662.09); h_SL3L269->SetBinContent(7,42603.68); h_SL3L269->SetBinContent(8,41939.58); h_SL3L269->SetBinContent(9,41463.03); h_SL3L269->SetBinContent(10,38554.53); h_SL3L269->SetBinContent(11,35049.57); h_SL3L269->SetBinContent(12,35249.42); h_SL3L269->SetBinContent(13,36829.72); h_SL3L269->SetBinContent(14,38797.42); h_SL3L269->SetBinContent(15,39928.84); h_SL3L269->SetBinContent(16,40002.63); h_SL3L269->SetBinContent(17,39280.12); h_SL3L269->SetBinContent(18,38997.26); h_SL3L269->SetBinContent(19,39301.64); h_SL3L269->SetBinContent(20,41318.53); h_SL3L269->SetBinContent(21,42268.55); h_SL3L269->SetBinContent(22,43163.24); h_SL3L269->SetBinContent(23,44599.04); h_SL3L269->SetBinContent(24,44663.61); h_SL3L269->SetBinContent(25,45659.75); h_SL3L269->SetBinContent(26,45582.89); h_SL3L269->SetBinContent(27,45026.4); h_SL3L269->SetBinContent(28,43676.69); h_SL3L269->SetBinContent(29,42978.77); h_SL3L269->SetBinContent(30,43424.57); h_SL3L269->SetBinContent(31,43848.86); h_SL3L269->SetBinContent(32,43135.57); h_SL3L269->SetBinContent(33,45312.33); h_SL3L269->SetBinContent(34,53075.51); h_SL3L269->SetBinContent(35,80721.62); h_SL3L269->SetBinContent(36,90258.8); h_SL3L269->SetBinContent(37,96315.61); h_SL3L269->SetBinContent(38,105271.7); h_SL3L269->SetBinContent(39,102873.6); h_SL3L269->SetBinContent(40,87765.36); h_SL3L269->SetBinContent(41,52002.5); h_SL3L269->SetBinContent(42,40513); h_SL3L269->SetBinContent(43,36491.52); h_SL3L269->SetBinContent(44,36350.1); h_SL3L269->SetBinContent(45,35329.36); h_SL3L269->SetBinContent(46,34459.27); h_SL3L269->SetBinContent(47,34124.14); h_SL3L269->SetBinContent(48,33001.94); h_SL3L269->SetBinContent(49,36537.64); h_SL3L269->SetBinContent(50,34573.02); h_SL3L269->SetBinContent(51,33721.38); h_SL3L269->SetBinContent(52,33278.65); h_SL3L269->SetBinContent(53,35353.95); h_SL3L269->SetBinContent(54,30591.51); h_SL3L269->SetBinContent(55,30554.62); h_SL3L269->SetBinContent(56,31627.63); h_SL3L269->SetBinContent(57,30794.43); h_SL3L269->SetBinContent(58,28193.38); h_SL3L269->SetBinContent(59,22733.03); h_SL3L269->SetMaximum(123777.9); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,30619.18); h_SL3L370->SetBinContent(2,22471.7); h_SL3L370->SetBinContent(3,26757.58); h_SL3L370->SetBinContent(4,38385.43); h_SL3L370->SetBinContent(5,39074.12); h_SL3L370->SetBinContent(6,41552.19); h_SL3L370->SetBinContent(7,40509.93); h_SL3L370->SetBinContent(8,39888.88); h_SL3L370->SetBinContent(9,38148.69); h_SL3L370->SetBinContent(10,34892.77); h_SL3L370->SetBinContent(11,33263.27); h_SL3L370->SetBinContent(12,34357.8); h_SL3L370->SetBinContent(13,35769.01); h_SL3L370->SetBinContent(14,38093.35); h_SL3L370->SetBinContent(15,37764.38); h_SL3L370->SetBinContent(16,38210.18); h_SL3L370->SetBinContent(17,36319.35); h_SL3L370->SetBinContent(18,37484.59); h_SL3L370->SetBinContent(19,39074.12); h_SL3L370->SetBinContent(20,39796.64); h_SL3L370->SetBinContent(21,40497.63); h_SL3L370->SetBinContent(22,41284.71); h_SL3L370->SetBinContent(23,43363.09); h_SL3L370->SetBinContent(24,42071.79); h_SL3L370->SetBinContent(25,44325.41); h_SL3L370->SetBinContent(26,43529.11); h_SL3L370->SetBinContent(27,42050.27); h_SL3L370->SetBinContent(28,40632.91); h_SL3L370->SetBinContent(29,40835.83); h_SL3L370->SetBinContent(30,42179.39); h_SL3L370->SetBinContent(31,42250.11); h_SL3L370->SetBinContent(32,41432.29); h_SL3L370->SetBinContent(33,44651.31); h_SL3L370->SetBinContent(34,66889.34); h_SL3L370->SetBinContent(35,83817.67); h_SL3L370->SetBinContent(36,91442.49); h_SL3L370->SetBinContent(37,99756); h_SL3L370->SetBinContent(38,102215.6); h_SL3L370->SetBinContent(39,95998.94); h_SL3L370->SetBinContent(40,69828.59); h_SL3L370->SetBinContent(41,40758.96); h_SL3L370->SetBinContent(42,36789.75); h_SL3L370->SetBinContent(43,34886.62); h_SL3L370->SetBinContent(44,33887.4); h_SL3L370->SetBinContent(45,7923.048); h_SL3L370->SetBinContent(46,33164.89); h_SL3L370->SetBinContent(47,32279.43); h_SL3L370->SetBinContent(48,31753.68); h_SL3L370->SetBinContent(49,31981.2); h_SL3L370->SetBinContent(50,32854.36); h_SL3L370->SetBinContent(51,31098.81); h_SL3L370->SetBinContent(52,30653); h_SL3L370->SetBinContent(53,30545.39); h_SL3L370->SetBinContent(54,28451.64); h_SL3L370->SetBinContent(55,29284.84); h_SL3L370->SetBinContent(56,29260.24); h_SL3L370->SetBinContent(57,28839.04); h_SL3L370->SetBinContent(58,23553.93); h_SL3L370->SetBinContent(59,20178.1); h_SL3L370->SetMaximum(123777.9); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,23043.56); h_SL3L471->SetBinContent(3,24666.91); h_SL3L471->SetBinContent(4,31818.25); h_SL3L471->SetBinContent(5,36131.8); h_SL3L471->SetBinContent(6,54858.73); h_SL3L471->SetBinContent(7,39667.51); h_SL3L471->SetBinContent(8,38686.73); h_SL3L471->SetBinContent(9,36838.95); h_SL3L471->SetBinContent(10,35049.57); h_SL3L471->SetBinContent(11,32703.71); h_SL3L471->SetBinContent(12,31599.96); h_SL3L471->SetBinContent(13,33539.98); h_SL3L471->SetBinContent(14,35461.56); h_SL3L471->SetBinContent(15,36408.51); h_SL3L471->SetBinContent(16,36451.55); h_SL3L471->SetBinContent(17,35452.34); h_SL3L471->SetBinContent(18,35409.29); h_SL3L471->SetBinContent(19,36485.38); h_SL3L471->SetBinContent(20,37543.01); h_SL3L471->SetBinContent(21,38465.37); h_SL3L471->SetBinContent(22,40104.09); h_SL3L471->SetBinContent(23,40371.57); h_SL3L471->SetBinContent(24,40522.23); h_SL3L471->SetBinContent(25,40715.92); h_SL3L471->SetBinContent(26,41416.91); h_SL3L471->SetBinContent(27,41847.34); h_SL3L471->SetBinContent(28,38609.87); h_SL3L471->SetBinContent(29,39015.71); h_SL3L471->SetBinContent(30,40746.66); h_SL3L471->SetBinContent(31,40257.82); h_SL3L471->SetBinContent(32,39910.39); h_SL3L471->SetBinContent(33,41380.02); h_SL3L471->SetBinContent(34,50059.4); h_SL3L471->SetBinContent(35,77225.89); h_SL3L471->SetBinContent(36,86338.78); h_SL3L471->SetBinContent(37,92964.38); h_SL3L471->SetBinContent(38,101880.5); h_SL3L471->SetBinContent(39,99448.55); h_SL3L471->SetBinContent(40,84853.79); h_SL3L471->SetBinContent(41,48531.36); h_SL3L471->SetBinContent(42,37143.32); h_SL3L471->SetBinContent(43,33260.2); h_SL3L471->SetBinContent(44,32897.41); h_SL3L471->SetBinContent(45,31833.62); h_SL3L471->SetBinContent(46,31547.69); h_SL3L471->SetBinContent(47,31483.12); h_SL3L471->SetBinContent(48,30588.44); h_SL3L471->SetBinContent(49,30597.66); h_SL3L471->SetBinContent(50,31111.11); h_SL3L471->SetBinContent(51,29887.45); h_SL3L471->SetBinContent(52,29616.89); h_SL3L471->SetBinContent(53,29890.52); h_SL3L471->SetBinContent(54,28645.34); h_SL3L471->SetBinContent(55,27197.24); h_SL3L471->SetBinContent(56,27867.48); h_SL3L471->SetBinContent(57,27769.1); h_SL3L471->SetBinContent(58,27160.34); h_SL3L471->SetBinContent(59,21180.39); h_SL3L471->SetMaximum(123777.9); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6627"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }