Main Page
Namespaces
Classes
Package Documentation
src
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
Particle.Particle
Definition:
Particle.py:1
Particle.Particle.__str__
def __str__(self)
Definition:
Particle.py:3
resolutioncreator_cfi.object
object
Definition:
resolutioncreator_cfi.py:4
Generated for CMSSW Reference Manual by
1.8.11