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