00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id: G4FluoTransition.hh,v 1.2 ???? 00028 // GEANT4 tag $Name: not supported by cvs2svn $ 00029 // 00030 // Author: Elena Guardincerri (Elena.Guardincerri@ge.infn.it) 00031 // 00032 // History: 00033 // ----------- 00034 // 16 Sept 2001 Modofied according to a design iteration in the 00035 // LowEnergy category 00036 // 00037 // ------------------------------------------------------------------- 00038 00039 // Class description: 00040 // Low Energy Electromagnetic Physics, a data container 00041 // Further documentation available from http://www.ge.infn.it/geant4/lowE 00042 00043 // ------------------------------------------------------------------- 00044 00045 00046 #ifndef G4FluoTransition_h 00047 #define G4FluoTransition_h 1 00048 00049 #include "G4DataVector.hh" 00050 #include "globals.hh" 00051 #include <vector> 00052 00053 class G4FluoTransition { 00054 00055 public: 00056 00057 G4FluoTransition(G4int,const std::vector<G4int>&,const G4DataVector&, 00058 const G4DataVector&); 00059 00060 ~G4FluoTransition(); 00061 00062 // All the data stored and provided by this class are relative to a 00063 // given vacancy, whose identity is provided by the FinalShellId() method, 00064 // in an atom of a given material 00065 00066 // Returns the identities of the originating shells for the transitions 00067 const std::vector<G4int>& OriginatingShellIds() const; 00068 00069 // Return the energies of the transitions 00070 const G4DataVector& TransitionEnergies() const; 00071 00072 // Return the probabilities of the transitions 00073 const G4DataVector& TransitionProbabilities() const; 00074 00075 // Return the identity if the vacancy 00076 G4int FinalShellId() const; 00077 00078 // Given the index of the originating shells returns its identity 00079 G4int OriginatingShellId(G4int index) const; 00080 00081 // Given the index of the originating shells returns the energy 00082 // of the transition starting from it 00083 G4double TransitionEnergy(G4int index) const; 00084 00085 // Given the index of the originating shells returns the probability 00086 // of the transition starting from it 00087 G4double TransitionProbability(G4int index) const; 00088 00089 private: 00090 00091 G4int finalShellId; 00092 std::vector<G4int> originatingShellIds; 00093 G4DataVector transitionEnergies; 00094 G4DataVector transitionProbabilities; 00095 00096 }; 00097 00098 #endif 00099