Lifetime measurements of the A 2Π1/2 and A 2Π3/2 states in BaF