void RatesPerCell_Removing_noisy_cells_run_6803_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:53:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11714.48,67.5,105430.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 6803",60,0,60); h_SL1L160->SetBinContent(1,4702.678); h_SL1L160->SetBinContent(2,4661.614); h_SL1L160->SetBinContent(3,4725.888); h_SL1L160->SetBinContent(4,4484.862); h_SL1L160->SetBinContent(5,4354.53); h_SL1L160->SetBinContent(6,4511.643); h_SL1L160->SetBinContent(7,4540.209); h_SL1L160->SetBinContent(8,4533.067); h_SL1L160->SetBinContent(9,4225.983); h_SL1L160->SetBinContent(10,4049.231); h_SL1L160->SetBinContent(11,4172.422); h_SL1L160->SetBinContent(12,4293.827); h_SL1L160->SetBinContent(13,4461.652); h_SL1L160->SetBinContent(14,4192.061); h_SL1L160->SetBinContent(15,4393.808); h_SL1L160->SetBinContent(16,4115.29); h_SL1L160->SetBinContent(17,4386.667); h_SL1L160->SetBinContent(18,4629.478); h_SL1L160->SetBinContent(19,5090.104); h_SL1L160->SetBinContent(20,4895.499); h_SL1L160->SetBinContent(21,5174.017); h_SL1L160->SetBinContent(22,5124.026); h_SL1L160->SetBinContent(23,5216.866); h_SL1L160->SetBinContent(24,5495.385); h_SL1L160->SetBinContent(25,5216.866); h_SL1L160->SetBinContent(26,5441.823); h_SL1L160->SetBinContent(27,5409.687); h_SL1L160->SetBinContent(28,5904.235); h_SL1L160->SetBinContent(29,5963.153); h_SL1L160->SetBinContent(30,6416.638); h_SL1L160->SetBinContent(31,6895.119); h_SL1L160->SetBinContent(32,9580.323); h_SL1L160->SetBinContent(33,29792.55); h_SL1L160->SetBinContent(34,44298.73); h_SL1L160->SetBinContent(35,47221.39); h_SL1L160->SetBinContent(36,48130.14); h_SL1L160->SetBinContent(37,52665); h_SL1L160->SetBinContent(38,48835.37); h_SL1L160->SetBinContent(39,31749.33); h_SL1L160->SetBinContent(40,9585.679); h_SL1L160->SetBinContent(41,6834.416); h_SL1L160->SetBinContent(42,6134.549); h_SL1L160->SetBinContent(43,5656.068); h_SL1L160->SetBinContent(44,5429.326); h_SL1L160->SetBinContent(45,5011.548); h_SL1L160->SetBinContent(46,4890.143); h_SL1L160->SetBinContent(47,4586.629); h_SL1L160->SetBinContent(48,4299.183); h_SL1L160->SetBinContent(49,4238.48); h_SL1L160->SetBinContent(50,4320.608); h_SL1L160->SetBinContent(51,3870.693); h_SL1L160->SetBinContent(52,3968.889); h_SL1L160->SetBinContent(53,3883.191); h_SL1L160->SetBinContent(54,3831.415); h_SL1L160->SetBinContent(55,3761.785); h_SL1L160->SetBinContent(56,3890.332); h_SL1L160->SetBinContent(57,4081.367); h_SL1L160->SetBinContent(58,4047.445); h_SL1L160->SetBinContent(59,4350.959); h_SL1L160->SetMaximum(93715.8); 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,4997.265); h_SL1L261->SetBinContent(2,4709.819); h_SL1L261->SetBinContent(3,4731.244); h_SL1L261->SetBinContent(4,4981.197); h_SL1L261->SetBinContent(5,4881.215); h_SL1L261->SetBinContent(6,5190.085); h_SL1L261->SetBinContent(7,4991.909); h_SL1L261->SetBinContent(8,5104.388); h_SL1L261->SetBinContent(9,4859.791); h_SL1L261->SetBinContent(10,4504.501); h_SL1L261->SetBinContent(11,4345.603); h_SL1L261->SetBinContent(12,4393.808); h_SL1L261->SetBinContent(13,4559.848); h_SL1L261->SetBinContent(14,5024.045); h_SL1L261->SetBinContent(15,5175.802); h_SL1L261->SetBinContent(16,4829.439); h_SL1L261->SetBinContent(17,4911.567); h_SL1L261->SetBinContent(18,5250.788); h_SL1L261->SetBinContent(19,5495.385); h_SL1L261->SetBinContent(20,5761.405); h_SL1L261->SetBinContent(21,5993.504); h_SL1L261->SetBinContent(22,6129.193); h_SL1L261->SetBinContent(23,6638.025); h_SL1L261->SetBinContent(24,6479.126); h_SL1L261->SetBinContent(25,6775.499); h_SL1L261->SetBinContent(26,6482.697); h_SL1L261->SetBinContent(27,6204.179); h_SL1L261->SetBinContent(28,6962.963); h_SL1L261->SetBinContent(29,7544.995); h_SL1L261->SetBinContent(30,8182.374); h_SL1L261->SetBinContent(31,8482.317); h_SL1L261->SetBinContent(32,11067.54); h_SL1L261->SetBinContent(33,23131.32); h_SL1L261->SetBinContent(34,53614.82); h_SL1L261->SetBinContent(35,61729.34); h_SL1L261->SetBinContent(36,66160.65); h_SL1L261->SetBinContent(37,70436.62); h_SL1L261->SetBinContent(38,68572.69); h_SL1L261->SetBinContent(39,57039.16); h_SL1L261->SetBinContent(40,22460.02); h_SL1L261->SetBinContent(41,11178.23); h_SL1L261->SetBinContent(42,8030.617); h_SL1L261->SetBinContent(43,7362.887); h_SL1L261->SetBinContent(44,7109.364); h_SL1L261->SetBinContent(45,6804.064); h_SL1L261->SetBinContent(46,6598.747); h_SL1L261->SetBinContent(47,6272.023); h_SL1L261->SetBinContent(48,5972.08); h_SL1L261->SetBinContent(49,5895.309); h_SL1L261->SetBinContent(50,5536.448); h_SL1L261->SetBinContent(51,5268.642); h_SL1L261->SetBinContent(52,5020.475); h_SL1L261->SetBinContent(53,5313.276); h_SL1L261->SetBinContent(54,5047.255); h_SL1L261->SetBinContent(55,4986.553); h_SL1L261->SetBinContent(56,4972.27); h_SL1L261->SetBinContent(57,4704.463); h_SL1L261->SetBinContent(58,4691.966); h_SL1L261->SetBinContent(59,4527.711); h_SL1L261->SetMaximum(81492.82); 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,4452.726); h_SL1L362->SetBinContent(2,4659.829); h_SL1L362->SetBinContent(3,4593.77); h_SL1L362->SetBinContent(4,4715.176); h_SL1L362->SetBinContent(5,4872.289); h_SL1L362->SetBinContent(6,4907.996); h_SL1L362->SetBinContent(7,4904.425); h_SL1L362->SetBinContent(8,4932.991); h_SL1L362->SetBinContent(9,4497.36); h_SL1L362->SetBinContent(10,4381.311); h_SL1L362->SetBinContent(11,4304.54); h_SL1L362->SetBinContent(12,4388.452); h_SL1L362->SetBinContent(13,4833.01); h_SL1L362->SetBinContent(14,4845.508); h_SL1L362->SetBinContent(15,4881.215); h_SL1L362->SetBinContent(16,4649.117); h_SL1L362->SetBinContent(17,4866.933); h_SL1L362->SetBinContent(18,5168.661); h_SL1L362->SetBinContent(19,5336.486); h_SL1L362->SetBinContent(20,5607.863); h_SL1L362->SetBinContent(21,6080.988); h_SL1L362->SetBinContent(22,5934.587); h_SL1L362->SetBinContent(23,6134.549); h_SL1L362->SetBinContent(24,6427.351); h_SL1L362->SetBinContent(25,6434.492); h_SL1L362->SetBinContent(26,6122.051); h_SL1L362->SetBinContent(27,6550.542); h_SL1L362->SetBinContent(28,6921.899); h_SL1L362->SetBinContent(29,7496.79); h_SL1L362->SetBinContent(30,7973.485); h_SL1L362->SetBinContent(31,8789.401); h_SL1L362->SetBinContent(32,12943.97); h_SL1L362->SetBinContent(33,41233.24); h_SL1L362->SetBinContent(34,59047.71); h_SL1L362->SetBinContent(35,63812.88); h_SL1L362->SetBinContent(36,68406.65); h_SL1L362->SetBinContent(37,70863.32); h_SL1L362->SetBinContent(38,64414.55); h_SL1L362->SetBinContent(39,42061.65); h_SL1L362->SetBinContent(40,12438.71); h_SL1L362->SetBinContent(41,8764.406); h_SL1L362->SetBinContent(42,7573.561); h_SL1L362->SetBinContent(43,7079.012); h_SL1L362->SetBinContent(44,6561.253); h_SL1L362->SetBinContent(45,6500.551); h_SL1L362->SetBinContent(46,6238.101); h_SL1L362->SetBinContent(47,5914.948); h_SL1L362->SetBinContent(48,5688.205); h_SL1L362->SetBinContent(49,5613.219); h_SL1L362->SetBinContent(50,5282.925); h_SL1L362->SetBinContent(51,5041.899); h_SL1L362->SetBinContent(52,4999.05); h_SL1L362->SetBinContent(53,5102.602); h_SL1L362->SetBinContent(54,4772.308); h_SL1L362->SetBinContent(55,4974.055); h_SL1L362->SetBinContent(56,4674.112); h_SL1L362->SetBinContent(57,4543.78); h_SL1L362->SetBinContent(58,4472.365); h_SL1L362->SetBinContent(59,4417.018); h_SL1L362->SetMaximum(81492.82); 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,2335.271); h_SL1L463->SetBinContent(3,2210.294); h_SL1L463->SetBinContent(4,2099.601); h_SL1L463->SetBinContent(5,2128.167); h_SL1L463->SetBinContent(6,2340.627); h_SL1L463->SetBinContent(7,2233.504); h_SL1L463->SetBinContent(8,2260.285); h_SL1L463->SetBinContent(9,2169.231); h_SL1L463->SetBinContent(10,2308.49); h_SL1L463->SetBinContent(11,2287.065); h_SL1L463->SetBinContent(12,2274.568); h_SL1L463->SetBinContent(13,2274.568); h_SL1L463->SetBinContent(14,2478.101); h_SL1L463->SetBinContent(15,2454.891); h_SL1L463->SetBinContent(16,2274.568); h_SL1L463->SetBinContent(17,2174.587); h_SL1L463->SetBinContent(18,1971.054); h_SL1L463->SetBinContent(19,2187.084); h_SL1L463->SetBinContent(20,2049.611); h_SL1L463->SetBinContent(21,2129.953); h_SL1L463->SetBinContent(22,2342.412); h_SL1L463->SetBinContent(23,2244.217); h_SL1L463->SetBinContent(24,2246.002); h_SL1L463->SetBinContent(25,2158.519); h_SL1L463->SetBinContent(26,2144.236); h_SL1L463->SetBinContent(27,2208.509); h_SL1L463->SetBinContent(28,2270.997); h_SL1L463->SetBinContent(29,2171.016); h_SL1L463->SetBinContent(30,2315.632); h_SL1L463->SetBinContent(31,2492.384); h_SL1L463->SetBinContent(32,2667.35); h_SL1L463->SetBinContent(33,4195.631); h_SL1L463->SetBinContent(34,11940.59); h_SL1L463->SetBinContent(35,15825.57); h_SL1L463->SetBinContent(36,16082.66); h_SL1L463->SetBinContent(37,14429.4); h_SL1L463->SetBinContent(38,16116.58); h_SL1L463->SetBinContent(39,15548.83); h_SL1L463->SetBinContent(40,4761.595); h_SL1L463->SetBinContent(41,3070.845); h_SL1L463->SetBinContent(42,2428.11); h_SL1L463->SetBinContent(43,2279.924); h_SL1L463->SetBinContent(44,2319.202); h_SL1L463->SetBinContent(45,1974.625); h_SL1L463->SetBinContent(46,2162.089); h_SL1L463->SetBinContent(47,1780.019); h_SL1L463->SetBinContent(48,1758.594); h_SL1L463->SetBinContent(49,1583.628); h_SL1L463->SetBinContent(50,1576.486); h_SL1L463->SetBinContent(51,1524.71); h_SL1L463->SetBinContent(52,1430.085); h_SL1L463->SetBinContent(53,1431.871); h_SL1L463->SetBinContent(54,1503.286); h_SL1L463->SetBinContent(56,1369.383); h_SL1L463->SetBinContent(57,1385.451); h_SL1L463->SetBinContent(58,1805.014); h_SL1L463->SetBinContent(59,1742.526); h_SL1L463->SetMaximum(81492.82); 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 6803"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }