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. More... | |
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 24 of file CbmLitRK4TrackExtrapolator.h.
CbmLitRK4TrackExtrapolator::CbmLitRK4TrackExtrapolator | ( | std::shared_ptr< CbmLitField > | field | ) |
CbmLitRK4TrackExtrapolator.cxx
Definition at line 13 of file CbmLitRK4TrackExtrapolator.cxx.
|
virtual |
Definition at line 17 of file CbmLitRK4TrackExtrapolator.cxx.
Definition at line 235 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 27 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 19 of file CbmLitRK4TrackExtrapolator.cxx.
|
protected |
Definition at line 51 of file CbmLitRK4TrackExtrapolator.cxx.
References CalcOut(), fField, CbmLitTrackParam::fSpeedOfLight, i, sqrt(), and x.
Referenced by Extrapolate().
|
protected |
Definition at line 262 of file CbmLitRK4TrackExtrapolator.cxx.
References i, MultiplyMatrices(), and TransposeMatrix().
Referenced by Extrapolate().
|
private |
Definition at line 73 of file CbmLitRK4TrackExtrapolator.h.
Referenced by RK4Order().