37 os <<
" X= " << SixV[0] <<
" " << SixV[1] <<
" "
39 os <<
" P= " << SixV[3] <<
" " << SixV[4] <<
" "
64 : fDistanceAlongCurve(curve_length),
65 fKineticEnergy(kineticEnergy),
66 fRestMass_c2(restMass_c2),
67 fLabTimeOfFlight(LaboratoryTimeOfFlight),
68 fProperTimeOfFlight(0.),
70 fChargeState( charge, magnetic_dipole_moment, pdgSpin )
92 : fDistanceAlongCurve(curve_length),
93 fKineticEnergy(kineticEnergy),
94 fRestMass_c2(restMass_c2),
95 fLabTimeOfFlight(pLaboratoryTimeOfFlight),
96 fProperTimeOfFlight(pProperTimeOfFlight),
106 if( pPolarization ) { PolarVec= *pPolarization; }
111 : fKineticEnergy(0.), fRestMass_c2(0.), fLabTimeOfFlight(0.),
128 magnetic_dipole_moment,
129 electric_dipole_moment,
149 G4int noVarsIntegrated)
155 for( i=0; i<noVarsIntegrated; i++){
156 valArr[i]= valArrIn[i];
158 for( i=noVarsIntegrated; i<
ncompSVEC; i++) {
171 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)
G4ThreeVector GetPolarization() const
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)