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 #ifndef G4XNNstarTable_h 28 #define G4XNNstarTable_h 29 30 #include "globals.hh" 31 #include "G4PhysicsVector.hh" 32 #include "G4VXResonanceTable.hh" 33 34 #include <map> 35 36 class G4XNNstarTable 37 { 38 39 public: 40 41 // Constructor 42 G4XNNstarTable(); 43 44 // Destructor 45 virtual ~G4XNNstarTable(); 46 47 // Cross section table 48 virtual const G4PhysicsVector* CrossSectionTable(const G4String& particleName) const; 49 50 // Operators 51 G4bool operator==(const G4XNNstarTable &right) const; 52 G4bool operator!=(const G4XNNstarTable &right) const; 53 54 55 protected: 56 57 58 private: 59 60 G4XNNstarTable(const G4XNNstarTable &right); 61 G4XNNstarTable& operator=(const G4XNNstarTable &right); 62 63 std::map <G4String, G4double*, std::less<G4String> > xMap; 64 65 static const G4int sizeNNstar; 66 67 // The energies corresponding to the following cross sections 68 static const G4double energyTable[121]; 69 70 // Cross sections for p p -> N N* 71 static const G4double sigmaNN1440[121]; 72 static const G4double sigmaNN1520[121]; 73 static const G4double sigmaNN1535[121]; 74 static const G4double sigmaNN1650[121]; 75 static const G4double sigmaNN1675[121]; 76 static const G4double sigmaNN1680[121]; 77 static const G4double sigmaNN1700[121]; 78 static const G4double sigmaNN1710[121]; 79 static const G4double sigmaNN1720[121]; 80 static const G4double sigmaNN1900[121]; 81 static const G4double sigmaNN1990[121]; 82 static const G4double sigmaNN2090[121]; 83 static const G4double sigmaNN2190[121]; 84 static const G4double sigmaNN2220[121]; 85 static const G4double sigmaNN2250[121]; 86 87 }; 88 89 #endif 90 91