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 27 // 28 29 #ifndef G4BaryonWidth_h 30 #define G4BaryonWidth_h 31 32 #include "globals.hh" 33 #include "G4ResonanceWidth.hh" 34 #include <map> 35 #include <vector> 36 37 class G4PhysicsVector; 38 39 class G4BaryonWidth : public G4ResonanceWidth 40 { 41 public: 42 43 G4BaryonWidth(); 44 45 virtual ~G4BaryonWidth(); 46 47 G4bool operator==(const G4BaryonWidth& right) const; 48 G4bool operator!=(const G4BaryonWidth& right) const; 49 50 // Returned pointer is owned by the client 51 virtual G4PhysicsVector* MassDependentWidth(const G4String& name) const; 52 53 protected: 54 55 56 private: 57 58 G4BaryonWidth(const G4BaryonWidth& right); 59 G4BaryonWidth& operator=(const G4BaryonWidth& right); 60 61 // Map of PhysicsVectors for width interpolation 62 std::map<G4String, G4double*, std::less<G4String> > wMap; 63 // std::map<G4String, G4double*, std::less<const G4String> > wMap; 64 65 static const G4double baryonEnergyTable[120]; 66 67 static const G4double wN1440[120]; 68 static const G4double wN1520[120]; 69 static const G4double wN1535[120]; 70 static const G4double wN1650[120]; 71 static const G4double wN1675[120]; 72 static const G4double wN1680[120]; 73 static const G4double wN1700[120]; 74 static const G4double wN1710[120]; 75 static const G4double wN1720[120]; 76 static const G4double wN1900[120]; 77 static const G4double wN1990[120]; 78 static const G4double wN2090[120]; 79 static const G4double wN2190[120]; 80 static const G4double wN2220[120]; 81 static const G4double wN2250[120]; 82 83 static const G4double wD1600[120]; 84 static const G4double wD1620[120]; 85 static const G4double wD1700[120]; 86 static const G4double wD1900[120]; 87 static const G4double wD1905[120]; 88 static const G4double wD1910[120]; 89 static const G4double wD1920[120]; 90 static const G4double wD1930[120]; 91 static const G4double wD1950[120]; 92 93 static const G4double wDelta[120]; 94 95 static const G4double wL1405[120]; 96 static const G4double wL1520[120]; 97 static const G4double wL1600[120]; 98 static const G4double wL1670[120]; 99 static const G4double wL1690[120]; 100 static const G4double wL1800[120]; 101 static const G4double wL1810[120]; 102 static const G4double wL1820[120]; 103 static const G4double wL1830[120]; 104 static const G4double wL1890[120]; 105 static const G4double wL2100[120]; 106 static const G4double wL2110[120]; 107 108 static const G4double wS1385[120]; 109 static const G4double wS1660[120]; 110 static const G4double wS1670[120]; 111 static const G4double wS1750[120]; 112 static const G4double wS1775[120]; 113 static const G4double wS1915[120]; 114 static const G4double wS1940[120]; 115 static const G4double wS2030[120]; 116 117 static const G4double wX1530[120]; 118 static const G4double wX1690[120]; 119 static const G4double wX1820[120]; 120 static const G4double wX1950[120]; 121 static const G4double wX2030[120]; 122 123 G4int wSize; 124 }; 125 126 #endif 127