DataFormats
RecoCandidate
interface
FitQuality.h
Go to the documentation of this file.
1
#ifndef RecoCandidate_FitQuality_h
2
#define RecoCandidate_FitQuality_h
3
12
#include "Rtypes.h"
13
14
namespace
reco
{
15
16
class
FitQuality
{
17
public
:
19
FitQuality
() :
chi2_
(0),
ndof_
(0) {}
21
FitQuality
(
double
chi2
,
double
ndof
) :
chi2_
(
chi2
),
ndof_
(
ndof
) {}
23
double
chi2
()
const
{
return
chi2_
; }
25
double
ndof
()
const
{
return
ndof_
; }
27
double
normalizedChi2
()
const
{
return
chi2_
/
ndof_
; }
28
29
private
:
30
Double32_t
chi2_
;
31
Double32_t
ndof_
;
32
};
33
34
}
// namespace reco
35
36
#endif
reco::FitQuality
Definition:
FitQuality.h:16
reco::FitQuality::chi2
double chi2() const
chi-squared
Definition:
FitQuality.h:23
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::FitQuality::ndof_
Double32_t ndof_
Definition:
FitQuality.h:31
reco::FitQuality::FitQuality
FitQuality(double chi2, double ndof)
constructor form values
Definition:
FitQuality.h:21
reco::FitQuality::FitQuality
FitQuality()
default constructor
Definition:
FitQuality.h:19
reco::FitQuality::ndof
double ndof() const
number of degrees of freedom
Definition:
FitQuality.h:25
reco::FitQuality::chi2_
Double32_t chi2_
Definition:
FitQuality.h:30
reco::FitQuality::normalizedChi2
double normalizedChi2() const
normalized chi-squared
Definition:
FitQuality.h:27
Generated for CMSSW Reference Manual by
1.8.16