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: G4hBetheBlochModel 00033 // 00034 // Author: V.Ivanchenko (Vladimir.Ivanchenko@cern.ch) 00035 // 00036 // Creation date: 20 July 2000 00037 // 00038 // Modifications: 00039 // 20/07/2000 V.Ivanchenko First implementation 00040 // 00041 // Class Description: 00042 // 00043 // Bethe-Bloch ionisation model 00044 // Further documentation available from http://www.ge.infn.it/geant4/lowE 00045 00046 // ------------------------------------------------------------------- 00047 // 00048 00049 #ifndef G4hBetheBlochModel_h 00050 #define G4hBetheBlochModel_h 1 00051 00052 #include "globals.hh" 00053 #include "G4VLowEnergyModel.hh" 00054 00055 class G4Material; 00056 class G4ParticleDefinition; 00057 class G4DynamicParticle; 00058 00059 class G4hBetheBlochModel : public G4VLowEnergyModel 00060 { 00061 00062 public: 00063 00064 G4hBetheBlochModel(const G4String& name) ; 00065 00066 ~G4hBetheBlochModel() ; 00067 00068 G4double TheValue(const G4DynamicParticle* particle, 00069 const G4Material* material); 00070 00071 G4double TheValue(const G4ParticleDefinition* aParticle, 00072 const G4Material* material, 00073 G4double kineticEnergy); 00074 00075 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle, 00076 const G4Material* material) const; 00077 00078 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle, 00079 const G4Material* material) const; 00080 00081 G4double HighEnergyLimit(const G4ParticleDefinition* aParticle) const; 00082 00083 G4double LowEnergyLimit(const G4ParticleDefinition* aParticle) const; 00084 00085 G4bool IsInCharge(const G4DynamicParticle* particle, 00086 const G4Material* material) const; 00087 00088 G4bool IsInCharge(const G4ParticleDefinition* aParticle, 00089 const G4Material* material) const; 00090 00091 protected: 00092 00093 private: 00094 00095 G4double BetheBlochFormula(const G4Material* material, 00096 G4double kineticEnergy, 00097 G4double particleMass) const; 00098 00099 // Low energy limit of the model 00100 G4double lowEnergyLimit; 00101 G4double highEnergyLimit; 00102 00103 // constants needed for the energy loss calculation 00104 00105 const G4double twoln10; 00106 const G4double bg2lim; 00107 const G4double taulim; // energy to start to switch off shell corrections 00108 00109 }; 00110 00111 #endif