Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:56

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // Author: Alfonso Mantero (Alfonso.Mantero@ge.infn.it)
0028 //
0029 // History:
0030 // -----------
0031 //  2 June 2002 First committed to cvs
0032 //
0033 // -------------------------------------------------------------------
0034 // Class description:
0035 // Low Energy Electromagnetic Physics
0036 // This Class loads and stores all the information of auger effect (shellIds, 
0037 // probabilities and  energies of the electrons emitted) 
0038 // -------------------------------------------------------------------
0039 
0040 #ifndef G4AUGERDATA_HH
0041 #define G4AUGERDATA_HH 1
0042 
0043 #include "globals.hh"
0044 #include <vector>
0045 #include <map>
0046 #include "G4AugerTransition.hh"
0047 
0048 class G4DataVector;
0049 
0050 class G4AugerData
0051 {
0052 public:
0053 
0054   explicit G4AugerData();
0055   ~G4AugerData() = default;
0056 
0057   /// The method returns the number of shells in wich a 
0058   /// vacancy can be filled by a NON-radiative transition, given the atomic number
0059   size_t NumberOfVacancies(G4int Z) const;
0060 
0061   /// Given the index of the vacancy (and the atomic number Z) returns its identity
0062   G4int VacancyId(G4int Z, G4int vacancyIndex) const;
0063   
0064   /// Given the index of a vacancy in the atom with the atomc number Z, returns the number of
0065   /// shells starting from wich an electron can fill the vacancy
0066   size_t NumberOfTransitions(G4int Z, G4int vacancyIndex) const;
0067 
0068   /// Given the atomic number Z, the Index of the initial vacancy shell 
0069   /// and the index of the starting shell for the 
0070   /// transition, returns the identity of the shell originating the electron transition
0071   G4int StartShellId(G4int Z, G4int initialVacancyIndex, G4int transitionShellIndex) const;
0072 
0073   /// Given the atomic number , the indexes of the starting, the auger originating shell, 
0074   /// and the transition shell Id, returns the transition energy
0075   G4double StartShellEnergy(G4int Z, G4int vacancyIndex, G4int transitionId, G4int augerIndex) const;
0076 
0077   /// Given the atomic number, the  index of the starting shell, the auger originating shells, 
0078   /// and the transition shell Id, returns the transition probability
0079   G4double StartShellProb(G4int Z, G4int vacancyIndex,G4int transitionId,G4int augerIndex) const;
0080 
0081   /// Given the atomic number, the index of the starting vacancy shell and the transition shell Id,
0082   /// returns the number of shells wich an auger electron can come from.
0083   size_t NumberOfAuger(G4int Z, G4int initIndex, G4int vacancyId) const;
0084 
0085   /// Given the atomic number, th index of the starting and the auger originating shell, 
0086   /// and the transition shell Id, returns the ager originating shell Id
0087   size_t AugerShellId(G4int Z, G4int vacancyIndex, G4int transId, G4int augerIndex) const;
0088 
0089   std::vector<G4AugerTransition> LoadData(G4int Z);
0090   void BuildAugerTransitionTable();
0091   void PrintData(G4int Z);
0092 
0093   /// Given the atomic number and the vacancy initial shell index  returns 
0094   /// the AugerTransition object related to that shell
0095   G4AugerTransition* GetAugerTransition(G4int Z, G4int vacancyShellIndex);
0096   
0097   /// Given the atomic number returns a vector of possible AugerTransition objects
0098   std::vector<G4AugerTransition>* GetAugerTransitions(G4int Z);
0099 
0100 private:
0101   typedef std::map<G4int,std::vector<G4AugerTransition>,std::less<G4int> > trans_Table;
0102   trans_Table augerTransitionTable;
0103 
0104   std::vector<G4int> nInitShells;
0105   std::vector<G4int> numberOfVacancies;
0106   
0107 };
0108 
0109 #endif
0110 
0111 
0112 
0113 
0114