org.lcsim.reconstructedParticle
Class Photon

java.lang.Object
  extended byorg.lcsim.reconstructedParticle.Photon
All Implemented Interfaces:
ParticleType

public class Photon
extends java.lang.Object
implements ParticleType

A photon particle class.


Field Summary
 
Fields inherited from interface org.lcsim.reconstructedParticle.ParticleType
ELECTRON, MUON, NEUTRON, PHOTON, PION
 
Constructor Summary
Photon()
           
 
Method Summary
 int charge()
          The charge of this particle.
 double mass()
          The mass of this particle.
 java.lang.String name()
          The commonly used name for this particle.
 int pdgId()
          The Particle Data Group code for this particle
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Photon

public Photon()
Method Detail

name

public java.lang.String name()
Description copied from interface: ParticleType
The commonly used name for this particle.

Specified by:
name in interface ParticleType
Returns:
String name

mass

public double mass()
Description copied from interface: ParticleType
The mass of this particle.

Specified by:
mass in interface ParticleType
Returns:
double particle mass

charge

public int charge()
Description copied from interface: ParticleType
The charge of this particle.

Specified by:
charge in interface ParticleType
Returns:
int charge

pdgId

public int pdgId()
Description copied from interface: ParticleType
The Particle Data Group code for this particle

Specified by:
pdgId in interface ParticleType
Returns:
int PDG Id

toString

public java.lang.String toString()