CbmRoot
|
#include <CbmLitRK4TrackExtrapolator.h>
Public Member Functions | |
CbmLitRK4TrackExtrapolator (std::shared_ptr< CbmLitField > field) | |
virtual | ~CbmLitRK4TrackExtrapolator () |
virtual LitStatus | Extrapolate (const CbmLitTrackParam *parIn, CbmLitTrackParam *parOut, litfloat zOut, std::vector< litfloat > *F) |
Track parameters extrapolation with calculation of transport matrix. | |
virtual LitStatus | Extrapolate (CbmLitTrackParam *par, litfloat zOut, std::vector< litfloat > *F) |
Protected Member Functions | |
void | RK4Order (const std::vector< litfloat > &xIn, litfloat zIn, std::vector< litfloat > &xOut, litfloat zOut, std::vector< litfloat > &derivs) const |
litfloat | CalcOut (litfloat in, const litfloat k[4]) const |
void | TransportC (const std::vector< litfloat > &cIn, const std::vector< litfloat > &F, std::vector< litfloat > &cOut) const |
Private Attributes | |
std::shared_ptr< CbmLitField > | fField |
Definition at line 27 of file CbmLitRK4TrackExtrapolator.h.
CbmLitRK4TrackExtrapolator::CbmLitRK4TrackExtrapolator | ( | std::shared_ptr< CbmLitField > | field | ) |
CbmLitRK4TrackExtrapolator.cxx
Definition at line 17 of file CbmLitRK4TrackExtrapolator.cxx.
|
virtual |
Definition at line 19 of file CbmLitRK4TrackExtrapolator.cxx.
Definition at line 234 of file CbmLitRK4TrackExtrapolator.cxx.
Referenced by RK4Order().
|
virtual |
brief Track parameters extrapolation with calculation of transport matrix.
[in,out] | par | Pointer to initial and output track parameters. |
[in] | zOut | Z position to extrapolate to [cm]. |
[out] | F | Output transport matrix. If F == NULL than transport matrix is not calculated. |
Implements CbmLitTrackExtrapolator.
Definition at line 28 of file CbmLitRK4TrackExtrapolator.cxx.
References CbmLitTrackParam::GetCovMatrix(), CbmLitTrackParam::GetStateVector(), CbmLitTrackParam::GetZ(), kLITSUCCESS, RK4Order(), CbmLitTrackParam::SetCovMatrix(), CbmLitTrackParam::SetStateVector(), CbmLitTrackParam::SetZ(), and TransportC().
|
virtual |
Track parameters extrapolation with calculation of transport matrix.
[in] | parIn | Pointer to initial track parameters. |
[out] | parOut | Pointer to output track parameters. |
[in] | zOut | Z position to extrapolate to [cm]. |
[out] | F | Output transport matrix. If F == NULL than transport matrix is not calculated. |
Implements CbmLitTrackExtrapolator.
Definition at line 21 of file CbmLitRK4TrackExtrapolator.cxx.
References Extrapolate().
Referenced by Extrapolate().
|
protected |
Definition at line 53 of file CbmLitRK4TrackExtrapolator.cxx.
References CalcOut(), fField, CbmLitTrackParam::fSpeedOfLight, and x.
Referenced by Extrapolate().
|
protected |
Definition at line 261 of file CbmLitRK4TrackExtrapolator.cxx.
References MultiplyMatrices(), and TransposeMatrix().
Referenced by Extrapolate().
|
private |
Definition at line 68 of file CbmLitRK4TrackExtrapolator.h.
Referenced by RK4Order().