ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Static Public Member Functions | |
static G4Molecule * | GetMolecule (const G4Track *) |
Private Member Functions | |
G4Molecule () | |
Private Attributes | |
const G4MolecularConfiguration * | fpMolecularConfiguration |
Additional Inherited Members | |
Protected Member Functions inherited from G4IT | |
G4IT (const G4IT &) | |
G4IT & | operator= (const G4IT &) |
Protected Attributes inherited from G4IT | |
G4Track * | fpTrack |
Class Description The dynamic molecule holds all the data that change for a molecule It has a pointer to G4MoleculeDefinition object, which holds all the "ground level" information.
Definition at line 98 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 98 of file G4Molecule.hh
G4Molecule::G4Molecule | ( | const G4Molecule & | right | ) |
Definition at line 104 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 104 of file G4Molecule.cc
References fpMolecularConfiguration.
G4Molecule::G4Molecule | ( | G4MoleculeDefinition * | pMoleculeDefinition | ) |
To build a molecule at ground state according to a given G4MoleculeDefinition that can be obtained from G4GenericMoleculeManager
Build a molecule at ground state according to a given G4MoleculeDefinition that can be obtained from G4GenericMoleculeManager
Definition at line 180 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 180 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetOrCreateMolecularConfiguration().
G4Molecule::G4Molecule | ( | G4MoleculeDefinition * | pMoleculeDefinition, |
int | charge | ||
) |
Definition at line 189 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 189 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetOrCreateMolecularConfiguration().
G4Molecule::G4Molecule | ( | G4MoleculeDefinition * | pMoleculeDefinition, |
G4int | OrbitalToFree, | ||
G4int | OrbitalToFill | ||
) |
To build a molecule at a specific excitation/ionisation state according to a ground state that can be obtained from G4GenericMoleculeManager
Build a molecule at a specific excitation/ionisation state according to a ground state that can be obtained from G4GenericMoleculeManager. Put 0 in the second option if this is a ionisation.
Definition at line 200 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 200 of file G4Molecule.cc
References FatalErrorInArgument, fpMolecularConfiguration, G4Exception(), G4MoleculeDefinition::GetGroundStateElectronOccupancy(), G4MolecularConfiguration::GetOrCreateMolecularConfiguration(), and G4ElectronOccupancy::RemoveElectron().
G4Molecule::G4Molecule | ( | G4MoleculeDefinition * | pMoleculeDefinition, |
G4int | level, | ||
G4bool | excitation | ||
) |
Specific builder for water molecules to be used in Geant4-DNA, the last option Excitation is true if the molecule is excited, is false is the molecule is ionized.
Definition at line 245 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 245 of file G4Molecule.cc
References FatalErrorInArgument, fpMolecularConfiguration, G4Exception(), G4MoleculeDefinition::GetGroundStateElectronOccupancy(), G4MolecularConfiguration::GetOrCreateMolecularConfiguration(), and G4ElectronOccupancy::RemoveElectron().
G4Molecule::G4Molecule | ( | const G4MolecularConfiguration * | pMolecularConfiguration | ) |
Definition at line 285 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 285 of file G4Molecule.cc
References fpMolecularConfiguration.
|
virtual |
Definition at line 160 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 160 of file G4Molecule.cc
References fpMolecularConfiguration, G4IT::fpTrack, G4Track::GetGlobalTime(), G4Track::GetPosition(), and G4VMoleculeCounter::Instance().
|
private |
Default molecule builder
Definition at line 151 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 151 of file G4Molecule.cc
References fpMolecularConfiguration.
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 315 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 315 of file G4Molecule.cc
References G4MolecularConfiguration::AddElectron(), and fpMolecularConfiguration.
Referenced by G4DNAChemistryManager::CreateWaterMolecule().
G4Track * G4Molecule::BuildTrack | ( | G4double | globalTime, |
const G4ThreeVector & | Position | ||
) |
Definition at line 373 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 373 of file G4Molecule.cc
References FatalErrorInArgument, fpMolecularConfiguration, G4IT::fpTrack, G4Exception(), G4UniformRand, G4MolecularConfiguration::GetDefinition(), GetKineticEnergy(), G4Track::GetPosition(), G4VMoleculeCounter::Instance(), G4VMoleculeCounter::InUse(), phi, pi, G4Track::SetUserInformation(), and theta().
Referenced by G4MoleculeGun::BuildAndPushTrack(), G4DNAChemistryManager::CreateWaterMolecule(), G4DNAMolecularReaction::MakeReaction(), and G4DNAChemistryManager::PushMolecule().
Definition at line 546 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 546 of file G4Molecule.cc
References fpMolecularConfiguration, G4MolecularConfiguration::GetDefinition(), and G4MolecularConfiguration::GetMolecularConfiguration().
Referenced by G4DNAElectronHoleRecombination::MakeReaction().
Method used in Geant4-DNA to excite water molecules
Definition at line 301 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 301 of file G4Molecule.cc
References G4MolecularConfiguration::ExciteMolecule(), and fpMolecularConfiguration.
Referenced by G4DNAChemistryManager::CreateWaterMolecule().
G4int G4Molecule::GetAtomsNumber | ( | ) | const |
Returns the nomber of atoms compouning the molecule
Definition at line 352 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 352 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetAtomsNumber().
G4int G4Molecule::GetCharge | ( | ) | const |
Returns the charge of molecule.
Definition at line 488 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 488 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetCharge().
G4double G4Molecule::GetDecayTime | ( | ) | const |
Returns the decay time of the molecule.
Definition at line 474 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 474 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetDecayTime().
Referenced by G4DNAMolecularDissociation::GetMeanLifeTime().
const G4MoleculeDefinition * G4Molecule::GetDefinition | ( | ) | const |
Get molecule definition. This G4MoleculeDefinition has the ground electronic state of the molecule.
Definition at line 509 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 509 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetDefinition().
G4double G4Molecule::GetDiffusionCoefficient | ( | ) | const |
Returns the diffusion coefficient D.
Definition at line 516 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 516 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetDiffusionCoefficient().
Referenced by G4DNABrownianTransportation::AlongStepGetPhysicalInteractionLength(), G4DNABrownianTransportation::ComputeStep(), and G4DNAMoleculeEncounterStepper::Utils::Utils().
G4double G4Molecule::GetDiffusionCoefficient | ( | const G4Material * | pMaterial, |
double | temperature | ||
) | const |
Returns the diffusion coefficient D.
Definition at line 523 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 523 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetDiffusionCoefficient().
G4double G4Molecule::GetDiffusionVelocity | ( | ) | const |
Definition at line 428 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 428 of file G4Molecule.cc
References source.hepunit::c_squared, fpMolecularConfiguration, G4MolecularConfiguration::GetGlobalTemperature(), G4MolecularConfiguration::GetMass(), and source.hepunit::k_Boltzmann.
Referenced by GetKineticEnergy().
const vector< const G4MolecularDissociationChannel * > * G4Molecule::GetDissociationChannels | ( | ) | const |
Definition at line 453 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 453 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetDissociationChannels().
const G4ElectronOccupancy * G4Molecule::GetElectronOccupancy | ( | ) | const |
Returns the object ElectronOccupancy describing the electronic configuration of the molecule.
Definition at line 502 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 502 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetElectronOccupancy().
G4int G4Molecule::GetFakeParticleID | ( | ) | const |
Definition at line 460 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 460 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetFakeParticleID().
const G4String & G4Molecule::GetFormatedName | ( | ) | const |
Returns the formated name of the molecule
Definition at line 345 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 345 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetFormatedName().
|
inlinevirtual |
Reimplemented from G4IT.
Definition at line 130 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 130 of file G4Molecule.hh
References GetMoleculeID().
G4double G4Molecule::GetKineticEnergy | ( | ) | const |
Definition at line 416 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 416 of file G4Molecule.cc
References source.hepunit::c_squared, E, fpMolecularConfiguration, GetDiffusionVelocity(), G4MolecularConfiguration::GetMass(), and v.
Referenced by BuildTrack().
const G4String & G4Molecule::GetLabel | ( | ) | const |
Returns the label of the molecule configuration
Definition at line 539 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 539 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetLabel().
G4double G4Molecule::GetMass | ( | ) | const |
Returns the total mass of the molecule.
Definition at line 495 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 495 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetMass().
const G4MolecularConfiguration * G4Molecule::GetMolecularConfiguration | ( | ) | const |
Definition at line 532 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 532 of file G4Molecule.cc
References fpMolecularConfiguration.
Referenced by G4DNAMolecularReaction::MakeReaction(), G4DNASecondOrderReaction::PostStepGetPhysicalInteractionLength(), and G4DNAMolecularReaction::TestReactibility().
|
static |
Definition at line 90 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 90 of file G4Molecule.cc
References GetIT().
G4int G4Molecule::GetMoleculeID | ( | ) | const |
Definition at line 467 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 467 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetMoleculeID().
Referenced by G4DNAElectronHoleRecombination::FindReactant(), GetITSubType(), and operator int().
Returns the name of the molecule
Implements G4IT.
Definition at line 338 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 338 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetName().
Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), G4DNAMoleculeEncounterStepper::CheckAndRecordResults(), G4DNABrownianTransportation::ComputeStep(), G4DNABrownianTransportation::Diffusion(), Run::MoleculeCountNeuron(), G4DNASecondOrderReaction::PostStepDoIt(), G4DNABrownianTransportation::PostStepDoIt(), and G4DNAIndirectHit::Print().
G4double G4Molecule::GetNbElectrons | ( | ) | const |
Returns the number of electron.
Definition at line 359 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 359 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetNbElectrons().
G4double G4Molecule::GetVanDerVaalsRadius | ( | ) | const |
Definition at line 481 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 481 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::GetVanDerVaalsRadius().
Method used in Geant4-DNA to ionize water molecules
Definition at line 308 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 308 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::IonizeMolecule().
Referenced by G4DNAChemistryManager::CreateWaterMolecule().
G4Molecule::ITDef | ( | G4Molecule | ) | const |
Move one electron from an orbit to another.
Definition at line 330 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 330 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::MoveOneElectron().
Definition at line 313 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 313 of file G4Molecule.hh
References aMoleculeAllocator().
|
inline |
Definition at line 125 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 125 of file G4Molecule.hh
References GetMoleculeID().
|
inline |
Definition at line 302 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 302 of file G4Molecule.hh
References aMoleculeAllocator().
G4bool G4Molecule::operator!= | ( | const G4Molecule & | right | ) | const |
Definition at line 133 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 133 of file G4Molecule.cc
References right.
G4bool G4Molecule::operator< | ( | const G4Molecule & | right | ) | const |
The two methods below are the most called of the simulation : compare molecules in the MoleculeStackManager or in the InteractionTable
Definition at line 144 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 144 of file G4Molecule.cc
References fpMolecularConfiguration.
G4Molecule & G4Molecule::operator= | ( | const G4Molecule & | right | ) |
Definition at line 113 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 113 of file G4Molecule.cc
References fpMolecularConfiguration.
G4bool G4Molecule::operator== | ( | const G4Molecule & | right | ) | const |
Definition at line 122 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 122 of file G4Molecule.cc
References fpMolecularConfiguration.
void G4Molecule::PrintState | ( | ) | const |
Show the electronic state of the molecule.
Definition at line 366 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 366 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::PrintState().
Remove n electrons to a given orbit.
Definition at line 322 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 322 of file G4Molecule.cc
References fpMolecularConfiguration, and G4MolecularConfiguration::RemoveElectron().
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.
void G4Molecule::SetElectronOccupancy | ( | const G4ElectronOccupancy * | pElectronOcc | ) |
Will set up the correct molecularConfiguration given an electron configuration
Definition at line 292 of file G4Molecule.cc.
View newest version in sPHENIX GitHub at line 292 of file G4Molecule.cc
References fpMolecularConfiguration, G4MolecularConfiguration::GetDefinition(), and G4MolecularConfiguration::GetOrCreateMolecularConfiguration().
|
private |
Definition at line 292 of file G4Molecule.hh.
View newest version in sPHENIX GitHub at line 292 of file G4Molecule.hh
Referenced by AddElectron(), BuildTrack(), ChangeConfigurationToLabel(), ExciteMolecule(), G4Molecule(), GetAtomsNumber(), GetCharge(), GetDecayTime(), GetDefinition(), GetDiffusionCoefficient(), GetDiffusionVelocity(), GetDissociationChannels(), GetElectronOccupancy(), GetFakeParticleID(), GetFormatedName(), GetKineticEnergy(), GetLabel(), GetMass(), GetMolecularConfiguration(), GetMoleculeID(), GetName(), GetNbElectrons(), GetVanDerVaalsRadius(), IonizeMolecule(), MoveOneElectron(), operator<(), operator=(), operator==(), PrintState(), RemoveElectron(), SetElectronOccupancy(), and ~G4Molecule().