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 // $Id$ 00028 // 00029 // 00030 // Geant4 Hadron Elastic Charge Exchange Process -- header file 00031 // 00032 // Created 21 April 2006 V.Ivanchenko 00033 // 00034 // Modified: 00035 // 00036 00037 // Class Description 00038 // Process for hadron nuclear elastic scattering using optimal 00039 // combination of Geant4 models 00040 // Class Description - End 00041 00042 #ifndef G4ChargeExchangeProcess_h 00043 #define G4ChargeExchangeProcess_h 1 00044 00045 #include "globals.hh" 00046 #include "G4HadronicProcess.hh" 00047 #include "G4Nucleus.hh" 00048 00049 class G4ParticleDefinition; 00050 class G4CrossSectionDataStore; 00051 class G4PhysicsLinearVector; 00052 00053 class G4ChargeExchangeProcess : public G4HadronicProcess 00054 { 00055 public: 00056 00057 G4ChargeExchangeProcess(const G4String& procName = "chargeExchange"); 00058 00059 virtual ~G4ChargeExchangeProcess(); 00060 00061 virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType); 00062 00063 virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType); 00064 00065 virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType); 00066 00067 virtual G4double GetElementCrossSection(const G4DynamicParticle* aParticle, 00068 const G4Element* anElement, 00069 const G4Material* mat = 0); 00070 00071 private: 00072 00073 const G4ParticleDefinition* theParticle; 00074 00075 const G4ParticleDefinition* theProton; 00076 const G4ParticleDefinition* theNeutron; 00077 const G4ParticleDefinition* theAProton; 00078 const G4ParticleDefinition* theANeutron; 00079 const G4ParticleDefinition* thePiPlus; 00080 const G4ParticleDefinition* thePiMinus; 00081 const G4ParticleDefinition* thePiZero; 00082 const G4ParticleDefinition* theKPlus; 00083 const G4ParticleDefinition* theKMinus; 00084 const G4ParticleDefinition* theK0S; 00085 const G4ParticleDefinition* theK0L; 00086 const G4ParticleDefinition* theL; 00087 const G4ParticleDefinition* theAntiL; 00088 const G4ParticleDefinition* theSPlus; 00089 const G4ParticleDefinition* theASPlus; 00090 const G4ParticleDefinition* theSMinus; 00091 const G4ParticleDefinition* theASMinus; 00092 const G4ParticleDefinition* theS0; 00093 const G4ParticleDefinition* theAS0; 00094 const G4ParticleDefinition* theXiMinus; 00095 const G4ParticleDefinition* theXi0; 00096 const G4ParticleDefinition* theAXiMinus; 00097 const G4ParticleDefinition* theAXi0; 00098 const G4ParticleDefinition* theOmega; 00099 const G4ParticleDefinition* theAOmega; 00100 const G4ParticleDefinition* theD; 00101 const G4ParticleDefinition* theT; 00102 const G4ParticleDefinition* theA; 00103 const G4ParticleDefinition* theHe3; 00104 00105 G4CrossSectionDataStore* store; 00106 G4PhysicsLinearVector* factors; 00107 00108 G4double thEnergy; 00109 00110 G4int pPDG; 00111 G4bool first; 00112 }; 00113 00114 #endif