[819] | 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 | // |
---|
[962] | 27 | // $Id: G4ChargeExchange.hh,v 1.4 2008/11/19 18:28:36 vnivanch Exp $ |
---|
| 28 | // GEANT4 tag $Name: geant4-09-02-ref-02 $ |
---|
[819] | 29 | // |
---|
| 30 | // |
---|
| 31 | // G4 Model: Charge and strangness exchange based on G4LightMedia model |
---|
| 32 | // 28 May 2006 V.Ivanchenko |
---|
| 33 | // |
---|
| 34 | // Modified: |
---|
| 35 | // 25-Jul-06 V.Ivanchenko add 19 MeV low energy, below which S-wave is sampled |
---|
| 36 | // |
---|
| 37 | // |
---|
| 38 | |
---|
| 39 | #ifndef G4ChargeExchange_h |
---|
| 40 | #define G4ChargeExchange_h 1 |
---|
| 41 | |
---|
| 42 | // Class Description |
---|
| 43 | // Final state production model for hadron nuclear coherent charge exchange; |
---|
| 44 | // Class Description - End |
---|
| 45 | |
---|
| 46 | #include "globals.hh" |
---|
| 47 | #include "G4HadronicInteraction.hh" |
---|
| 48 | #include "G4HadProjectile.hh" |
---|
| 49 | #include "G4Nucleus.hh" |
---|
| 50 | |
---|
| 51 | class G4ParticleDefinition; |
---|
| 52 | |
---|
| 53 | class G4ChargeExchange : public G4HadronicInteraction |
---|
| 54 | { |
---|
| 55 | public: |
---|
| 56 | |
---|
[962] | 57 | G4ChargeExchange(); |
---|
[819] | 58 | |
---|
| 59 | virtual ~G4ChargeExchange(); |
---|
| 60 | |
---|
| 61 | virtual G4HadFinalState * ApplyYourself( |
---|
| 62 | const G4HadProjectile & aTrack, |
---|
| 63 | G4Nucleus & targetNucleus); |
---|
| 64 | |
---|
[962] | 65 | void SetLowestEnergyLimit(G4double value); |
---|
[819] | 66 | |
---|
[962] | 67 | void SetRecoilKinEnergyLimit(G4double value); |
---|
[819] | 68 | |
---|
[962] | 69 | G4double SampleT(G4double p, G4double A); |
---|
| 70 | |
---|
[819] | 71 | private: |
---|
| 72 | |
---|
| 73 | G4ParticleDefinition* theProton; |
---|
| 74 | G4ParticleDefinition* theNeutron; |
---|
| 75 | G4ParticleDefinition* theAProton; |
---|
| 76 | G4ParticleDefinition* theANeutron; |
---|
| 77 | G4ParticleDefinition* thePiPlus; |
---|
| 78 | G4ParticleDefinition* thePiMinus; |
---|
| 79 | G4ParticleDefinition* thePiZero; |
---|
| 80 | G4ParticleDefinition* theKPlus; |
---|
| 81 | G4ParticleDefinition* theKMinus; |
---|
| 82 | G4ParticleDefinition* theK0S; |
---|
| 83 | G4ParticleDefinition* theK0L; |
---|
| 84 | G4ParticleDefinition* theL; |
---|
| 85 | G4ParticleDefinition* theAntiL; |
---|
| 86 | G4ParticleDefinition* theSPlus; |
---|
| 87 | G4ParticleDefinition* theASPlus; |
---|
| 88 | G4ParticleDefinition* theSMinus; |
---|
| 89 | G4ParticleDefinition* theASMinus; |
---|
| 90 | G4ParticleDefinition* theS0; |
---|
| 91 | G4ParticleDefinition* theAS0; |
---|
| 92 | G4ParticleDefinition* theXiMinus; |
---|
| 93 | G4ParticleDefinition* theXi0; |
---|
| 94 | G4ParticleDefinition* theAXiMinus; |
---|
| 95 | G4ParticleDefinition* theAXi0; |
---|
| 96 | G4ParticleDefinition* theOmega; |
---|
| 97 | G4ParticleDefinition* theAOmega; |
---|
| 98 | G4ParticleDefinition* theD; |
---|
| 99 | G4ParticleDefinition* theT; |
---|
| 100 | G4ParticleDefinition* theA; |
---|
| 101 | G4ParticleDefinition* theHe3; |
---|
| 102 | |
---|
[962] | 103 | G4double lowEnergyRecoilLimit; |
---|
| 104 | G4double lowestEnergyLimit; |
---|
| 105 | |
---|
[819] | 106 | }; |
---|
| 107 | |
---|
[962] | 108 | inline void G4ChargeExchange::SetRecoilKinEnergyLimit(G4double value) |
---|
[819] | 109 | { |
---|
[962] | 110 | lowEnergyRecoilLimit = value; |
---|
[819] | 111 | } |
---|
| 112 | |
---|
[962] | 113 | inline void G4ChargeExchange::SetLowestEnergyLimit(G4double value) |
---|
[819] | 114 | { |
---|
[962] | 115 | lowestEnergyLimit = value; |
---|
[819] | 116 | } |
---|
| 117 | |
---|
| 118 | #endif |
---|