File indexing completed on 2025-01-18 09:58:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041 #ifndef G4ChargeExchangeProcess_h
0042 #define G4ChargeExchangeProcess_h 1
0043
0044 #include "globals.hh"
0045 #include "G4HadronicProcess.hh"
0046 #include "G4Nucleus.hh"
0047
0048 class G4ParticleDefinition;
0049 class G4CrossSectionDataStore;
0050 class G4PhysicsLinearVector;
0051
0052 class G4ChargeExchangeProcess : public G4HadronicProcess
0053 {
0054 public:
0055
0056 G4ChargeExchangeProcess(const G4String& procName = "chargeExchange");
0057
0058 virtual ~G4ChargeExchangeProcess();
0059
0060 virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
0061
0062 virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
0063
0064 virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
0065
0066 virtual G4double GetElementCrossSection(const G4DynamicParticle* aParticle,
0067 const G4Element* anElement,
0068 const G4Material* mat = 0);
0069
0070 private:
0071
0072 const G4ParticleDefinition* theParticle;
0073
0074 const G4ParticleDefinition* theProton;
0075 const G4ParticleDefinition* theNeutron;
0076 const G4ParticleDefinition* theAProton;
0077 const G4ParticleDefinition* theANeutron;
0078 const G4ParticleDefinition* thePiPlus;
0079 const G4ParticleDefinition* thePiMinus;
0080 const G4ParticleDefinition* thePiZero;
0081 const G4ParticleDefinition* theKPlus;
0082 const G4ParticleDefinition* theKMinus;
0083 const G4ParticleDefinition* theK0S;
0084 const G4ParticleDefinition* theK0L;
0085 const G4ParticleDefinition* theL;
0086 const G4ParticleDefinition* theAntiL;
0087 const G4ParticleDefinition* theSPlus;
0088 const G4ParticleDefinition* theASPlus;
0089 const G4ParticleDefinition* theSMinus;
0090 const G4ParticleDefinition* theASMinus;
0091 const G4ParticleDefinition* theS0;
0092 const G4ParticleDefinition* theAS0;
0093 const G4ParticleDefinition* theXiMinus;
0094 const G4ParticleDefinition* theXi0;
0095 const G4ParticleDefinition* theAXiMinus;
0096 const G4ParticleDefinition* theAXi0;
0097 const G4ParticleDefinition* theOmega;
0098 const G4ParticleDefinition* theAOmega;
0099 const G4ParticleDefinition* theD;
0100 const G4ParticleDefinition* theT;
0101 const G4ParticleDefinition* theA;
0102 const G4ParticleDefinition* theHe3;
0103
0104 G4CrossSectionDataStore* store;
0105 G4PhysicsLinearVector* factors;
0106
0107 G4double thEnergy;
0108
0109 G4int pPDG;
0110 G4bool first;
0111 };
0112
0113 #endif