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 // ------------------------------------------------------------------- 00028 // 00029 // GEANT4 Class file 00030 // 00031 // 00032 // File name: G4hQAOModel 00033 // 00034 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) 00035 // 00036 // Creation date: 27 April 2004 00037 // 00038 // Modifications: 00039 // 00040 // Class Description: 00041 // 00042 // Electronic stopping power for negative heavy partiles 00043 // Further documentation available from http://www.ge.infn.it/geant4/lowE// 00044 00045 // ------------------------------------------------------------------- 00046 // 00047 00048 #ifndef G4hQAOModel_h 00049 #define G4hQAOModel_h 1 00050 00051 #include "globals.hh" 00052 #include "G4VhElectronicStoppingPower.hh" 00053 00054 class G4Material; 00055 class G4Element; 00056 00057 class G4hQAOModel : public G4VhElectronicStoppingPower 00058 { 00059 00060 public: 00061 00062 G4hQAOModel(); 00063 00064 ~G4hQAOModel(); 00065 00066 G4bool HasMaterial(const G4Material*) {return true;}; 00067 00068 G4double StoppingPower(const G4Material* material, 00069 G4double kineticEnergy); 00070 00071 G4double ElectronicStoppingPower(G4double z, 00072 G4double kineticEnergy) const; 00073 00074 private: 00075 00076 // get number of shell, energy and oscillator strenghts for material 00077 G4int GetNumberOfShell(G4int z) const; 00078 00079 G4double GetShellEnergy(G4int z, G4int nbOfTheShell) const; 00080 G4double GetOscillatorEnergy(G4int z, G4int nbOfTheShell) const; 00081 G4double GetShellStrength(G4int z, G4int nbOfTheShell) const; 00082 G4double GetOccupationNumber(G4int z, G4int ShellNb) const; 00083 00084 // calculate stopping number for L's term 00085 G4double GetL0(G4double normEnergy) const; 00086 // terms in Z^2 00087 G4double GetL1(G4double normEnergy) const; 00088 // terms in Z^3 00089 G4double GetL2(G4double normEnergy) const; 00090 // terms in Z^4 00091 00092 // hide assignment operator 00093 G4hQAOModel & operator=(const G4hQAOModel &right); 00094 G4hQAOModel(const G4hQAOModel&); 00095 00096 // Z of element at now avaliable for the model 00097 static const G4int materialAvailable[6]; 00098 00099 // number, energy and oscillator strenghts 00100 // for an harmonic oscillator model of material 00101 static const G4int nbofShellForMaterial[6]; 00102 static const G4double alShellEnergy[3]; 00103 static const G4double alShellStrength[3]; 00104 static const G4double siShellEnergy[3]; 00105 static const G4double siShellStrength[3]; 00106 static const G4double cuShellEnergy[4]; 00107 static const G4double cuShellStrength[4]; 00108 static const G4double taShellEnergy[6]; 00109 static const G4double taShellStrength[6]; 00110 static const G4double auShellEnergy[6]; 00111 static const G4double auShellStrength[6]; 00112 static const G4double ptShellEnergy[6]; 00113 static const G4double ptShellStrength[6]; 00114 00115 00116 // variable for calculation of stopping number of L's term 00117 static const G4double L0[67][2]; 00118 static const G4double L1[22][2]; 00119 static const G4double L2[14][2]; 00120 static const G4int nbOfElectronPerSubShell[1540]; 00121 static const G4int fNumberOfShells[101]; 00122 00123 G4int numberOfMaterials; 00124 G4int sizeL0; 00125 G4int sizeL1; 00126 G4int sizeL2; 00127 00128 const G4Material* currentMaterial; 00129 const G4Element* currentElement; 00130 00131 G4double theZieglerFactor; 00132 G4double thePlasmonFactor; 00133 }; 00134 00135 #endif