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