CMS 3D CMS Logo

reco::FitQuality Class Reference

structure containg fit quality More...

#include <DataFormats/RecoCandidate/interface/FitQuality.h>

List of all members.

Public Member Functions

double chi2 () const
 chi-squared
 FitQuality (double chi2, double ndof)
 constructor form values
 FitQuality ()
 default constructor
double ndof () const
 number of degrees of freedom
double normalizedChi2 () const
 normalized chi-squared

Private Attributes

Double32_t chi2_
Double32_t ndof_


Detailed Description

structure containg fit quality

Author:
Luca Lista, INFN
Version:
Id
FitQuality.h,v 1.2 2007/11/16 13:49:57 llista Exp

Definition at line 17 of file FitQuality.h.


Constructor & Destructor Documentation

reco::FitQuality::FitQuality (  )  [inline]

default constructor

Definition at line 20 of file FitQuality.h.

00020 : chi2_(0), ndof_(0) { }

reco::FitQuality::FitQuality ( double  chi2,
double  ndof 
) [inline]

constructor form values

Definition at line 22 of file FitQuality.h.

00022                                            :
00023       chi2_( chi2 ), ndof_( ndof ) { }


Member Function Documentation

double reco::FitQuality::chi2 ( void   )  const [inline]

chi-squared

Definition at line 25 of file FitQuality.h.

References chi2_.

00025 { return chi2_; }

double reco::FitQuality::ndof (  )  const [inline]

number of degrees of freedom

Definition at line 27 of file FitQuality.h.

References ndof_.

00027 { return ndof_; }

double reco::FitQuality::normalizedChi2 (  )  const [inline]

normalized chi-squared

Definition at line 29 of file FitQuality.h.

References chi2_, and ndof_.

00029 { return chi2_ / ndof_; }


Member Data Documentation

Double32_t reco::FitQuality::chi2_ [private]

Definition at line 32 of file FitQuality.h.

Referenced by chi2(), and normalizedChi2().

Double32_t reco::FitQuality::ndof_ [private]

Definition at line 33 of file FitQuality.h.

Referenced by ndof(), and normalizedChi2().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:51:05 2009 for CMSSW by  doxygen 1.5.4