function [pff,pft,ptf,ptt] = BR_cond2tt(p,a,b)
%

ptt = p;
pft = 1 - ptt;
if b==1
    ptf = 0;
    pff = 0;
else
    ptf = (a-ptt*b)/(1-b);
    pff = (1-(a+b-ptt*b))/(1-b);
end
