[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 | // |
---|
| 26 | // |
---|
| 27 | // ------------------------------------------------------------------- |
---|
| 28 | // GEANT 4 class file |
---|
| 29 | // |
---|
| 30 | // CERN, Geneva, Switzerland |
---|
| 31 | // |
---|
| 32 | // File name: G4DiscreteGammaTransition |
---|
| 33 | // |
---|
| 34 | // Author: Maria Grazia Pia (pia@genova.infn.it) |
---|
| 35 | // |
---|
| 36 | // Creation date: 23 October 1998 |
---|
| 37 | // |
---|
| 38 | // Modifications: |
---|
| 39 | // |
---|
| 40 | // 8 March 2002, Fan Lei (flei@space.qinetiq.com) |
---|
| 41 | // added |
---|
| 42 | // 1) SetRDM () to switch on/off IC process |
---|
| 43 | // 2) GetOrbitNumber () to return the CE oribit number |
---|
| 44 | // 3) GetBondEnergy() for the converted e- |
---|
| 45 | // 4) IsaGamma() to separate CE from gamma |
---|
| 46 | // |
---|
| 47 | // 21 Nov. 2001, Fan Lei (flei@space.qinetiq.com) |
---|
| 48 | // i) added G4int _nucleusZ initialise it through the constructor |
---|
| 49 | // ii) modified SelectGamma() to allow the generation of conversion electrons |
---|
| 50 | // iii) added #include G4AtomicShells.hh |
---|
| 51 | // |
---|
| 52 | // 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it) |
---|
| 53 | // Added creation time evaluation for products of evaporation |
---|
| 54 | // |
---|
| 55 | // ------------------------------------------------------------------- |
---|
| 56 | |
---|
| 57 | #ifndef G4DiscreteGammaTransition_hh |
---|
| 58 | #define G4DiscreteGammaTransition_hh |
---|
| 59 | |
---|
| 60 | #include "globals.hh" |
---|
| 61 | #include "G4VGammaTransition.hh" |
---|
| 62 | #include "G4NuclearLevel.hh" |
---|
| 63 | |
---|
| 64 | class G4DiscreteGammaTransition : public G4VGammaTransition |
---|
| 65 | { |
---|
| 66 | public: |
---|
| 67 | |
---|
| 68 | // Constructor |
---|
| 69 | G4DiscreteGammaTransition(const G4NuclearLevel& level); |
---|
| 70 | G4DiscreteGammaTransition(const G4NuclearLevel& level, G4int Z); |
---|
| 71 | |
---|
| 72 | // Destructor |
---|
| 73 | ~G4DiscreteGammaTransition(); |
---|
| 74 | |
---|
| 75 | // Functions |
---|
| 76 | |
---|
| 77 | public: |
---|
| 78 | |
---|
| 79 | virtual void SetEnergyFrom(const G4double energy); |
---|
| 80 | virtual G4double GetGammaEnergy(); |
---|
| 81 | virtual G4double GetGammaCreationTime(); |
---|
| 82 | virtual void SelectGamma(); |
---|
| 83 | |
---|
| 84 | void SetICM(G4bool ic) { _icm = ic;}; |
---|
| 85 | G4double GetBondEnergy () {return _bondE;}; |
---|
| 86 | G4int GetOrbitNumber () {return _orbitE;}; |
---|
| 87 | G4bool IsAGamma() {return _aGamma;}; |
---|
| 88 | |
---|
| 89 | private: |
---|
| 90 | |
---|
| 91 | G4int _nucleusZ; |
---|
| 92 | G4int _orbitE; |
---|
| 93 | G4double _bondE; |
---|
| 94 | G4bool _aGamma; |
---|
| 95 | G4bool _icm; |
---|
| 96 | |
---|
| 97 | G4double _gammaEnergy; |
---|
| 98 | G4NuclearLevel _level; |
---|
| 99 | G4double _excitation; |
---|
| 100 | G4double _gammaCreationTime; |
---|
| 101 | }; |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | #endif |
---|
| 105 | |
---|