Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4MolecularConfiguration.hh>
Classes | |
class | G4MolecularConfigurationManager |
Public Types | |
typedef std::function< double(const G4Material *, double, const G4MolecularConfiguration *)> | G4DiffCoeffParam |
Protected Member Functions | |
G4MolecularConfiguration (const G4MoleculeDefinition *, const G4ElectronOccupancy &, const G4String &label="") | |
G4MolecularConfiguration (const G4MoleculeDefinition *, int charge) | |
G4MolecularConfiguration (const G4MoleculeDefinition *, const G4String &label, int charge) | |
G4MolecularConfiguration (std::istream &) | |
G4MolecularConfiguration (const G4MolecularConfiguration &) | |
G4MolecularConfiguration & | operator= (G4MolecularConfiguration &right) |
~G4MolecularConfiguration () | |
G4MolecularConfiguration * | ChangeConfiguration (const G4ElectronOccupancy &newElectronOccupancy) const |
G4MolecularConfiguration * | ChangeConfiguration (int charge) const |
void | CheckElectronOccupancy (const char *line) const |
void | MakeExceptionIfFinalized () |
void | CreateDefaultDiffCoeffParam () |
Static Protected Member Functions | |
static void | ScaleAllDiffusionCoefficientsOnWater (double temperature_K) |
static G4MolecularConfigurationManager * | GetManager () |
static double | ReturnDefaultDiffCoeff (const G4Material *, double, const G4MolecularConfiguration *molConf) |
Static Protected Attributes | |
static G4MolecularConfigurationManager * | fgManager = 0 |
static double | fgTemperature = 298 |
The pointer G4MolecularConfiguration will be shared by all the molecules having the same molecule definition and the same electron occupancy BE CAREFUlL !!! : If you change the mass for instance of a OH^-, this will affect all the OH^- molecule diffusing around
Definition at line 98 of file G4MolecularConfiguration.hh.
typedef std::function<double(const G4Material*, double, const G4MolecularConfiguration*)> G4MolecularConfiguration::G4DiffCoeffParam |
Definition at line 104 of file G4MolecularConfiguration.hh.
|
protected |
Definition at line 436 of file G4MolecularConfiguration.cc.
|
protected |
Definition at line 489 of file G4MolecularConfiguration.cc.
|
protected |
Definition at line 79 of file G4MolecularConfiguration.cc.
|
protected |
Definition at line 1427 of file G4MolecularConfiguration.cc.
|
protected |
|
protected |
Definition at line 526 of file G4MolecularConfiguration.cc.
|
inline |
Definition at line 583 of file G4MolecularConfiguration.hh.
G4MolecularConfiguration * G4MolecularConfiguration::AddElectron | ( | G4int | orbit, |
G4int | n = 1 |
||
) | const |
Add n electrons to a given orbit. Note : You can add as many electrons to a given orbit, the result may be unrealist.
Definition at line 635 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::AddElectron().
|
protected |
Definition at line 543 of file G4MolecularConfiguration.cc.
Referenced by AddElectron(), ExciteMolecule(), IonizeMolecule(), MoveOneElectron(), and RemoveElectron().
|
protected |
Definition at line 561 of file G4MolecularConfiguration.cc.
|
protected |
Definition at line 807 of file G4MolecularConfiguration.cc.
Referenced by AddElectron(), ExciteMolecule(), GetNbElectrons(), IonizeMolecule(), MoveOneElectron(), and RemoveElectron().
|
protected |
Definition at line 1499 of file G4MolecularConfiguration.cc.
Referenced by Finalize().
|
static |
Definition at line 1081 of file G4MolecularConfiguration.cc.
Referenced by G4MoleculeTable::CreateConfiguration(), CreateMolecularConfiguration(), G4MoleculeDefinition::NewConfiguration(), G4MoleculeDefinition::NewConfigurationWithElectronOccupancy(), and G4MoleculeTableMessenger::SetNewValue().
|
static |
Definition at line 1162 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 1228 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 989 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 426 of file G4MolecularConfiguration.cc.
Referenced by G4DNAChemistryManager::Clear().
|
static |
Definition at line 1466 of file G4MolecularConfiguration.cc.
Referenced by ScaleAllDiffusionCoefficientsOnWater(), and G4DNAMolecularReactionData::ScaledParameterization().
G4MolecularConfiguration * G4MolecularConfiguration::ExciteMolecule | ( | G4int | ExcitedLevel | ) | const |
Method used in Geant4-DNA to excite water molecules
Definition at line 587 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::ExciteMolecule().
|
inline |
Definition at line 572 of file G4MolecularConfiguration.hh.
|
static |
Definition at line 1545 of file G4MolecularConfiguration.cc.
Referenced by G4MoleculeTable::Finalize().
G4int G4MolecularConfiguration::GetAtomsNumber | ( | ) | const |
Returns the nomber of atoms compouning the molecule
Definition at line 720 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::GetAtomsNumber().
|
inline |
Returns the charge of molecule.
Definition at line 529 of file G4MolecularConfiguration.hh.
Referenced by G4DNAMolecularReactionData::ComputeEffectiveRadius(), and G4Molecule::GetCharge().
|
inline |
Returns the decay time of the molecule.
Definition at line 513 of file G4MolecularConfiguration.hh.
Referenced by G4Molecule::GetDecayTime().
|
inline |
Definition at line 486 of file G4MolecularConfiguration.hh.
Referenced by G4MoleculeCounter::AddAMoleculeAtTime(), G4Molecule::BuildTrack(), G4Molecule::ChangeConfigurationToLabel(), CreateMolecularConfiguration(), G4Molecule::GetDefinition(), G4MoleculeCounter::RemoveAMoleculeAtTime(), G4MolecularConfiguration::G4MolecularConfigurationManager::RemoveMolecularConfigurationFromTable(), and G4Molecule::SetElectronOccupancy().
|
inline |
Returns the diffusion coefficient D.
Definition at line 502 of file G4MolecularConfiguration.hh.
Referenced by G4DNAMolecularReactionData::ComputeEffectiveRadius(), G4Molecule::GetDiffusionCoefficient(), G4DNAIRT::GetIndependentReactionTime(), G4DNAGillespieDirectMethod::PropensityFunction(), G4DNAIRT::Sampling(), ScaleAllDiffusionCoefficientsOnWater(), G4DNAMolecularReactionData::SetReactionType(), and G4DNAMakeReaction::UpdatePositionForReaction().
|
inline |
Definition at line 590 of file G4MolecularConfiguration.hh.
const vector< const G4MolecularDissociationChannel * > * G4MolecularConfiguration::GetDissociationChannels | ( | ) | const |
Definition at line 773 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::GetDissociationChannels().
|
inline |
Returns the object ElectronOccupancy describing the electronic configuration of the molecule.
Definition at line 491 of file G4MolecularConfiguration.hh.
Referenced by CreateMolecularConfiguration(), G4Molecule::GetElectronOccupancy(), and G4MolecularConfiguration::G4MolecularConfigurationManager::RemoveMolecularConfigurationFromTable().
G4int G4MolecularConfiguration::GetFakeParticleID | ( | ) | const |
Definition at line 781 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::GetFakeParticleID().
const G4String & G4MolecularConfiguration::GetFormatedName | ( | ) | const |
Returns the formated name of the molecule
Definition at line 713 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::GetFormatedName().
|
static |
Definition at line 1517 of file G4MolecularConfiguration.cc.
Referenced by G4DNAChemistryManager::GetCurrentValue(), and G4Molecule::GetDiffusionVelocity().
|
inline |
Definition at line 564 of file G4MolecularConfiguration.hh.
Referenced by CreateMolecularConfiguration(), G4Molecule::GetLabel(), and PrintState().
|
staticprotected |
Definition at line 130 of file G4MolecularConfiguration.cc.
Referenced by ChangeConfiguration(), CreateMolecularConfiguration(), FinalizeAll(), G4MolecularConfiguration(), GetMolecularConfiguration(), GetNumberOfSpecies(), GetOrCreateMolecularConfiguration(), GetUserIDTable(), PrintAll(), and SetUserID().
|
inline |
Returns the total mass of the molecule.
Definition at line 540 of file G4MolecularConfiguration.hh.
Referenced by G4Molecule::GetDiffusionVelocity(), G4Molecule::GetKineticEnergy(), and G4Molecule::GetMass().
|
static |
|
static |
Definition at line 1538 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 981 of file G4MolecularConfiguration.cc.
|
inline |
Definition at line 545 of file G4MolecularConfiguration.hh.
Referenced by G4DNAIRTMoleculeEncounterStepper::CalculateStep(), G4DNAMoleculeEncounterStepper::CalculateStep(), and G4Molecule::GetMoleculeID().
const G4String & G4MolecularConfiguration::GetName | ( | ) | const |
Returns the name of the molecule
Definition at line 706 of file G4MolecularConfiguration.cc.
Referenced by G4DNAScavengerMaterial::AddAMoleculeAtTime(), G4MoleculeCounter::AddAMoleculeAtTime(), G4DNAMolecularReactionTable::CanReactWith(), G4Molecule::GetName(), G4DNAScavengerMaterial::GetNMoleculesAtTime(), G4DNAScavengerMaterial::GetNumberMoleculePerVolumeUnitForMaterialConf(), G4DNAMolecularReactionTable::GetReactionData(), G4DiffusionControlledReactionModel::GetReactionRadius(), G4DNAMolecularReactionTable::GetReativesNData(), IonizeMolecule(), MakeExceptionIfFinalized(), MoveOneElectron(), G4DNAScavengerProcess::PostStepDoIt(), G4DNAScavengerProcess::PostStepGetPhysicalInteractionLength(), PrintAll(), PrintState(), G4DNAMolecularReactionTable::PrintTable(), G4DNAScavengerMaterial::RemoveAMoleculeAtTime(), G4MoleculeCounter::RemoveAMoleculeAtTime(), RemoveElectron(), G4DNAIRT::Sampling(), G4DNAScavengerProcess::SetReaction(), and G4DNAUpdateSystemModel::UpdateSystem().
G4double G4MolecularConfiguration::GetNbElectrons | ( | ) | const |
Returns the number of electron.
Definition at line 727 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::GetNbElectrons().
|
static |
Definition at line 66 of file G4MolecularConfiguration.cc.
Referenced by G4MoleculeTable::GetNumberOfDefinedSpecies().
|
static |
Definition at line 337 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::G4Molecule(), G4MoleculeTable::PrepareMolecularConfiguration(), G4Molecule::SetElectronOccupancy(), and G4MoleculeTableMessenger::SetNewValue().
|
static |
Definition at line 381 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 405 of file G4MolecularConfiguration.cc.
|
inline |
Definition at line 578 of file G4MolecularConfiguration.hh.
|
inlinestatic |
Definition at line 169 of file G4MolecularConfiguration.hh.
Referenced by G4MoleculeTable::GetConfigurationIterator().
|
inline |
Definition at line 524 of file G4MolecularConfiguration.hh.
Referenced by G4Molecule::GetVanDerVaalsRadius(), and G4DNAMolecularReactionData::SetReactionType().
G4MolecularConfiguration * G4MolecularConfiguration::IonizeMolecule | ( | G4int | IonizedLevel | ) | const |
Method used in Geant4-DNA to ionize water molecules
Definition at line 604 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::IonizeMolecule().
|
static |
Definition at line 1420 of file G4MolecularConfiguration.cc.
|
protected |
Definition at line 114 of file G4MolecularConfiguration.cc.
Referenced by SetDecayTime(), SetDiffusionCoefficient(), SetMass(), and SetVanDerVaalsRadius().
G4MolecularConfiguration * G4MolecularConfiguration::MoveOneElectron | ( | G4int | orbitToFree, |
G4int | orbitToFill | ||
) | const |
Move one electron from an orbit to another.
Definition at line 677 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::MoveOneElectron().
|
protected |
Definition at line 576 of file G4MolecularConfiguration.cc.
|
static |
Definition at line 1557 of file G4MolecularConfiguration.cc.
Referenced by G4MoleculeTableMessenger::SetNewValue().
void G4MolecularConfiguration::PrintState | ( | ) | const |
Display the electronic state of the molecule.
Definition at line 735 of file G4MolecularConfiguration.cc.
Referenced by CreateMolecularConfiguration(), IonizeMolecule(), MoveOneElectron(), G4Molecule::PrintState(), G4MoleculeCounter::RemoveAMoleculeAtTime(), and RemoveElectron().
G4MolecularConfiguration * G4MolecularConfiguration::RemoveElectron | ( | G4int | orbit, |
G4int | number = 1 |
||
) | const |
Remove n electrons to a given orbit.
Definition at line 648 of file G4MolecularConfiguration.cc.
Referenced by G4Molecule::RemoveElectron().
|
staticprotected |
Definition at line 71 of file G4MolecularConfiguration.cc.
Referenced by CreateDefaultDiffCoeffParam(), and G4MolecularConfiguration().
|
staticprotected |
Definition at line 1477 of file G4MolecularConfiguration.cc.
Referenced by SetGlobalTemperature().
void G4MolecularConfiguration::Serialize | ( | std::ostream & | out | ) |
Definition at line 1370 of file G4MolecularConfiguration.cc.
|
inline |
Set the decay time of the molecule.
Definition at line 507 of file G4MolecularConfiguration.hh.
Referenced by G4MoleculeDefinition::NewConfigurationWithElectronOccupancy().
|
inline |
Sets the diffusion coefficient D of the molecule used in diffusion processes to calculate the mean square jump distance between two changes of direction. In three dimension : <x^2> = 6 D t where t is the mean jump time between two changes of direction.
Note : Diffusion Coefficient in one medium only For the time being, we will consider only one diffusion coefficient for the all simulation => diffusion in one medium only If the user needs to use the diffusion in different materials, she/he should contact the developers/maintainers of this package
Definition at line 496 of file G4MolecularConfiguration.hh.
Referenced by G4EmDNAChemistry_option1::ConstructMolecule(), G4EmDNAChemistry_option3::ConstructMolecule(), G4MoleculeTable::CreateConfiguration(), and ScaleAllDiffusionCoefficientsOnWater().
|
static |
Definition at line 1509 of file G4MolecularConfiguration.cc.
Referenced by G4DNAChemistryManager::SetGlobalTemperature().
|
inline |
Definition at line 550 of file G4MolecularConfiguration.hh.
Referenced by CreateMolecularConfiguration(), and G4MolecularConfiguration().
|
inline |
Set the total mass of the molecule.
Definition at line 534 of file G4MolecularConfiguration.hh.
Referenced by G4EmDNAChemistry::ConstructMolecule(), G4EmDNAChemistry_option1::ConstructMolecule(), G4EmDNAChemistry_option3::ConstructMolecule(), and G4EmDNAChemistry_option2::ConstructMolecule().
void G4MolecularConfiguration::SetUserID | ( | const G4String & | userID | ) |
Definition at line 1457 of file G4MolecularConfiguration.cc.
Referenced by GetOrCreateMolecularConfiguration().
|
inline |
The Van Der Valls Radius of the molecule
Definition at line 518 of file G4MolecularConfiguration.hh.
Referenced by G4EmDNAChemistry_option3::ConstructMolecule().
|
inline |
Definition at line 596 of file G4MolecularConfiguration.hh.
void G4MolecularConfiguration::Unserialize | ( | std::istream & | in | ) |
Definition at line 1392 of file G4MolecularConfiguration.cc.
Referenced by G4MolecularConfiguration().
|
protected |
Definition at line 477 of file G4MolecularConfiguration.hh.
Referenced by AddDiffCoeffParameterization(), CreateDefaultDiffCoeffParam(), G4MolecularConfiguration(), and GetDiffusionCoefficient().
|
protected |
Definition at line 470 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetCharge(), PrintState(), Serialize(), and Unserialize().
|
protected |
Definition at line 468 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetDecayTime(), Serialize(), SetDecayTime(), and Unserialize().
|
protected |
Definition at line 466 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetDiffusionCoefficient(), ReturnDefaultDiffCoeff(), Serialize(), SetDiffusionCoefficient(), and Unserialize().
|
protected |
Definition at line 469 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetMass(), Serialize(), SetMass(), and Unserialize().
|
protected |
Definition at line 467 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetVanDerVaalsRadius(), Serialize(), SetVanDerVaalsRadius(), and Unserialize().
|
protected |
Definition at line 462 of file G4MolecularConfiguration.hh.
Referenced by AddElectron(), CheckElectronOccupancy(), ExciteMolecule(), G4MolecularConfiguration(), GetElectronOccupancy(), GetNbElectrons(), IonizeMolecule(), MoveOneElectron(), PrintState(), RemoveElectron(), and G4MolecularConfiguration::G4MolecularConfigurationManager::RemoveMolecularConfigurationFromTable().
|
protected |
Definition at line 472 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetFormatedName(), Serialize(), and Unserialize().
|
staticprotected |
Definition at line 458 of file G4MolecularConfiguration.hh.
Referenced by DeleteManager(), GetManager(), SetLabel(), and ~G4MolecularConfiguration().
|
staticprotected |
Definition at line 478 of file G4MolecularConfiguration.hh.
Referenced by GetGlobalTemperature(), ScaleAllDiffusionCoefficientsOnWater(), and SetGlobalTemperature().
|
protected |
Definition at line 475 of file G4MolecularConfiguration.hh.
Referenced by Finalize(), G4MolecularConfiguration(), MakeExceptionIfFinalized(), Serialize(), UnFinalize(), and Unserialize().
|
mutableprotected |
Definition at line 464 of file G4MolecularConfiguration.hh.
Referenced by CreateMolecularConfiguration(), G4MolecularConfiguration(), GetLabel(), PrintState(), G4MolecularConfiguration::G4MolecularConfigurationManager::RecordNewlyLabeledConfiguration(), and SetLabel().
|
protected |
Definition at line 461 of file G4MolecularConfiguration.hh.
Referenced by ChangeConfiguration(), CheckElectronOccupancy(), G4MolecularConfiguration(), GetAtomsNumber(), GetDefinition(), GetDissociationChannels(), GetFakeParticleID(), PrintState(), G4MolecularConfiguration::G4MolecularConfigurationManager::RecordNewlyLabeledConfiguration(), Serialize(), and Unserialize().
|
protected |
Definition at line 471 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetMoleculeID(), Serialize(), and Unserialize().
|
protected |
Definition at line 473 of file G4MolecularConfiguration.hh.
Referenced by G4MolecularConfiguration(), GetName(), Serialize(), and Unserialize().
|
protected |
Definition at line 474 of file G4MolecularConfiguration.hh.
Referenced by CreateMolecularConfiguration(), GetUserID(), and SetUserID().