CGEM BOSS 6.6.5.g
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//-----------------
26
28public:
29
30// default constructor; sets internal state to noMeasure
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
42
43
44 virtual ~ChisqConsistency() {}
45// accessors
46 const double& chisqValue() const { return _chisq; }
47 const double& nDOF() const { return _nDof; }
48
49protected:
50 double _chisq;
51 double _nDof;
52};
53
54#endif
const double & nDOF() const
virtual ~ChisqConsistency()
ChisqConsistency & operator=(const ChisqConsistency &)
const double & chisqValue() const
double consistency() const
Definition: Consistency.h:91