File indexing completed on 2025-01-18 09:57:56
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
0042
0043
0044
0045
0046
0047
0048 #ifndef G4AtimaFluctuations_h
0049 #define G4AtimaFluctuations_h 1
0050
0051
0052 #include "G4VEmFluctuationModel.hh"
0053 #include "G4ParticleDefinition.hh"
0054 #include "G4UniversalFluctuation.hh"
0055
0056 class G4Pow;
0057
0058 class G4AtimaFluctuations : public G4VEmFluctuationModel
0059 {
0060
0061 public:
0062
0063 explicit G4AtimaFluctuations(const G4String& nam = "IonFlucAtima");
0064
0065 ~G4AtimaFluctuations() override;
0066
0067
0068 G4double SampleFluctuations(const G4MaterialCutsCouple*,
0069 const G4DynamicParticle*,
0070 const G4double tcut,
0071 const G4double tmax,
0072 const G4double length,
0073 const G4double meanLoss) override;
0074
0075
0076 G4double Dispersion(const G4Material*,
0077 const G4DynamicParticle*,
0078 const G4double tcut,
0079 const G4double tmax,
0080 const G4double length) override;
0081
0082
0083 void InitialiseMe(const G4ParticleDefinition*) override;
0084
0085
0086 void SetParticleAndCharge(const G4ParticleDefinition*,
0087 G4double q2) override;
0088
0089
0090 G4AtimaFluctuations & operator=(const G4AtimaFluctuations &right) = delete;
0091 G4AtimaFluctuations(const G4AtimaFluctuations&) = delete;
0092
0093 private:
0094
0095 G4double EnergyTable_interpolate(const G4double* table,G4double xval, const G4double* y);
0096
0097 const G4ParticleDefinition* particle;
0098
0099 G4Pow* g4calc;
0100
0101 G4double particleMass;
0102 G4double charge;
0103 G4double chargeSquare;
0104 G4double effChargeSquare;
0105
0106 G4double MLN10;
0107 G4double atomic_mass_unit;
0108 G4double dedx_constant;
0109 G4double electron_mass;
0110 G4double fine_structure;
0111 G4double domega2dx_constant;
0112
0113 static G4double stepE;
0114 static G4double tableE[200];
0115 static const G4double ls_X_coefficients_a[110][200];
0116 static const G4double ls_X_coefficients_ahi[110][200];
0117 static const G4double element_atomic_weights[110];
0118
0119
0120 G4double minLoss;
0121
0122 G4double kineticEnergy;
0123 G4double beta2;
0124 };
0125
0126
0127
0128 #endif