void RatesPerCell_Removing_noisy_cells_run_7240_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:28:55 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-17907.37,67.5,161166.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7240",60,0,60); h_SL3L168->SetBinContent(1,6183.62); h_SL3L168->SetBinContent(2,4269.342); h_SL3L168->SetBinContent(4,5776.416); h_SL3L168->SetBinContent(5,6637.001); h_SL3L168->SetBinContent(6,6930.859); h_SL3L168->SetBinContent(7,6708.367); h_SL3L168->SetBinContent(8,7052.601); h_SL3L168->SetBinContent(9,6872.088); h_SL3L168->SetBinContent(10,6884.682); h_SL3L168->SetBinContent(11,6368.331); h_SL3L168->SetBinContent(12,6901.474); h_SL3L168->SetBinContent(13,7065.195); h_SL3L168->SetBinContent(14,7770.455); h_SL3L168->SetBinContent(15,7056.799); h_SL3L168->SetBinContent(16,7946.77); h_SL3L168->SetBinContent(17,7426.221); h_SL3L168->SetBinContent(18,7543.764); h_SL3L168->SetBinContent(19,7224.718); h_SL3L168->SetBinContent(20,8593.258); h_SL3L168->SetBinContent(21,9432.854); h_SL3L168->SetBinContent(22,9680.534); h_SL3L168->SetBinContent(23,10834.98); h_SL3L168->SetBinContent(24,11838.29); h_SL3L168->SetBinContent(25,15037.15); h_SL3L168->SetBinContent(26,29314.47); h_SL3L168->SetBinContent(27,53137.99); h_SL3L168->SetBinContent(28,76860.75); h_SL3L168->SetBinContent(29,100323.2); h_SL3L168->SetBinContent(30,108324.6); h_SL3L168->SetBinContent(31,82939.42); h_SL3L168->SetBinContent(32,49767.01); h_SL3L168->SetBinContent(33,19579.36); h_SL3L168->SetBinContent(34,14566.98); h_SL3L168->SetBinContent(35,10969.31); h_SL3L168->SetBinContent(36,9504.219); h_SL3L168->SetBinContent(37,9109.609); h_SL3L168->SetBinContent(38,8387.558); h_SL3L168->SetBinContent(39,8219.638); h_SL3L168->SetBinContent(40,7245.708); h_SL3L168->SetBinContent(41,6779.732); h_SL3L168->SetBinContent(42,6611.813); h_SL3L168->SetBinContent(43,6578.229); h_SL3L168->SetBinContent(44,6930.859); h_SL3L168->SetBinContent(45,6666.387); h_SL3L168->SetBinContent(46,6628.605); h_SL3L168->SetBinContent(47,6238.193); h_SL3L168->SetBinContent(48,5688.258); h_SL3L168->SetBinContent(49,5184.501); h_SL3L168->SetBinContent(50,5184.501); h_SL3L168->SetBinContent(51,5293.648); h_SL3L168->SetBinContent(52,5448.974); h_SL3L168->SetBinContent(53,5293.648); h_SL3L168->SetBinContent(54,4659.754); h_SL3L168->SetBinContent(55,4785.693); h_SL3L168->SetBinContent(56,4504.429); h_SL3L168->SetBinContent(57,4416.271); h_SL3L168->SetBinContent(58,3723.605); h_SL3L168->SetBinContent(59,3148.482); h_SL3L168->SetMaximum(143258.9); 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,6582.427); h_SL3L269->SetBinContent(2,5062.76); h_SL3L269->SetBinContent(4,5213.887); h_SL3L269->SetBinContent(5,6108.056); h_SL3L269->SetBinContent(6,6783.93); h_SL3L269->SetBinContent(7,6582.427); h_SL3L269->SetBinContent(8,6309.559); h_SL3L269->SetBinContent(9,6448.092); h_SL3L269->SetBinContent(10,6595.021); h_SL3L269->SetBinContent(11,6595.021); h_SL3L269->SetBinContent(12,7023.215); h_SL3L269->SetBinContent(13,6683.179); h_SL3L269->SetBinContent(14,7136.56); h_SL3L269->SetBinContent(15,6914.067); h_SL3L269->SetBinContent(16,6821.712); h_SL3L269->SetBinContent(17,6998.027); h_SL3L269->SetBinContent(18,7060.997); h_SL3L269->SetBinContent(19,6804.92); h_SL3L269->SetBinContent(20,7573.15); h_SL3L269->SetBinContent(21,8395.953); h_SL3L269->SetBinContent(22,9046.64); h_SL3L269->SetBinContent(23,10129.72); h_SL3L269->SetBinContent(24,10654.46); h_SL3L269->SetBinContent(25,13311.78); h_SL3L269->SetBinContent(26,17916.96); h_SL3L269->SetBinContent(27,42554.89); h_SL3L269->SetBinContent(28,62721.97); h_SL3L269->SetBinContent(29,88732.63); h_SL3L269->SetBinContent(30,107220.5); h_SL3L269->SetBinContent(31,97871.62); h_SL3L269->SetBinContent(32,64904.92); h_SL3L269->SetBinContent(33,32559.51); h_SL3L269->SetBinContent(34,15582.89); h_SL3L269->SetBinContent(35,12245.5); h_SL3L269->SetBinContent(36,9995.382); h_SL3L269->SetBinContent(37,9147.391); h_SL3L269->SetBinContent(38,8597.456); h_SL3L269->SetBinContent(39,8194.45); h_SL3L269->SetBinContent(40,7543.764); h_SL3L269->SetBinContent(41,6632.803); h_SL3L269->SetBinContent(42,6485.874); h_SL3L269->SetBinContent(43,6061.878); h_SL3L269->SetBinContent(44,6246.589); h_SL3L269->SetBinContent(45,6242.391); h_SL3L269->SetBinContent(46,5931.741); h_SL3L269->SetBinContent(47,5923.345); h_SL3L269->SetBinContent(48,5432.182); h_SL3L269->SetBinContent(49,5457.37); h_SL3L269->SetBinContent(50,5104.74); h_SL3L269->SetBinContent(51,5142.521); h_SL3L269->SetBinContent(52,5176.105); h_SL3L269->SetBinContent(53,5226.481); h_SL3L269->SetBinContent(54,5092.146); h_SL3L269->SetBinContent(55,4538.013); h_SL3L269->SetBinContent(56,4193.779); h_SL3L269->SetBinContent(57,4206.373); h_SL3L269->SetBinContent(58,3933.504); h_SL3L269->SetBinContent(59,3261.828); h_SL3L269->SetMaximum(124573.3); 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,5251.669); h_SL3L370->SetBinContent(2,4151.799); h_SL3L370->SetBinContent(3,4000.672); h_SL3L370->SetBinContent(4,5583.309); h_SL3L370->SetBinContent(5,5839.385); h_SL3L370->SetBinContent(6,6196.213); h_SL3L370->SetBinContent(7,6590.823); h_SL3L370->SetBinContent(8,6246.589); h_SL3L370->SetBinContent(9,6305.361); h_SL3L370->SetBinContent(10,6637.001); h_SL3L370->SetBinContent(11,6469.082); h_SL3L370->SetBinContent(12,6473.28); h_SL3L370->SetBinContent(13,6670.585); h_SL3L370->SetBinContent(14,7119.768); h_SL3L370->SetBinContent(15,6767.138); h_SL3L370->SetBinContent(16,6880.483); h_SL3L370->SetBinContent(17,6817.514); h_SL3L370->SetBinContent(18,6469.082); h_SL3L370->SetBinContent(19,6725.159); h_SL3L370->SetBinContent(20,7552.16); h_SL3L370->SetBinContent(21,8387.558); h_SL3L370->SetBinContent(22,8769.573); h_SL3L370->SetBinContent(23,9861.047); h_SL3L370->SetBinContent(24,10944.12); h_SL3L370->SetBinContent(25,14101); h_SL3L370->SetBinContent(26,28676.38); h_SL3L370->SetBinContent(27,52210.23); h_SL3L370->SetBinContent(28,76075.73); h_SL3L370->SetBinContent(29,99932.84); h_SL3L370->SetBinContent(30,106725.2); h_SL3L370->SetBinContent(31,82171.2); h_SL3L370->SetBinContent(32,49158.3); h_SL3L370->SetBinContent(33,19214.14); h_SL3L370->SetBinContent(34,13488.1); h_SL3L370->SetBinContent(35,10259.85); h_SL3L370->SetBinContent(36,8824.146); h_SL3L370->SetBinContent(37,8660.426); h_SL3L370->SetBinContent(38,7816.632); h_SL3L370->SetBinContent(39,7384.241); h_SL3L370->SetBinContent(40,6616.011); h_SL3L370->SetBinContent(41,6322.153); h_SL3L370->SetBinContent(42,6254.985); h_SL3L370->SetBinContent(43,6108.056); h_SL3L370->SetBinContent(44,6196.213); h_SL3L370->SetBinContent(45,1192.225); h_SL3L370->SetBinContent(46,5608.497); h_SL3L370->SetBinContent(47,5755.426); h_SL3L370->SetBinContent(48,5234.877); h_SL3L370->SetBinContent(49,4857.059); h_SL3L370->SetBinContent(50,4794.089); h_SL3L370->SetBinContent(51,4949.415); h_SL3L370->SetBinContent(52,4726.922); h_SL3L370->SetBinContent(53,4894.841); h_SL3L370->SetBinContent(54,4336.51); h_SL3L370->SetBinContent(55,4332.312); h_SL3L370->SetBinContent(56,4328.114); h_SL3L370->SetBinContent(57,4101.423); h_SL3L370->SetBinContent(58,3618.656); h_SL3L370->SetBinContent(59,3215.65); h_SL3L370->SetMaximum(124573.3); 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,4290.332); h_SL3L471->SetBinContent(3,3803.367); h_SL3L471->SetBinContent(4,4781.495); h_SL3L471->SetBinContent(5,5658.873); h_SL3L471->SetBinContent(6,5935.939); h_SL3L471->SetBinContent(7,6204.609); h_SL3L471->SetBinContent(8,5977.918); h_SL3L471->SetBinContent(9,5835.188); h_SL3L471->SetBinContent(10,6418.706); h_SL3L471->SetBinContent(11,6347.341); h_SL3L471->SetBinContent(12,6326.351); h_SL3L471->SetBinContent(13,6313.757); h_SL3L471->SetBinContent(14,6657.991); h_SL3L471->SetBinContent(15,6485.874); h_SL3L471->SetBinContent(16,6494.27); h_SL3L471->SetBinContent(17,6540.448); h_SL3L471->SetBinContent(18,6527.854); h_SL3L471->SetBinContent(19,6607.615); h_SL3L471->SetBinContent(20,6695.772); h_SL3L471->SetBinContent(21,7837.622); h_SL3L471->SetBinContent(22,8404.35); h_SL3L471->SetBinContent(23,9462.239); h_SL3L471->SetBinContent(24,10222.07); h_SL3L471->SetBinContent(25,12337.85); h_SL3L471->SetBinContent(26,17131.94); h_SL3L471->SetBinContent(27,42521.3); h_SL3L471->SetBinContent(28,62575.04); h_SL3L471->SetBinContent(29,88249.87); h_SL3L471->SetBinContent(30,106700); h_SL3L471->SetBinContent(31,98387.98); h_SL3L471->SetBinContent(32,64468.33); h_SL3L471->SetBinContent(33,32085.13); h_SL3L471->SetBinContent(34,15053.94); h_SL3L471->SetBinContent(35,11649.38); h_SL3L471->SetBinContent(36,9386.676); h_SL3L471->SetBinContent(37,8467.318); h_SL3L471->SetBinContent(38,7942.572); h_SL3L471->SetBinContent(39,7501.784); h_SL3L471->SetBinContent(40,7027.413); h_SL3L471->SetBinContent(41,6418.706); h_SL3L471->SetBinContent(42,6036.69); h_SL3L471->SetBinContent(43,5789.01); h_SL3L471->SetBinContent(44,6330.549); h_SL3L471->SetBinContent(45,6112.254); h_SL3L471->SetBinContent(46,5839.385); h_SL3L471->SetBinContent(47,5591.705); h_SL3L471->SetBinContent(48,5222.283); h_SL3L471->SetBinContent(49,4680.744); h_SL3L471->SetBinContent(50,4705.932); h_SL3L471->SetBinContent(51,4978.8); h_SL3L471->SetBinContent(52,4630.368); h_SL3L471->SetBinContent(53,4760.505); h_SL3L471->SetBinContent(54,4785.693); h_SL3L471->SetBinContent(55,4353.302); h_SL3L471->SetBinContent(56,3992.276); h_SL3L471->SetBinContent(57,3832.753); h_SL3L471->SetBinContent(58,3874.732); h_SL3L471->SetBinContent(59,3064.523); h_SL3L471->SetMaximum(124573.3); 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 7240"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }