Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer 3 // * License and Disclaimer * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/ 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. 9 // * include a list of copyright holders. * 10 // * 10 // * * 11 // * Neither the authors of this software syst 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitatio 16 // * for the full disclaimer and the limitation of liability. * 17 // * 17 // * * 18 // * This code implementation is the result 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboratio 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distri 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you ag 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publicati 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Sof 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************* 24 // ******************************************************************** 25 // 25 // 26 // 26 // 27 // 27 // 28 // Authors: Elena Guardincerri (Elena.Guardinc 28 // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) 29 // Alfonso Mantero (Alfonso.Mantero@g 29 // Alfonso Mantero (Alfonso.Mantero@ge.infn.it) 30 // 30 // 31 // History: 31 // History: 32 // ----------- 32 // ----------- 33 // 33 // 34 // 16 Sept 2001 First committed to cvs 34 // 16 Sept 2001 First committed to cvs 35 // 35 // 36 // ------------------------------------------- 36 // ------------------------------------------------------------------- 37 37 38 // Class description: 38 // Class description: 39 // Low Energy Electromagnetic Physics, managem 39 // Low Energy Electromagnetic Physics, management of atomic deexcitation 40 // ------------------------------------------- 40 // ------------------------------------------------------------------- 41 41 42 #ifndef G4AtomicDeexcitation_h 42 #ifndef G4AtomicDeexcitation_h 43 #define G4AtomicDeexcitation_h 1 43 #define G4AtomicDeexcitation_h 1 44 44 45 #include "globals.hh" 45 #include "globals.hh" 46 #include <vector> 46 #include <vector> 47 #include "G4DynamicParticle.hh" 47 #include "G4DynamicParticle.hh" 48 48 49 class G4AtomicDeexcitation { 49 class G4AtomicDeexcitation { 50 public: 50 public: 51 ///constructor 51 ///constructor 52 explicit G4AtomicDeexcitation(); 52 explicit G4AtomicDeexcitation(); 53 ~G4AtomicDeexcitation(); 53 ~G4AtomicDeexcitation(); 54 54 55 /// Returns a vector contains the photons ge 55 /// Returns a vector contains the photons generated by radiative transitions 56 /// (non zero particles) or by non radiative 56 /// (non zero particles) or by non radiative transitions (zero particles) 57 std::vector<G4DynamicParticle*>* GeneratePar 57 std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); 58 58 59 void SetCutForSecondaryPhotons(G4double cut) 59 void SetCutForSecondaryPhotons(G4double cut); 60 /// Set threshold energy for fluorescence 60 /// Set threshold energy for fluorescence 61 61 62 void SetCutForAugerElectrons(G4double cut); 62 void SetCutForAugerElectrons(G4double cut); 63 /// Set threshold energy for Auger electron 63 /// Set threshold energy for Auger electron production 64 64 65 void ActivateAugerElectronProduction(G4bool 65 void ActivateAugerElectronProduction(G4bool val); 66 /// Activate Auger electron production 66 /// Activate Auger electron production 67 67 68 68 69 private: 69 private: 70 /// Decides wether a radiative transition is 70 /// Decides wether a radiative transition is possible and, if it is, 71 /// returns the identity of the starting she 71 /// returns the identity of the starting shell for the transition 72 G4int SelectTypeOfTransition(G4int Z, G4int 72 G4int SelectTypeOfTransition(G4int Z, G4int shellId); 73 73 74 /// Generates a particle from a radiative tr 74 /// Generates a particle from a radiative transition and returns it 75 G4DynamicParticle* GenerateFluorescence(G4in 75 G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); 76 76 77 /// Generates a particle from a non-radiativ 77 /// Generates a particle from a non-radiative transition and returns it 78 G4DynamicParticle* GenerateAuger(G4int Z, G4 78 G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); 79 79 80 G4double minGammaEnergy; 80 G4double minGammaEnergy; 81 G4double minElectronEnergy; 81 G4double minElectronEnergy; 82 82 83 /// Data member which stores the shells to b 83 /// Data member which stores the shells to be filled by 84 /// the radiative transition 84 /// the radiative transition 85 G4int newShellId; 85 G4int newShellId; 86 86 87 /// Data member wich stores the id of the sh 87 /// Data member wich stores the id of the shell where is the vacancy 88 /// left from the Auger electron 88 /// left from the Auger electron 89 G4int augerVacancyId; 89 G4int augerVacancyId; 90 90 91 G4bool fAuger; 91 G4bool fAuger; 92 }; 92 }; 93 93 94 #endif 94 #endif 95 95 96 96 97 97 98 98 99 99