PhysicsTools
Heppy
python
physicsobjects
Particle.py
Go to the documentation of this file.
1
class
Particle
(
object
):
2
3
def
__str__
(self):
4
tmp =
'{className} : {pdgId:>3}, pt={pt:5.1f}, eta={eta:5.2f}, phi={phi:5.2f}, mass={mass:5.2f}'
5
return
tmp.format( className = self.__class__.__name__,
6
pdgId = self.pdgId(),
7
pt = self.pt(),
8
eta = self.eta(),
9
phi = self.phi(),
10
mass = self.mass() )
11
resolutioncreator_cfi.object
object
Definition:
resolutioncreator_cfi.py:4
Particle.Particle.__str__
def __str__(self)
Definition:
Particle.py:3
Particle.Particle
Definition:
Particle.py:1
Generated for CMSSW Reference Manual by
1.8.16