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 // $Id: G4FissionParameters.hh 89550 2015-04-17 08:38:15Z gcosmo $ 27 // 28 // 28 // Hadronic Process: Nuclear De-excitations 29 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara (Oct 1998) 30 // by V. Lara (Oct 1998) 30 // 31 // 31 32 32 #ifndef G4FissionParameters_h 33 #ifndef G4FissionParameters_h 33 #define G4FissionParameters_h 1 34 #define G4FissionParameters_h 1 34 35 35 #include "globals.hh" 36 #include "globals.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 << 62 inline G4double LocalExp(G4double x) const << 63 { << 64 return (std::abs(x) < 8.) ? G4Exp(-0.5*x*x << 65 } << 66 61 67 G4FissionParameters(const G4FissionParameter 62 G4FissionParameters(const G4FissionParameters &right); 68 const G4FissionParameters & operator=(const 63 const G4FissionParameters & operator=(const G4FissionParameters &right); 69 G4bool operator==(const G4FissionParameters 64 G4bool operator==(const G4FissionParameters &right) const; 70 G4bool operator!=(const G4FissionParameters 65 G4bool operator!=(const G4FissionParameters &right) const; 71 66 72 // Mean numbers of the corresponding Gaussia 67 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 68 // fission 74 G4int A1; 69 G4int A1; 75 G4int A2; 70 G4int A2; 76 G4double A3; 71 G4double A3; 77 72 78 // Mean number for symmetric fission 73 // Mean number for symmetric fission 79 G4double As; 74 G4double As; 80 75 81 // Dispersions of the corresponding Gaussian 76 // Dispersions of the corresponding Gaussians for assymmetric 82 // fission 77 // fission 83 G4double Sigma1; 78 G4double Sigma1; 84 G4double Sigma2; 79 G4double Sigma2; 85 80 86 // Dispersion for symmetric fission 81 // Dispersion for symmetric fission 87 G4double SigmaS; 82 G4double SigmaS; 88 83 89 // Weight which determines the relative cont 84 // Weight which determines the relative contribution of symmetric 90 // and assymmetric components 85 // and assymmetric components 91 G4double w; 86 G4double w; 92 }; 87 }; 93 88 94 89 95 #endif 90 #endif 96 91