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

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...
typedef enum
UtilPDG::EParticleCodes 
ParticleCode_t
 Common particles.
typedef enum UtilPDG::EIonScheme ionscheme_t
 Encoding scheme for ions has two canonical forms.

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.4
Date:
Date
2010/04/08 20:49:11

Contact: R. Hatcher

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

Id
UtilPDG.h,v 1.4 2010/04/08 20:49:11 rhatcher Exp

Member Typedef Documentation

Encoding scheme for ions has two canonical forms.

Common particles.


Member Enumeration Documentation

Encoding scheme for ions has two canonical forms.

Enumerator:
kDefaultIonScheme 
kIonUnchanged 
kNotAnIon 
kStdHep 
kPDG2006 
kOther 

Definition at line 75 of file UtilPDG.h.

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

Common particles.

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

Definition at line 34 of file UtilPDG.h.

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


The documentation for this class was generated from the following file:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1