Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

marlin::ErrorOfSigma Class Reference

Small helper class that computes the lower and upper error of sigma assuming a normal distribution, i.e. More...

#include <ErrorOfSigma.h>

List of all members.

Public Member Functions

 ErrorOfSigma (unsigned n)
 C'tor takes the number of measured values.

virtual ~ErrorOfSigma ()
 Virtual d'tor.

double lowerError (double sigma)
 The lower error of sigma.

double upperError (double sigma)
 The upper error of sigma.


Protected Member Functions

virtual double getChiSquaredPlus ()
 Returns the chisquared value with P(chisquared) == 0.84.

virtual double getChiSquaredMinus ()
 Returns the chisquared value with P(chisquared) == 0.16.


Protected Attributes

unsigned _n
 The number of degrees of freedom.


Detailed Description

Small helper class that computes the lower and upper error of sigma assuming a normal distribution, i.e.

sigma has been computed as sigma = 1. / (n-1) * SUM_i_n( x_i - a_i )**2.

Author:
F. Gaede, DESY
Version:
Id
ErrorOfSigma.h,v 1.2 2005/10/11 12:56:28 gaede Exp


The documentation for this class was generated from the following files:
Generated on Mon Jan 12 09:48:56 2009 for Marlin by doxygen 1.3.5