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;
127 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
147 const vector<const G4MolecularDecayChannel*>* output = fDecayTable->
GetDecayChannels(ExState);
152 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
162 const vector<const G4MolecularDecayChannel*>* output = fDecayTable->
GetDecayChannels(occ);
167 G4String const errMsg =
": no Excited States and Decays for"+
GetName() +
" are defined.";
180 fNbOfElectrons (right.fNbOfElectrons),
181 fNbOfMolecularShells(right.fNbOfMolecularShells),
182 fDiffusionCoefficient( right.fDiffusionCoefficient),
183 fAtomsNb( right.fAtomsNb),
184 fVanDerVaalsRadius (right.fVanDerVaalsRadius)
186 if(right.fElectronOccupancy!=0)
190 else fElectronOccupancy = 0;
192 if(right.fDecayTable!=0)
203 if (
this != &right) {
G4int AddElectron(G4int orbit, G4int number=1)
G4int RemoveElectron(G4int orbit, G4int number=1)
G4int GetOccupancy(G4int orbit) const
void SetDecayTime(G4double)
static G4MolecularConfiguration * GetMolecularConfiguration(const G4MoleculeDefinition *, const G4ElectronOccupancy &electronOccupancy)
const std::vector< const G4MolecularDecayChannel * > * GetDecayChannels(const G4ElectronOccupancy *) const
const G4String & GetExcitedState(const G4ElectronOccupancy *) const
void AddeConfToExcitedState(const G4String &, const G4ElectronOccupancy &)
void AddDecayChannel(const G4String &, const G4MolecularDecayChannel *)
void AddExcitedState(const G4String &)
const G4String & GetName() const
const G4String & GetExcitedState(const G4ElectronOccupancy *) const
const std::vector< const G4MolecularDecayChannel * > * GetDecayChannels(const G4ElectronOccupancy *) const
void AddExcitedState(const G4String &)
void SetLevelOccupation(G4int, G4int eNb=2)
void AddeConfToExcitedState(const G4String &, const G4ElectronOccupancy &, double decayTime=0.)
virtual ~G4MoleculeDefinition()
void AddDecayChannel(const G4String &, const G4MolecularDecayChannel *)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)