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
0036
0037
0038
0039
0040
0041
0042
0043 #ifndef G4DNACPA100ExcitationModel_h
0044 #define G4DNACPA100ExcitationModel_h 1
0045
0046 #include "G4DNACPA100ExcitationStructure.hh"
0047 #include "G4DNACrossSectionDataSet.hh"
0048 #include "G4Electron.hh"
0049 #include "G4LogLogInterpolation.hh"
0050 #include "G4NistManager.hh"
0051 #include "G4ParticleChangeForGamma.hh"
0052 #include "G4ProductionCutsTable.hh"
0053 #include "G4Proton.hh"
0054 #include "G4VDNAModel.hh"
0055
0056 class G4DNACPA100ExcitationModel : public G4VDNAModel
0057 {
0058 public:
0059 explicit G4DNACPA100ExcitationModel(const G4ParticleDefinition* p = nullptr,
0060 const G4String& nam = "DNACPA100ExcitationModel");
0061
0062 ~G4DNACPA100ExcitationModel() override = default;
0063
0064 void Initialise(const G4ParticleDefinition*, const G4DataVector&) override;
0065
0066 G4double CrossSectionPerVolume(const G4Material* material, const G4ParticleDefinition* p,
0067 G4double ekin, G4double emin, G4double emax) override;
0068
0069 void SampleSecondaries(std::vector<G4DynamicParticle*>*, const G4MaterialCutsCouple*,
0070 const G4DynamicParticle*, G4double tmin, G4double maxEnergy) override;
0071
0072 inline void SelectStationary(G4bool input);
0073
0074 G4DNACPA100ExcitationModel& operator=(const G4DNACPA100ExcitationModel& right) = delete;
0075
0076 G4DNACPA100ExcitationModel(const G4DNACPA100ExcitationModel&) = delete;
0077 G4int verboseLevel = 0;
0078
0079 private:
0080 G4ParticleChangeForGamma* fParticleChangeForGamma = nullptr;
0081 G4bool statCode = false;
0082 G4bool isInitialised = false;
0083 G4DNACPA100ExcitationStructure eStructure;
0084 const G4Material* fpGuanine = nullptr;
0085 const G4Material* fpG4_WATER = nullptr;
0086 const G4Material* fpDeoxyribose = nullptr;
0087 const G4Material* fpCytosine = nullptr;
0088 const G4Material* fpThymine = nullptr;
0089 const G4Material* fpAdenine = nullptr;
0090 const G4Material* fpPhosphate = nullptr;
0091 const G4ParticleDefinition* fpParticle = nullptr;
0092 G4DNACPA100ExcitationModel* fpModelData = nullptr;
0093 };
0094
0095
0096
0097 inline void G4DNACPA100ExcitationModel::SelectStationary(G4bool input)
0098 {
0099 statCode = input;
0100 }
0101
0102
0103
0104 #endif