[819] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
[1340] | 26 | // $Id: G4PreCompoundParameters.hh,v 1.6 2010/08/18 14:07:24 vnivanch Exp $ |
---|
| 27 | // GEANT4 tag $Name: geant4-09-03-ref-09 $ |
---|
[819] | 28 | // |
---|
| 29 | // by V. Lara |
---|
[962] | 30 | // |
---|
[1340] | 31 | // 01.04.2008 J. M. Quesada Level density set to A/10 at preequilibrium |
---|
| 32 | // 18.08.2010 V.Ivanchenko make this class as a standard singleton |
---|
| 33 | // |
---|
[819] | 34 | |
---|
| 35 | #ifndef G4PreCompoundParameters_h |
---|
| 36 | #define G4PreCompoundParameters_h 1 |
---|
| 37 | |
---|
| 38 | #include "globals.hh" |
---|
| 39 | |
---|
| 40 | class G4PreCompoundParameters |
---|
| 41 | { |
---|
| 42 | public: |
---|
| 43 | |
---|
[1340] | 44 | static G4PreCompoundParameters * GetAddress(); |
---|
[819] | 45 | |
---|
[1340] | 46 | ~G4PreCompoundParameters(); |
---|
[819] | 47 | |
---|
[1340] | 48 | inline G4double GetLevelDensity(); |
---|
[819] | 49 | |
---|
[1340] | 50 | inline G4double Getr0(); |
---|
[819] | 51 | |
---|
[1340] | 52 | inline G4double GetTransitionsr0(); |
---|
[819] | 53 | |
---|
[1340] | 54 | inline G4double GetFermiEnergy(); |
---|
[819] | 55 | |
---|
| 56 | private: |
---|
| 57 | |
---|
[1340] | 58 | G4PreCompoundParameters(); |
---|
| 59 | |
---|
| 60 | static G4PreCompoundParameters* theParameters; |
---|
| 61 | |
---|
| 62 | // Level density parameter |
---|
| 63 | G4double fLevelDensity; |
---|
| 64 | |
---|
| 65 | // Nuclear radius r0 |
---|
| 66 | G4double fR0; |
---|
[819] | 67 | |
---|
[1340] | 68 | // Nuclear radius r0 for transitions |
---|
| 69 | G4double fTransitions_r0; |
---|
[819] | 70 | |
---|
[1340] | 71 | // Fermi energy level |
---|
| 72 | G4double fFermiEnergy; |
---|
[819] | 73 | }; |
---|
| 74 | |
---|
[1340] | 75 | inline G4double G4PreCompoundParameters::GetLevelDensity() |
---|
| 76 | { |
---|
| 77 | return fLevelDensity; |
---|
| 78 | } |
---|
| 79 | |
---|
| 80 | inline G4double G4PreCompoundParameters::Getr0() |
---|
| 81 | { |
---|
| 82 | return fR0; |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | inline G4double G4PreCompoundParameters::GetTransitionsr0() |
---|
| 86 | { |
---|
| 87 | return fTransitions_r0; |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | inline G4double G4PreCompoundParameters::GetFermiEnergy() |
---|
| 91 | { |
---|
| 92 | return fFermiEnergy; |
---|
| 93 | } |
---|
| 94 | |
---|
[819] | 95 | #endif |
---|