#include <G4ChargeState.hh>
|
| G4ChargeState (G4double charge, G4double magnetic_dipole_moment, G4double pdgSpin, G4double electric_dipole_moment=0.0, G4double magnetic_charge=0.0) |
|
| G4ChargeState (const G4ChargeState &right) |
|
G4ChargeState & | operator= (const G4ChargeState &right) |
|
void | SetChargeSpinMoments (G4double charge, G4double pdgSpin, G4double magnetic_dipole_moment=DBL_MAX, G4double electric_dipole_moment=DBL_MAX, G4double magnetic_charge=DBL_MAX) |
|
void | SetCharge (G4double charge) |
|
G4double | GetCharge () const |
|
void | SetPDGSpin (G4double spin) |
|
G4double | GetPDGSpin () const |
|
void | SetMagneticDipoleMoment (G4double moment) |
|
G4double | GetMagneticDipoleMoment () const |
|
void | SetElectricDipoleMoment (G4double moment) |
|
G4double | ElectricDipoleMoment () const |
|
void | SetMagneticCharge (G4double charge) |
|
G4double | MagneticCharge () const |
|
void | SetChargeMdm (G4double charge, G4double mag_dipole_moment) |
|
void | SetChargeMdmSpin (G4double charge, G4double magnetic_dipole_moment, G4double pdgSpin) |
|
void | SetChargeSpin (G4double charge, G4double pdgSpin) |
|
void | SetChargeDipoleMoments (G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment) |
|
void | SetChargesAndMoments (G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment, G4double magnetic_charge) |
|
void | SetSpin (G4double spin) |
|
G4double | GetSpin () const |
|
Definition at line 39 of file G4ChargeState.hh.
◆ G4ChargeState() [1/2]
Definition at line 118 of file G4ChargeState.hh.
123{
124 fCharge = charge;
125 fSpin = spin;
126 fMagn_dipole = magnetic_dipole_moment;
127 fElec_dipole = electric_dipole_moment;
128 fMagneticCharge = magnetic_charge;
129}
◆ G4ChargeState() [2/2]
Definition at line 131 of file G4ChargeState.hh.
132{
133 fCharge = right.fCharge;
134 fSpin = right.fSpin;
135 fMagn_dipole = right.fMagn_dipole;
136 fElec_dipole = right.fElec_dipole;
137 fMagneticCharge = right.fMagneticCharge;
138}
◆ ElectricDipoleMoment()
G4double G4ChargeState::ElectricDipoleMoment |
( |
| ) |
const |
|
inline |
◆ GetCharge()
G4double G4ChargeState::GetCharge |
( |
| ) |
const |
|
inline |
◆ GetMagneticDipoleMoment()
G4double G4ChargeState::GetMagneticDipoleMoment |
( |
| ) |
const |
|
inline |
◆ GetPDGSpin()
G4double G4ChargeState::GetPDGSpin |
( |
| ) |
const |
|
inline |
◆ GetSpin()
G4double G4ChargeState::GetSpin |
( |
| ) |
const |
|
inline |
◆ MagneticCharge()
G4double G4ChargeState::MagneticCharge |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 140 of file G4ChargeState.hh.
141{
142 if (&right == this) return *this;
143
144 fCharge = right.fCharge;
145 fSpin = right.fSpin;
146 fMagn_dipole = right.fMagn_dipole;
147 fElec_dipole = right.fElec_dipole;
148 fMagneticCharge = right.fMagneticCharge;
149
150 return *this;
151}
◆ SetCharge()
void G4ChargeState::SetCharge |
( |
G4double |
charge | ) |
|
|
inline |
◆ SetChargeDipoleMoments()
void G4ChargeState::SetChargeDipoleMoments |
( |
G4double |
charge, |
|
|
G4double |
magnetic_dipole_moment, |
|
|
G4double |
electric_dipole_moment |
|
) |
| |
|
inline |
Definition at line 175 of file G4ChargeState.hh.
178{
181}
void SetChargeMdm(G4double charge, G4double mag_dipole_moment)
void SetElectricDipoleMoment(G4double moment)
Referenced by SetChargesAndMoments().
◆ SetChargeMdm()
void G4ChargeState::SetChargeMdm |
( |
G4double |
charge, |
|
|
G4double |
mag_dipole_moment |
|
) |
| |
|
inline |
◆ SetChargeMdmSpin()
◆ SetChargesAndMoments()
◆ SetChargeSpin()
◆ SetChargeSpinMoments()
Definition at line 33 of file G4ChargeState.cc.
40{
41 fCharge = charge;
42 fSpin = spin;
43 if( magnetic_dipole_moment <
DBL_MAX) fMagn_dipole= magnetic_dipole_moment;
44 if( electric_dipole_moment <
DBL_MAX) fElec_dipole= electric_dipole_moment;
45 if( magnetic_charge <
DBL_MAX) fMagneticCharge= magnetic_charge;
46}
◆ SetElectricDipoleMoment()
void G4ChargeState::SetElectricDipoleMoment |
( |
G4double |
moment | ) |
|
|
inline |
◆ SetMagneticCharge()
void G4ChargeState::SetMagneticCharge |
( |
G4double |
charge | ) |
|
|
inline |
◆ SetMagneticDipoleMoment()
void G4ChargeState::SetMagneticDipoleMoment |
( |
G4double |
moment | ) |
|
|
inline |
◆ SetPDGSpin()
void G4ChargeState::SetPDGSpin |
( |
G4double |
spin | ) |
|
|
inline |
◆ SetSpin()
void G4ChargeState::SetSpin |
( |
G4double |
spin | ) |
|
|
inline |
The documentation for this class was generated from the following files: