File indexing completed on 2025-01-18 09:58:07
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 #ifndef G4DNADiracRMatrixExcitationModel_h
0036 #define G4DNADiracRMatrixExcitationModel_h 1
0037
0038 #include "G4VEmModel.hh"
0039 #include "G4ParticleChangeForGamma.hh"
0040 #include "G4ProductionCutsTable.hh"
0041 #include "G4VAtomDeexcitation.hh"
0042
0043 #include "G4LogLogInterpolation.hh"
0044 #include "G4Electron.hh"
0045 #include "G4Proton.hh"
0046 #include "G4NistManager.hh"
0047
0048 #include "G4DNACrossSectionDataSet.hh"
0049
0050 class G4DNADiracRMatrixExcitationModel: public G4VEmModel
0051 {
0052
0053 public:
0054
0055 G4DNADiracRMatrixExcitationModel(const G4ParticleDefinition* p = nullptr,
0056 const G4String& nam = "DNADiracRMatrixExcitationModel");
0057
0058 ~G4DNADiracRMatrixExcitationModel() override;
0059
0060 G4DNADiracRMatrixExcitationModel & operator
0061 =(const G4DNADiracRMatrixExcitationModel &right) = delete;
0062 G4DNADiracRMatrixExcitationModel(const G4DNADiracRMatrixExcitationModel&) = delete;
0063
0064
0065 void Initialise(const G4ParticleDefinition*,
0066 const G4DataVector& = *(new G4DataVector())) override;
0067
0068 G4double CrossSectionPerVolume(const G4Material* material,
0069 const G4ParticleDefinition* p,
0070 G4double ekin,
0071 G4double emin,
0072 G4double emax) override;
0073
0074 virtual G4double GetExtendedTotalCrossSection (const G4Material* material,
0075 const G4ParticleDefinition*,
0076 G4double kineticEnergy);
0077
0078 virtual G4double GetExtendedPartialCrossSection(const G4Material* material,
0079 G4int level,
0080 const G4ParticleDefinition*,
0081 G4double kineticEnergy);
0082
0083 void SampleSecondaries(std::vector<G4DynamicParticle*>*,
0084 const G4MaterialCutsCouple*,
0085 const G4DynamicParticle*,
0086 G4double tmin,
0087 G4double maxEnergy) override;
0088
0089 inline void SelectStationary(G4bool input);
0090
0091 protected:
0092
0093 G4ParticleChangeForGamma* fParticleChangeForGamma;
0094
0095 private:
0096
0097 const G4double paramFuncTCS_5dto6s1[3]={-3e-50 , 9.46358e-16, 1.4237 };
0098 const G4double paramFuncTCS_5dto6s2[3]={-3e-50 , 4.24498e-15, -0.674543};
0099 const G4double paramFuncTCS_6sto6p1[3]={ 1.50018e-26, 2.459e-15 ,-40.8088 };
0100 const G4double paramFuncTCS_6sto6p2[3]={ 1.26684e-25, 3.97221e-15,-55.6954 };
0101 const G4double ExcitationEnergyAu[4]={ 2.66 , 1.14 , 4.63 , 5.11};
0102
0103
0104 G4double fLowEnergyLimit=0.;
0105 G4double fExperimentalEnergyLimit=0.;
0106 G4double fHighEnergyLimit=0.;
0107
0108 G4bool isInitialised=false;
0109 G4bool statCode=false;
0110 G4int verboseLevel=0;
0111
0112 G4String fTableFile="";
0113 G4DNACrossSectionDataSet* fTableData=nullptr;
0114 const std::vector<G4double>* fpMaterialDensity=nullptr;
0115 const G4ParticleDefinition* fParticleDefinition=nullptr;
0116
0117 G4int RandomSelect(const G4Material* material,
0118 const G4ParticleDefinition*,
0119 G4double kineticEnergy);
0120
0121
0122 };
0123
0124 inline void G4DNADiracRMatrixExcitationModel::SelectStationary(G4bool input)
0125 {
0126 statCode = input;
0127 }
0128
0129
0130
0131 #endif