CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
ChisqConsistency.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: ChisqConsistency.h,v 1.1.1.1 2005/04/21 01:17:17 zhangy Exp $
4
//
5
// Description:
6
//
7
// Environment:
8
// Software developed for the BaBar Detector at the SLAC B-Factory.
9
//
10
// Author List:
11
// Bob Jacobsen, Ed Iskander
12
//
13
// Copyright Information:
14
// Copyright (C) 1996
15
//
16
//------------------------------------------------------------------------
17
18
#ifndef CHISQCONSISTENCY_HH
19
#define CHISQCONSISTENCY_HH
20
//#include "BaBar/BaBar.hh"
21
22
//-----------------
23
// BaBar Headers --
24
//-----------------
25
#include "
ProbTools/Consistency.h
"
26
27
class
ChisqConsistency
:
public
Consistency
{
28
public
:
29
30
// default constructor; sets internal state to noMeasure
31
ChisqConsistency
();
32
// real constructor
33
ChisqConsistency
(
double
chisq,
double
nDof );
34
// construct directly from consistency value (chisq will be
35
// computed from that). Note this only works for _integral_ DOFs.
36
// I have to reverse the argument order to keep the implicit casting
37
// from confusing this with the above
38
ChisqConsistency
(
unsigned
nDof,
double
consistency
);
39
// copy and equivalence
40
ChisqConsistency
(
const
ChisqConsistency
&);
41
ChisqConsistency
&
operator =
(
const
ChisqConsistency
&);
42
43
44
virtual
~ChisqConsistency
() {}
45
// accessors
46
const
double
&
chisqValue
()
const
{
return
_chisq
; }
47
const
double
&
nDOF
()
const
{
return
_nDof
; }
48
49
protected
:
50
double
_chisq
;
51
double
_nDof
;
52
};
53
54
#endif
Consistency.h
ChisqConsistency
Definition
ChisqConsistency.h:27
ChisqConsistency::nDOF
const double & nDOF() const
Definition
ChisqConsistency.h:47
ChisqConsistency::~ChisqConsistency
virtual ~ChisqConsistency()
Definition
ChisqConsistency.h:44
ChisqConsistency::operator=
ChisqConsistency & operator=(const ChisqConsistency &)
Definition
ChisqConsistency.cxx:121
ChisqConsistency::ChisqConsistency
ChisqConsistency()
Definition
ChisqConsistency.cxx:38
ChisqConsistency::_chisq
double _chisq
Definition
ChisqConsistency.h:50
ChisqConsistency::chisqValue
const double & chisqValue() const
Definition
ChisqConsistency.h:46
ChisqConsistency::_nDof
double _nDof
Definition
ChisqConsistency.h:51
Consistency
Definition
Consistency.h:53
Consistency::consistency
double consistency() const
Definition
Consistency.h:91
6.6.5.i
Reconstruction
MdcPatRec
ProbTools
ProbTools-00-00-01
ProbTools
ChisqConsistency.h
Generated by
1.12.0