34#ifndef G4CHARGESTATE_HH
35#define G4CHARGESTATE_HH
46 G4double electric_dipole_moment = 0.0,
126 fMagn_dipole = magnetic_dipole_moment;
127 fElec_dipole = electric_dipole_moment;
128 fMagneticCharge = magnetic_charge;
133 fCharge = right.fCharge;
135 fMagn_dipole = right.fMagn_dipole;
136 fElec_dipole = right.fElec_dipole;
137 fMagneticCharge = right.fMagneticCharge;
142 if (&right ==
this)
return *
this;
144 fCharge = right.fCharge;
146 fMagn_dipole = right.fMagn_dipole;
147 fElec_dipole = right.fElec_dipole;
148 fMagneticCharge = right.fMagneticCharge;
G4ChargeState & operator=(const G4ChargeState &right)
void SetMagneticCharge(G4double charge)
G4ChargeState(G4double charge, G4double magnetic_dipole_moment, G4double pdgSpin, G4double electric_dipole_moment=0.0, G4double magnetic_charge=0.0)
void SetSpin(G4double spin)
void SetChargeSpinMoments(G4double charge, G4double pdgSpin, G4double magnetic_dipole_moment=DBL_MAX, G4double electric_dipole_moment=DBL_MAX, G4double magnetic_charge=DBL_MAX)
void SetChargesAndMoments(G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment, G4double magnetic_charge)
void SetChargeSpin(G4double charge, G4double pdgSpin)
G4double GetCharge() const
void SetPDGSpin(G4double spin)
G4double ElectricDipoleMoment() const
void SetChargeMdm(G4double charge, G4double mag_dipole_moment)
void SetElectricDipoleMoment(G4double moment)
G4double GetMagneticDipoleMoment() const
void SetChargeMdmSpin(G4double charge, G4double magnetic_dipole_moment, G4double pdgSpin)
G4double GetPDGSpin() const
void SetChargeDipoleMoments(G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment)
G4double MagneticCharge() const
void SetCharge(G4double charge)
void SetMagneticDipoleMoment(G4double moment)