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 // Further documentation available from http://www.ge.infn.it/geant4/lowE >> 41 40 // ------------------------------------------- 42 // ------------------------------------------------------------------- 41 43 42 #ifndef G4AtomicDeexcitation_h 44 #ifndef G4AtomicDeexcitation_h 43 #define G4AtomicDeexcitation_h 1 45 #define G4AtomicDeexcitation_h 1 44 46 45 #include "globals.hh" 47 #include "globals.hh" 46 #include <vector> 48 #include <vector> 47 #include "G4DynamicParticle.hh" 49 #include "G4DynamicParticle.hh" 48 50 49 class G4AtomicDeexcitation { 51 class G4AtomicDeexcitation { >> 52 50 public: 53 public: 51 ///constructor << 54 52 explicit G4AtomicDeexcitation(); << 55 G4AtomicDeexcitation(); 53 ~G4AtomicDeexcitation(); 56 ~G4AtomicDeexcitation(); 54 57 55 /// Returns a vector contains the photons ge << 58 // Returns a vector contains the photons generated by radiative transitions 56 /// (non zero particles) or by non radiative << 59 // (non zero particles) or by non radiative transitions (zero particles) 57 std::vector<G4DynamicParticle*>* GeneratePar 60 std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); 58 61 59 void SetCutForSecondaryPhotons(G4double cut) 62 void SetCutForSecondaryPhotons(G4double cut); 60 /// Set threshold energy for fluorescence << 63 // Set threshold energy for fluorescence 61 64 62 void SetCutForAugerElectrons(G4double cut); 65 void SetCutForAugerElectrons(G4double cut); 63 /// Set threshold energy for Auger electron << 66 // Set threshold energy for Auger electron production 64 67 65 void ActivateAugerElectronProduction(G4bool 68 void ActivateAugerElectronProduction(G4bool val); 66 /// Activate Auger electron production << 69 // Activate Auger electron production 67 70 68 71 69 private: << 72 private: 70 /// Decides wether a radiative transition is << 73 71 /// returns the identity of the starting she << 74 // Decides wether a radiative transition is possible and, if it is, >> 75 // returns the identity of the starting shell for the transition 72 G4int SelectTypeOfTransition(G4int Z, G4int 76 G4int SelectTypeOfTransition(G4int Z, G4int shellId); 73 77 74 /// Generates a particle from a radiative tr << 78 // Generates a particle from a radiative transition and returns it 75 G4DynamicParticle* GenerateFluorescence(G4in 79 G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); 76 80 77 /// Generates a particle from a non-radiativ << 81 // Generates a particle from a non-radiative transition and returns it 78 G4DynamicParticle* GenerateAuger(G4int Z, G4 82 G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); 79 83 >> 84 // Data member which stores the shells to be filled by >> 85 // the radiative transition >> 86 G4int newShellId; >> 87 80 G4double minGammaEnergy; 88 G4double minGammaEnergy; 81 G4double minElectronEnergy; 89 G4double minElectronEnergy; >> 90 G4bool fAuger; 82 91 83 /// Data member which stores the shells to b << 92 // Data member wich stores the id of the shell where is the vacancy 84 /// the radiative transition << 93 // left from the Auger electron 85 G4int newShellId; << 86 << 87 /// Data member wich stores the id of the sh << 88 /// left from the Auger electron << 89 G4int augerVacancyId; 94 G4int augerVacancyId; 90 << 95 91 G4bool fAuger; << 92 }; 96 }; 93 97 94 #endif 98 #endif 95 99 96 100 97 101 98 102 99 103