FreeHEP API
Version v1.2

hep.physics.yappi
Class DecayProduct

java.lang.Object
  |
  +--hep.physics.yappi.DecayProduct
Direct Known Subclasses:
DecayText, Family, ParticleType

public abstract class DecayProduct
extends Object


Constructor Summary
DecayProduct(String name)
          Constructs the ParticleType class
 
Method Summary
 boolean addComment(String comment)
          Add a comment entry to the HashSet
 Iterator getComment()
           
 String getName()
           
 String getTexName()
           
abstract  String getType()
           
 boolean removeComment(String comment)
          Remove a comment entry from the HashSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecayProduct

public DecayProduct(String name)
Constructs the ParticleType class

Method Detail

getType

public abstract String getType()

getName

public String getName()
Returns:
Name of the decay product

getTexName

public String getTexName()
Returns:
Name of the decay product in LaTeX2e format (math-mode encoding)

getComment

public Iterator getComment()
Returns:
Iterator with all comments

addComment

public boolean addComment(String comment)
Add a comment entry to the HashSet

Returns:
true if operation was successful

removeComment

public boolean removeComment(String comment)
Remove a comment entry from the HashSet

Returns:
true if operation was successful

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.