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
AltDphi
objectParameters: - 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
pt
andphi
- mht_phi (float, optional) – phi of MHT. if not given, calculated from
pt
andphi
Methods
__init__
(pt, phi[, mht, mht_phi])initialize an AltDphi
objectto_string
([all])create a string containing the contents of the object -