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$ 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 >> 33 >> 34 32 #ifndef G4FissionParameters_h 35 #ifndef G4FissionParameters_h 33 #define G4FissionParameters_h 1 36 #define G4FissionParameters_h 1 34 37 35 #include "globals.hh" 38 #include "globals.hh" 36 #include "G4Exp.hh" << 39 37 40 38 class G4FissionParameters 41 class G4FissionParameters 39 { 42 { 40 public: 43 public: >> 44 // Only available constructor >> 45 G4FissionParameters(G4int A, G4int Z, G4double ExEnergy, G4double FissionBarrier); >> 46 >> 47 ~G4FissionParameters(); 41 48 >> 49 private: >> 50 // Default constructor 42 G4FissionParameters(); 51 G4FissionParameters(); 43 52 44 ~G4FissionParameters(); << 53 // Copy constructor >> 54 G4FissionParameters(const G4FissionParameters &right); 45 55 46 void DefineParameters(G4int A, G4int Z, G4do << 56 const G4FissionParameters & operator=(const G4FissionParameters &right); 47 G4double FissionBarrier); << 57 G4bool operator==(const G4FissionParameters &right) const; >> 58 G4bool operator!=(const G4FissionParameters &right) const; 48 59 49 public: 60 public: 50 61 51 inline G4int GetA1(void) const { return A1; << 62 inline G4double GetA1(void) const { return A1; } 52 inline G4int GetA2(void) const { return A2; << 63 inline G4double GetA2(void) const { return A2; } 53 64 54 inline G4double GetAs(void) const { return A 65 inline G4double GetAs(void) const { return As; } 55 inline G4double GetSigma1(void) const { retu 66 inline G4double GetSigma1(void) const { return Sigma1; } 56 inline G4double GetSigma2(void) const { retu 67 inline G4double GetSigma2(void) const { return Sigma2; } 57 inline G4double GetSigmaS(void) const { retu 68 inline G4double GetSigmaS(void) const { return SigmaS; } 58 inline G4double GetW(void) const { return w; 69 inline G4double GetW(void) const { return w; } 59 70 60 private: 71 private: 61 72 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 73 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 74 // fission 74 G4int A1; << 75 static const G4double A1; 75 G4int A2; << 76 static const G4double A2; 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 >> 93 92 }; 94 }; 93 95 94 96 95 #endif 97 #endif 96 98