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: G4VLowEnergyModel 29 // File name: G4VLowEnergyModel 33 // 30 // 34 // Author: Maria Grazia Pia (MariaGrazi 31 // Author: Maria Grazia Pia (MariaGrazia.Pia@ge.infn.it) 35 // 32 // 36 // Creation date: 7 May 2000 33 // Creation date: 7 May 2000 37 // 34 // 38 // Modifications: 35 // Modifications: 39 // 22/05/2000 MGP Version compliant 36 // 22/05/2000 MGP Version compliant with design 40 // 20/07/2000 V.Ivanchenko First implementati 37 // 20/07/2000 V.Ivanchenko First implementation 41 // 38 // 42 // Class Description: 39 // Class Description: 43 // 40 // 44 // Abstract class for Low Energy Electromagnet 41 // Abstract class for Low Energy Electromagnetic models 45 // Further documentation available from http:/ 42 // Further documentation available from http://www.ge.infn.it/geant4/lowE >> 43 46 // ------------------------------------------- 44 // ------------------------------------------------------------------- 47 // 45 // 48 46 49 #ifndef G4VLowEnergyModel_h 47 #ifndef G4VLowEnergyModel_h 50 #define G4VLowEnergyModel_h 1 48 #define G4VLowEnergyModel_h 1 51 49 52 #include "G4ios.hh" 50 #include "G4ios.hh" 53 #include "globals.hh" 51 #include "globals.hh" 54 52 55 class G4ParticleDefinition; 53 class G4ParticleDefinition; 56 class G4DynamicParticle; 54 class G4DynamicParticle; 57 class G4Material; 55 class G4Material; 58 56 59 class G4VLowEnergyModel 57 class G4VLowEnergyModel 60 { 58 { >> 59 61 public: 60 public: 62 explicit G4VLowEnergyModel(const G4String& n << 61 >> 62 G4VLowEnergyModel(const G4String& name); >> 63 63 virtual ~G4VLowEnergyModel(); 64 virtual ~G4VLowEnergyModel(); 64 65 65 virtual G4double TheValue(const G4DynamicPar 66 virtual G4double TheValue(const G4DynamicParticle* particle, 66 const G4Material* material) = 0; 67 const G4Material* material) = 0; 67 68 68 virtual G4double TheValue(const G4ParticleDe 69 virtual G4double TheValue(const G4ParticleDefinition* aParticle, 69 const G4Material* material, 70 const G4Material* material, 70 G4double kin 71 G4double kineticEnergy) = 0; 71 72 72 virtual G4double HighEnergyLimit(const G4Par 73 virtual G4double HighEnergyLimit(const G4ParticleDefinition* aParticle, 73 const G4Mat 74 const G4Material* material) const = 0; 74 75 75 virtual G4double LowEnergyLimit(const G4Part 76 virtual G4double LowEnergyLimit(const G4ParticleDefinition* aParticle, 76 const G4Mate 77 const G4Material* material) const = 0; 77 78 78 virtual G4double HighEnergyLimit(const G4Par 79 virtual G4double HighEnergyLimit(const G4ParticleDefinition* aParticle) 79 const = 0; 80 const = 0; 80 81 81 virtual G4double LowEnergyLimit(const G4Part 82 virtual G4double LowEnergyLimit(const G4ParticleDefinition* aParticle) 82 const = 0; 83 const = 0; 83 84 84 virtual G4bool IsInCharge(const G4DynamicPar 85 virtual G4bool IsInCharge(const G4DynamicParticle* particle, 85 const G4Material* material) const = 86 const G4Material* material) const = 0; 86 87 87 virtual G4bool IsInCharge(const G4ParticleDe 88 virtual G4bool IsInCharge(const G4ParticleDefinition* aParticle, 88 const G4Material* material) const = 89 const G4Material* material) const = 0; 89 90 90 G4VLowEnergyModel & operator=(const G4VLowE << 91 protected: 91 G4VLowEnergyModel(const G4VLowEnergyModel&) << 92 >> 93 private: >> 94 >> 95 // hide assignment operator >> 96 G4VLowEnergyModel & operator=(const G4VLowEnergyModel &right); >> 97 G4VLowEnergyModel(const G4VLowEnergyModel&); >> 98 92 }; 99 }; >> 100 93 #endif 101 #endif 94 102 95 103