47 G4int electronsNumber,
48 G4int electronicLevels,
56 G4ParticleDefinition(name, mass, 0., 0., 0, 0, 0, 0, 0, 0,
"Molecule",
57 0, 0, ID, false, lifetime, NULL, false, aType, 0, 0.0),
59 fNbOfElectrons(electronsNumber), fNbOfMolecularShells(electronicLevels), fDiffusionCoefficient(diffCoeff),
60 fAtomsNb(atomsNumber), fVanDerVaalsRadius(radius)
69 if (fElectronOccupancy)
71 delete fElectronOccupancy;
72 fElectronOccupancy = 0;
126 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
146 const vector<const G4MolecularDecayChannel*>* output = fDecayTable->
GetDecayChannels(ExState);
151 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
161 const vector<const G4MolecularDecayChannel*>* output = fDecayTable->
GetDecayChannels(occ);
166 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
179 fNbOfElectrons (right.fNbOfElectrons),
180 fNbOfMolecularShells(right.fNbOfMolecularShells),
181 fDiffusionCoefficient( right.fDiffusionCoefficient),
182 fAtomsNb( right.fAtomsNb),
183 fVanDerVaalsRadius (right.fVanDerVaalsRadius)
185 if(right.fElectronOccupancy!=0)
189 else fElectronOccupancy = 0;
191 if(right.fDecayTable!=0)
195 else fDecayTable = 0;
202 if (
this != &right) {
const G4String & GetExcitedState(const G4ElectronOccupancy *) const
void AddDecayChannel(const G4String &, const G4MolecularDecayChannel *)
static G4MolecularConfiguration * GetMolecularConfiguration(const G4MoleculeDefinition *, const G4ElectronOccupancy &electronOccupancy)
void AddeConfToExcitedState(const G4String &, const G4ElectronOccupancy &, double decayTime=0.)
const G4ThreeVector const G4double const
const std::vector< const G4MolecularDecayChannel * > * GetDecayChannels(const G4ElectronOccupancy *) const
G4int GetOccupancy(G4int orbit) const
G4int AddElectron(G4int orbit, G4int number=1)
void AddExcitedState(const G4String &)
const G4String & GetExcitedState(const G4ElectronOccupancy *) const
virtual ~G4MoleculeDefinition()
void AddDecayChannel(const G4String &, const G4MolecularDecayChannel *)
void AddExcitedState(const G4String &)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void AddeConfToExcitedState(const G4String &, const G4ElectronOccupancy &)
void SetDecayTime(G4double)
const G4String & GetName() const
const std::vector< const G4MolecularDecayChannel * > * GetDecayChannels(const G4ElectronOccupancy *) const
void SetLevelOccupation(G4int, G4int eNb=2)
G4int RemoveElectron(G4int orbit, G4int number=1)