Geant4 Cross Reference |
1 // 2 // ******************************************************************** 3 // * License and Disclaimer * 4 // * * 5 // * The Geant4 software is copyright of the Copyright Holders of * 6 // * the Geant4 Collaboration. It is provided under the terms and * 7 // * conditions of the Geant4 Software License, included in the file * 8 // * LICENSE and available at http://cern.ch/geant4/license . These * 9 // * include a list of copyright holders. * 10 // * * 11 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file LICENSE and URL above * 16 // * for the full disclaimer and the limitation of liability. * 17 // * * 18 // * This code implementation is the result of the scientific and * 19 // * technical work of the GEANT4 collaboration. * 20 // * By using, copying, modifying or distributing the software (or * 21 // * any work based on the software) you agree to acknowledge its * 22 // * use in resulting scientific publications, and indicate your * 23 // * acceptance of all terms of the Geant4 Software license. * 24 // ******************************************************************** 25 // 26 // 27 // 28 // 29 // Geant4 Hadron Elastic Charge Exchange Process -- header file 30 // 31 // Created 21 April 2006 V.Ivanchenko 32 // 33 // Modified: 34 // 35 36 // Class Description 37 // Process for hadron nuclear elastic scattering using optimal 38 // combination of Geant4 models 39 // Class Description - End 40 41 #ifndef G4ChargeExchangeProcess_h 42 #define G4ChargeExchangeProcess_h 1 43 44 #include "globals.hh" 45 #include "G4HadronicProcess.hh" 46 #include "G4Nucleus.hh" 47 48 class G4ParticleDefinition; 49 class G4CrossSectionDataStore; 50 class G4PhysicsLinearVector; 51 52 class G4ChargeExchangeProcess : public G4HadronicProcess 53 { 54 public: 55 56 G4ChargeExchangeProcess(const G4String& procName = "chargeExchange"); 57 58 virtual ~G4ChargeExchangeProcess(); 59 60 virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType); 61 62 virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType); 63 64 virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType); 65 66 virtual G4double GetElementCrossSection(const G4DynamicParticle* aParticle, 67 const G4Element* anElement, 68 const G4Material* mat = 0); 69 70 private: 71 72 const G4ParticleDefinition* theParticle; 73 74 const G4ParticleDefinition* theProton; 75 const G4ParticleDefinition* theNeutron; 76 const G4ParticleDefinition* theAProton; 77 const G4ParticleDefinition* theANeutron; 78 const G4ParticleDefinition* thePiPlus; 79 const G4ParticleDefinition* thePiMinus; 80 const G4ParticleDefinition* thePiZero; 81 const G4ParticleDefinition* theKPlus; 82 const G4ParticleDefinition* theKMinus; 83 const G4ParticleDefinition* theK0S; 84 const G4ParticleDefinition* theK0L; 85 const G4ParticleDefinition* theL; 86 const G4ParticleDefinition* theAntiL; 87 const G4ParticleDefinition* theSPlus; 88 const G4ParticleDefinition* theASPlus; 89 const G4ParticleDefinition* theSMinus; 90 const G4ParticleDefinition* theASMinus; 91 const G4ParticleDefinition* theS0; 92 const G4ParticleDefinition* theAS0; 93 const G4ParticleDefinition* theXiMinus; 94 const G4ParticleDefinition* theXi0; 95 const G4ParticleDefinition* theAXiMinus; 96 const G4ParticleDefinition* theAXi0; 97 const G4ParticleDefinition* theOmega; 98 const G4ParticleDefinition* theAOmega; 99 const G4ParticleDefinition* theD; 100 const G4ParticleDefinition* theT; 101 const G4ParticleDefinition* theA; 102 const G4ParticleDefinition* theHe3; 103 104 G4CrossSectionDataStore* store; 105 G4PhysicsLinearVector* factors; 106 107 G4double thEnergy; 108 109 G4int pPDG; 110 G4bool first; 111 }; 112 113 #endif 114