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 // 28 // 29 // Author: Alfonso Mantero (Alfosno.Mantero@ge 29 // Author: Alfonso Mantero (Alfosno.Mantero@ge.infn.it) 30 // 30 // 31 // History: 31 // History: 32 // ----------- 32 // ----------- 33 // 1 Jun 2002: first Commited to CVS 33 // 1 Jun 2002: first Commited to CVS 34 // ------------------------------------------- 34 // ------------------------------------------------------------------- >> 35 35 // Class description: 36 // Class description: 36 // Low Energy Electromagnetic Physics 37 // Low Energy Electromagnetic Physics 37 // This Class stores all the information of au 38 // This Class stores all the information of auger effect relative 38 // to one main vacancy in a atom, like possibl 39 // to one main vacancy in a atom, like possible auger emission with 39 // relative probabilites, originating shell's 40 // relative probabilites, originating shell's Ids, probabilities of 40 // transition and auger electron energies. 41 // transition and auger electron energies. >> 42 // Further documentation available from http://www.ge.infn.it/geant4/lowE >> 43 41 // ------------------------------------------- 44 // ------------------------------------------------------------------- 42 45 43 #ifndef G4AugerTransition_h 46 #ifndef G4AugerTransition_h 44 #define G4AugerTransition_h 1 47 #define G4AugerTransition_h 1 45 48 46 #include "G4DataVector.hh" 49 #include "G4DataVector.hh" 47 #include "globals.hh" 50 #include "globals.hh" 48 #include <vector> 51 #include <vector> 49 #include <map> 52 #include <map> 50 53 51 class G4AugerTransition { 54 class G4AugerTransition { 52 55 53 public: 56 public: 54 57 55 explicit G4AugerTransition(G4int finalShell, << 58 G4AugerTransition(G4int finalShell, std::vector<G4int> transIds, 56 const std::map<G4int, std::vector<G << 59 const std::map<G4int, std::vector<G4int>, std::less<G4int> >* idMap, 57 const std::map<G4int, G4DataVector, << 60 const std::map<G4int, G4DataVector, std::less<G4int> >* energyMap, 58 const std::map<G4int, G4DataVector, << 61 const std::map<G4int, G4DataVector, std::less<G4int> >* probabilityMap); 59 << 62 60 ~G4AugerTransition(); 63 ~G4AugerTransition(); 61 64 62 /// All the data stored and provided by this << 65 // All the data stored and provided by this class are relative to a 63 /// given vacancy, whose identity is provide << 66 // given vacancy, whose identity is provided by the FinalShellId() method, 64 /// in an atom of a given material << 67 // in an atom of a given material >> 68 >> 69 // Returns the ids of the shells from wich an auger electron culd came from, given the shell >> 70 // from wich the transition electron comes from. 65 71 66 /// Returns the ids of the shells from wich << 67 /// from wich the transition electron comes << 68 const std::vector<G4int>* AugerOriginatingSh 72 const std::vector<G4int>* AugerOriginatingShellIds(G4int startShellId) const; 69 73 70 /// Returns the ids of the shells from wich << 74 // Returns the ids of the shells from wich an electron cuuld fill the vacancy in finalShellId >> 75 71 const std::vector<G4int>* TransitionOriginat 76 const std::vector<G4int>* TransitionOriginatingShellIds() const; 72 77 73 /// Returns the energiess of the possible au << 78 // Returns the energiess of the possible auger electrons, given th shell 74 /// from wich the transition electron comes << 79 // from wich the transition electron comes from. >> 80 75 const G4DataVector* AugerTransitionEnergies( 81 const G4DataVector* AugerTransitionEnergies(G4int startShellId) const; 76 82 77 /// Returns the emission probabilities of th << 83 // Returns the emission probabilities of the auger electrons, given th shell 78 /// from wich the transition electron comes << 84 // from wich the transition electron comes from. >> 85 79 const G4DataVector* AugerTransitionProbabili 86 const G4DataVector* AugerTransitionProbabilities(G4int startShellId) const; 80 87 81 /// returns the id of the shell in wich the << 88 // returns the id of the shell in wich the transition electron arrives >> 89 82 G4int FinalShellId() const; 90 G4int FinalShellId() const; 83 91 84 /// Returns the id of the shell from wich co << 92 // Returns the id of the shell from wich come the auger electron , given the shell 85 /// from wich the transition electron comes << 93 // from wich the transition electron comes from and the index number. >> 94 86 G4int AugerOriginatingShellId(G4int index, G 95 G4int AugerOriginatingShellId(G4int index, G4int startShellId) const; 87 96 88 /// Returns the energy of the auger electron << 97 // Returns the energy of the auger electron, given the shell 89 /// from wich the transition electron comes << 98 // from wich the transition electron comes from and the index number. >> 99 90 G4double AugerTransitionEnergy(G4int index, 100 G4double AugerTransitionEnergy(G4int index, G4int startShellId) const; 91 101 92 /// Returns the probability of the auger emi << 102 // Returns the probability of the auger emission, given the shell 93 /// from wich the transition electron comes << 103 // from wich the transition electron comes from and the index number. >> 104 94 G4double AugerTransitionProbability(G4int in 105 G4double AugerTransitionProbability(G4int index, G4int startShellId) const; 95 106 96 /// Returns the id of the shell form wich th << 107 // Returns the id of the shell form wich the transition electron come from >> 108 97 G4int TransitionOriginatingShellId(G4int ind 109 G4int TransitionOriginatingShellId(G4int index) const; 98 110 99 111 100 private: << 112 private: >> 113 >> 114 G4int finalShellId; 101 std::map<G4int,std::vector<G4int>,std::less< 115 std::map<G4int,std::vector<G4int>,std::less<G4int> > augerOriginatingShellIdsMap; 102 std::map<G4int,G4DataVector,std::less<G4int> 116 std::map<G4int,G4DataVector,std::less<G4int> > augerTransitionEnergiesMap; 103 std::map<G4int,G4DataVector,std::less<G4int> 117 std::map<G4int,G4DataVector,std::less<G4int> > augerTransitionProbabilitiesMap; 104 std::vector<G4int> transitionOriginatingShel 118 std::vector<G4int> transitionOriginatingShellIds; 105 119 106 G4int finalShellId; << 107 << 108 }; 120 }; 109 121 110 #endif 122 #endif 111 123 112 124 113 125