Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
The G4DNAVacuumModel class Implementation of the vacuum model allowing the user to use G4_Galactic as void in a Geant4-DNA simulation. More...
#include <G4DNAVacuumModel.hh>
Additional Inherited Members | |
![]() | |
using | MaterialParticleMapData |
![]() | |
MaterialParticleMapData * | GetData () |
GetTableData. | |
std::vector< G4String > | BuildApplyToMatVect (const G4String &materials) |
BuildApplyToMatVect Build the material name vector which is used to know the materials the user want to include in the model. | |
void | ReadAndSaveCSFile (const size_t &materialID, const G4ParticleDefinition *p, const G4String &file, const G4double &scaleFactor) |
ReadAndSaveCSFile Read and save a "simple" cross section file : use of G4DNACrossSectionDataSet->loadData() | |
G4int | RandomSelectShell (const G4double &k, const G4ParticleDefinition *particle, const size_t &materialName) |
RandomSelectShell Method to randomely select a shell from the data table uploaded. The size of the table (number of columns) is used to determine the total number of possible shells. | |
void | AddCrossSectionData (const size_t &materialName, const G4ParticleDefinition *particleName, const G4String &fileCS, const G4String &fileDiffCS, const G4double &scaleFactor) |
AddCrossSectionData Method used during the initialization of the model class to add a new material. It adds a material to the model and fills vectors with informations. | |
void | AddCrossSectionData (const size_t &materialName, const G4ParticleDefinition *particleName, const G4String &fileCS, const G4double &scaleFactor) |
AddCrossSectionData Method used during the initialization of the model class to add a new material. It adds a material to the model and fills vectors with informations. Not every model needs differential cross sections. | |
void | LoadCrossSectionData (const G4ParticleDefinition *particleName) |
LoadCrossSectionData Method to loop on all the registered materials in the model and load the corresponding data. | |
virtual void | ReadDiffCSFile (const size_t &materialName, const G4ParticleDefinition *particleName, const G4String &path, const G4double &scaleFactor) |
ReadDiffCSFile Virtual method that need to be implemented if one wish to use the differential cross sections. The read method for that kind of information is not standardized yet. | |
void | EnableForMaterialAndParticle (const size_t &materialID, const G4ParticleDefinition *p) |
EnableMaterialAndParticle. | |
![]() | |
G4ParticleChangeForLoss * | GetParticleChangeForLoss () |
G4ParticleChangeForGamma * | GetParticleChangeForGamma () |
virtual G4double | MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy) |
const G4MaterialCutsCouple * | CurrentCouple () const |
void | SetCurrentElement (const G4Element *) |
![]() | |
G4bool | isInitialised = false |
![]() | |
G4ElementData * | fElementData = nullptr |
G4VParticleChange * | pParticleChange = nullptr |
G4PhysicsTable * | xSectionTable = nullptr |
const G4Material * | pBaseMaterial = nullptr |
const std::vector< G4double > * | theDensityFactor = nullptr |
const std::vector< G4int > * | theDensityIdx = nullptr |
G4double | inveplus |
G4double | pFactor = 1.0 |
std::size_t | currentCoupleIndex = 0 |
std::size_t | basedCoupleIndex = 0 |
G4bool | lossFlucFlag = true |
The G4DNAVacuumModel class Implementation of the vacuum model allowing the user to use G4_Galactic as void in a Geant4-DNA simulation.
Definition at line 45 of file G4DNAVacuumModel.hh.
G4DNAVacuumModel::G4DNAVacuumModel | ( | const G4String & | applyToMaterial = "all", |
const G4ParticleDefinition * | p = nullptr, | ||
const G4String & | nam = "DNAPTBVacuumModel" ) |
G4DNAVacuumModel Constructor.
applyToMaterial | |
p | |
nam |
Definition at line 31 of file G4DNAVacuumModel.cc.
|
override |
~G4DNAVacuumModel Destructor
Definition at line 44 of file G4DNAVacuumModel.cc.
|
delete |
|
overridevirtual |
CrossSectionPerVolume.
material | |
materialName | |
p | |
ekin | |
emin | |
emax |
Implements G4VDNAModel.
Definition at line 66 of file G4DNAVacuumModel.cc.
|
overridevirtual |
Initialise Registers the G4_Galactic material as "void material" for every particle.
Implements G4VDNAModel.
Definition at line 51 of file G4DNAVacuumModel.cc.
|
delete |
|
overridevirtual |
SampleSecondaries.
materialName | |
particleChangeForGamma | |
tmin | |
tmax |
Implements G4VDNAModel.
Definition at line 78 of file G4DNAVacuumModel.cc.