Geant4  10.02.p02
G4ChargeState Class Reference

#include <G4ChargeState.hh>

Public Member Functions

 G4ChargeState (G4double charge, G4double magnetic_dipole_moment, G4double pdgSpin, G4double electric_dipole_moment=0.0, G4double magnetic_charge=0.0)
 
 G4ChargeState (const G4ChargeState &right)
 
G4ChargeStateoperator= (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
 

Private Attributes

G4double fCharge
 
G4double fSpin
 
G4double fMagn_dipole
 
G4double fElec_dipole
 
G4double fMagneticCharge
 

Detailed Description

Definition at line 44 of file G4ChargeState.hh.

Constructor & Destructor Documentation

G4ChargeState::G4ChargeState ( G4double  charge,
G4double  magnetic_dipole_moment,
G4double  pdgSpin,
G4double  electric_dipole_moment = 0.0,
G4double  magnetic_charge = 0.0 
)
inline

Definition at line 122 of file G4ChargeState.hh.

References fCharge, fElec_dipole, fMagn_dipole, fMagneticCharge, and fSpin.

G4ChargeState::G4ChargeState ( const G4ChargeState right)
inline

Definition at line 135 of file G4ChargeState.hh.

References fCharge, fElec_dipole, fMagn_dipole, fMagneticCharge, and fSpin.

Member Function Documentation

G4double G4ChargeState::ElectricDipoleMoment ( ) const
inline

Definition at line 77 of file G4ChargeState.hh.

References fElec_dipole.

G4double G4ChargeState::GetCharge ( ) const
inline
G4double G4ChargeState::GetMagneticDipoleMoment ( ) const
inline

Definition at line 74 of file G4ChargeState.hh.

References fMagn_dipole.

Referenced by G4EqEMFieldWithSpin::SetChargeMomentumMass(), G4RepleteEofM::SetChargeMomentumMass(), G4EqEMFieldWithEDM::SetChargeMomentumMass(), and G4Mag_SpinEqRhs::SetChargeMomentumMass().

+ Here is the caller graph for this function:

G4double G4ChargeState::GetPDGSpin ( ) const
inline

Definition at line 71 of file G4ChargeState.hh.

References fSpin.

Referenced by G4FieldTrack::GetPDGSpin(), and GetSpin().

+ Here is the caller graph for this function:

G4double G4ChargeState::GetSpin ( ) const
inline

Definition at line 109 of file G4ChargeState.hh.

References GetPDGSpin().

Referenced by G4EqEMFieldWithSpin::SetChargeMomentumMass(), G4RepleteEofM::SetChargeMomentumMass(), G4EqEMFieldWithEDM::SetChargeMomentumMass(), and G4Mag_SpinEqRhs::SetChargeMomentumMass().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ChargeState::MagneticCharge ( ) const
inline

Definition at line 80 of file G4ChargeState.hh.

References fMagneticCharge.

Referenced by G4MonopoleEquation::SetChargeMomentumMass().

+ Here is the caller graph for this function:

G4ChargeState & G4ChargeState::operator= ( const G4ChargeState right)
inline

Definition at line 144 of file G4ChargeState.hh.

References fCharge, fElec_dipole, fMagn_dipole, fMagneticCharge, and fSpin.

void G4ChargeState::SetCharge ( G4double  charge)
inline

Definition at line 64 of file G4ChargeState.hh.

References fCharge.

Referenced by SetChargeMdm(), and SetChargeSpin().

+ Here is the caller graph for this function:

void G4ChargeState::SetChargeDipoleMoments ( G4double  charge,
G4double  magnetic_dipole_moment,
G4double  electric_dipole_moment 
)
inline

Definition at line 179 of file G4ChargeState.hh.

References SetChargeMdm(), and SetElectricDipoleMoment().

Referenced by SetChargesAndMoments().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ChargeState::SetChargeMdm ( G4double  charge,
G4double  mag_dipole_moment 
)
inline

Definition at line 157 of file G4ChargeState.hh.

References SetCharge(), and SetMagneticDipoleMoment().

Referenced by SetChargeDipoleMoments(), and SetChargeMdmSpin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ChargeState::SetChargeMdmSpin ( G4double  charge,
G4double  magnetic_dipole_moment,
G4double  pdgSpin 
)
inline

Definition at line 163 of file G4ChargeState.hh.

References SetChargeMdm(), and SetPDGSpin().

+ Here is the call graph for this function:

void G4ChargeState::SetChargesAndMoments ( G4double  charge,
G4double  magnetic_dipole_moment,
G4double  electric_dipole_moment,
G4double  magnetic_charge 
)
inline

Definition at line 188 of file G4ChargeState.hh.

References SetChargeDipoleMoments(), and SetMagneticCharge().

Referenced by G4FieldTrack::SetChargeAndMoments().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ChargeState::SetChargeSpin ( G4double  charge,
G4double  pdgSpin 
)
inline

Definition at line 171 of file G4ChargeState.hh.

References SetCharge(), and SetPDGSpin().

+ Here is the call graph for this function:

void G4ChargeState::SetChargeSpinMoments ( G4double  charge,
G4double  pdgSpin,
G4double  magnetic_dipole_moment = DBL_MAX,
G4double  electric_dipole_moment = DBL_MAX,
G4double  magnetic_charge = DBL_MAX 
)

Definition at line 38 of file G4ChargeState.cc.

References DBL_MAX, fCharge, fElec_dipole, fMagn_dipole, fMagneticCharge, and fSpin.

void G4ChargeState::SetElectricDipoleMoment ( G4double  moment)
inline

Definition at line 76 of file G4ChargeState.hh.

References fElec_dipole.

Referenced by SetChargeDipoleMoments().

+ Here is the caller graph for this function:

void G4ChargeState::SetMagneticCharge ( G4double  charge)
inline

Definition at line 79 of file G4ChargeState.hh.

References fMagneticCharge.

Referenced by SetChargesAndMoments().

+ Here is the caller graph for this function:

void G4ChargeState::SetMagneticDipoleMoment ( G4double  moment)
inline

Definition at line 73 of file G4ChargeState.hh.

References fMagn_dipole.

Referenced by SetChargeMdm().

+ Here is the caller graph for this function:

void G4ChargeState::SetPDGSpin ( G4double  spin)
inline

Definition at line 70 of file G4ChargeState.hh.

References fSpin.

Referenced by G4FieldTrack::G4FieldTrack(), SetChargeMdmSpin(), SetChargeSpin(), G4FieldTrack::SetPDGSpin(), and SetSpin().

+ Here is the caller graph for this function:

void G4ChargeState::SetSpin ( G4double  spin)
inline

Definition at line 108 of file G4ChargeState.hh.

References SetPDGSpin().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4ChargeState::fCharge
private
G4double G4ChargeState::fElec_dipole
private
G4double G4ChargeState::fMagn_dipole
private
G4double G4ChargeState::fMagneticCharge
private
G4double G4ChargeState::fSpin
private

The documentation for this class was generated from the following files: