FreeHEP API
Version current

hep.physics.yappi
Class DecayProduct

java.lang.Object
  extended byhep.physics.yappi.DecayProduct
Direct Known Subclasses:
DecayText, Family, ParticleType

public abstract class DecayProduct
extends Object

Source Code:
DecayProduct.java

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

Parameters:
comment - a comment to add
Returns:
true if operation was successful

removeComment

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

Parameters:
comment - Comment which should be removed
Returns:
true if operation was successful

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.