CbmRoot
|
Storage for field approximation along Z. More...
#include <LitFieldRegion.h>
Public Member Functions | |
void | Set (const LitFieldValue< T > &B0, const T B0z, const LitFieldValue< T > &B1, const T B1z, const LitFieldValue< T > &B2, const T B2z) |
Sets field region using three field values. | |
void | Set (const LitFieldValue< T > &B0, const T B0z, const LitFieldValue< T > &B1, const T B1z) |
Sets field region using two field values. | |
void | Shift (T z) |
void | GetFieldValue (const T &z, LitFieldValue< T > &B) const |
Returns field value at a certain Z position. | |
Private Attributes | |
T | cx0 |
T | cx1 |
T | cx2 |
T | cy0 |
T | cy1 |
T | cy2 |
T | cz0 |
T | cz1 |
T | cz2 |
T | z0 |
Storage for field approximation along Z.
Field is approximated along Z coordinate using straight line or parabola.
Definition at line 32 of file LitFieldRegion.h.
|
inline |
Returns field value at a certain Z position.
[in] | z | Z position of the field value. |
[out] | B | Field value. |
Definition at line 123 of file LitFieldRegion.h.
References lit::parallel::LitFieldValue< T >::Bx, lit::parallel::LitFieldValue< T >::By, lit::parallel::LitFieldValue< T >::Bz, lit::parallel::LitFieldRegion< T >::cx0, lit::parallel::LitFieldRegion< T >::cx1, lit::parallel::LitFieldRegion< T >::cx2, lit::parallel::LitFieldRegion< T >::cy0, lit::parallel::LitFieldRegion< T >::cy1, lit::parallel::LitFieldRegion< T >::cy2, lit::parallel::LitFieldRegion< T >::cz0, lit::parallel::LitFieldRegion< T >::cz1, lit::parallel::LitFieldRegion< T >::cz2, and lit::parallel::LitFieldRegion< T >::z0.
Referenced by lit::parallel::LitRK4Extrapolation().
|
inline |
Sets field region using two field values.
In this case straight line approximation is used.
[in] | B0 | First field value. |
[in] | B0z | Z position of the first field value. |
[in] | B1 | Second field value. |
[in] | B1z | Z position of the second field value. |
Definition at line 86 of file LitFieldRegion.h.
References lit::parallel::LitFieldValue< T >::Bx, lit::parallel::LitFieldValue< T >::By, lit::parallel::LitFieldValue< T >::Bz, lit::parallel::LitFieldRegion< T >::cx0, lit::parallel::LitFieldRegion< T >::cx1, lit::parallel::LitFieldRegion< T >::cx2, lit::parallel::LitFieldRegion< T >::cy0, lit::parallel::LitFieldRegion< T >::cy1, lit::parallel::LitFieldRegion< T >::cy2, lit::parallel::LitFieldRegion< T >::cz0, lit::parallel::LitFieldRegion< T >::cz1, lit::parallel::LitFieldRegion< T >::cz2, lit::parallel::rcp(), and lit::parallel::LitFieldRegion< T >::z0.
|
inline |
Sets field region using three field values.
In this case parabolic approximation is used.
[in] | B0 | First field value. |
[in] | B0z | Z position of the first field value. |
[in] | B1 | Second field value. |
[in] | B1z | Z position of the second field value. |
[in] | B2 | Third field value. |
[in] | B2z | Z position of the third field value. |
Definition at line 46 of file LitFieldRegion.h.
References lit::parallel::LitFieldValue< T >::Bx, lit::parallel::LitFieldValue< T >::By, lit::parallel::LitFieldValue< T >::Bz, lit::parallel::LitFieldRegion< T >::cx0, lit::parallel::LitFieldRegion< T >::cx1, lit::parallel::LitFieldRegion< T >::cx2, lit::parallel::LitFieldRegion< T >::cy0, lit::parallel::LitFieldRegion< T >::cy1, lit::parallel::LitFieldRegion< T >::cy2, lit::parallel::LitFieldRegion< T >::cz0, lit::parallel::LitFieldRegion< T >::cz1, lit::parallel::LitFieldRegion< T >::cz2, lit::parallel::rcp(), and lit::parallel::LitFieldRegion< T >::z0.
Referenced by lit::parallel::LitStationGroupMuon< T >::GetFieldRegion(), and lit::parallel::LitTrackFitterMuon().
|
inline |
Definition at line 102 of file LitFieldRegion.h.
References lit::parallel::LitFieldRegion< T >::cx0, lit::parallel::LitFieldRegion< T >::cx1, lit::parallel::LitFieldRegion< T >::cx2, lit::parallel::LitFieldRegion< T >::cy0, lit::parallel::LitFieldRegion< T >::cy1, lit::parallel::LitFieldRegion< T >::cy2, lit::parallel::LitFieldRegion< T >::cz0, lit::parallel::LitFieldRegion< T >::cz1, lit::parallel::LitFieldRegion< T >::cz2, and lit::parallel::LitFieldRegion< T >::z0.
|
private |
Definition at line 133 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 133 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 133 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 134 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 134 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 134 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 135 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 135 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 135 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().
|
private |
Definition at line 136 of file LitFieldRegion.h.
Referenced by lit::parallel::LitFieldRegion< T >::GetFieldValue(), lit::parallel::LitFieldRegion< T >::Set(), lit::parallel::LitFieldRegion< T >::Set(), and lit::parallel::LitFieldRegion< T >::Shift().