C.Wu: added xt curve interface; added driftDtrue to CDCSD; changed datum endplate from upstream to downstream to match with BESIII codes