source: trunk/source/processes/hadronic/models/cascade/cascade/include/G4InuclParticleNames.hh @ 1316

Last change on this file since 1316 was 1316, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 2.8 KB
Line 
1#ifndef G4INUCL_PARTICLE_NAMES_HH
2#define G4INUCL_PARTICLE_NAMES_HH
3//
4// ********************************************************************
5// * License and Disclaimer                                           *
6// *                                                                  *
7// * The  Geant4 software  is  copyright of the Copyright Holders  of *
8// * the Geant4 Collaboration.  It is provided  under  the terms  and *
9// * conditions of the Geant4 Software License,  included in the file *
10// * LICENSE and available at  http://cern.ch/geant4/license .  These *
11// * include a list of copyright holders.                             *
12// *                                                                  *
13// * Neither the authors of this software system, nor their employing *
14// * institutes,nor the agencies providing financial support for this *
15// * work  make  any representation or  warranty, express or implied, *
16// * regarding  this  software system or assume any liability for its *
17// * use.  Please see the license in the file  LICENSE  and URL above *
18// * for the full disclaimer and the limitation of liability.         *
19// *                                                                  *
20// * This  code  implementation is the result of  the  scientific and *
21// * technical work of the GEANT4 collaboration.                      *
22// * By using,  copying,  modifying or  distributing the software (or *
23// * any work based  on the software)  you  agree  to acknowledge its *
24// * use  in  resulting  scientific  publications,  and indicate your *
25// * acceptance of all terms of the Geant4 Software license.          *
26// ********************************************************************
27// $Id: G4InuclParticleNames.hh,v 1.2 2010/04/29 19:39:55 mkelsey Exp $
28// Geant4 tag: $Name: geant4-09-04-beta-cand-01 $
29//
30// Defines enums to map G4InuclElementaryParticle type codes to human
31// readable names.  Meant to replace similar local enums scattered through
32// the code.
33
34namespace G4InuclParticleNames {
35  enum Long { nuclei=0, proton=1, neutron=2,
36              pionPlus=3, pionMinus=5, pionZero=7, photon=10,
37              kaonPlus=11, kaonMinus=13, kaonZero=15, kaonZeroBar=17, 
38              lambda=21, sigmaPlus=23, sigmaZero=25, sigmaMinus=27, 
39              xiZero=29, xiMinus=31, omegaMinus=33, antiProton=35, 
40              antiNeutron=37, diproton=111, unboundPN=112, dineutron=122 };
41
42  // NOTE:  "km" cannot be used as conflicts with "kilometers" unit!
43  enum Short { nuc=nuclei, pro=proton, neu=neutron,
44               pip=pionPlus, pim=pionMinus, pi0=pionZero, gam=photon,
45               kpl=kaonPlus, kmi=kaonMinus, k0=kaonZero, k0b=kaonZeroBar,
46               lam=lambda, sp=sigmaPlus, s0=sigmaZero, sm=sigmaMinus,
47               xi0=xiZero, xim=xiMinus, om=omegaMinus, ap=antiProton,
48               an=antiNeutron, pp=diproton, pn=unboundPN, nn=dineutron };
49}
50
51#endif  /* G4INUCL_PARTICLE_NAMES_HH */
Note: See TracBrowser for help on using the repository browser.