Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UtilPDG Class Reference
[Util]

Some utility functions for dealing with PDG codes. In particular there are special routine for dealing with ion codes. More...

#include <UtilPDG.h>

List of all members.

Public Types

typedef enum UtilPDG::EParticleCodes ParticleCode_t
 Common particles.
typedef enum UtilPDG::EIonScheme ionscheme_t
 Encoding scheme for ions has two canonical forms.
enum  EParticleCodes {
  kElectron = 11, kNuE = 12, kMuon = 13, kNuMu = 14,
  kTau = 15, kNuTau = 16, kGamma = 22, kPion = 211,
  kPi0 = 111, kProton = 2212, kNeutron = 2112, kIonBase = 1000000000,
  kIonEnd = 2000000000
}
 Common particles. More...
enum  EIonScheme {
  kDefaultIonScheme = -1, kIonUnchanged = 0, kNotAnIon = 0, kStdHep = 1,
  kPDG2006 = 2, kOther = 3
}
 Encoding scheme for ions has two canonical forms. More...


Detailed Description

Some utility functions for dealing with PDG codes. In particular there are special routine for dealing with ion codes.

Author:
(last to touch it)
Author
rhatcher
Version:
Revision
1.3
Date:
Date
2007/08/02 18:39:43
Contact: R. Hatcher

Created on: Fri Apr 15 10:14:27 2005

Id
UtilPDG.h,v 1.3 2007/08/02 18:39:43 rhatcher Exp


Member Typedef Documentation

typedef enum UtilPDG::EIonScheme UtilPDG::ionscheme_t
 

Encoding scheme for ions has two canonical forms.

typedef enum UtilPDG::EParticleCodes UtilPDG::ParticleCode_t
 

Common particles.


Member Enumeration Documentation

enum UtilPDG::EIonScheme
 

Encoding scheme for ions has two canonical forms.

Enumeration values:
kDefaultIonScheme 
kIonUnchanged 
kNotAnIon 
kStdHep 
kPDG2006 
kOther 

Definition at line 72 of file UtilPDG.h.

00072                             {
00073       kDefaultIonScheme = -1,  // use global default (set to one of the below)
00074       kIonUnchanged     =  0,  // no conversion
00075       kNotAnIon         =  0,  // return code for getIonAZJ
00076       kStdHep           =  1,  // 1AAAZZZJJJ
00077       kPDG2006          =  2,  // 10LZZZAAAI
00078       kOther            =  3
00079     } ionscheme_t;

enum UtilPDG::EParticleCodes
 

Common particles.

Enumeration values:
kElectron 
kNuE 
kMuon 
kNuMu 
kTau 
kNuTau 
kGamma 
kPion 
kPi0 
kProton 
kNeutron 
kIonBase 
kIonEnd 

Definition at line 31 of file UtilPDG.h.

00031                                 {
00032       kElectron    =         11,
00033       kNuE         =         12,
00034       kMuon        =         13,
00035       kNuMu        =         14,
00036       kTau         =         15,
00037       kNuTau       =         16,
00038       kGamma       =         22,
00039       kPion        =        211,
00040       kPi0         =        111,
00041       kProton      =       2212,
00042       kNeutron     =       2112,
00043       kIonBase     = 1000000000,
00044       kIonEnd      = 2000000000
00045     } ParticleCode_t;


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:10:29 2010 for loon by  doxygen 1.3.9.1