31 #ifndef G4DNAMODELINTERFACE_HH
32 #define G4DNAMODELINTERFACE_HH
176 #endif // G4DNAMODELINTERFACE_HH
G4String GetSelectedMaterial()
GetSelectedMaterial To allow the user to retrieve the selected material in case of a composite materi...
G4double GetNumMoleculePerVolumeUnitForMaterial(const G4Material *mat)
static const G4double emax
G4String fSampledMat
for the user to retrieve selected material/component
std::map< const G4String, G4double > fMaterialCS
map used to share information between CrossSectionPerVolume and SampleSecondaries ...
virtual G4double CrossSectionPerVolume(const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)
CrossSectionPerVolume Method called by the process and used to call the CrossSectionPerVolume method ...
void InsertModelInTable(const G4String &matName, const G4String &pName)
InsertModelInTable Used to put a model in the table after performing some checks. ...
G4VDNAModel * GetDNAModel(const G4String &material, const G4String &particle, G4double ekin)
GetDNAModel.
G4double fCSsumTot
value which contains the sum of all the component cross sections in case of a composite material ...
void BuildMaterialMolPerVolTable()
G4DNAModelInterface & operator=(const G4DNAModelInterface &right)
G4DNAModelInterface(const G4String &nam)
G4DNAModelManager Constructor.
virtual void Initialise(const G4ParticleDefinition *particle, const G4DataVector &cuts)
Initialise Initialise method to call all the initialise methods of the registered models...
std::vector< G4VDNAModel * > fRegisteredModels
vector containing all the registered models
G4ParticleChangeForGamma * fpParticleChangeForGamma
pointer used to change the characteristics of the current particle
MaterialParticleModelTable fMaterialParticleModelTable
map: [materialName][particleName] = vector of models
std::map< const G4String,std::map< const G4String, std::vector< G4VDNAModel * > > > MaterialParticleModelTable
std::map< G4String, const std::vector< double > * > fMaterialMolPerVol
void BuildMaterialParticleModelTable(const G4ParticleDefinition *p)
BuildMaterialParticleModelTable Method used to build a map allowing the code to quickly retrieve the ...
const G4String fName
name of the interaction
virtual ~G4DNAModelInterface()
~G4DNAModelManager Destructor
const XML_Char XML_Content * model
G4double GetNumMolPerVolUnitForComponentInComposite(const G4Material *component, const G4Material *composite)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *fVect, const G4MaterialCutsCouple *couple, const G4DynamicParticle *aDynamicElectron, G4double tmin, G4double tmax)
SampleSecondaries Used to call the SampleSecondaries method of the registered models. A sampling is done to select a component if the material is a composite one.
void RegisterModel(G4VDNAModel *model)
RegisterModel Method used to associate a model with the interaction.