Geant4 Cross Reference |
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 // Authors: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) 29 // Alfonso Mantero (Alfonso.Mantero@ge.infn.it) 30 // 31 // History: 32 // ----------- 33 // 34 // 16 Sept 2001 First committed to cvs 35 // 36 // ------------------------------------------------------------------- 37 38 // Class description: 39 // Low Energy Electromagnetic Physics, management of atomic deexcitation 40 // Further documentation available from http://www.ge.infn.it/geant4/lowE 41 42 // ------------------------------------------------------------------- 43 44 #ifndef G4RDAtomicDeexcitation_h 45 #define G4RDAtomicDeexcitation_h 1 46 47 #include "globals.hh" 48 #include <vector> 49 #include "G4DynamicParticle.hh" 50 51 class G4RDAtomicDeexcitation { 52 53 public: 54 55 G4RDAtomicDeexcitation(); 56 ~G4RDAtomicDeexcitation(); 57 58 // Returns a vector contains the photons generated by radiative transitions 59 // (non zero particles) or by non radiative transitions (zero particles) 60 std::vector<G4DynamicParticle*>* GenerateParticles(G4int Z, G4int shellId); 61 62 void SetCutForSecondaryPhotons(G4double cut); 63 // Set threshold energy for fluorescence 64 65 void SetCutForAugerElectrons(G4double cut); 66 // Set threshold energy for Auger electron production 67 68 void ActivateAugerElectronProduction(G4bool val); 69 // Activate Auger electron production 70 71 72 private: 73 74 // Decides wether a radiative transition is possible and, if it is, 75 // returns the identity of the starting shell for the transition 76 G4int SelectTypeOfTransition(G4int Z, G4int shellId); 77 78 // Generates a particle from a radiative transition and returns it 79 G4DynamicParticle* GenerateFluorescence(G4int Z, G4int shellId,G4int provShellId); 80 81 // Generates a particle from a non-radiative transition and returns it 82 G4DynamicParticle* GenerateAuger(G4int Z, G4int shellId); 83 84 // Data member which stores the shells to be filled by 85 // the radiative transition 86 G4int newShellId; 87 88 G4double minGammaEnergy; 89 G4double minElectronEnergy; 90 G4bool fAuger; 91 92 // Data member wich stores the id of the shell where is the vacancy 93 // left from the Auger electron 94 G4int augerVacancyId; 95 96 }; 97 98 #endif 99 100 101 102 103