Go to the documentation of this file.
3 #ifndef EICD_CovDiagXYZ_H
4 #define EICD_CovDiagXYZ_H
18 CovDiagXYZ(
double x,
double y,
double z) :
xx{
static_cast<float>(x)},
yy{
static_cast<float>(y)},
zz{
static_cast<float>(z)} {}
19 float operator()(
unsigned i,
unsigned j)
const {
return (i == j) ? *(&
xx + i) : 0.;}
std::ostream & operator<<(std::ostream &o, const ConstBasicParticle &value)
Definition: BasicParticle.cc:102
Definition: CovDiagXYZ.h:11
Definition: BasicParticle.cc:13
float operator()(unsigned i, unsigned j) const
Definition: CovDiagXYZ.h:19
CovDiagXYZ(double x, double y, double z)
Definition: CovDiagXYZ.h:18
float yy
Definition: CovDiagXYZ.h:14
CovDiagXYZ()
Definition: CovDiagXYZ.h:17
float zz
Definition: CovDiagXYZ.h:15
float xx
Definition: CovDiagXYZ.h:13