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.

◆ 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.

Member Function Documentation

◆ chi2()

float VectorHit2D::chi2 ( void  ) const
inline

Definition at line 25 of file VectorHit2D.h.

25 { return theChi2; }

References theChi2.

Referenced by VectorHit::VectorHit().

◆ covMatrix()

const AlgebraicSymMatrix22& VectorHit2D::covMatrix ( ) const
inline

Definition at line 24 of file VectorHit2D.h.

24 { return theCovMatrix; }

References theCovMatrix.

Referenced by VectorHit::VectorHit().

◆ dimension()

int VectorHit2D::dimension ( ) const
inline

Definition at line 26 of file VectorHit2D.h.

26 { return theDimension; }

References theDimension.

◆ localDirection()

const LocalVector& VectorHit2D::localDirection ( ) const
inline

Definition at line 22 of file VectorHit2D.h.

22 { return theDirection; }

References theDirection.

◆ localDirectionError()

const LocalError& VectorHit2D::localDirectionError ( ) const
inline

Definition at line 23 of file VectorHit2D.h.

23 { return theLocalError; }

References theLocalError.

◆ localPosition()

const LocalPoint& VectorHit2D::localPosition ( ) const
inline

Definition at line 21 of file VectorHit2D.h.

21 { return thePosition; }

References thePosition.

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
staticconstexprprivate

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().

VectorHit2D::chi2
float chi2() const
Definition: VectorHit2D.h:25
VectorHit2D::theDimension
static constexpr int theDimension
Definition: VectorHit2D.h:34
VectorHit2D::theLocalError
LocalError theLocalError
Definition: VectorHit2D.h:32
pos
Definition: PixelAliasList.h:18
VectorHit2D::covMatrix
const AlgebraicSymMatrix22 & covMatrix() const
Definition: VectorHit2D.h:24
VectorHit2D::theDirection
LocalVector theDirection
Definition: VectorHit2D.h:30
VectorHit2D::theChi2
float theChi2
Definition: VectorHit2D.h:33
VectorHit2D::thePosition
LocalPoint thePosition
Definition: VectorHit2D.h:29
VectorHit2D::theCovMatrix
AlgebraicSymMatrix22 theCovMatrix
Definition: VectorHit2D.h:31
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23