[819] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
| 26 | // |
---|
| 27 | // ------------------------------------------------------------------- |
---|
| 28 | // |
---|
| 29 | // GEANT4 Class file |
---|
| 30 | // |
---|
| 31 | // |
---|
| 32 | // File name: G4hQAOModel |
---|
| 33 | // |
---|
| 34 | // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) |
---|
| 35 | // |
---|
| 36 | // Creation date: 27 April 2004 |
---|
| 37 | // |
---|
| 38 | // Modifications: |
---|
| 39 | // |
---|
| 40 | // Class Description: |
---|
| 41 | // |
---|
| 42 | // Electronic stopping power for negative heavy partiles |
---|
| 43 | // Further documentation available from http://www.ge.infn.it/geant4/lowE// |
---|
| 44 | |
---|
| 45 | // ------------------------------------------------------------------- |
---|
| 46 | // |
---|
| 47 | |
---|
| 48 | #ifndef G4hQAOModel_h |
---|
| 49 | #define G4hQAOModel_h 1 |
---|
| 50 | |
---|
| 51 | #include "globals.hh" |
---|
| 52 | #include "G4VhElectronicStoppingPower.hh" |
---|
| 53 | |
---|
| 54 | class G4Material; |
---|
| 55 | class G4Element; |
---|
| 56 | |
---|
| 57 | class G4hQAOModel : public G4VhElectronicStoppingPower |
---|
| 58 | { |
---|
| 59 | |
---|
| 60 | public: |
---|
| 61 | |
---|
| 62 | G4hQAOModel(); |
---|
| 63 | |
---|
| 64 | ~G4hQAOModel(); |
---|
| 65 | |
---|
| 66 | G4bool HasMaterial(const G4Material*) {return true;}; |
---|
| 67 | |
---|
| 68 | G4double StoppingPower(const G4Material* material, |
---|
| 69 | G4double kineticEnergy); |
---|
| 70 | |
---|
| 71 | G4double ElectronicStoppingPower(G4double z, |
---|
| 72 | G4double kineticEnergy) const; |
---|
| 73 | |
---|
| 74 | private: |
---|
| 75 | |
---|
| 76 | // get number of shell, energy and oscillator strenghts for material |
---|
| 77 | G4int GetNumberOfShell(G4int z) const; |
---|
| 78 | |
---|
| 79 | G4double GetShellEnergy(G4int z, G4int nbOfTheShell) const; |
---|
| 80 | G4double GetOscillatorEnergy(G4int z, G4int nbOfTheShell) const; |
---|
| 81 | G4double GetShellStrength(G4int z, G4int nbOfTheShell) const; |
---|
| 82 | G4double GetOccupationNumber(G4int z, G4int ShellNb) const; |
---|
| 83 | |
---|
| 84 | // calculate stopping number for L's term |
---|
| 85 | G4double GetL0(G4double normEnergy) const; |
---|
| 86 | // terms in Z^2 |
---|
| 87 | G4double GetL1(G4double normEnergy) const; |
---|
| 88 | // terms in Z^3 |
---|
| 89 | G4double GetL2(G4double normEnergy) const; |
---|
| 90 | // terms in Z^4 |
---|
| 91 | |
---|
| 92 | // hide assignment operator |
---|
| 93 | G4hQAOModel & operator=(const G4hQAOModel &right); |
---|
| 94 | G4hQAOModel(const G4hQAOModel&); |
---|
| 95 | |
---|
| 96 | // Z of element at now avaliable for the model |
---|
| 97 | static const G4int materialAvailable[6]; |
---|
| 98 | |
---|
| 99 | // number, energy and oscillator strenghts |
---|
| 100 | // for an harmonic oscillator model of material |
---|
| 101 | static const G4int nbofShellForMaterial[6]; |
---|
| 102 | static const G4double alShellEnergy[3]; |
---|
| 103 | static const G4double alShellStrength[3]; |
---|
| 104 | static const G4double siShellEnergy[3]; |
---|
| 105 | static const G4double siShellStrength[3]; |
---|
| 106 | static const G4double cuShellEnergy[4]; |
---|
| 107 | static const G4double cuShellStrength[4]; |
---|
| 108 | static const G4double taShellEnergy[6]; |
---|
| 109 | static const G4double taShellStrength[6]; |
---|
| 110 | static const G4double auShellEnergy[6]; |
---|
| 111 | static const G4double auShellStrength[6]; |
---|
| 112 | static const G4double ptShellEnergy[6]; |
---|
| 113 | static const G4double ptShellStrength[6]; |
---|
| 114 | |
---|
| 115 | |
---|
| 116 | // variable for calculation of stopping number of L's term |
---|
| 117 | static const G4double L0[67][2]; |
---|
| 118 | static const G4double L1[22][2]; |
---|
| 119 | static const G4double L2[14][2]; |
---|
| 120 | static const G4int nbOfElectronPerSubShell[1540]; |
---|
| 121 | static const G4int fNumberOfShells[101]; |
---|
| 122 | |
---|
| 123 | G4int numberOfMaterials; |
---|
| 124 | G4int sizeL0; |
---|
| 125 | G4int sizeL1; |
---|
| 126 | G4int sizeL2; |
---|
| 127 | |
---|
| 128 | const G4Material* currentMaterial; |
---|
| 129 | const G4Element* currentElement; |
---|
| 130 | |
---|
| 131 | G4double theZieglerFactor; |
---|
| 132 | G4double thePlasmonFactor; |
---|
| 133 | }; |
---|
| 134 | |
---|
| 135 | #endif |
---|