CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Static Private Attributes
VectorHit2D Class Reference

#include <VectorHit2D.h>

Public Member Functions

float chi2 () const
 
const AlgebraicSymMatrix22covMatrix () const
 
int dimension () const
 
const LocalVectorlocalDirection () const
 
const LocalErrorlocalDirectionError () const
 
const LocalPointlocalPosition () const
 
 VectorHit2D ()
 
 VectorHit2D (const LocalPoint &pos, const LocalVector &dir, const AlgebraicSymMatrix22 &covMatrix, const double &chi2)
 

Private Attributes

float theChi2
 
AlgebraicSymMatrix22 theCovMatrix
 
LocalVector theDirection
 
LocalError theLocalError
 
LocalPoint thePosition
 

Static Private Attributes

static constexpr int theDimension = 2
 

Detailed Description

Definition at line 11 of file VectorHit2D.h.

Constructor & Destructor Documentation

◆ VectorHit2D() [1/2]

VectorHit2D::VectorHit2D ( )
inline

Definition at line 13 of file VectorHit2D.h.

LocalVector theDirection
Definition: VectorHit2D.h:30
float theChi2
Definition: VectorHit2D.h:33
LocalPoint thePosition
Definition: VectorHit2D.h:29
AlgebraicSymMatrix22 theCovMatrix
Definition: VectorHit2D.h:31

◆ VectorHit2D() [2/2]

VectorHit2D::VectorHit2D ( const LocalPoint pos,
const LocalVector dir,
const AlgebraicSymMatrix22 covMatrix,
const double &  chi2 
)
inline

Definition at line 14 of file VectorHit2D.h.

15  : thePosition(pos),
19  theChi2(chi2) {}
const AlgebraicSymMatrix22 & covMatrix() const
Definition: VectorHit2D.h:24
LocalError theLocalError
Definition: VectorHit2D.h:32
LocalVector theDirection
Definition: VectorHit2D.h:30
float theChi2
Definition: VectorHit2D.h:33
LocalPoint thePosition
Definition: VectorHit2D.h:29
float chi2() const
Definition: VectorHit2D.h:25
AlgebraicSymMatrix22 theCovMatrix
Definition: VectorHit2D.h:31

Member Function Documentation

◆ chi2()

float VectorHit2D::chi2 ( void  ) const
inline

Definition at line 25 of file VectorHit2D.h.

References theChi2.

Referenced by VectorHit::VectorHit().

25 { return theChi2; }
float theChi2
Definition: VectorHit2D.h:33

◆ covMatrix()

const AlgebraicSymMatrix22& VectorHit2D::covMatrix ( ) const
inline

Definition at line 24 of file VectorHit2D.h.

References theCovMatrix.

Referenced by VectorHit::VectorHit().

24 { return theCovMatrix; }
AlgebraicSymMatrix22 theCovMatrix
Definition: VectorHit2D.h:31

◆ dimension()

int VectorHit2D::dimension ( ) const
inline

Definition at line 26 of file VectorHit2D.h.

References theDimension.

26 { return theDimension; }
static constexpr int theDimension
Definition: VectorHit2D.h:34

◆ localDirection()

const LocalVector& VectorHit2D::localDirection ( ) const
inline

Definition at line 22 of file VectorHit2D.h.

References theDirection.

22 { return theDirection; }
LocalVector theDirection
Definition: VectorHit2D.h:30

◆ localDirectionError()

const LocalError& VectorHit2D::localDirectionError ( ) const
inline

Definition at line 23 of file VectorHit2D.h.

References theLocalError.

23 { return theLocalError; }
LocalError theLocalError
Definition: VectorHit2D.h:32

◆ localPosition()

const LocalPoint& VectorHit2D::localPosition ( ) const
inline

Definition at line 21 of file VectorHit2D.h.

References thePosition.

21 { return thePosition; }
LocalPoint thePosition
Definition: VectorHit2D.h:29

Member Data Documentation

◆ theChi2

float VectorHit2D::theChi2
private

Definition at line 33 of file VectorHit2D.h.

Referenced by chi2().

◆ theCovMatrix

AlgebraicSymMatrix22 VectorHit2D::theCovMatrix
private

Definition at line 31 of file VectorHit2D.h.

Referenced by covMatrix().

◆ theDimension

constexpr int VectorHit2D::theDimension = 2
staticprivate

Definition at line 34 of file VectorHit2D.h.

Referenced by dimension().

◆ theDirection

LocalVector VectorHit2D::theDirection
private

Definition at line 30 of file VectorHit2D.h.

Referenced by localDirection().

◆ theLocalError

LocalError VectorHit2D::theLocalError
private

Definition at line 32 of file VectorHit2D.h.

Referenced by localDirectionError().

◆ thePosition

LocalPoint VectorHit2D::thePosition
private

Definition at line 29 of file VectorHit2D.h.

Referenced by localPosition().