CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
mkfit::MeasurementState Struct Reference

#include <Hit.h>

Public Member Functions

SMatrixSym33 errors () const
 
 MeasurementState ()
 
 MeasurementState (const SVector3 &p, const SVector6 &e)
 
 MeasurementState (const SVector3 &p, const SMatrixSym33 &e)
 
const SVector3parameters () const
 

Public Attributes

SVector6 err_
 
SVector3 pos_
 

Detailed Description

Definition at line 121 of file Hit.h.

Constructor & Destructor Documentation

◆ MeasurementState() [1/3]

mkfit::MeasurementState::MeasurementState ( )
inline

Definition at line 123 of file Hit.h.

123 {}

◆ MeasurementState() [2/3]

mkfit::MeasurementState::MeasurementState ( const SVector3 p,
const SVector6 e 
)
inline

◆ MeasurementState() [3/3]

mkfit::MeasurementState::MeasurementState ( const SVector3 p,
const SMatrixSym33 e 
)
inline

Definition at line 125 of file Hit.h.

References MillePedeFileConverter_cfg::e, err_, and mps_fire::i.

125  : pos_(p) {
126  for (int i = 0; i < 6; ++i)
127  err_[i] = e.Array()[i];
128  }

Member Function Documentation

◆ errors()

SMatrixSym33 mkfit::MeasurementState::errors ( void  ) const
inline

Definition at line 130 of file Hit.h.

References err_, mps_fire::i, and mps_fire::result.

Referenced by mkfit::Hit::eeta(), mkfit::Hit::ephi(), mkfit::Hit::error(), mkfit::Hit::exx(), mkfit::Hit::eyy(), and mkfit::Hit::ezz().

130  {
132  for (int i = 0; i < 6; ++i)
133  result.Array()[i] = err_[i];
134  return result;
135  }
ROOT::Math::SMatrix< float, 3, 3, ROOT::Math::MatRepSym< float, 3 > > SMatrixSym33
Definition: MatrixSTypes.h:13

◆ parameters()

const SVector3& mkfit::MeasurementState::parameters ( void  ) const
inline

Member Data Documentation

◆ err_

SVector6 mkfit::MeasurementState::err_

Definition at line 137 of file Hit.h.

Referenced by mkfit::Hit::errArray(), mkfit::Hit::error_nc(), errors(), and MeasurementState().

◆ pos_

SVector3 mkfit::MeasurementState::pos_

Definition at line 136 of file Hit.h.

Referenced by parameters(), mkfit::Hit::parameters_nc(), and mkfit::Hit::posArray().