LCFIVertex  0.7.2
Public Member Functions | List of all members
vertex_lcfi::ZVTOP::InteractionPoint Class Reference

Interaction Point representation. More...

#include <interactionpoint.h>

Public Member Functions

 InteractionPoint (const Vector3 &Position, const SymMatrix3x3 &ErrorMatrix)
 Construct from a point and error matrix. More...
 
double distanceTo (const Vector3 &Point) const
 Return distance from this interacion point to a point. More...
 
const Vector3 & position () const
 Return position of IP. More...
 
const SymMatrix3x3 & errorMatrix () const
 Return error of IP. More...
 
const Matrix3x3 & inverseErrorMatrix () const
 Return inverse error of IP. More...
 
double chi2 (const Vector3 &Point) const
 Return chi squared of IP to a point. More...
 
 InteractionPoint (const Vector3 &Position, const SymMatrix3x3 &ErrorMatrix)
 Construct from a point and error matrix. More...
 
double distanceTo (const Vector3 &Point) const
 Return distance from this interacion point to a point. More...
 
const Vector3 & position () const
 Return position of IP. More...
 
const SymMatrix3x3 & errorMatrix () const
 Return error of IP. More...
 
const Matrix3x3 & inverseErrorMatrix () const
 Return inverse error of IP. More...
 
double chi2 (const Vector3 &Point) const
 Return chi squared of IP to a point. More...
 

Detailed Description

Interaction Point representation.

Provides ZVTOP with information about the IP if known. Used in the VertexFunction, and may be used in a VertexFitter

Author
Ben Jeffery (b.jef.nosp@m.fery.nosp@m.1@phy.nosp@m.sics.nosp@m..ox.a.nosp@m.c.uk)
Version
0.1
Date
20/09/05

Definition at line 21 of file include/vertex_lcfi/zvtop/include/interactionpoint.h.

Constructor & Destructor Documentation

vertex_lcfi::ZVTOP::InteractionPoint::InteractionPoint ( const Vector3 &  Position,
const SymMatrix3x3 &  ErrorMatrix 
)

Construct from a point and error matrix.

Parameters
PositionVector3 of the IP's location
ErrorMatrixMatrix3x3 of the IP's error

Definition at line 10 of file interactionpoint.cpp.

vertex_lcfi::ZVTOP::InteractionPoint::InteractionPoint ( const Vector3 &  Position,
const SymMatrix3x3 &  ErrorMatrix 
)

Construct from a point and error matrix.

Parameters
PositionVector3 of the IP's location
ErrorMatrixMatrix3x3 of the IP's error

Member Function Documentation

double vertex_lcfi::ZVTOP::InteractionPoint::chi2 ( const Vector3 &  Point) const

Return chi squared of IP to a point.

Returns
double of chi squared

Definition at line 36 of file interactionpoint.cpp.

References inverseErrorMatrix(), and position().

double vertex_lcfi::ZVTOP::InteractionPoint::chi2 ( const Vector3 &  Point) const

Return chi squared of IP to a point.

Returns
double of chi squared
double vertex_lcfi::ZVTOP::InteractionPoint::distanceTo ( const Vector3 &  Point) const

Return distance from this interacion point to a point.

Parameters
PointVector3 of point to measure distance to
Returns
distance between ip and point

Definition at line 16 of file interactionpoint.cpp.

Referenced by vertex_lcfi::ZVTOP::VertexFunctionClassic::valueAt().

double vertex_lcfi::ZVTOP::InteractionPoint::distanceTo ( const Vector3 &  Point) const

Return distance from this interacion point to a point.

Parameters
PointVector3 of point to measure distance to
Returns
distance between ip and point
const SymMatrix3x3& vertex_lcfi::ZVTOP::InteractionPoint::errorMatrix ( ) const

Return error of IP.

Returns
SymMatrix3x3 of IP's error
const SymMatrix3x3 & vertex_lcfi::ZVTOP::InteractionPoint::errorMatrix ( ) const

Return error of IP.

Returns
SymMatrix3x3 of IP's error

Definition at line 26 of file interactionpoint.cpp.

const Matrix3x3 & vertex_lcfi::ZVTOP::InteractionPoint::inverseErrorMatrix ( ) const

Return inverse error of IP.

Returns
Matrix3x3 of IP's inverse error

Definition at line 31 of file interactionpoint.cpp.

Referenced by chi2(), and vertex_lcfi::ZVTOP::GaussEllipsoid::valueAt().

const Matrix3x3& vertex_lcfi::ZVTOP::InteractionPoint::inverseErrorMatrix ( ) const

Return inverse error of IP.

Returns
Matrix3x3 of IP's inverse error
const Vector3 & vertex_lcfi::ZVTOP::InteractionPoint::position ( ) const

Return position of IP.

Returns
Vector3 of IP's position

Definition at line 21 of file interactionpoint.cpp.

Referenced by chi2(), vertex_lcfi::ZVTOP::GaussEllipsoid::valueAt(), and vertex_lcfi::ZVTOP::VertexFunctionClassic::valueAt().

const Vector3& vertex_lcfi::ZVTOP::InteractionPoint::position ( ) const

Return position of IP.

Returns
Vector3 of IP's position

The documentation for this class was generated from the following files: