Smoke-analysis apparatus