ForwardTracking  1.10.0
Public Member Functions | List of all members
EndcapHelixFitter Class Reference

A class to make it quick to fit a track or hits and get back the chi2 and Ndf values and also bundle the code used for that, so it doesn't have to be copied all over the places. More...

#include <EndcapHelixFitter.h>

Public Member Functions

 EndcapHelixFitter (Track *track) throw ( EndcapHelixFitterException )
 
 EndcapHelixFitter (std::vector< TrackerHit * > trackerHits) throw ( EndcapHelixFitterException )
 
double getChi2 ()
 
int getNdf ()
 
float getOmega ()
 
float getTanLambda ()
 
float getPhi0 ()
 
float getD0 ()
 
float getZ0 ()
 

Detailed Description

A class to make it quick to fit a track or hits and get back the chi2 and Ndf values and also bundle the code used for that, so it doesn't have to be copied all over the places.

Uses a helix fit from the MarlinTrk class HelixFit.cc It is named VXDHelixFitter, because it makes some assumptions about the hits, that come from them being on the VXD. Specifically the errors passed to the helix fit are calculated on the assumption, that du and dv are errors in the xy plane. If this class is intended to be used for hits on different detectors, a careful redesign is necessary!


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