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