|
||||
File indexing completed on 2025-01-18 09:58:17
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 // Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) 0027 // 0028 // History: 0029 // ----------- 0030 // 16 Sept 2001 First committed to cvs 0031 // 0032 // ------------------------------------------------------------------- 0033 0034 // Class description: 0035 // Low Energy Electromagnetic Physics 0036 // Fluorescence data set: shell identifiers, transition probabilities, 0037 // transition energies 0038 0039 // ------------------------------------------------------------------- 0040 0041 #ifndef G4FLUODATA_HH 0042 #define G4FLUODATA_HH 1 0043 0044 #include "globals.hh" 0045 #include <vector> 0046 #include <map> 0047 0048 class G4FluoTransition; 0049 class G4DataVector; 0050 0051 class G4FluoData 0052 { 0053 public: 0054 0055 explicit G4FluoData(const G4String& dir); 0056 0057 ~G4FluoData(); 0058 0059 /// The method returns the number of shells in wich a 0060 /// vacancy can be filled by a radiative transition 0061 std::size_t NumberOfVacancies() const; 0062 0063 /// Given the index of the vacancy returns its identity 0064 G4int VacancyId(G4int vacancyIndex) const; 0065 0066 /// Given the index of a vacancy returns the number of 0067 /// shells starting from wich an electrons can fill the vacancy 0068 std::size_t NumberOfTransitions(G4int vacancyIndex) const; 0069 0070 /// Given the indexes of the starting and final shells for the 0071 /// transition, returns the identity of the starting one 0072 G4int StartShellId(G4int initIndex, G4int vacancyIndex) const; 0073 0074 /// Given the indexes of the starting and final shells for the 0075 /// transition, returns the transition energy 0076 G4double StartShellEnergy(G4int initIndex, G4int vacancyIndex) const; 0077 0078 /// Given the indexes of the starting and final shells for the 0079 /// transition, returns the probability of this transition 0080 G4double StartShellProb(G4int initIndex, G4int vacancyIndex) const; 0081 0082 void LoadData(G4int Z); 0083 0084 void PrintData(); 0085 0086 G4FluoData& operator=(const G4FluoData& right) = delete; 0087 G4FluoData(const G4FluoData&) = delete; 0088 0089 private: 0090 std::map<G4int,G4DataVector*,std::less<G4int> > idMap; 0091 std::map<G4int,G4DataVector*,std::less<G4int> > energyMap; 0092 std::map<G4int,G4DataVector*,std::less<G4int> > probabilityMap; 0093 std::vector<G4int> nInitShells; 0094 std::map<G4int,std::vector<G4FluoTransition*>,std::less<G4int> > fluoTransitionTable; 0095 G4String fluoDirectory; 0096 0097 G4int numberOfVacancies = 0; 0098 0099 }; 0100 0101 #endif 0102 0103
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |