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,v 1.4 2010-11-17 20:22:46 vnivanch Exp $ >> 28 // GEANT4 tag $Name: geant4-09-04-patch-01 $ 27 // 29 // 28 // Hadronic Process: Nuclear De-excitations 30 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara (Oct 1998) 31 // by V. Lara (Oct 1998) 30 // 32 // 31 33 >> 34 >> 35 32 #ifndef G4FissionParameters_h 36 #ifndef G4FissionParameters_h 33 #define G4FissionParameters_h 1 37 #define G4FissionParameters_h 1 34 38 35 #include "globals.hh" 39 #include "globals.hh" 36 #include "G4Exp.hh" << 40 37 41 38 class G4FissionParameters 42 class G4FissionParameters 39 { 43 { 40 public: 44 public: >> 45 // Only available constructor >> 46 G4FissionParameters(G4int A, G4int Z, G4double ExEnergy, G4double FissionBarrier); >> 47 >> 48 ~G4FissionParameters(); 41 49 >> 50 private: >> 51 // Default constructor 42 G4FissionParameters(); 52 G4FissionParameters(); 43 53 44 ~G4FissionParameters(); << 54 // Copy constructor >> 55 G4FissionParameters(const G4FissionParameters &right); 45 56 46 void DefineParameters(G4int A, G4int Z, G4do << 57 const G4FissionParameters & operator=(const G4FissionParameters &right); 47 G4double FissionBarrier); << 58 G4bool operator==(const G4FissionParameters &right) const; >> 59 G4bool operator!=(const G4FissionParameters &right) const; 48 60 49 public: 61 public: 50 62 51 inline G4int GetA1(void) const { return A1; << 63 inline G4double GetA1(void) const { return A1; } 52 inline G4int GetA2(void) const { return A2; << 64 inline G4double GetA2(void) const { return A2; } 53 65 54 inline G4double GetAs(void) const { return A 66 inline G4double GetAs(void) const { return As; } 55 inline G4double GetSigma1(void) const { retu 67 inline G4double GetSigma1(void) const { return Sigma1; } 56 inline G4double GetSigma2(void) const { retu 68 inline G4double GetSigma2(void) const { return Sigma2; } 57 inline G4double GetSigmaS(void) const { retu 69 inline G4double GetSigmaS(void) const { return SigmaS; } 58 inline G4double GetW(void) const { return w; 70 inline G4double GetW(void) const { return w; } 59 71 60 private: 72 private: 61 73 62 inline G4double LocalExp(G4double x) const << 63 { << 64 return (std::abs(x) < 8.) ? G4Exp(-0.5*x*x << 65 } << 66 << 67 G4FissionParameters(const G4FissionParameter << 68 const G4FissionParameters & operator=(const << 69 G4bool operator==(const G4FissionParameters << 70 G4bool operator!=(const G4FissionParameters << 71 << 72 // Mean numbers of the corresponding Gaussia 74 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 75 // fission 74 G4int A1; << 76 static const G4double A1; 75 G4int A2; << 77 static const G4double A2; 76 G4double A3; << 77 78 78 // Mean number for symmetric fission 79 // Mean number for symmetric fission 79 G4double As; 80 G4double As; 80 81 81 // Dispersions of the corresponding Gaussian 82 // Dispersions of the corresponding Gaussians for assymmetric 82 // fission 83 // fission 83 G4double Sigma1; 84 G4double Sigma1; 84 G4double Sigma2; 85 G4double Sigma2; 85 86 86 // Dispersion for symmetric fission 87 // Dispersion for symmetric fission 87 G4double SigmaS; 88 G4double SigmaS; 88 89 89 // Weight which determines the relative cont 90 // Weight which determines the relative contribution of symmetric 90 // and assymmetric components 91 // and assymmetric components 91 G4double w; 92 G4double w; >> 93 >> 94 92 }; 95 }; 93 96 94 97 95 #endif 98 #endif 96 99