Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 #ifndef G4ResonanceID_h 27 #define G4ResonanceID_h 28 29 #include "G4Types.hh" 30 31 class G4ResonanceID 32 { 33 public: 34 G4bool IsDelta1232(G4int pdg) {return pdg==2224||pdg==2214||pdg==2114||pdg==1114;} 35 G4bool IsDelta1600(G4int pdg) {return pdg==31114||pdg==32114||pdg==32214||pdg==32224;} 36 G4bool IsDelta1620(G4int pdg) {return pdg==1112||pdg==1212||pdg==2122||pdg==2222;} 37 G4bool IsDelta1700(G4int pdg) {return pdg==11114||pdg==12114||pdg==12214||pdg==12224;} 38 G4bool IsDelta1900(G4int pdg) {return pdg==11112||pdg==11212||pdg==12122||pdg==12222;} 39 G4bool IsDelta1905(G4int pdg) {return pdg==1116||pdg==1216||pdg==2126||pdg==2226;} 40 G4bool IsDelta1910(G4int pdg) {return pdg==21112||pdg==21212||pdg==22122||pdg==22222;} 41 G4bool IsDelta1920(G4int pdg) {return pdg==21114||pdg==22114||pdg==22214||pdg==22224;} 42 G4bool IsDelta1930(G4int pdg) {return pdg==11116||pdg==11216||pdg==12126||pdg==12226;} 43 G4bool IsDelta1950(G4int pdg) {return pdg==1118||pdg==2118||pdg==2218||pdg==2228;} 44 45 G4bool IsN1440(G4int pdg) {return pdg==12112||pdg==12212;} 46 G4bool IsN1520(G4int pdg) {return pdg==1214||pdg==2124;} 47 G4bool IsN1535(G4int pdg) {return pdg==22112||pdg==22212;} 48 G4bool IsN1650(G4int pdg) {return pdg==32112||pdg==32212;} 49 G4bool IsN1675(G4int pdg) {return pdg==2116||pdg==2216;} 50 G4bool IsN1680(G4int pdg) {return pdg==12116||pdg==12216;} 51 G4bool IsN1700(G4int pdg) {return pdg==22124||pdg==21214;} 52 G4bool IsN1710(G4int pdg) {return pdg==42212||pdg==42112;} 53 G4bool IsN1720(G4int pdg) {return pdg==32124||pdg==31214;} 54 G4bool IsN1900(G4int pdg) {return pdg==42124||pdg==41214;} 55 G4bool IsN1990(G4int pdg) {return pdg==12218||pdg==12118;} 56 G4bool IsN2090(G4int pdg) {return pdg==52214||pdg==52114;} 57 G4bool IsN2190(G4int pdg) {return pdg==2128||pdg==1218;} 58 G4bool IsN2220(G4int pdg) {return pdg==100002210||pdg==100002110;} 59 G4bool IsN2250(G4int pdg) {return pdg==100012210||pdg==100012110;} 60 61 G4bool IsL1405(G4int pdg) {return pdg==13122;} 62 G4bool IsL1520(G4int pdg) {return pdg==3124;} 63 G4bool IsL1600(G4int pdg) {return pdg==23122;} 64 G4bool IsL1670(G4int pdg) {return pdg==33122;} 65 G4bool IsL1690(G4int pdg) {return pdg==13124;} 66 G4bool IsL1800(G4int pdg) {return pdg==43122;} 67 G4bool IsL1810(G4int pdg) {return pdg==53122;} 68 G4bool IsL1820(G4int pdg) {return pdg==3126;} 69 G4bool IsL1830(G4int pdg) {return pdg==13126;} 70 G4bool IsL1890(G4int pdg) {return pdg==23124;} 71 G4bool IsL2100(G4int pdg) {return pdg==3128;} 72 G4bool IsL2110(G4int pdg) {return pdg==23126;} 73 74 G4bool IsS1192(G4int pdg) {return pdg==3222||pdg==3212||pdg==3112;} 75 G4bool IsS1385(G4int pdg) {return pdg==3214||pdg==3114||pdg==3224;} 76 G4bool IsS1660(G4int pdg) {return pdg==13212||pdg==13112||pdg==13222;} 77 G4bool IsS1670(G4int pdg) {return pdg==13214||pdg==13114||pdg==13224;} 78 G4bool IsS1750(G4int pdg) {return pdg==23212||pdg==23112||pdg==23222;} 79 G4bool IsS1775(G4int pdg) {return pdg==3216||pdg==3116||pdg==3226;} 80 G4bool IsS1915(G4int pdg) {return pdg==13216||pdg==13116||pdg==13226;} 81 G4bool IsS1940(G4int pdg) {return pdg==23214||pdg==23114||pdg==23224;} 82 G4bool IsS2030(G4int pdg) {return pdg==3218||pdg==3118||pdg==3228;} 83 84 G4bool IsX1530(G4int pdg) {return pdg==3324||pdg==3314;} 85 G4bool IsX1690(G4int pdg) {return pdg==23324||pdg==23314;} 86 G4bool IsX1820(G4int pdg) {return pdg==13324||pdg==13314;} 87 G4bool IsX1950(G4int pdg) {return pdg==33324||pdg==33314;} 88 G4bool IsX2030(G4int pdg) {return pdg==13326||pdg==13316;} 89 }; 90 91 #endif 92