55 #define G4Molecule_h 1
87 inline void *
operator new(size_t);
89 inline void *
operator new(
size_t sz,
void* p) {
return p; }
91 inline void operator delete(
void*);
174 const std::vector <const G4MolecularDecayChannel*>*
GetDecayChannel()
const;
245 #if defined G4EM_ALLOC_EXPORT
253 inline void * G4Molecule::operator
new(size_t)
261 inline void G4Molecule::operator
delete(
void * aMolecule)
The pointer G4MolecularConfiguration will be shared by all the molecules having the same molecule def...
ITDef(G4Molecule) void Print() const
G4IT is a interface which allows the inheriting object :
void SetDiffusionCoefficient(G4double)
Sets the diffusion coefficient D of the molecule used in diffusion processes to calculate the mean sq...
G4bool operator!=(const G4Molecule &right) const
CLHEP::Hep3Vector G4ThreeVector
G4Molecule()
Default molecule builder.
G4bool operator<(const G4Molecule &right) const
The two methods below are the most called of the simulation : compare molecules in the MoleculeStackM...
G4double GetMass() const
Returns the total mass of the molecule.
void SetMass(G4double)
Set the total mass of the molecule.
G4MolecularConfiguration * fpMolecularConfiguration
G4double GetDiffusionCoefficient() const
Returns the diffusion coefficient D.
G4double GetNbElectrons() const
Returns the number of electron.
const std::vector< const G4MolecularDecayChannel * > * GetDecayChannel() const
G4MolecularConfiguration * GetMolecularConfiguration() const
static G4double GetGlobalTemperature()
const G4String & GetName() const
Returns the name of the molecule.
void MoveOneElectron(G4int, G4int)
Move one electron from an orbit to another.
void SetElectronOccupancy(const G4ElectronOccupancy *)
Will set up the correct molecularConfiguration given an electron configuration.
G4int GetAtomsNumber() const
Returns the nomber of atoms compouning the molecule.
void SetVanDerVaalsRadius(G4double)
The Van Der Valls Radius of the molecule.
G4Molecule & operator=(const G4Molecule &right)
G4Molecule * GetMolecule(const G4Track &track)
void IonizeMolecule(G4int)
Method used in Geant4-DNA to ionize water molecules.
const G4MoleculeDefinition * GetDefinition() const
Get molecule definition.
G4Track * BuildTrack(G4double globalTime, const G4ThreeVector &Position)
G4int GetCharge() const
Returns the charge of molecule.
bool CompareElectronOccupancy(const G4ElectronOccupancy *, const G4int &, const G4int &) const
G4double GetKineticEnergy() const
void RemoveElectron(G4int, G4int number=1)
Remove n electrons to a given orbit.
G4DLLIMPORT G4ThreadLocal G4Allocator< G4Molecule > * aMoleculeAllocator
void PrintState() const
Show the electronic state of the molecule.
G4double GetDiffusionVelocity() const
Class Description The dynamic molecule holds all the data that change for a molecule It has a pointer...
const G4ElectronOccupancy * GetElectronOccupancy() const
Returns the object ElectronOccupancy describing the electronic configuration of the molecule...
G4double GetVanDerVaalsRadius() const
static void SetGlobalTemperature(G4double)
G4double GetDecayTime() const
Returns the decay time of the molecule.
virtual void Print() const
void AddElectron(G4int orbit, G4int n=1)
Add n electrons to a given orbit.
G4bool operator==(const G4Molecule &right) const
void SetDecayTime(G4double)
Set the decay time of the molecule.
static double fgTemperature
void ExciteMolecule(G4int)
Method used in Geant4-DNA to excite water molecules.
G4int GetMoleculeID() const