#include <G4FieldTrack.hh>
|
| 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) |
|
| G4FieldTrack (const G4FieldTrack &pFieldTrack) |
|
| G4FieldTrack (char) |
|
| ~G4FieldTrack () |
|
void | UpdateState (const G4ThreeVector &pPosition, G4double LaboratoryTimeOfFlight, const G4ThreeVector &pMomentumDirection, G4double kineticEnergy) |
|
void | UpdateFourMomentum (G4double kineticEnergy, const G4ThreeVector &momentumDirection) |
|
void | SetChargeAndMoments (G4double charge, G4double magnetic_dipole_moment=DBL_MAX, G4double electric_dipole_moment=DBL_MAX, G4double magnetic_charge=DBL_MAX) |
|
void | SetPDGSpin (G4double pdgSpin) |
|
G4double | GetPDGSpin () |
|
| G4FieldTrack (const G4ThreeVector &pPosition, const G4ThreeVector &pMomentumDirection, G4double curve_length, G4double kineticEnergy, const G4double restMass_c2, G4double velocity, G4double LaboratoryTimeOfFlight=0.0, G4double ProperTimeOfFlight=0.0, const G4ThreeVector *pPolarization=0, G4double PDGspin=-1.0) |
|
G4FieldTrack & | operator= (const G4FieldTrack &rStVec) |
|
G4ThreeVector | GetMomentum () const |
|
G4ThreeVector | GetPosition () const |
|
const G4ThreeVector & | GetMomentumDir () const |
|
G4ThreeVector | GetMomentumDirection () const |
|
G4double | GetCurveLength () const |
|
G4ThreeVector | GetPolarization () const |
|
void | SetPolarization (const G4ThreeVector &vecPol) |
|
G4double | GetLabTimeOfFlight () const |
|
G4double | GetProperTimeOfFlight () const |
|
G4double | GetKineticEnergy () const |
|
G4double | GetCharge () const |
|
G4double | GetRestMass () const |
|
void | SetPosition (G4ThreeVector nPos) |
|
void | SetMomentum (G4ThreeVector nMomDir) |
|
void | SetMomentumDir (G4ThreeVector nMomDir) |
|
void | SetRestMass (G4double Mass_c2) |
|
void | SetCurveLength (G4double nCurve_s) |
|
void | SetKineticEnergy (G4double nEnergy) |
|
void | SetLabTimeOfFlight (G4double tofLab) |
|
void | SetProperTimeOfFlight (G4double tofProper) |
|
void | DumpToArray (G4double valArr[ncompSVEC]) const |
|
void | LoadFromArray (const G4double valArr[ncompSVEC], G4int noVarsIntegrated) |
|
void | InitialiseSpin (const G4ThreeVector &vecPolarization) |
|
G4ThreeVector | GetSpin () const |
|
void | SetSpin (G4ThreeVector vSpin) |
|
const G4ChargeState * | GetChargeState () const |
|
Definition at line 54 of file G4FieldTrack.hh.
◆ anonymous enum
◆ G4FieldTrack() [1/4]
Definition at line 72 of file G4FieldTrack.cc.
void SetPosition(G4ThreeVector nPos)
void SetPolarization(const G4ThreeVector &vecPol)
G4double fLabTimeOfFlight
void UpdateFourMomentum(G4double kineticEnergy, const G4ThreeVector &momentumDirection)
G4double fDistanceAlongCurve
G4double fProperTimeOfFlight
G4ChargeState fChargeState
◆ G4FieldTrack() [2/4]
G4FieldTrack::G4FieldTrack |
( |
const G4FieldTrack & |
pFieldTrack | ) |
|
◆ G4FieldTrack() [3/4]
G4FieldTrack::G4FieldTrack |
( |
char |
| ) |
|
Definition at line 128 of file G4FieldTrack.cc.
void SetPolarization(const G4ThreeVector &vecPol)
G4double fLabTimeOfFlight
G4double fProperTimeOfFlight
G4FieldTrack & SetCurvePnt(const G4ThreeVector &pPosition, const G4ThreeVector &pMomentum, G4double s_curve)
G4ChargeState fChargeState
◆ ~G4FieldTrack()
G4FieldTrack::~G4FieldTrack |
( |
| ) |
|
◆ G4FieldTrack() [4/4]
Definition at line 100 of file G4FieldTrack.cc.
124 if( pPolarization ) { PolarVec= *pPolarization; }
void SetPosition(G4ThreeVector nPos)
void SetPolarization(const G4ThreeVector &vecPol)
G4double fLabTimeOfFlight
void UpdateFourMomentum(G4double kineticEnergy, const G4ThreeVector &momentumDirection)
G4double fDistanceAlongCurve
G4double fProperTimeOfFlight
G4ChargeState fChargeState
void SetPDGSpin(G4double spin)
◆ DumpToArray()
void G4FieldTrack::DumpToArray |
( |
G4double |
valArr[ncompSVEC] | ) |
const |
|
inline |
◆ GetCharge()
G4double G4FieldTrack::GetCharge |
( |
| ) |
const |
|
inline |
◆ GetChargeState()
◆ GetCurveLength()
G4double G4FieldTrack::GetCurveLength |
( |
| ) |
const |
|
inline |
◆ GetKineticEnergy()
G4double G4FieldTrack::GetKineticEnergy |
( |
| ) |
const |
|
inline |
◆ GetLabTimeOfFlight()
G4double G4FieldTrack::GetLabTimeOfFlight |
( |
| ) |
const |
|
inline |
◆ GetMomentum()
◆ GetMomentumDir()
◆ GetMomentumDirection()
◆ GetPDGSpin()
Definition at line 94 of file G4FieldTrack.hh.
G4double GetPDGSpin() const
G4ChargeState fChargeState
◆ GetPolarization()
◆ GetPosition()
◆ GetProperTimeOfFlight()
G4double G4FieldTrack::GetProperTimeOfFlight |
( |
| ) |
const |
|
inline |
◆ GetRestMass()
G4double G4FieldTrack::GetRestMass |
( |
| ) |
const |
|
inline |
◆ GetSpin()
◆ InitialiseSpin()
void G4FieldTrack::InitialiseSpin |
( |
const G4ThreeVector & |
vecPolarization | ) |
|
|
inline |
Definition at line 159 of file G4FieldTrack.hh.
void SetPolarization(const G4ThreeVector &vecPol)
◆ LoadFromArray()
void G4FieldTrack::LoadFromArray |
( |
const G4double |
valArr[ncompSVEC], |
|
|
G4int |
noVarsIntegrated |
|
) |
| |
Definition at line 166 of file G4FieldTrack.cc.
173 for( i=0; i<noVarsIntegrated; i++){
174 valArr[i]= valArrIn[i];
176 for( i=noVarsIntegrated; i<
ncompSVEC; i++) {
189 G4double momentum_square= Momentum.mag2();
CLHEP::Hep3Vector G4ThreeVector
void SetPolarization(const G4ThreeVector &vecPol)
G4double fLabTimeOfFlight
G4ThreeVector fMomentumDir
G4double fProperTimeOfFlight
◆ operator=()
◆ SetChargeAndMoments()
Definition at line 140 of file G4FieldTrack.cc.
146 magnetic_dipole_moment,
147 electric_dipole_moment,
void SetChargesAndMoments(G4double charge, G4double magnetic_dipole_moment, G4double electric_dipole_moment, G4double magnetic_charge)
G4ChargeState fChargeState
◆ SetCurveLength()
void G4FieldTrack::SetCurveLength |
( |
G4double |
nCurve_s | ) |
|
|
inline |
◆ SetCurvePnt()
◆ SetKineticEnergy()
void G4FieldTrack::SetKineticEnergy |
( |
G4double |
nEnergy | ) |
|
|
inline |
◆ SetLabTimeOfFlight()
void G4FieldTrack::SetLabTimeOfFlight |
( |
G4double |
tofLab | ) |
|
|
inline |
◆ SetMomentum()
◆ SetMomentumDir()
◆ SetPDGSpin()
void G4FieldTrack::SetPDGSpin |
( |
G4double |
pdgSpin | ) |
|
|
inline |
Definition at line 93 of file G4FieldTrack.hh.
G4ChargeState fChargeState
void SetPDGSpin(G4double spin)
◆ SetPolarization()
void G4FieldTrack::SetPolarization |
( |
const G4ThreeVector & |
vecPol | ) |
|
|
inline |
◆ SetPosition()
◆ SetProperTimeOfFlight()
void G4FieldTrack::SetProperTimeOfFlight |
( |
G4double |
tofProper | ) |
|
|
inline |
◆ SetRestMass()
void G4FieldTrack::SetRestMass |
( |
G4double |
Mass_c2 | ) |
|
|
inline |
◆ SetSpin()
Definition at line 162 of file G4FieldTrack.hh.
void SetPolarization(const G4ThreeVector &vecPol)
◆ UpdateFourMomentum()
void G4FieldTrack::UpdateFourMomentum |
( |
G4double |
kineticEnergy, |
|
|
const G4ThreeVector & |
momentumDirection |
|
) |
| |
|
inline |
◆ UpdateState()
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4FieldTrack & |
SixVec |
|
) |
| |
|
friend |
Definition at line 33 of file G4FieldTrack.cc.
38 const int precLen= 12;
39 const int precSpin= 9;
40 const int precTime= 6;
41 const int oldpr= os.precision(precPos);
43 os <<
" X= " << SixV[0] <<
" " << SixV[1] <<
" " 46 os <<
" P= " << SixV[3] <<
" " << SixV[4] <<
" " 51 os.precision(precLen);
61 if( pol.
mag2() > 0.0 ){
62 os.precision(precSpin);
63 os <<
" PolV= " << pol;
65 os <<
" PolV= (0,0,0) ";
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector GetPolarization() const
G4double fLabTimeOfFlight
G4ThreeVector fMomentumDir
G4double fProperTimeOfFlight
G4double GetCurveLength() const
◆ fChargeState
◆ fDistanceAlongCurve
G4double G4FieldTrack::fDistanceAlongCurve |
|
private |
◆ fKineticEnergy
◆ fLabTimeOfFlight
◆ fMomentumDir
◆ fPolarization
◆ fProperTimeOfFlight
G4double G4FieldTrack::fProperTimeOfFlight |
|
private |
◆ fRestMass_c2
◆ SixVector
The documentation for this class was generated from the following files: