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