def setptetaphie(self, pt, eta, phi, e): """ Set the transverse momentum, the pseudorapidity, the angle phi and the energy.""" px, py, pz = pt*cos(phi), pt*sin(phi), pt*sinh(eta) self.setpxpypze(px,py,pz,e)