A measurement of the b baryon lifetime