FreeHEP API
Version current

hep.physics.yappi
Class PDGID

java.lang.Object
  extended byhep.physics.yappi.PDGID

public class PDGID
extends Object

Implements a decoder for the Monte Carlo Particle Numbering Scheme. The scheme is documented in D.E. Groom et al., European Physical Journal C15, 1 (2000) or on the web: http://pdg.lbl.gov/ The implementation refers to the document of June 14, 2000 10:40.

Version:
$Id: PDGID.java,v 1.2 2000/09/28 06:17:14 duns Exp $
Author:
Mark Donszelmann
Source Code:
PDGID.java

Field Summary
protected  int C
           
protected  boolean excited
           
protected  String family
           
protected  int G
           
protected  double I
           
protected  double J
           
protected  boolean likely
           
protected  int n
           
protected  int nJ
           
protected  int nL
           
protected  int nq1
           
protected  int nq2
           
protected  int nq3
           
protected  int nr
           
protected  int P
           
protected  boolean particle
           
protected  boolean susy
           
protected  int susyState
           
protected  boolean technicolor
           
 
Constructor Summary
PDGID(int id)
          Creates a PDGID given the number
 
Method Summary
protected  void decode(int id)
          decodes id
protected  void decodeBaryons(int id)
           
protected  void decodeBase(int id)
          decodes id
protected  void decodeComposites(int id)
           
protected  void decodeFlavors(int id)
           
protected  void decodeMesons(int id)
           
protected  void decodeUser(int r)
          user decoding method
 int getC()
          returns C or 0 if unspecified
 String getFamily()
           
 double getI()
          returns I
 int getID()
           
 double getJ()
          returns J
 int getN()
          returns n
 int getNJ()
          returns nJ
 int getNL()
          returns nL
 int getNq1()
          returns nq1
 int getNq2()
          returns nq2
 int getNq3()
          returns nq3
 int getNr()
          returns nr
 int getP()
          returns P or 0 if unspecified
 int getSusyState()
           
 boolean isExcited()
           
 boolean isLikely()
           
 boolean isParticle()
           
 boolean isSusy()
           
 boolean isTechnicolor()
           
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

particle

protected boolean particle

family

protected String family

likely

protected boolean likely

excited

protected boolean excited

technicolor

protected boolean technicolor

susy

protected boolean susy

susyState

protected int susyState

I

protected double I

J

protected double J

P

protected int P

C

protected int C

G

protected int G

n

protected int n

nr

protected int nr

nL

protected int nL

nq1

protected int nq1

nq2

protected int nq2

nq3

protected int nq3

nJ

protected int nJ
Constructor Detail

PDGID

public PDGID(int id)
Creates a PDGID given the number

Parameters:
id - PDG ID for particle
Method Detail

getID

public int getID()
Returns:
id

isParticle

public boolean isParticle()
Returns:
true if particle, false if antiParticle

isExcited

public boolean isExcited()
Returns:
true if particle excited

isTechnicolor

public boolean isTechnicolor()
Returns:
true if particle is technicolor

isSusy

public boolean isSusy()
Returns:
true if particle is super symmetric

getSusyState

public int getSusyState()
Returns:
susy state, or 0 if not a susy particle

getFamily

public String getFamily()
Returns:
family name

isLikely

public boolean isLikely()
Returns:
true if particles qq states are unassigned or likely.

getN

public int getN()
returns n


getNr

public int getNr()
returns nr


getNL

public int getNL()
returns nL


getNq1

public int getNq1()
returns nq1


getNq2

public int getNq2()
returns nq2


getNq3

public int getNq3()
returns nq3


getNJ

public int getNJ()
returns nJ


getI

public double getI()
returns I


getJ

public double getJ()
returns J


getP

public int getP()
returns P or 0 if unspecified


getC

public int getC()
returns C or 0 if unspecified


decode

protected void decode(int id)
decodes id


decodeUser

protected void decodeUser(int r)
user decoding method


decodeBase

protected void decodeBase(int id)
decodes id


decodeFlavors

protected void decodeFlavors(int id)

decodeComposites

protected void decodeComposites(int id)

decodeMesons

protected void decodeMesons(int id)

decodeBaryons

protected void decodeBaryons(int id)

toString

public String toString()

main

public static void main(String[] args)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.