37 os <<
" X= " << SixV[0] <<
" " << SixV[1] <<
" "
39 os <<
" P= " << SixV[3] <<
" " << SixV[4] <<
" "
63 : fDistanceAlongCurve(curve_length),
64 fKineticEnergy(kineticEnergy),
65 fRestMass_c2(restMass_c2),
66 fLabTimeOfFlight(LaboratoryTimeOfFlight),
67 fProperTimeOfFlight(0.),
69 fChargeState( charge, magnetic_dipole_moment, pdgSpin )
91 : fDistanceAlongCurve(curve_length),
92 fKineticEnergy(kineticEnergy),
93 fRestMass_c2(restMass_c2),
94 fLabTimeOfFlight(pLaboratoryTimeOfFlight),
95 fProperTimeOfFlight(pProperTimeOfFlight),
105 if( pPolarization ) { PolarVec= *pPolarization; }
110 : fKineticEnergy(0.), fRestMass_c2(0.), fLabTimeOfFlight(0.),
127 magnetic_dipole_moment,
128 electric_dipole_moment,
148 G4int noVarsIntegrated)
154 for( i=0; i<noVarsIntegrated; i++){
155 valArr[i]= valArrIn[i];
157 for( i=noVarsIntegrated; i<
ncompSVEC; i++) {
170 G4double momentum_square= Momentum.mag2();
void SetPosition(G4ThreeVector nPos)
G4double GetCurveLength() const
CLHEP::Hep3Vector G4ThreeVector
void SetPolarization(const G4ThreeVector &vecPol)
G4double fLabTimeOfFlight
void UpdateFourMomentum(G4double kineticEnergy, const G4ThreeVector &momentumDirection)
void SetChargesAndMoments(G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment, G4double magnetic_charge)
G4FieldTrack(const G4ThreeVector &pPosition, G4double LaboratoryTimeOfFlight, const G4ThreeVector &pMomentumDirection, G4double kineticEnergy, G4double restMass_c2, G4double charge, const G4ThreeVector &polarization, G4double magnetic_dipole_moment=0.0, G4double curve_length=0.0, G4double PDGspin=-1.0)
G4ThreeVector fMomentumDir
std::ostream & operator<<(std::ostream &os, const G4FieldTrack &SixVec)
void LoadFromArray(const G4double valArr[ncompSVEC], G4int noVarsIntegrated)
G4double fProperTimeOfFlight
void SetChargeAndMoments(G4double charge, G4double magnetic_dipole_moment=DBL_MAX, G4double electric_dipole_moment=DBL_MAX, G4double magnetic_charge=DBL_MAX)
G4FieldTrack & SetCurvePnt(const G4ThreeVector &pPosition, const G4ThreeVector &pMomentum, G4double s_curve)
G4ChargeState fChargeState
void SetPDGSpin(G4double spin)