|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcnuphys.lund.LundSupport
public class LundSupport
| Method Summary | |
|---|---|
static int |
geantToLund(int geantId)
Convert a geant ID onto a Lund (PDG) id. |
LundId |
get(double id)
Finds an LundId object based on the given particle id. |
LundId |
get(int id)
Finds an LundId object based on the given particle id. |
static LundSupport |
getInstance()
public access to the singleton |
java.util.ArrayList<LundId> |
getLundIds()
Get the list of lundIds |
static void |
main(java.lang.String[] arg)
Main program for testing |
static int |
massAndChargeToLundId(double mass,
int charge)
Returns the Lund ID of a particle given the mass and charge. |
java.lang.String |
toString()
Get a string representing a table of Ids. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static LundSupport getInstance()
public java.lang.String toString()
toString in class java.lang.Objectpublic LundId get(int id)
id - the id to look for
nullpublic LundId get(double id)
id - the id to look for. This is rounded. This method is to support
GEMC.
nullpublic java.util.ArrayList<LundId> getLundIds()
public static int geantToLund(int geantId)
geantId - the geant Id
public static int massAndChargeToLundId(double mass,
int charge)
mass - the mass of the particle in GeVcharge - the charge of the particle in units of electron charge
public static void main(java.lang.String[] arg)
arg - command arguments ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||