Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 // 26 // 27 // 27 // 28 // Hadronic Process: Nuclear De-excitations 28 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara (Oct 1998) 29 // by V. Lara (Oct 1998) 30 // 30 // 31 31 32 #ifndef G4FissionParameters_h 32 #ifndef G4FissionParameters_h 33 #define G4FissionParameters_h 1 33 #define G4FissionParameters_h 1 34 34 35 #include "globals.hh" 35 #include "globals.hh" 36 #include "G4Exp.hh" << 37 36 38 class G4FissionParameters 37 class G4FissionParameters 39 { 38 { 40 public: 39 public: 41 40 42 G4FissionParameters(); 41 G4FissionParameters(); 43 42 44 ~G4FissionParameters(); 43 ~G4FissionParameters(); 45 44 46 void DefineParameters(G4int A, G4int Z, G4do 45 void DefineParameters(G4int A, G4int Z, G4double ExEnergy, 47 G4double FissionBarrier); 46 G4double FissionBarrier); 48 47 49 public: 48 public: 50 49 51 inline G4int GetA1(void) const { return A1; 50 inline G4int GetA1(void) const { return A1; } 52 inline G4int GetA2(void) const { return A2; 51 inline G4int GetA2(void) const { return A2; } 53 52 54 inline G4double GetAs(void) const { return A 53 inline G4double GetAs(void) const { return As; } 55 inline G4double GetSigma1(void) const { retu 54 inline G4double GetSigma1(void) const { return Sigma1; } 56 inline G4double GetSigma2(void) const { retu 55 inline G4double GetSigma2(void) const { return Sigma2; } 57 inline G4double GetSigmaS(void) const { retu 56 inline G4double GetSigmaS(void) const { return SigmaS; } 58 inline G4double GetW(void) const { return w; 57 inline G4double GetW(void) const { return w; } 59 58 60 private: 59 private: 61 << 62 inline G4double LocalExp(G4double x) const << 63 { << 64 return (std::abs(x) < 8.) ? G4Exp(-0.5*x*x << 65 } << 66 60 67 G4FissionParameters(const G4FissionParameter 61 G4FissionParameters(const G4FissionParameters &right); 68 const G4FissionParameters & operator=(const 62 const G4FissionParameters & operator=(const G4FissionParameters &right); 69 G4bool operator==(const G4FissionParameters 63 G4bool operator==(const G4FissionParameters &right) const; 70 G4bool operator!=(const G4FissionParameters 64 G4bool operator!=(const G4FissionParameters &right) const; 71 65 72 // Mean numbers of the corresponding Gaussia 66 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 67 // fission 74 G4int A1; 68 G4int A1; 75 G4int A2; 69 G4int A2; 76 G4double A3; 70 G4double A3; 77 71 78 // Mean number for symmetric fission 72 // Mean number for symmetric fission 79 G4double As; 73 G4double As; 80 74 81 // Dispersions of the corresponding Gaussian 75 // Dispersions of the corresponding Gaussians for assymmetric 82 // fission 76 // fission 83 G4double Sigma1; 77 G4double Sigma1; 84 G4double Sigma2; 78 G4double Sigma2; 85 79 86 // Dispersion for symmetric fission 80 // Dispersion for symmetric fission 87 G4double SigmaS; 81 G4double SigmaS; 88 82 89 // Weight which determines the relative cont 83 // Weight which determines the relative contribution of symmetric 90 // and assymmetric components 84 // and assymmetric components 91 G4double w; 85 G4double w; 92 }; 86 }; 93 87 94 88 95 #endif 89 #endif 96 90