Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Friends | List of all members
G4FieldTrack Class Reference

#include <G4FieldTrack.hh>

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 G4ChargeState * GetChargeState () const
 

Friends

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

Detailed Description

Definition at line 53 of file G4FieldTrack.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
ncompSVEC 

Definition at line 143 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.

Here is the call graph for this function:

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

Definition at line 101 of file G4FieldTrack.cc.

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.

Here is the call graph for this function:

Member Function Documentation

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

Here is the caller graph for this function:

G4double G4FieldTrack::GetCharge ( ) const
inline

Here is the caller graph for this function:

const G4ChargeState* G4FieldTrack::GetChargeState ( ) const
inline

Definition at line 209 of file G4FieldTrack.hh.

G4double G4FieldTrack::GetCurveLength ( ) const
inline

Here is the caller graph for this function:

G4double G4FieldTrack::GetKineticEnergy ( ) const
inline

Here is the caller graph for this function:

G4double G4FieldTrack::GetLabTimeOfFlight ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4FieldTrack::GetMomentum ( ) const
inline

Here is the caller graph for this function:

const G4ThreeVector& G4FieldTrack::GetMomentumDir ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4FieldTrack::GetMomentumDirection ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4FieldTrack::GetPosition ( ) const
inline

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void G4FieldTrack::InitialiseSpin ( const G4ThreeVector Spin)
inline

Here is the caller graph for this function:

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

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.

Here is the caller graph for this function:

void G4FieldTrack::SetCurveLength ( G4double  nCurve_s)
inline

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

Here is the caller graph for this function:

void G4FieldTrack::SetProperTimeOfFlight ( G4double  nTOF)
inline

Here is the caller graph for this function:

void G4FieldTrack::SetRestMass ( G4double  Mass_c2)
inline

Definition at line 127 of file G4FieldTrack.hh.

Here is the caller graph for this function:

void G4FieldTrack::SetSpin ( G4ThreeVector  nSpin)
inline

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

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.


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