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