示例#1
0
文件: deltaR2.py 项目: ianna/vector
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)
示例#2
0
文件: deltaR2.py 项目: ianna/vector
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)
示例#3
0
文件: deltaR2.py 项目: ianna/vector
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)