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 | // |
---|
26 | // $Id: G4ContinuumGammaTransition.hh,v 1.3 2010/11/17 19:17:17 vnivanch Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-04-ref-00 $ |
---|
28 | // |
---|
29 | // ------------------------------------------------------------------- |
---|
30 | // GEANT 4 class file |
---|
31 | // |
---|
32 | // CERN, Geneva, Switzerland |
---|
33 | // |
---|
34 | // File name: G4ContinuumGammaTransition |
---|
35 | // |
---|
36 | // Authors: Carlo Dallapiccola (dallapiccola@umdhep.umd.edu) |
---|
37 | // Maria Grazia Pia (pia@genova.infn.it) |
---|
38 | // |
---|
39 | // Creation date: 23 October 1998 |
---|
40 | // |
---|
41 | // Modifications: |
---|
42 | // |
---|
43 | // 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it) |
---|
44 | // Added creation time evaluation for products of evaporation |
---|
45 | // 02 May 2003, Vladimir Ivanchenko change interface to G4NuclearlevelManager |
---|
46 | // |
---|
47 | // ------------------------------------------------------------------- |
---|
48 | // |
---|
49 | // Header file for G4ContinuumGammaTransition |
---|
50 | // |
---|
51 | |
---|
52 | #ifndef G4ContinuumGammaTransition_hh |
---|
53 | #define G4ContinuumGammaTransition_hh 1 |
---|
54 | |
---|
55 | #include "globals.hh" |
---|
56 | #include "G4VGammaTransition.hh" |
---|
57 | #include "G4NuclearLevelManager.hh" |
---|
58 | #include "G4VLevelDensityParameter.hh" |
---|
59 | |
---|
60 | class G4ContinuumGammaTransition : public G4VGammaTransition |
---|
61 | { |
---|
62 | public: |
---|
63 | |
---|
64 | // Constructor |
---|
65 | G4ContinuumGammaTransition(const G4NuclearLevelManager* levelManager, |
---|
66 | G4int Z, G4int A, G4double excitation, |
---|
67 | G4int verbose); |
---|
68 | |
---|
69 | // Destructor |
---|
70 | virtual ~G4ContinuumGammaTransition(); |
---|
71 | |
---|
72 | // Functions |
---|
73 | |
---|
74 | //-- virtual G4double GammaEnergy(); |
---|
75 | //-- virtual G4double GetEnergyTo() const; |
---|
76 | virtual void SetEnergyFrom(G4double energy); |
---|
77 | virtual G4double GetGammaEnergy(); |
---|
78 | virtual G4double GetGammaCreationTime(); |
---|
79 | virtual void SelectGamma(); |
---|
80 | |
---|
81 | private: |
---|
82 | |
---|
83 | G4double E1Pdf(G4double energy); |
---|
84 | G4double GammaTime(); |
---|
85 | |
---|
86 | G4int _nucleusA; |
---|
87 | G4int _nucleusZ; |
---|
88 | G4double _eMin; |
---|
89 | G4double _eMax; |
---|
90 | G4double _maxLevelE; |
---|
91 | G4double _minLevelE; |
---|
92 | G4double _excitation; |
---|
93 | G4double _eGamma; |
---|
94 | const G4NuclearLevelManager* _levelManager; |
---|
95 | G4double _gammaCreationTime; |
---|
96 | |
---|
97 | }; |
---|
98 | |
---|
99 | #endif |
---|