Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

TrackProjector Class Reference

#include <TrackProjectors/TrackProjector.h>

Inheritance diagram for TrackProjector:

ITrackProjector List of all members.

Public Member Functions

virtual double project (const State &state, const Measurement &meas) const
Nodenode () const
 Retrieve a node with the results 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 Attributes

Nodem_node

Detailed Description

A TrackProjector is a base class implementing methods from the ITrackProjector interface.

Author:
Jose Hernando

Eduardo Rodrigues

Date:
2005-03-10

Definition at line 26 of file TrackProjector.h.


Constructor & Destructor Documentation

TrackProjector::TrackProjector const std::string &  type,
const std::string &  name,
const IInterface *  parent
 

Standard constructor.

Definition at line 59 of file TrackProjector.cpp.

00062   : GaudiTool ( type, name , parent )
00063   , m_node()
00064 {
00065   declareInterface<ITrackProjector>( this );
00066 }

TrackProjector::~TrackProjector  )  [virtual]
 

Destructor.

Definition at line 71 of file TrackProjector.cpp.

00071 {}; 


Member Function Documentation

double TrackProjector::chi2  )  const [virtual]
 

Retrieve the chi squared of the (last) projection.

Implements ITrackProjector.

Definition at line 35 of file TrackProjector.cpp.

References m_node.

00036 {
00037   return m_node -> chi2();
00038 }

double TrackProjector::errResidual  )  const [virtual]
 

Retrieve the error on the residual of the (last) projection.

Implements ITrackProjector.

Definition at line 51 of file TrackProjector.cpp.

References m_node.

00052 {
00053   return m_node -> errResidual();
00054 }

Node & TrackProjector::node  )  const [virtual]
 

Retrieve a node with the results of the (last) projection.

Implements ITrackProjector.

Definition at line 27 of file TrackProjector.cpp.

References m_node.

00028 {
00029   return *m_node;
00030 }

virtual double TrackProjector::project const State state,
const Measurement meas
const [virtual]
 

Project a state onto a measurement. It returns the chi squared of the projection

Implements ITrackProjector.

double TrackProjector::residual  )  const [virtual]
 

Retrieve the residual of the (last) projection.

Implements ITrackProjector.

Definition at line 43 of file TrackProjector.cpp.

References m_node.

00044 {
00045   return m_node -> residual();
00046 }


Member Data Documentation

Node* TrackProjector::m_node [protected]
 

Definition at line 54 of file TrackProjector.h.

Referenced by chi2(), errResidual(), node(), and residual().


The documentation for this class was generated from the following files:
Generated on Thu Apr 7 22:43:32 2005 for New Track Event Model by doxygen 1.4.1