00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // ------------------------------------------------------------------- 00029 // GEANT 4 class file 00030 // 00031 // CERN, Geneva, Switzerland 00032 // 00033 // File name: G4DiscreteGammaTransition 00034 // 00035 // Author: Maria Grazia Pia (pia@genova.infn.it) 00036 // 00037 // Creation date: 23 October 1998 00038 // 00039 // Modifications: 00040 // 00041 // 8 March 2002, Fan Lei (flei@space.qinetiq.com) 00042 // added 00043 // 1) SetRDM () to switch on/off IC process 00044 // 2) GetOrbitNumber () to return the CE oribit number 00045 // 3) GetBondEnergy() for the converted e- 00046 // 4) IsaGamma() to separate CE from gamma 00047 // 00048 // 21 Nov. 2001, Fan Lei (flei@space.qinetiq.com) 00049 // i) added G4int _nucleusZ initialise it through the constructor 00050 // ii) modified SelectGamma() to allow the generation of conversion electrons 00051 // iii) added #include G4AtomicShells.hh 00052 // 00053 // 15 April 1999, Alessandro Brunengo (Alessandro.Brunengo@ge.infn.it) 00054 // Added creation time evaluation for products of evaporation 00055 // 00056 // 00057 // 19 April 2010, J. M. Quesada. 00058 // Corrections added for taking into account mismatch between tabulated 00059 // gamma energies and level energy differences (fake photons eliminated) 00060 // 00061 // 6 October 2010, M. Kelsey 00062 // Store NuclearLevel as const-reference, not as copied value. 00063 // 00064 // 5 May 2011, V.Ivanchenko removed unused constructor 00065 // 00066 // ------------------------------------------------------------------- 00067 00068 #ifndef G4DiscreteGammaTransition_hh 00069 #define G4DiscreteGammaTransition_hh 00070 00071 #include "globals.hh" 00072 #include "G4VGammaTransition.hh" 00073 00074 class G4NuclearLevel; 00075 //JMQ 180410 00076 class G4NuclearLevelManager; 00077 00078 00079 class G4DiscreteGammaTransition : public G4VGammaTransition 00080 { 00081 public: 00082 00083 //JMQ 180410 00084 G4DiscreteGammaTransition(const G4NuclearLevel& level, G4int Z, G4int A); 00085 00086 // Destructor 00087 virtual ~G4DiscreteGammaTransition(); 00088 00089 // Functions 00090 00091 public: 00092 00093 virtual void SetEnergyFrom(G4double energy); 00094 virtual G4double GetGammaEnergy(); 00095 virtual G4double GetGammaCreationTime(); 00096 virtual void SelectGamma(); 00097 00098 inline void SetICM(G4bool ic) { _icm = ic; }; 00099 inline G4bool GetICM() const { return _icm;}; 00100 inline G4double GetBondEnergy () {return _bondE;}; 00101 inline G4int GetOrbitNumber () {return _orbitE;}; 00102 inline G4bool IsAGamma() {return _aGamma;}; 00103 00104 private: 00105 00106 G4int _nucleusZ; 00107 G4int _orbitE; 00108 G4double _bondE; 00109 G4bool _aGamma; 00110 G4bool _icm; 00111 00112 G4double _gammaEnergy; 00113 const G4NuclearLevel& _level; 00114 G4double _excitation; 00115 G4double _gammaCreationTime; 00116 //JMQ 180410 00117 G4int _A; 00118 G4int _Z; 00119 G4NuclearLevelManager * _levelManager; 00120 //JMQ 190410 00121 G4double _tolerance; 00122 }; 00123 00124 00125 #endif 00126