48#ifndef G4FieldTrack_HH
49#define G4FieldTrack_HH
64 G4double magnetic_dipole_moment= 0.0,
148 G4int noVarsIntegrated);
174 inline G4ChargeState(
G4double charge,
175 G4double magnetic_dipole_moment= 0.0,
176 G4double electric_dipole_moment= 0.0,
178 inline G4ChargeState(
const G4ChargeState& right );
179 inline G4ChargeState& operator = (
const G4ChargeState& right );
181 inline void SetCharge(
G4double charge){ fCharge= charge; }
186 void SetChargeAndMoments(
G4double charge,
192 G4double GetCharge()
const {
return fCharge; }
193 G4double GetMagneticDipoleMoment()
const {
return fMagn_dipole; }
194 G4double ElectricDipoleMoment()
const {
return fElec_dipole; }
195 G4double MagneticCharge()
const {
return fMagneticCharge; }
205 G4ChargeState fChargeState;
212#include "G4FieldTrack.icc"
const G4ThreeVector & GetMomentumDir() const
void SetMomentum(G4ThreeVector nMomDir)
G4FieldTrack(const G4FieldTrack &pFieldTrack)
void UpdateFourMomentum(G4double kineticEnergy, const G4ThreeVector &momentumDirection)
void InitialiseSpin(const G4ThreeVector &Spin)
G4FieldTrack & operator=(const G4FieldTrack &rStVec)
void SetMomentumDir(G4ThreeVector nMomDir)
const G4ChargeState * GetChargeState() const
G4double GetCurveLength() const
G4ThreeVector GetMomentumDirection() const
G4double GetProperTimeOfFlight() const
G4double GetCharge() const
void SetProperTimeOfFlight(G4double nTOF)
void SetCurveLength(G4double nCurve_s)
void SetSpin(G4ThreeVector nSpin)
void SetChargeAndMoments(G4double charge, G4double magnetic_dipole_moment=DBL_MAX, G4double electric_dipole_moment=DBL_MAX, G4double magnetic_charge=DBL_MAX)
G4double GetKineticEnergy() const
G4ThreeVector GetPosition() const
void SetPosition(G4ThreeVector nPos)
void SetLabTimeOfFlight(G4double nTOF)
G4ThreeVector GetSpin() const
void UpdateState(const G4ThreeVector &pPosition, G4double LaboratoryTimeOfFlight, const G4ThreeVector &pMomentumDirection, G4double kineticEnergy)
void DumpToArray(G4double valArr[ncompSVEC]) const
void SetRestMass(G4double Mass_c2)
G4double GetLabTimeOfFlight() const
void LoadFromArray(const G4double valArr[ncompSVEC], G4int noVarsIntegrated)
void SetKineticEnergy(G4double nEnergy)
friend std::ostream & operator<<(std::ostream &os, const G4FieldTrack &SixVec)
G4ThreeVector GetMomentum() const