Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 // 23 // 27 // ------------------------------------------- 24 // ------------------------------------------------------------ 28 // GEANT 4 class header file 25 // GEANT 4 class header file 29 // 26 // 30 // History: New Implementation 27 // History: New Implementation 31 // 28 // 32 // ---------- G4QAOLowEnergyLoss physics 29 // ---------- G4QAOLowEnergyLoss physics process ------- 33 // by Stephane Chauvie, 21 Ma 30 // by Stephane Chauvie, 21 May 2000 34 // 31 // 35 // Modified: 32 // Modified: 36 // 16/09/2000 S. Chauvie Oscillator for all m 33 // 16/09/2000 S. Chauvie Oscillator for all materials 37 // 23/05/2000 MGP Made compliant to design 34 // 23/05/2000 MGP Made compliant to design 38 // 01/06/2001 V.Ivanchenko replace names by Z 35 // 01/06/2001 V.Ivanchenko replace names by Z 39 // 36 // 40 // Class description: 37 // Class description: 41 // Quantal Harmonic Oscillator Model for energ 38 // Quantal Harmonic Oscillator Model for energy loss of low energy antiprotons 42 // Further documentation available from http:/ 39 // Further documentation available from http://www.ge.infn.it/geant4/lowE 43 40 44 // ------------------------------------------- 41 // ------------------------------------------------------------ 45 42 46 43 47 #ifndef G4QAOLowEnergyLoss_hh 44 #ifndef G4QAOLowEnergyLoss_hh 48 #define G4QAOLowEnergyLoss_hh 1 45 #define G4QAOLowEnergyLoss_hh 1 49 46 50 #include "G4VLowEnergyModel.hh" 47 #include "G4VLowEnergyModel.hh" 51 #include "globals.hh" 48 #include "globals.hh" 52 49 53 class G4QAOLowEnergyLoss : public G4VLowEnergy 50 class G4QAOLowEnergyLoss : public G4VLowEnergyModel 54 { 51 { 55 public: << 52 public: 56 explicit G4QAOLowEnergyLoss(const G4String& << 53 >> 54 G4QAOLowEnergyLoss(const G4String& name); >> 55 57 ~G4QAOLowEnergyLoss(); 56 ~G4QAOLowEnergyLoss(); 58 57 59 G4double HighEnergyLimit(const G4ParticleDef 58 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle, 60 const G4Material* m << 59 const G4Material* material) const; 61 // returns the higher limit for model validi 60 // returns the higher limit for model validity 62 61 63 G4double LowEnergyLimit(const G4ParticleDefi 62 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle, 64 const G4Material* ma << 63 const G4Material* material) const; 65 // returns the lower limit for model validit 64 // returns the lower limit for model validity 66 65 67 G4double HighEnergyLimit(const G4ParticleDef << 66 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle) const; 68 // returns the higher limit for model validi 67 // returns the higher limit for model validity 69 68 70 G4double LowEnergyLimit(const G4ParticleDefi << 69 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle) const; 71 // returns the lower limit for model validit 70 // returns the lower limit for model validity 72 71 73 G4bool IsInCharge(const G4DynamicParticle* p 72 G4bool IsInCharge(const G4DynamicParticle* particle, 74 const G4Material* material) const over << 73 const G4Material* material) const; 75 // returns true if the model is applicable a 74 // returns true if the model is applicable at that energy for 76 // that particle for that material 75 // that particle for that material 77 76 78 G4bool IsInCharge(const G4ParticleDefinition 77 G4bool IsInCharge(const G4ParticleDefinition* aParticle, 79 const G4Material* material) const over << 78 const G4Material* material) const; 80 // returns true if the model is applicable a 79 // returns true if the model is applicable at that energy for 81 // that particle for that material 80 // that particle for that material 82 81 83 G4double TheValue(const G4DynamicParticle* p 82 G4double TheValue(const G4DynamicParticle* particle, 84 const G4Material* material) ove << 83 const G4Material* material); 85 // returns the energy loss via the quantal h 84 // returns the energy loss via the quantal harmonic oscillator model 86 85 87 G4double TheValue(const G4ParticleDefinition 86 G4double TheValue(const G4ParticleDefinition* aParticle, 88 const G4Material* material 87 const G4Material* material, 89 G4double kinet << 88 G4double kineticEnergy); 90 // returns the energy loss via the quantal h 89 // returns the energy loss via the quantal harmonic oscillator model 91 90 92 private: << 91 private: >> 92 93 G4double EnergyLoss(const G4Material* materi 93 G4double EnergyLoss(const G4Material* material, 94 G4double kineticEn 94 G4double kineticEnergy, 95 G4double zParticle 95 G4double zParticle) const; 96 // returns the energy loss via the quantal h 96 // returns the energy loss via the quantal harmonic oscillator model 97 97 98 // get number of shell, energy and oscillato << 98 // get number of shell, energy and oscillator strenghts for material 99 G4int GetNumberOfShell(const G4Material* mat 99 G4int GetNumberOfShell(const G4Material* material) const; 100 100 101 G4double GetShellEnergy(const G4Material* ma 101 G4double GetShellEnergy(const G4Material* material,G4int nbOfTheShell) const; 102 G4double GetOscillatorEnergy(const G4Materia 102 G4double GetOscillatorEnergy(const G4Material* material,G4int nbOfTheShell) const; 103 G4double GetShellStrength(const G4Material* 103 G4double GetShellStrength(const G4Material* material,G4int nbOfTheShell) const; 104 G4double GetOccupationNumber(G4int Z, G4int 104 G4double GetOccupationNumber(G4int Z, G4int ShellNb) const; 105 105 106 // calculate stopping number for L's term 106 // calculate stopping number for L's term 107 G4double GetL0(G4double normEnergy) const; 107 G4double GetL0(G4double normEnergy) const; 108 // terms in Z^2 108 // terms in Z^2 109 G4double GetL1(G4double normEnergy) const; 109 G4double GetL1(G4double normEnergy) const; 110 // terms in Z^3 110 // terms in Z^3 111 G4double GetL2(G4double normEnergy) const; 111 G4double GetL2(G4double normEnergy) const; 112 // terms in Z^4 112 // terms in Z^4 113 << 113 114 // number, energy and oscillator strengths << 114 // Z of element at now avaliable for the model >> 115 static const G4int materialAvailable[6]; >> 116 >> 117 // number, energy and oscillator strenghts 115 // for an harmonic oscillator model of mater 118 // for an harmonic oscillator model of material 116 static const G4int nbofShellForMaterial[6]; 119 static const G4int nbofShellForMaterial[6]; 117 static const G4double alShellEnergy[3]; << 120 static G4double alShellEnergy[3]; 118 static const G4double alShellStrength[3]; << 121 static G4double alShellStrength[3]; 119 static const G4double siShellEnergy[3]; << 122 static G4double siShellEnergy[3]; 120 static const G4double siShellStrength[3]; << 123 static G4double siShellStrength[3]; 121 static const G4double cuShellEnergy[4]; << 124 static G4double cuShellEnergy[4]; 122 static const G4double cuShellStrength[4]; << 125 static G4double cuShellStrength[4]; 123 static const G4double taShellEnergy[6]; << 126 static G4double taShellEnergy[6]; 124 static const G4double taShellStrength[6]; << 127 static G4double taShellStrength[6]; 125 static const G4double auShellEnergy[6]; << 128 static G4double auShellEnergy[6]; 126 static const G4double auShellStrength[6]; << 129 static G4double auShellStrength[6]; 127 static const G4double ptShellEnergy[6]; << 130 static G4double ptShellEnergy[6]; 128 static const G4double ptShellStrength[6]; << 131 static G4double ptShellStrength[6]; >> 132 >> 133 G4int numberOfMaterials; >> 134 129 // variable for calculation of stopping num 135 // variable for calculation of stopping number of L's term 130 static const G4double L0[67][2]; 136 static const G4double L0[67][2]; 131 static const G4double L1[22][2]; 137 static const G4double L1[22][2]; 132 static const G4double L2[14][2]; 138 static const G4double L2[14][2]; 133 static const G4int nbOfElectronPerSubShell[1 139 static const G4int nbOfElectronPerSubShell[1540]; 134 static const G4int fNumberOfShells[101]; 140 static const G4int fNumberOfShells[101]; 135 << 136 // Z of element at now avaliable for the mod << 137 static const G4int materialAvailable[6]; << 138 141 139 G4int numberOfMaterials; << 140 G4int sizeL0; 142 G4int sizeL0; 141 G4int sizeL1; 143 G4int sizeL1; 142 G4int sizeL2; 144 G4int sizeL2; 143 145 144 }; 146 }; 145 147 146 #endif 148 #endif 147 149