00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // Geant4 tag: $Name: $ 00028 // 00029 // Defines enums to map G4InuclElementaryParticle type codes to human 00030 // readable names. Meant to replace similar local enums scattered through 00031 // the code. 00032 // 00033 // 20101029 M. Kelsey -- Move antinucleons to 50-series, add deuteron 00034 // 20111007 M. Kelsey -- Change photon code to 9, for use in initial states 00035 00036 #ifndef G4INUCL_PARTICLE_NAMES_HH 00037 #define G4INUCL_PARTICLE_NAMES_HH 00038 00039 namespace G4InuclParticleNames { 00040 enum Long { nuclei=0, proton=1, neutron=2, 00041 pionPlus=3, pionMinus=5, pionZero=7, photon=9, 00042 kaonPlus=11, kaonMinus=13, kaonZero=15, kaonZeroBar=17, 00043 lambda=21, sigmaPlus=23, sigmaZero=25, sigmaMinus=27, 00044 xiZero=29, xiMinus=31, omegaMinus=33, 00045 deuteron=41, triton=43, He3=45, alpha=47, 00046 antiProton=51, antiNeutron=53, 00047 antiDeuteron=61, antiTriton=63, antiHe3=65, antiAlpha=67, 00048 diproton=111, unboundPN=112, dineutron=122 }; 00049 00050 // NOTE: "km" cannot be used as conflicts with "kilometers" unit! 00051 enum Short { nuc=nuclei, pro=proton, neu=neutron, 00052 pip=pionPlus, pim=pionMinus, pi0=pionZero, gam=photon, 00053 kpl=kaonPlus, kmi=kaonMinus, k0=kaonZero, k0b=kaonZeroBar, 00054 lam=lambda, sp=sigmaPlus, s0=sigmaZero, sm=sigmaMinus, 00055 xi0=xiZero, xim=xiMinus, om=omegaMinus, deu=deuteron, 00056 ap=antiProton, an=antiNeutron, 00057 ade=antiDeuteron, atr=antiTriton, ahe=antiHe3, aal=antiAlpha, 00058 pp=diproton, pn=unboundPN, nn=dineutron }; 00059 } 00060 00061 #endif /* G4INUCL_PARTICLE_NAMES_HH */