Geant4  10.00.p01
G4FieldTrack Class Reference

#include <G4FieldTrack.hh>

+ Collaboration diagram for G4FieldTrack:

Public Types

enum  { ncompSVEC = 12 }
 

Public Member Functions

 G4FieldTrack (const G4ThreeVector &pPosition, G4double LaboratoryTimeOfFlight, const G4ThreeVector &pMomentumDirection, G4double kineticEnergy, G4double restMass_c2, G4double charge, const G4ThreeVector &pSpin, G4double magnetic_dipole_moment=0.0, G4double curve_length=0.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)
 
 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 *pSpin=0)
 
G4FieldTrackoperator= (const G4FieldTrack &rStVec)
 
G4ThreeVector GetMomentum () const
 
G4ThreeVector GetPosition () const
 
const G4ThreeVectorGetMomentumDir () const
 
G4ThreeVector GetMomentumDirection () const
 
G4double GetCurveLength () const
 
G4ThreeVector GetSpin () const
 
G4double GetLabTimeOfFlight () const
 
G4double GetProperTimeOfFlight () const
 
G4double GetKineticEnergy () const
 
G4double GetCharge () 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 SetSpin (G4ThreeVector nSpin)
 
void SetLabTimeOfFlight (G4double nTOF)
 
void SetProperTimeOfFlight (G4double nTOF)
 
void InitialiseSpin (const G4ThreeVector &Spin)
 
void DumpToArray (G4double valArr[ncompSVEC]) const
 
void LoadFromArray (const G4double valArr[ncompSVEC], G4int noVarsIntegrated)
 
const G4ChargeStateGetChargeState () const
 

Private Member Functions

G4FieldTrackSetCurvePnt (const G4ThreeVector &pPosition, const G4ThreeVector &pMomentum, G4double s_curve)
 

Private Attributes

G4double SixVector [6]
 
G4double fDistanceAlongCurve
 
G4double fKineticEnergy
 
G4double fRestMass_c2
 
G4double fLabTimeOfFlight
 
G4double fProperTimeOfFlight
 
G4ThreeVector fSpin
 
G4ThreeVector fMomentumDir
 
G4ChargeState fChargeState
 

Friends

std::ostream & operator<< (std::ostream &os, const G4FieldTrack &SixVec)
 

Detailed Description

Definition at line 54 of file G4FieldTrack.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
ncompSVEC 

Definition at line 144 of file G4FieldTrack.hh.

Constructor & Destructor Documentation

G4FieldTrack::G4FieldTrack ( const G4ThreeVector pPosition,
G4double  LaboratoryTimeOfFlight,
const G4ThreeVector pMomentumDirection,
G4double  kineticEnergy,
G4double  restMass_c2,
G4double  charge,
const G4ThreeVector pSpin,
G4double  magnetic_dipole_moment = 0.0,
G4double  curve_length = 0.0 
)

Definition at line 49 of file G4FieldTrack.cc.

References InitialiseSpin(), SetPosition(), and UpdateFourMomentum().

+ Here is the call graph for this function:

G4FieldTrack::G4FieldTrack ( const G4FieldTrack pFieldTrack)
G4FieldTrack::G4FieldTrack ( char  )

Definition at line 101 of file G4FieldTrack.cc.

References InitialiseSpin(), and SetCurvePnt().

+ Here is the call graph for this function:

G4FieldTrack::~G4FieldTrack ( )
G4FieldTrack::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 pSpin = 0 
)

Definition at line 74 of file G4FieldTrack.cc.

References InitialiseSpin(), SetPosition(), and UpdateFourMomentum().

+ Here is the call graph for this function:

Member Function Documentation

void G4FieldTrack::DumpToArray ( G4double  valArr[ncompSVEC]) const
inline

Referenced by G4MagInt_Driver::AccurateAdvance(), and G4MagInt_Driver::QuickAdvance().

+ Here is the caller graph for this function:

G4double G4FieldTrack::GetCharge ( ) const
inline

Referenced by G4PathFinder::ComputeStep().

+ Here is the caller graph for this function:

const G4ChargeState* G4FieldTrack::GetChargeState ( ) const
inline

Definition at line 174 of file G4FieldTrack.hh.

References fChargeState.

G4double G4FieldTrack::GetKineticEnergy ( ) const
inline

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), and G4MagInt_Driver::PrintStat_Aux().

+ Here is the caller graph for this function:

G4double G4FieldTrack::GetLabTimeOfFlight ( ) const
inline

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

G4ThreeVector G4FieldTrack::GetMomentum ( ) const
inline

Referenced by G4VIntersectionLocator::printStatus(), and G4PropagatorInField::printStatus().

+ Here is the caller graph for this function:

G4ThreeVector G4FieldTrack::GetMomentumDirection ( ) const
inline

Referenced by G4PathFinder::ComputeStep(), G4PathFinder::DoNextLinearStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4SimpleLocator::EstimateIntersectionPoint().

+ Here is the caller graph for this function:

G4double G4FieldTrack::GetProperTimeOfFlight ( ) const
inline
G4ThreeVector G4FieldTrack::GetSpin ( ) const
inline

Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

void G4FieldTrack::InitialiseSpin ( const G4ThreeVector Spin)
inline

Referenced by G4FieldTrack().

+ Here is the caller graph for this function:

void G4FieldTrack::LoadFromArray ( const G4double  valArr[ncompSVEC],
G4int  noVarsIntegrated 
)
inline

Referenced by G4MagInt_Driver::AccurateAdvance(), G4MagInt_Driver::PrintStatus(), and G4MagInt_Driver::QuickAdvance().

+ Here is the caller graph for this function:

G4FieldTrack& G4FieldTrack::operator= ( const G4FieldTrack rStVec)
inline
void G4FieldTrack::SetChargeAndMoments ( G4double  charge,
G4double  magnetic_dipole_moment = DBL_MAX,
G4double  electric_dipole_moment = DBL_MAX,
G4double  magnetic_charge = DBL_MAX 
)

Definition at line 113 of file G4FieldTrack.cc.

References fChargeState, and G4ChargeState::SetChargeAndMoments().

Referenced by G4FieldTrackUpdator::Update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4FieldTrack::SetCurveLength ( G4double  nCurve_s)
inline

Referenced by G4MagInt_Driver::AccurateAdvance(), G4MagInt_Driver::PrintStatus(), and G4MagInt_Driver::QuickAdvance().

+ Here is the caller graph for this function:

G4FieldTrack& G4FieldTrack::SetCurvePnt ( const G4ThreeVector pPosition,
const G4ThreeVector pMomentum,
G4double  s_curve 
)
inlineprivate

Referenced by G4FieldTrack().

+ Here is the caller graph for this function:

void G4FieldTrack::SetKineticEnergy ( G4double  nEnergy)
inline
void G4FieldTrack::SetLabTimeOfFlight ( G4double  nTOF)
inline
void G4FieldTrack::SetMomentum ( G4ThreeVector  nMomDir)
inline
void G4FieldTrack::SetMomentumDir ( G4ThreeVector  nMomDir)
inline
void G4FieldTrack::SetPosition ( G4ThreeVector  nPos)
inline

Referenced by G4PathFinder::DoNextLinearStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), and G4FieldTrack().

+ Here is the caller graph for this function:

void G4FieldTrack::SetProperTimeOfFlight ( G4double  nTOF)
inline

Referenced by G4PathFinder::DoNextLinearStep().

+ Here is the caller graph for this function:

void G4FieldTrack::SetRestMass ( G4double  Mass_c2)
inline

Definition at line 128 of file G4FieldTrack.hh.

References fRestMass_c2.

Referenced by G4FieldTrackUpdator::Update().

+ Here is the caller graph for this function:

void G4FieldTrack::SetSpin ( G4ThreeVector  nSpin)
inline

Referenced by G4FieldTrackUpdator::Update().

+ Here is the caller graph for this function:

void G4FieldTrack::UpdateFourMomentum ( G4double  kineticEnergy,
const G4ThreeVector momentumDirection 
)
inline

Referenced by G4FieldTrack().

+ Here is the caller graph for this function:

void G4FieldTrack::UpdateState ( const G4ThreeVector pPosition,
G4double  LaboratoryTimeOfFlight,
const G4ThreeVector pMomentumDirection,
G4double  kineticEnergy 
)
inline

Referenced by G4FieldTrackUpdator::Update().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4FieldTrack SixVec 
)
friend

Definition at line 33 of file G4FieldTrack.cc.

Member Data Documentation

G4ChargeState G4FieldTrack::fChargeState
private

Definition at line 170 of file G4FieldTrack.hh.

Referenced by GetChargeState(), and SetChargeAndMoments().

G4double G4FieldTrack::fDistanceAlongCurve
private

Definition at line 160 of file G4FieldTrack.hh.

G4double G4FieldTrack::fKineticEnergy
private

Definition at line 161 of file G4FieldTrack.hh.

G4double G4FieldTrack::fLabTimeOfFlight
private

Definition at line 163 of file G4FieldTrack.hh.

G4ThreeVector G4FieldTrack::fMomentumDir
private

Definition at line 166 of file G4FieldTrack.hh.

Referenced by operator<<().

G4double G4FieldTrack::fProperTimeOfFlight
private

Definition at line 164 of file G4FieldTrack.hh.

G4double G4FieldTrack::fRestMass_c2
private

Definition at line 162 of file G4FieldTrack.hh.

Referenced by SetRestMass().

G4ThreeVector G4FieldTrack::fSpin
private

Definition at line 165 of file G4FieldTrack.hh.

G4double G4FieldTrack::SixVector[6]
private

Definition at line 159 of file G4FieldTrack.hh.

Referenced by operator<<().


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