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