def rhophi_theta_xy_z(lib, rho1, phi1, theta1, x2, y2, z2): return (deltaphi.rhophi_xy(lib, rho1, phi1, x2, y2)**2 + deltaeta.rhophi_theta_xy_z(lib, rho1, phi1, theta1, x2, y2, z2)**2)
def rhophi_eta_xy_eta(lib, rho1, phi1, eta1, x2, y2, eta2): return (deltaphi.rhophi_xy(lib, rho1, phi1, x2, y2)**2 + deltaeta.rhophi_eta_xy_eta(lib, rho1, phi1, eta1, x2, y2, eta2)**2)
def rhophi_z_xy_theta(lib, rho1, phi1, z1, x2, y2, theta2): return (deltaphi.rhophi_xy(lib, rho1, phi1, x2, y2)**2 + deltaeta.rhophi_z_xy_theta(lib, rho1, phi1, z1, x2, y2, theta2)**2)