T1t1t analysis code