File indexing completed on 2025-01-31 09:30:26
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 #ifndef G4AntiNuclElastic_h
0037 #define G4AntiNuclElastic_h 1
0038
0039 #include "G4HadronElastic.hh"
0040 #include "globals.hh"
0041 #include "G4Nucleus.hh"
0042 #include "G4ComponentAntiNuclNuclearXS.hh"
0043
0044 class G4ParticleDefinition;
0045
0046 class G4AntiNuclElastic : public G4HadronElastic
0047 {
0048 public:
0049
0050 explicit G4AntiNuclElastic();
0051
0052 ~G4AntiNuclElastic() override;
0053
0054 G4double SampleInvariantT(const G4ParticleDefinition* p,
0055 G4double plab, G4int Z, G4int A) override;
0056
0057 G4double SampleThetaCMS(const G4ParticleDefinition* p, G4double plab,
0058 G4int Z, G4int A);
0059
0060 G4double SampleThetaLab(const G4ParticleDefinition* p,
0061 G4double plab, G4int Z, G4int A);
0062
0063
0064 G4double CalculateParticleBeta( const G4ParticleDefinition* particle,
0065 G4double momentum );
0066
0067 G4double CalculateZommerfeld( G4double beta, G4double Z1, G4double Z2 );
0068
0069 G4double CalculateAm( G4double momentum, G4double n, G4double Z);
0070
0071 G4double DampFactor(G4double z);
0072
0073 G4double BesselJzero(G4double z);
0074
0075 G4double BesselJone(G4double z);
0076
0077 G4double BesselOneByArg(G4double z);
0078
0079 G4double GetcosTeta1( G4double plab, G4int A);
0080
0081 inline G4ComponentAntiNuclNuclearXS* GetComponentCrossSection();
0082
0083 private:
0084
0085
0086 G4AntiNuclElastic & operator=(const G4AntiNuclElastic &right);
0087 G4AntiNuclElastic(const G4AntiNuclElastic&);
0088
0089 G4ComponentAntiNuclNuclearXS* cs;
0090 const G4ParticleDefinition* fParticle;
0091
0092 G4double fTetaCMS;
0093 G4double fThetaLab;
0094 G4double fWaveVector;
0095 G4double fBeta;
0096 G4double fZommerfeld;
0097 G4double fAm;
0098 G4double fRa;
0099 G4double fRef;
0100 G4double fceff;
0101
0102 G4ThreeVector fbst;
0103 G4double fptot;
0104 G4double fTmax;
0105
0106 G4ParticleDefinition* theAProton;
0107 G4ParticleDefinition* theANeutron;
0108 G4ParticleDefinition* theADeuteron;
0109 G4ParticleDefinition* theATriton;
0110 G4ParticleDefinition* theAAlpha;
0111 G4ParticleDefinition* theAHe3;
0112
0113 G4ParticleDefinition* theProton;
0114 G4ParticleDefinition* theNeutron;
0115 G4ParticleDefinition* theDeuteron;
0116 G4ParticleDefinition* theAlpha;
0117
0118 };
0119
0120 inline G4ComponentAntiNuclNuclearXS*
0121 G4AntiNuclElastic::GetComponentCrossSection()
0122 {
0123 return cs;
0124 }
0125
0126 #endif
0127
0128