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" 36 #include "G4Exp.hh" 37 37 38 class G4FissionParameters 38 class G4FissionParameters 39 { 39 { 40 public: 40 public: 41 41 42 G4FissionParameters(); 42 G4FissionParameters(); 43 43 44 ~G4FissionParameters(); 44 ~G4FissionParameters(); 45 45 46 void DefineParameters(G4int A, G4int Z, G4do 46 void DefineParameters(G4int A, G4int Z, G4double ExEnergy, 47 G4double FissionBarrier); 47 G4double FissionBarrier); 48 48 49 public: 49 public: 50 50 51 inline G4int GetA1(void) const { return A1; 51 inline G4int GetA1(void) const { return A1; } 52 inline G4int GetA2(void) const { return A2; 52 inline G4int GetA2(void) const { return A2; } 53 53 54 inline G4double GetAs(void) const { return A 54 inline G4double GetAs(void) const { return As; } 55 inline G4double GetSigma1(void) const { retu 55 inline G4double GetSigma1(void) const { return Sigma1; } 56 inline G4double GetSigma2(void) const { retu 56 inline G4double GetSigma2(void) const { return Sigma2; } 57 inline G4double GetSigmaS(void) const { retu 57 inline G4double GetSigmaS(void) const { return SigmaS; } 58 inline G4double GetW(void) const { return w; 58 inline G4double GetW(void) const { return w; } 59 59 60 private: 60 private: 61 61 62 inline G4double LocalExp(G4double x) const 62 inline G4double LocalExp(G4double x) const 63 { 63 { 64 return (std::abs(x) < 8.) ? G4Exp(-0.5*x*x 64 return (std::abs(x) < 8.) ? G4Exp(-0.5*x*x) : 0.0; 65 } 65 } 66 66 67 G4FissionParameters(const G4FissionParameter 67 G4FissionParameters(const G4FissionParameters &right); 68 const G4FissionParameters & operator=(const 68 const G4FissionParameters & operator=(const G4FissionParameters &right); 69 G4bool operator==(const G4FissionParameters 69 G4bool operator==(const G4FissionParameters &right) const; 70 G4bool operator!=(const G4FissionParameters 70 G4bool operator!=(const G4FissionParameters &right) const; 71 71 72 // Mean numbers of the corresponding Gaussia 72 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 73 // fission 74 G4int A1; 74 G4int A1; 75 G4int A2; 75 G4int A2; 76 G4double A3; 76 G4double A3; 77 77 78 // Mean number for symmetric fission 78 // Mean number for symmetric fission 79 G4double As; 79 G4double As; 80 80 81 // Dispersions of the corresponding Gaussian 81 // Dispersions of the corresponding Gaussians for assymmetric 82 // fission 82 // fission 83 G4double Sigma1; 83 G4double Sigma1; 84 G4double Sigma2; 84 G4double Sigma2; 85 85 86 // Dispersion for symmetric fission 86 // Dispersion for symmetric fission 87 G4double SigmaS; 87 G4double SigmaS; 88 88 89 // Weight which determines the relative cont 89 // Weight which determines the relative contribution of symmetric 90 // and assymmetric components 90 // and assymmetric components 91 G4double w; 91 G4double w; 92 }; 92 }; 93 93 94 94 95 #endif 95 #endif 96 96