#include <SpacePoint.h>
|
static constexpr std::size_t | covIndex (unsigned int i, unsigned int j) |
| Returns the internal index of correlation structure for coordinates i and j . More...
|
|
Definition at line 23 of file SpacePoint.h.
SpacePoint::SpacePoint |
( |
| ) |
|
Definition at line 17 of file SpacePoint.cxx.
ID_t fID
Default constructor.
Double32_t fXYZ[3]
position of SpacePoint in xyz
Double32_t fChisq
Chisquare.
Double32_t fErrXYZ[6]
Error matrix (lower triangular).
SpacePoint::SpacePoint |
( |
Double32_t const * |
xyz, |
|
|
Double32_t const * |
err, |
|
|
Double32_t |
chisq, |
|
|
int |
id = InvalidID |
|
) |
| |
Definition at line 26 of file SpacePoint.cxx.
33 for(
int i = 0; i < 3; ++i)
fXYZ[i] = xyz[i];
34 for(
int i = 0; i < 6; ++i)
fErrXYZ[i] =
err[i];
ID_t fID
Default constructor.
Double32_t fXYZ[3]
position of SpacePoint in xyz
Double32_t fChisq
Chisquare.
void err(const char *fmt,...)
Double32_t fErrXYZ[6]
Error matrix (lower triangular).
Double32_t SpacePoint::Chisq |
( |
| ) |
const |
|
inline |
Definition at line 78 of file SpacePoint.h.
Double32_t fChisq
Chisquare.
double SpacePoint::covariance |
( |
unsigned int |
i, |
|
|
unsigned int |
j |
|
) |
| const |
Returns the error matrix element for two position coordinates (0
for x, 1
for y and 2
for z)
Definition at line 38 of file SpacePoint.cxx.
static constexpr std::size_t covIndex(unsigned int i, unsigned int j)
Returns the internal index of correlation structure for coordinates i and j.
Double32_t fErrXYZ[6]
Error matrix (lower triangular).
constexpr std::size_t SpacePoint::covIndex |
( |
unsigned int |
i, |
|
|
unsigned int |
j |
|
) |
| |
|
static |
Returns the internal index of correlation structure for coordinates i
and j
.
Definition at line 46 of file SpacePoint.cxx.
48 constexpr std::size_t offsets[3U] = { 0U, 1U, 3U };
51 return offsets[i] + j;
void swap(Handle< T > &a, Handle< T > &b)
const Double32_t * SpacePoint::ErrXYZ |
( |
| ) |
const |
|
inline |
Definition at line 77 of file SpacePoint.h.
Double32_t fErrXYZ[6]
Error matrix (lower triangular).
Definition at line 75 of file SpacePoint.h.
ID_t fID
Default constructor.
Returns the position of the point in world coordinates [cm].
Definition at line 80 of file SpacePoint.h.
Double32_t fXYZ[3]
position of SpacePoint in xyz
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
const Double32_t * SpacePoint::XYZ |
( |
| ) |
const |
|
inline |
Definition at line 76 of file SpacePoint.h.
Double32_t fXYZ[3]
position of SpacePoint in xyz
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const SpacePoint & |
a |
|
) |
| |
|
friend |
Definition at line 58 of file SpacePoint.cxx.
Q_EXPORT QTSManip setprecision(int p)
Q_EXPORT QTSManip setw(int w)
Double32_t recob::SpacePoint::fChisq |
|
private |
Double32_t recob::SpacePoint::fErrXYZ[6] |
|
private |
Error matrix (lower triangular).
Definition at line 37 of file SpacePoint.h.
ID_t recob::SpacePoint::fID |
|
private |
Double32_t recob::SpacePoint::fXYZ[3] |
|
private |
Special value for an invalid ID.
Definition at line 29 of file SpacePoint.h.
The documentation for this class was generated from the following files: