altdphi.altdphi.AltDphi¶
-
class
altdphi.altdphi.AltDphi(pt, phi, mht=None, mht_phi=None)[source]¶ The class to calculate the alternative variables.
-
__init__(pt, phi, mht=None, mht_phi=None)[source]¶ initialize an
AltDphiobjectParameters: - pt (numpy.array) – numpy array of jet pT
- phi (numpy.array) – numpy array of jet phi
- mht (float, optional) – MHT. if not given, calculated from
ptandphi - mht_phi (float, optional) – phi of MHT. if not given, calculated from
ptandphi
Methods
__init__(pt, phi[, mht, mht_phi])initialize an AltDphiobjectto_string([all])create a string containing the contents of the object -