44#ifndef G4DNAMolecularMaterial_HH
45#define G4DNAMolecularMaterial_HH
68using ComponentMap = std::map<const G4Material*, G4double, CompareMaterial>;
248 mutable std::map<const G4Material*, std::vector<G4double>*,
CompareMaterial>
250 mutable std::map<const G4Material*, std::vector<G4double>*,
CompareMaterial>
std::map< const G4Material *, G4double, CompareMaterial > ComponentMap
G4DNAMolecularMaterial builds tables of molecular densities for chosen molecular materials....
void SetMolecularConfiguration(const G4Material *, G4MolecularConfiguration *)
Associate a molecular configuration to a G4material.
std::map< const G4Material *, std::vector< G4double > *, CompareMaterial > fAskedDensityTable
void RecordMolecularMaterial(G4Material *parentMaterial, G4Material *molecularMaterial, G4double fraction)
G4MolecularConfiguration * GetMolecularConfiguration(const G4Material *) const
std::map< const G4Material *, G4bool, CompareMaterial > fWarningPrinted
void PrintNotAMolecularMaterial(const char *methodName, const G4Material *lookForMaterial) const
G4DNAMolecularMaterial & operator=(const G4DNAMolecularMaterial &)=delete
void InitializeNumMolPerVol()
std::map< G4int, G4MolecularConfiguration * > fMaterialToMolecularConf
const std::vector< ComponentMap > * GetDensityTable() const
const std::vector< G4double > * GetNumMolPerVolTableFor(const G4Material *) const
Retrieve a table of molecular densities (number of molecules per unit volume) in the G4 unit system f...
G4double GetNumMoleculePerVolumeUnitForMaterial(const G4Material *mat)
Deprecated.
std::vector< ComponentMap > * fpCompFractionTable
std::vector< ComponentMap > * fpCompNumMolPerVolTable
static G4DNAMolecularMaterial * Instance()
G4bool Notify(G4ApplicationState requestedState) override
void AddMaterial(const G4Material *, G4double fraction)
G4double GetNumMolPerVolForComponentInComposite(const G4Material *composite, const G4Material *component, G4double massFraction)
Deprecated.
const std::vector< G4double > * GetDensityTableFor(const G4Material *) const
Retrieve a table of volumetric mass densities (mass per unit volume) in the G4 unit system for chosen...
static G4DNAMolecularMaterial * fInstance
~G4DNAMolecularMaterial() override
const std::vector< ComponentMap > * GetMassFractionTable() const
void SearchMolecularMaterial(G4Material *parentMaterial, G4Material *material, G4double currentFraction)
G4DNAMolecularMaterial(const G4DNAMolecularMaterial &right)=delete
std::map< const G4Material *, std::vector< G4double > *, CompareMaterial > fAskedNumPerVolTable
std::vector< ComponentMap > * fpCompDensityTable
Materials can be described as a derivation of existing "parent" materials in order to alter few of th...
bool operator()(const G4Material *mat1, const G4Material *mat2) const