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 object

Parameters:
  • 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 and phi
  • mht_phi (float, optional) – phi of MHT. if not given, calculated from pt and phi

Methods

__init__(pt, phi[, mht, mht_phi]) initialize an AltDphi object
to_string([all]) create a string containing the contents of the object