#include <TrackProjectors/TrackProjector.h>
Inheritance diagram for TrackProjector:
Public Member Functions | |
virtual StatusCode | project (const State &state, Measurement &meas) |
virtual const HepVector & | projectionMatrix () const |
Retrieve the projection matrix H of the (last) projection. | |
double | chi2 () const |
Retrieve the chi squared of the (last) projection. | |
double | residual () const |
Retrieve the residual of the (last) projection. | |
double | errResidual () const |
Retrieve the error on the residual of the (last) projection. | |
TrackProjector (const std::string &type, const std::string &name, const IInterface *parent) | |
Standard constructor. | |
virtual | ~TrackProjector () |
Destructor. | |
Protected Member Functions | |
void | computeResidual (const State &state, const Measurement &meas) |
void | computeErrorResidual (const State &state, const Measurement &meas) |
Protected Attributes | |
double | m_residual |
double | m_errResidual |
HepVector | m_H |
Eduardo Rodrigues
Definition at line 25 of file TrackProjector.h.
|
Standard constructor.
Definition at line 67 of file TrackProjector.cpp. References m_errResidual, m_H, and m_residual. 00070 : GaudiTool ( type, name , parent ) 00071 , m_H() 00072 { 00073 declareInterface<ITrackProjector>( this ); 00074 m_residual = 0.; 00075 m_errResidual = 0.; 00076 m_H = HepVector(5,0); 00077 }
|
|
Destructor.
Definition at line 82 of file TrackProjector.cpp. 00082 {};
|
|
Retrieve the chi squared of the (last) projection.
Implements ITrackProjector. Definition at line 43 of file TrackProjector.cpp. References m_errResidual, and m_residual. 00044 { 00045 return m_errResidual != 0 ? (m_residual/m_errResidual)*(m_residual/m_errResidual) : 0.; 00046 }
|
|
Definition at line 98 of file TrackProjector.cpp. References m_errResidual, and m_H. Referenced by TrackVeloRProjector::project(), TrackVeloPhiProjector::project(), TrackOTProjector::project(), and TrackITProjector::project(). 00100 { 00101 double error = meas.errMeasure(); 00102 const HepSymMatrix& C = state.covariance(); 00103 double resError = error * error + C.similarity( m_H ); 00104 m_errResidual = sqrt( resError ); 00105 }
|
|
Definition at line 89 of file TrackProjector.cpp. References m_H, and m_residual. 00091 { 00092 m_residual = meas.measure() - dot( m_H, state.stateVector() ); 00093 }
|
|
Retrieve the error on the residual of the (last) projection.
Implements ITrackProjector. Definition at line 59 of file TrackProjector.cpp. References m_errResidual. 00060 { 00061 return m_errResidual; 00062 }
|
|
Project a state onto a measurement. It returns the chi squared of the projection Implements ITrackProjector. Reimplemented in TrackITProjector, TrackOTProjector, TrackVeloPhiProjector, and TrackVeloRProjector. Definition at line 27 of file TrackProjector.cpp. 00028 {
00029 return StatusCode::FAILURE;
00030 }
|
|
Retrieve the projection matrix H of the (last) projection.
Implements ITrackProjector. Definition at line 35 of file TrackProjector.cpp. References m_H. 00036 { 00037 return m_H; 00038 }
|
|
Retrieve the residual of the (last) projection.
Implements ITrackProjector. Definition at line 51 of file TrackProjector.cpp. References m_residual. 00052 { 00053 return m_residual; 00054 }
|
|
Definition at line 61 of file TrackProjector.h. Referenced by chi2(), computeErrorResidual(), errResidual(), and TrackProjector(). |
|
Definition at line 62 of file TrackProjector.h. Referenced by computeErrorResidual(), computeResidual(), projectionMatrix(), and TrackProjector(). |
|
Definition at line 60 of file TrackProjector.h. Referenced by chi2(), computeResidual(), residual(), and TrackProjector(). |