def setptetaphim(self, pt, eta, phi, m): """ Set the transverse momentum, the pseudorapidity, the angle phi and the mass.""" px, py, pz = pt*cos(phi), pt*sin(phi), pt*sinh(eta) self.setpxpypzm(px,py,pz,m)