19#ifndef BDSIONDEFINITION_H
20#define BDSIONDEFINITION_H
42 inline G4int
A()
const {
return a;}
43 inline G4int
Z()
const {
return z;}
58 void Parse(
const G4String& definition);
Class to parse an ion particle definition.
G4int nElectrons
Inferred number of bound electrons if any.
G4int NElectrons() const
Accessor.
G4bool overrideCharge
Whether to specify the charge.
G4double energy
Excitation energy. G4units.
G4double ExcitationEnergy() const
Accessor.
void Parse(const G4String &definition)
Parse the definition.
G4bool OverrideCharge() const
Accessor.
friend std::ostream & operator<<(std::ostream &out, BDSIonDefinition const &io)
Output streamer.
G4double Charge() const
Accessor.
BDSIonDefinition()=delete
No default constructor.
G4double charge
In units of eplus.