Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 // 23 // >> 24 // $Id: G4FissionParameters.hh,v 1.1 2003/08/26 18:37:02 lara Exp $ >> 25 // GEANT4 tag $Name: geant4-06-00-patch-01 $ 27 // 26 // 28 // Hadronic Process: Nuclear De-excitations 27 // Hadronic Process: Nuclear De-excitations 29 // by V. Lara (Oct 1998) 28 // by V. Lara (Oct 1998) 30 // 29 // 31 30 >> 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 38 class G4FissionParameters 39 class G4FissionParameters 39 { 40 { 40 public: 41 public: >> 42 // Only available constructor >> 43 G4FissionParameters(const G4int A, const G4int Z, const G4double ExEnergy, const G4double FissionBarrier); >> 44 >> 45 ~G4FissionParameters() {}; 41 46 42 G4FissionParameters(); << 47 private: >> 48 // Default constructor >> 49 G4FissionParameters() {}; 43 50 44 ~G4FissionParameters(); << 51 // Copy constructor >> 52 G4FissionParameters(const G4FissionParameters &right); 45 53 46 void DefineParameters(G4int A, G4int Z, G4do << 54 const G4FissionParameters & operator=(const G4FissionParameters &right); 47 G4double FissionBarrier); << 55 G4bool operator==(const G4FissionParameters &right) const; >> 56 G4bool operator!=(const G4FissionParameters &right) const; 48 57 49 public: 58 public: 50 59 51 inline G4int GetA1(void) const { return A1; << 60 inline G4double GetA1(void) const { return A1; } 52 inline G4int GetA2(void) const { return A2; << 61 inline G4double GetA2(void) const { return A2; } 53 62 54 inline G4double GetAs(void) const { return A 63 inline G4double GetAs(void) const { return As; } 55 inline G4double GetSigma1(void) const { retu 64 inline G4double GetSigma1(void) const { return Sigma1; } 56 inline G4double GetSigma2(void) const { retu 65 inline G4double GetSigma2(void) const { return Sigma2; } 57 inline G4double GetSigmaS(void) const { retu 66 inline G4double GetSigmaS(void) const { return SigmaS; } 58 inline G4double GetW(void) const { return w; 67 inline G4double GetW(void) const { return w; } 59 68 60 private: 69 private: 61 70 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 71 // Mean numbers of the corresponding Gaussians for assymmetric 73 // fission 72 // fission 74 G4int A1; << 73 static const G4double A1; 75 G4int A2; << 74 static const G4double A2; 76 G4double A3; << 77 75 78 // Mean number for symmetric fission 76 // Mean number for symmetric fission 79 G4double As; 77 G4double As; 80 78 81 // Dispersions of the corresponding Gaussian 79 // Dispersions of the corresponding Gaussians for assymmetric 82 // fission 80 // fission 83 G4double Sigma1; 81 G4double Sigma1; 84 G4double Sigma2; 82 G4double Sigma2; 85 83 86 // Dispersion for symmetric fission 84 // Dispersion for symmetric fission 87 G4double SigmaS; 85 G4double SigmaS; 88 86 89 // Weight which determines the relative cont 87 // Weight which determines the relative contribution of symmetric 90 // and assymmetric components 88 // and assymmetric components 91 G4double w; 89 G4double w; >> 90 >> 91 92 }; 92 }; 93 93 94 94 95 #endif 95 #endif 96 96