def xy_theta_xy_z(lib, x1, y1, theta1, x2, y2, z2): return (deltaphi.xy_xy(lib, x1, y1, x2, y2)**2 + deltaeta.xy_theta_xy_z(lib, x1, y1, theta1, x2, y2, z2)**2)
def xy_eta_xy_eta(lib, x1, y1, eta1, x2, y2, eta2): return (deltaphi.xy_xy(lib, x1, y1, x2, y2)**2 + deltaeta.xy_eta_xy_eta(lib, x1, y1, eta1, x2, y2, eta2)**2)
def xy_z_xy_theta(lib, x1, y1, z1, x2, y2, theta2): return (deltaphi.xy_xy(lib, x1, y1, x2, y2)**2 + deltaeta.xy_z_xy_theta(lib, x1, y1, z1, x2, y2, theta2)**2)