Geant4
10.01.p01
|
#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 &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 |
Private Member Functions | |
G4FieldTrack & | SetCurvePnt (const G4ThreeVector &pPosition, const G4ThreeVector &pMomentum, G4double s_curve) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4FieldTrack &SixVec) |
Definition at line 54 of file G4FieldTrack.hh.
anonymous enum |
Enumerator | |
---|---|
ncompSVEC |
Definition at line 149 of file G4FieldTrack.hh.
G4FieldTrack::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 |
||
) |
Definition at line 54 of file G4FieldTrack.cc.
References SetPolarization(), SetPosition(), and UpdateFourMomentum().
G4FieldTrack::G4FieldTrack | ( | const G4FieldTrack & | pFieldTrack | ) |
G4FieldTrack::G4FieldTrack | ( | char | ) |
Definition at line 110 of file G4FieldTrack.cc.
References SetCurvePnt(), and SetPolarization().
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 * | pPolarization = 0 , |
||
G4double | PDGspin = -1.0 |
||
) |
Definition at line 82 of file G4FieldTrack.cc.
References fChargeState, G4ChargeState::SetPDGSpin(), SetPolarization(), SetPosition(), and UpdateFourMomentum().
|
inline |
Referenced by G4MagInt_Driver::AccurateAdvance(), and G4MagInt_Driver::QuickAdvance().
|
inline |
|
inline |
Definition at line 185 of file G4FieldTrack.hh.
References fChargeState.
Referenced by G4PathFinder::DoNextCurvedStep().
|
inline |
Referenced by G4MagInt_Driver::AccurateAdvance(), G4ChordFinder::AdvanceChordLimited(), G4ChordFinder::ApproxCurvePointS(), G4ChordFinder::ApproxCurvePointV(), G4PropagatorInField::ComputeStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), operator<<(), G4MagInt_Driver::PrintStat_Aux(), G4VIntersectionLocator::printStatus(), G4PropagatorInField::printStatus(), G4MagInt_Driver::PrintStatus(), G4MagInt_Driver::QuickAdvance(), and G4VIntersectionLocator::ReEstimateEndpoint().
|
inline |
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), and G4MagInt_Driver::PrintStat_Aux().
|
inline |
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength().
|
inline |
Referenced by G4PathFinder::DoNextCurvedStep(), G4VIntersectionLocator::printStatus(), G4PropagatorInField::printStatus(), and G4FieldTrackUpdator::Update().
|
inline |
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4PropagatorInField::ComputeStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), G4MagInt_Driver::PrintStat_Aux(), G4VIntersectionLocator::printStatus(), G4PropagatorInField::printStatus(), and G4MagInt_Driver::PrintStatus().
|
inline |
Referenced by G4PathFinder::ComputeStep(), G4ITPathFinder::ComputeStep(), G4PathFinder::DoNextLinearStep(), G4ITPathFinder::DoNextLinearStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4SimpleLocator::EstimateIntersectionPoint().
|
inline |
Definition at line 94 of file G4FieldTrack.hh.
References fChargeState, and G4ChargeState::GetPDGSpin().
|
inline |
|
inline |
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4ChordFinder::ApproxCurvePointS(), G4ChordFinder::ApproxCurvePointV(), G4PathFinder::ComputeStep(), G4PropagatorInField::ComputeStep(), G4ITPathFinder::ComputeStep(), G4PathFinder::DoNextCurvedStep(), G4ITPathFinder::DoNextCurvedStep(), G4PathFinder::DoNextLinearStep(), G4ITPathFinder::DoNextLinearStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), G4ChordFinderSaf::FindNextChord(), G4PathFinder::Locate(), G4MagInt_Driver::PrintStat_Aux(), G4VIntersectionLocator::printStatus(), G4PropagatorInField::printStatus(), G4MagInt_Driver::PrintStatus(), G4MagInt_Driver::QuickAdvance(), G4VIntersectionLocator::ReEstimateEndpoint(), and G4PathFinder::ReLocate().
|
inline |
|
inline |
Definition at line 126 of file G4FieldTrack.hh.
References fRestMass_c2.
Referenced by G4PathFinder::DoNextCurvedStep().
|
inline |
Definition at line 161 of file G4FieldTrack.hh.
References GetPolarization().
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), and G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength().
|
inline |
Definition at line 159 of file G4FieldTrack.hh.
References SetPolarization().
Definition at line 148 of file G4FieldTrack.cc.
References fKineticEnergy, fLabTimeOfFlight, fMomentumDir, fProperTimeOfFlight, fRestMass_c2, ncompSVEC, SetPolarization(), and SixVector.
Referenced by G4MagInt_Driver::AccurateAdvance(), G4MagInt_Driver::PrintStatus(), and G4MagInt_Driver::QuickAdvance().
|
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 122 of file G4FieldTrack.cc.
References fChargeState, and G4ChargeState::SetChargesAndMoments().
Referenced by G4FieldTrackUpdator::Update().
|
inline |
Referenced by G4MagInt_Driver::AccurateAdvance(), G4MagInt_Driver::PrintStatus(), and G4MagInt_Driver::QuickAdvance().
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 93 of file G4FieldTrack.hh.
References fChargeState, and G4ChargeState::SetPDGSpin().
Referenced by G4FieldTrackUpdator::Update().
|
inline |
Referenced by G4FieldTrack(), InitialiseSpin(), LoadFromArray(), and SetSpin().
|
inline |
Referenced by G4PathFinder::DoNextLinearStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), and G4FieldTrack().
|
inline |
Referenced by G4PathFinder::DoNextLinearStep(), and G4FieldTrackUpdator::Update().
|
inline |
Definition at line 136 of file G4FieldTrack.hh.
References fRestMass_c2.
Referenced by G4FieldTrackUpdator::Update().
|
inline |
Definition at line 162 of file G4FieldTrack.hh.
References SetPolarization().
Referenced by G4FieldTrackUpdator::Update().
|
inline |
|
inline |
|
friend |
Definition at line 33 of file G4FieldTrack.cc.
|
private |
Definition at line 181 of file G4FieldTrack.hh.
Referenced by G4FieldTrack(), GetChargeState(), GetPDGSpin(), SetChargeAndMoments(), and SetPDGSpin().
|
private |
Definition at line 171 of file G4FieldTrack.hh.
|
private |
Definition at line 172 of file G4FieldTrack.hh.
Referenced by LoadFromArray(), and operator<<().
|
private |
Definition at line 174 of file G4FieldTrack.hh.
Referenced by LoadFromArray(), and operator<<().
|
private |
Definition at line 177 of file G4FieldTrack.hh.
Referenced by LoadFromArray(), and operator<<().
|
private |
Definition at line 176 of file G4FieldTrack.hh.
|
private |
Definition at line 175 of file G4FieldTrack.hh.
Referenced by LoadFromArray(), and operator<<().
|
private |
Definition at line 173 of file G4FieldTrack.hh.
Referenced by GetRestMass(), LoadFromArray(), operator<<(), and SetRestMass().
|
private |
Definition at line 170 of file G4FieldTrack.hh.
Referenced by LoadFromArray(), and operator<<().