FreeHEP API
Version current

hep.physics.yappi
Class ParticleType

java.lang.Object
  extended byhep.physics.yappi.DecayProduct
      extended byhep.physics.yappi.ParticleType

public class ParticleType
extends DecayProduct

Source Code:
ParticleType.java

Constructor Summary
ParticleType(String name)
          Constructs the ParticleType class
 
Method Summary
 void addData(Data data)
          Add a data entry to the HashSet
 void addDecayChannel(DecayChannel decayChannel)
          Add a DecayChannel entry to the HashSet
 void addDecayGroup(DecayGroup group)
           
 String getAntiName()
           
 String getAntiTexName()
           
 Iterator getData()
           
 Data getData(String fieldName)
          Search for the special data field fieldName and return Data class
 DecayChannel getDecayChannel(String name)
           
 Iterator getDecayChannels()
          Return all decay channels in an iterator
 DecayGroup getDecayGroup(String name)
           
 Iterator getDecayGroups()
           
 PDGID getPDGID()
           
 String getType()
           
 void removeData(String fieldName)
          Remove a data entry from the HashSet
 void removeDecayChannel(DecayChannel decayChannel)
          Remove a decayChannel entry from the HashSet
 String toString()
           
 
Methods inherited from class hep.physics.yappi.DecayProduct
addComment, getComment, getName, getTexName, removeComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticleType

public ParticleType(String name)
Constructs the ParticleType class

Method Detail

getType

public String getType()
Specified by:
getType in class DecayProduct

getAntiName

public String getAntiName()
Returns:
Name of the antiparticle of the decay product

getAntiTexName

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

getPDGID

public PDGID getPDGID()

getData

public Iterator getData()
Returns:
Iterator with data

getData

public Data getData(String fieldName)
Search for the special data field fieldName and return Data class

Returns:
Data

addData

public void addData(Data data)
Add a data entry to the HashSet


removeData

public void removeData(String fieldName)
Remove a data entry from the HashSet


getDecayChannels

public Iterator getDecayChannels()
Return all decay channels in an iterator

Returns:
Iterator with all decay channels

addDecayChannel

public void addDecayChannel(DecayChannel decayChannel)
Add a DecayChannel entry to the HashSet


getDecayChannel

public DecayChannel getDecayChannel(String name)

removeDecayChannel

public void removeDecayChannel(DecayChannel decayChannel)
Remove a decayChannel entry from the HashSet

Parameters:
decayChannel - DecayChannel which should be removed

addDecayGroup

public void addDecayGroup(DecayGroup group)

getDecayGroup

public DecayGroup getDecayGroup(String name)

getDecayGroups

public Iterator getDecayGroups()

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.