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 // 25 // 29 // GEANT4 Class file 26 // GEANT4 Class file 30 // 27 // 31 // 28 // 32 // File name: IonYangFluctuationModel 29 // File name: IonYangFluctuationModel 33 // 30 // 34 // Author: V.Ivanchenko (Vladimir.Ivanc 31 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) 35 // 32 // 36 // Creation date: 18 August 2000 33 // Creation date: 18 August 2000 37 // 34 // 38 // Modifications: 35 // Modifications: 39 // 18/08/2000 V.Ivanchenko First implementati 36 // 18/08/2000 V.Ivanchenko First implementation 40 // 37 // 41 // Class Description: 38 // Class Description: 42 // 39 // 43 // The aproximation of additional ion energy l 40 // The aproximation of additional ion energy loss fluctuations 44 // Q.Yang et al., NIM B61(1991)149-155. 41 // Q.Yang et al., NIM B61(1991)149-155. 45 // Further documentation available from http:/ 42 // Further documentation available from http://www.ge.infn.it/geant4/lowE 46 // and Physics Reference Manual 43 // and Physics Reference Manual 47 44 48 // ------------------------------------------- 45 // ------------------------------------------------------------------- 49 // 46 // 50 47 51 #ifndef G4IonYangFluctuationModel_h 48 #ifndef G4IonYangFluctuationModel_h 52 #define G4IonYangFluctuationModel_h 1 49 #define G4IonYangFluctuationModel_h 1 53 50 54 #include "G4VLowEnergyModel.hh" 51 #include "G4VLowEnergyModel.hh" 55 52 56 class G4IonYangFluctuationModel : public G4VLo 53 class G4IonYangFluctuationModel : public G4VLowEnergyModel 57 { 54 { >> 55 58 public: 56 public: 59 explicit G4IonYangFluctuationModel(const G4S << 57 >> 58 G4IonYangFluctuationModel(const G4String& name); 60 59 61 ~G4IonYangFluctuationModel(); 60 ~G4IonYangFluctuationModel(); 62 61 63 G4double TheValue(const G4DynamicParticle* p 62 G4double TheValue(const G4DynamicParticle* particle, 64 const G4Material* material << 63 const G4Material* material); 65 64 66 G4double TheValue(const G4ParticleDefinition 65 G4double TheValue(const G4ParticleDefinition* aParticle, 67 const G4Material* material 66 const G4Material* material, 68 G4double kinet << 67 G4double kineticEnergy); 69 68 70 G4double HighEnergyLimit(const G4ParticleDef 69 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle, 71 const G4Material* m << 70 const G4Material* material) const; 72 71 73 G4double LowEnergyLimit(const G4ParticleDefi 72 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle, 74 const G4Material* ma << 73 const G4Material* material) const; 75 74 76 G4double HighEnergyLimit(const G4ParticleDef << 75 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle) const; 77 const override ; << 78 76 79 G4double LowEnergyLimit(const G4ParticleDefi << 77 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle) const; 80 const override; << 81 78 82 G4bool IsInCharge(const G4DynamicParticle* p 79 G4bool IsInCharge(const G4DynamicParticle* particle, 83 const G4Material* material) const over << 80 const G4Material* material) const; 84 81 85 G4bool IsInCharge(const G4ParticleDefinition 82 G4bool IsInCharge(const G4ParticleDefinition* aParticle, 86 const G4Material* material) const over << 83 const G4Material* material) const; >> 84 >> 85 protected: 87 86 88 private: 87 private: >> 88 89 G4double YangFluctuationModel(const G4Materi 89 G4double YangFluctuationModel(const G4Material* material, 90 G4double 90 G4double kineticEnergy, 91 G4double 91 G4double particleMass, 92 G4double 92 G4double charge) const; 93 93 94 }; 94 }; 95 95 96 #endif 96 #endif 97 97