The chemical reactions and pathways involving pyrimidine deoxyribonucleoside triphosphate, a compound consisting of a pyrimidine base linked to a deoxyribose sugar esterified with triphosphate on the sugar.